From efd8c90537527dc1d16f45d444e112c44cbb23dc Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 23 Aug 2023 14:23:23 -0700 Subject: [PATCH 0001/4768] Regenerating --- README.ps1.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.ps1.md b/README.ps1.md index 0fb65a00c..1a3e8aac5 100644 --- a/README.ps1.md +++ b/README.ps1.md @@ -178,7 +178,6 @@ Because the obs-websocket cleanly documents it's protocol, most commands in obs- * [Full List Of Commands](docs/obs-powershell-commands.md) * [Full list of websocket commands](docs/obs-powershell-websocket-commands.md) - ## Depdendencies To use obs-powershell, you'll need OBS and PowerShell Core. You can run both of these on any operating system. @@ -190,5 +189,5 @@ Some commands in obs-powershell will not work unless you have additional softwar |Commands|Dependency| |-|-| |Add/Set-OBSVLCSource|[VLC](https://www.videolan.org/vlc/)| -|Add/Set-OBS3DFilter |[VLC](https://obsproject.com/forum/resources/3d-effect.1692/)| +|Add/Set-OBS3DFilter |[3D Effect](https://obsproject.com/forum/resources/3d-effect.1692/)| |Add/Set-OBSShaderFilter|[obs-shaderfilter 2.0+](https://obsproject.com/forum/resources/obs-shaderfilter.1736/) From 4174b5e99dc99443594c76055f87c8dd423bd9de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:14 +0000 Subject: [PATCH 0002/4768] Regenerating --- Commands/Requests/Set-OBSSceneSceneTransitionOverride.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Requests/Set-OBSSceneSceneTransitionOverride.ps1 b/Commands/Requests/Set-OBSSceneSceneTransitionOverride.ps1 index ef910cc64..ed870229a 100644 --- a/Commands/Requests/Set-OBSSceneSceneTransitionOverride.ps1 +++ b/Commands/Requests/Set-OBSSceneSceneTransitionOverride.ps1 @@ -5,7 +5,7 @@ function Set-OBSSceneSceneTransitionOverride { Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride .Description - Gets the scene transition overridden for a scene. + Sets the scene transition overridden for a scene. Set-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride. From 1a364ba545d96f721733f06e79a9a7230935f401 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:15 +0000 Subject: [PATCH 0003/4768] Regenerating --- obs-powershell.psd1 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 6c45395ac..e09a0173a 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -175,15 +175,6 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', 'Add-OBSInput', 'Add-OBSProfile', 'Add-OBSScene', @@ -322,17 +313,26 @@ Initial Release of obs-powershell 'Switch-OBSReplayBuffer', 'Switch-OBSStream', 'Switch-OBSVirtualCam', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', 'Set-OBSAudioOutputSource', 'Set-OBSBrowserSource', 'Set-OBSColorSource', 'Set-OBSDisplaySource', 'Set-OBSMediaSource', 'Set-OBSVLCSource', -'Set-OBSWindowSource', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect' +'Set-OBSWindowSource' } From 8c5f555ceb0a19c37208b33bd4e82e3d1320e7f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:15 +0000 Subject: [PATCH 0004/4768] Regenerating --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 80e0d415e..1c81b2f14 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,6 @@ Because the obs-websocket cleanly documents it's protocol, most commands in obs- * [Full List Of Commands](docs/obs-powershell-commands.md) * [Full list of websocket commands](docs/obs-powershell-websocket-commands.md) - ## Depdendencies To use obs-powershell, you'll need OBS and PowerShell Core. You can run both of these on any operating system. @@ -190,6 +189,6 @@ Some commands in obs-powershell will not work unless you have additional softwar |Commands|Dependency| |-|-| |Add/Set-OBSVLCSource|[VLC](https://www.videolan.org/vlc/)| -|Add/Set-OBS3DFilter |[VLC](https://obsproject.com/forum/resources/3d-effect.1692/)| +|Add/Set-OBS3DFilter |[3D Effect](https://obsproject.com/forum/resources/3d-effect.1692/)| |Add/Set-OBSShaderFilter|[obs-shaderfilter 2.0+](https://obsproject.com/forum/resources/obs-shaderfilter.1736/) From e414bc6b3aba933c65a9e51131c983e8efeafa76 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:18 +0000 Subject: [PATCH 0005/4768] Regenerating --- obs-powershell.format.ps1xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/obs-powershell.format.ps1xml b/obs-powershell.format.ps1xml index 473517f1d..14a251cb3 100644 --- a/obs-powershell.format.ps1xml +++ b/obs-powershell.format.ps1xml @@ -1,5 +1,5 @@ - + @@ -247,7 +247,7 @@ - OBS.GetSourceFilterList.ResponseOBS.GetSourceFilter.Response + OBS.GetSourceFilterList.Response OBS.GetSourceFilterList.Response OBS.GetSourceFilter.Response @@ -985,7 +985,7 @@ } elseif ($canUseANSI) { # For ANSI, - '' + $esc + ']8m;;' + $Link + $esc + '\' + '' + $esc + ']8;;' + $Link + $esc + '\' } } @@ -1142,6 +1142,7 @@ ) begin { + if (-not $Depth) { $depth = $FormatEnumerationLimit } $toYaml = { param( [Parameter(ValueFromPipeline,Position=0)]$Object, From 25adc697e79580392acb69ec2005c98eb19f0bb7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:19 +0000 Subject: [PATCH 0006/4768] Regenerating --- obs-powershell.types.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 22c4c8a2f..07d946533 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1,5 +1,5 @@ - + OBS.GetInputList.Response From a23d7f5798b8111461e0cf1505307020fb8a71c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:41 +0000 Subject: [PATCH 0007/4768] Regenerating --- docs/Set-OBSSceneSceneTransitionOverride.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Set-OBSSceneSceneTransitionOverride.md b/docs/Set-OBSSceneSceneTransitionOverride.md index 1f4458615..19dbb9101 100644 --- a/docs/Set-OBSSceneSceneTransitionOverride.md +++ b/docs/Set-OBSSceneSceneTransitionOverride.md @@ -14,7 +14,7 @@ Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride ### Description -Gets the scene transition overridden for a scene. +Sets the scene transition overridden for a scene. Set-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride. From 7f3dcb9330499ad007463a2a0f3cf54a6352f225 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:28:53 +0000 Subject: [PATCH 0008/4768] Regenerating --- .../obs.powershell.websocket.SetSceneSceneTransitionOverride.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md b/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md index 1f4458615..19dbb9101 100644 --- a/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md +++ b/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md @@ -14,7 +14,7 @@ Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride ### Description -Gets the scene transition overridden for a scene. +Sets the scene transition overridden for a scene. Set-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride. From e68b6d3d81ed95559adbf91409fcb95a338531ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 23 Aug 2023 21:29:05 +0000 Subject: [PATCH 0009/4768] Regenerating --- docs/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 0749f08b6..72e2743be 100644 --- a/docs/README.md +++ b/docs/README.md @@ -178,7 +178,6 @@ Because the obs-websocket cleanly documents it's protocol, most commands in obs- * [Full List Of Commands](obs-powershell-commands.md) * [Full list of websocket commands](obs-powershell-websocket-commands.md) - ## Depdendencies To use obs-powershell, you'll need OBS and PowerShell Core. You can run both of these on any operating system. @@ -190,5 +189,5 @@ Some commands in obs-powershell will not work unless you have additional softwar |Commands|Dependency| |-|-| |Add/Set-OBSVLCSource|[VLC](https://www.videolan.org/vlc/)| -|Add/Set-OBS3DFilter |[VLC](https://obsproject.com/forum/resources/3d-effect.1692/)| +|Add/Set-OBS3DFilter |[3D Effect](https://obsproject.com/forum/resources/3d-effect.1692/)| |Add/Set-OBSShaderFilter|[obs-shaderfilter 2.0+](https://obsproject.com/forum/resources/obs-shaderfilter.1736/) From 455daf9fec7ede23d1134b3d064e293242e9a617 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 7 Sep 2023 17:54:26 -0700 Subject: [PATCH 0010/4768] Regenerating Linking waveform source --- README.ps1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.ps1.md b/README.ps1.md index 1a3e8aac5..b176f4183 100644 --- a/README.ps1.md +++ b/README.ps1.md @@ -191,3 +191,4 @@ Some commands in obs-powershell will not work unless you have additional softwar |Add/Set-OBSVLCSource|[VLC](https://www.videolan.org/vlc/)| |Add/Set-OBS3DFilter |[3D Effect](https://obsproject.com/forum/resources/3d-effect.1692/)| |Add/Set-OBSShaderFilter|[obs-shaderfilter 2.0+](https://obsproject.com/forum/resources/obs-shaderfilter.1736/) +|Add/Set/Get-OBSWaveformSource|[waveform source](https://obsproject.com/forum/resources/waveform.1423/) From 4a81025a105568428d247a97e5ee8099337b99fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 01:00:56 +0000 Subject: [PATCH 0011/4768] Regenerating Linking waveform source --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1c81b2f14..5aac7561d 100644 --- a/README.md +++ b/README.md @@ -191,4 +191,5 @@ Some commands in obs-powershell will not work unless you have additional softwar |Add/Set-OBSVLCSource|[VLC](https://www.videolan.org/vlc/)| |Add/Set-OBS3DFilter |[3D Effect](https://obsproject.com/forum/resources/3d-effect.1692/)| |Add/Set-OBSShaderFilter|[obs-shaderfilter 2.0+](https://obsproject.com/forum/resources/obs-shaderfilter.1736/) +|Add/Set/Get-OBSWaveformSource|[waveform source](https://obsproject.com/forum/resources/waveform.1423/) From c18e7771f578abba26521bb8d2bf6a8363d12fbf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 01:01:56 +0000 Subject: [PATCH 0012/4768] Regenerating Linking waveform source --- docs/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/README.md b/docs/README.md index 72e2743be..b3daeca9c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -191,3 +191,4 @@ Some commands in obs-powershell will not work unless you have additional softwar |Add/Set-OBSVLCSource|[VLC](https://www.videolan.org/vlc/)| |Add/Set-OBS3DFilter |[3D Effect](https://obsproject.com/forum/resources/3d-effect.1692/)| |Add/Set-OBSShaderFilter|[obs-shaderfilter 2.0+](https://obsproject.com/forum/resources/obs-shaderfilter.1736/) +|Add/Set/Get-OBSWaveformSource|[waveform source](https://obsproject.com/forum/resources/waveform.1423/) From 9239398170948756bb8913d77025876410175bd2 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 7 Sep 2023 19:23:31 -0700 Subject: [PATCH 0013/4768] Adding Add/Set/Get-OBSWaveformSource (Fixes #141) --- Commands/Sources/Set-OBSWaveformSource.ps.ps1 | 404 ++++++++++++++++++ 1 file changed, 404 insertions(+) create mode 100644 Commands/Sources/Set-OBSWaveformSource.ps.ps1 diff --git a/Commands/Sources/Set-OBSWaveformSource.ps.ps1 b/Commands/Sources/Set-OBSWaveformSource.ps.ps1 new file mode 100644 index 000000000..3a2a74a29 --- /dev/null +++ b/Commands/Sources/Set-OBSWaveformSource.ps.ps1 @@ -0,0 +1,404 @@ +function Set-OBSWaveformSource +{ + <# + .SYNOPSIS + OBS Waveform Source + .DESCRIPTION + Gets, Sets, or Adds a waveform source in OBS. + + Waveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/) + .EXAMPLE + Add-OBSWaveformSource -Name "SpeakerWaveform" + #> + [inherit(Command={ + Import-Module ..\..\obs-powershell.psd1 -Global + "Add-OBSInput" + }, Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] + [Alias('Add-OBSWaveformSource','Get-OBSWaveformSource')] + param( + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The audio source for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("audio_source")] + [string] + $AudioSource, + + # The display mode for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("display_mode")] + [ValidateSet("curve","bars","stepped_bars","level_meter","stepped_level_meter")] + [string] + $DisplayMode, + + # The render mode for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("render_mode")] + [ValidateSet("line","solid","gradient")] + [string] + $RenderMode, + + # The windowing mode for the waveform. + # This is the mathematical function used to determine the current "window" of audio data. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("render_mode")] + [ValidateSet("hann","hamming","blackman","blackman_harris","none")] + [string] + $WindowMode, + + # The color used for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_base")] + [PSObject] + $Color, + + # The crest color used for the waveform. + # This will be ignored if the render mode is not "gradient". + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_crest")] + [PSObject] + $CrestColor, + + # The channel mode for the waveform. + # This can be either mono or stereo. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("channel_mode")] + [ValidateSet("mono","stereo")] + [string] + $ChannelMode, + + # The number of pixels between each channel in stereo mode + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("channel_spacing")] + [int] + $ChannelSpacing, + + # If set, will use a radial layout for the waveform + # Radial layouts will ignore the desired height of the source and instead create a square. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("radial_layout")] + [switch] + $RadialLayout, + + # If set, will invert the direction for a radial waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("invert_direction")] + [switch] + $InvertRadialDirection, + + # If set, will normalize the volume displayed in the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("normalize_volume")] + [switch] + $NoramlizeVolume, + + # If set, will automatically declare an FFTSize + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("auto_fft_size")] + [switch] + $AutoFftSize, + + # If set, will attempt to make audio peaks render faster. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fast_peaks")] + [switch] + $FastPeak, + + # The width of the waveform bar. + # This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("bar_width")] + [int] + $BarWidth, + + # The gap between waveform bars. + # This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("bar_gap")] + [int] + $BarGap, + + # The width of waveform bar step. + # This is only valid when -DisplayMode is 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("step_width")] + [int] + $StepWidth, + + # The gap between waveform bar steps. + # This is only valid when -DisplayMode is 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("step_gap")] + [int] + $StepGap, + + # The low-frequency cutoff of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cutoff_low")] + [int] + $LowCutoff, + + # The high-frequency cutoff of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cutoff_high")] + [int] + $HighCutoff, + + # The floor of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("floor")] + [int] + $Floor, + + # The ceiling of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("ceiling")] + [int] + $Ceiling, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("slope")] + [double] + $Slope, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rolloff_q")] + [Alias('RollOffOctaves')] + [double] + $RollOffOctave, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rolloff_rate")] + [double] + $RollOffRate, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("grad_ratio")] + [double] + $GradientRatio, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("deadzone")] + [double] + $Deadzone, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("temporal_smoothing")] + [ValidateSet("none","exp_moving_avg")] + [string] + $TemporalSmoothing, + + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + + begin { + $inputKind = "phandasm_waveform_source" + filter ToOBSColor { + if ($_ -is [uint32]) { $_ } + elseif ($_ -is [string]) { + if ($_ -match '^\#[a-f0-9]{3,4}$') { + $_ = $_ -replace '[a-f0-9]','$0$0' + } + + if ($_ -match '^#[a-f0-9]{8}$') { + ( + '0x' + + (($_ -replace '#').ToCharArray()[0,1,-1,-2,-3,-4,-5,-6] -join '') + ) -as [UInt32] + } + elseif ($_ -match '^#[a-f0-9]{6}$') { + + ( + '0xff' + + (($_ -replace '#').ToCharArray()[-1..-6] -join '') + ) -as [UInt32] + } + } + } + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + $MyInvocationName = "$($MyInvocation.InvocationName)" + $myVerb, $myNoun = $MyInvocationName -split '-' + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + $IsGet = $myVerb -eq "Get" + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + if ( + $IsGet -or + $NoVerb + ) { + $inputsOfKind = + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { + $_.InputName -like $Name + } else { + $_ + } + } + if ($NonNameParameters -and -not $IsGet) { + $paramCopy = [Ordered]@{} + $PSBoundParameters + if ($paramCopy.Name) { $paramCopy.Remove('Name') } + $inputsOfKind | & $myScriptBlock @paramCopy + } else { + $inputsOfKind + } + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($AudioSource) { + "$($AudioSource)-Waveform" + } else { + "Waveform" + } + } + + if ($myParameterData.color_base) { + $myParameterData.color_base = $myParameterData.color_base | ToOBSColor + } + + if ($myParameterData.color_crest) { + $myParameterData.color_crest = $myParameterData.color_crest | ToOBSColor + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + } +} \ No newline at end of file From d0d37904c687ab6a1a2b860d9f75a64ff9dfbb8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 02:29:14 +0000 Subject: [PATCH 0014/4768] Adding Add/Set/Get-OBSWaveformSource (Fixes #141) --- Commands/Sources/Set-OBSWaveformSource.ps1 | 392 +++++++++++++++++++++ 1 file changed, 392 insertions(+) create mode 100644 Commands/Sources/Set-OBSWaveformSource.ps1 diff --git a/Commands/Sources/Set-OBSWaveformSource.ps1 b/Commands/Sources/Set-OBSWaveformSource.ps1 new file mode 100644 index 000000000..7f049c577 --- /dev/null +++ b/Commands/Sources/Set-OBSWaveformSource.ps1 @@ -0,0 +1,392 @@ +function Set-OBSWaveformSource { + <# + + .SYNOPSIS + OBS Waveform Source + .DESCRIPTION + Gets, Sets, or Adds a waveform source in OBS. + Waveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/) + .EXAMPLE + Add-OBSWaveformSource -Name "SpeakerWaveform" + + #> + + [Alias('Add-OBSWaveformSource','Get-OBSWaveformSource')] + param( + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + # The audio source for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("audio_source")] + [string] + $AudioSource, + # The display mode for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("display_mode")] + [ValidateSet("curve","bars","stepped_bars","level_meter","stepped_level_meter")] + [string] + $DisplayMode, + # The render mode for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("render_mode")] + [ValidateSet("line","solid","gradient")] + [string] + $RenderMode, + # The windowing mode for the waveform. + # This is the mathematical function used to determine the current "window" of audio data. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("render_mode")] + [ValidateSet("hann","hamming","blackman","blackman_harris","none")] + [string] + $WindowMode, + # The color used for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_base")] + [PSObject] + $Color, + # The crest color used for the waveform. + # This will be ignored if the render mode is not "gradient". + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_crest")] + [PSObject] + $CrestColor, + # The channel mode for the waveform. + # This can be either mono or stereo. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("channel_mode")] + [ValidateSet("mono","stereo")] + [string] + $ChannelMode, + # The number of pixels between each channel in stereo mode + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("channel_spacing")] + [int] + $ChannelSpacing, + # If set, will use a radial layout for the waveform + # Radial layouts will ignore the desired height of the source and instead create a square. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("radial_layout")] + [switch] + $RadialLayout, + # If set, will invert the direction for a radial waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("invert_direction")] + [switch] + $InvertRadialDirection, + # If set, will normalize the volume displayed in the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("normalize_volume")] + [switch] + $NoramlizeVolume, + # If set, will automatically declare an FFTSize + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("auto_fft_size")] + [switch] + $AutoFftSize, + # If set, will attempt to make audio peaks render faster. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fast_peaks")] + [switch] + $FastPeak, + # The width of the waveform bar. + # This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("bar_width")] + [int] + $BarWidth, + # The gap between waveform bars. + # This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("bar_gap")] + [int] + $BarGap, + # The width of waveform bar step. + # This is only valid when -DisplayMode is 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("step_width")] + [int] + $StepWidth, + # The gap between waveform bar steps. + # This is only valid when -DisplayMode is 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("step_gap")] + [int] + $StepGap, + # The low-frequency cutoff of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cutoff_low")] + [int] + $LowCutoff, + # The high-frequency cutoff of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cutoff_high")] + [int] + $HighCutoff, + # The floor of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("floor")] + [int] + $Floor, + # The ceiling of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("ceiling")] + [int] + $Ceiling, + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("slope")] + [double] + $Slope, + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rolloff_q")] + [Alias('RollOffOctaves')] + [double] + $RollOffOctave, + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rolloff_rate")] + [double] + $RollOffRate, + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("grad_ratio")] + [double] + $GradientRatio, + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("deadzone")] + [double] + $Deadzone, + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("temporal_smoothing")] + [ValidateSet("none","exp_moving_avg")] + [string] + $TemporalSmoothing, + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName')] + [string] + $Name, + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + } + begin { + $inputKind = "phandasm_waveform_source" + filter ToOBSColor { + if ($_ -is [uint32]) { $_ } + elseif ($_ -is [string]) { + if ($_ -match '^\#[a-f0-9]{3,4}$') { + $_ = $_ -replace '[a-f0-9]','$0$0' + } + if ($_ -match '^#[a-f0-9]{8}$') { + ( + '0x' + + (($_ -replace '#').ToCharArray()[0,1,-1,-2,-3,-4,-5,-6] -join '') + ) -as [UInt32] + } + elseif ($_ -match '^#[a-f0-9]{6}$') { + + ( + '0xff' + + (($_ -replace '#').ToCharArray()[-1..-6] -join '') + ) -as [UInt32] + } + } + + } + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + $MyInvocationName = "$($MyInvocation.InvocationName)" + $myVerb, $myNoun = $MyInvocationName -split '-' + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + $IsGet = $myVerb -eq "Get" + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + if ( + $IsGet -or + $NoVerb + ) { + $inputsOfKind = + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { + $_.InputName -like $Name + } else { + $_ + } + } + if ($NonNameParameters -and -not $IsGet) { + $paramCopy = [Ordered]@{} + $PSBoundParameters + if ($paramCopy.Name) { $paramCopy.Remove('Name') } + $inputsOfKind | & $myScriptBlock @paramCopy + } else { + $inputsOfKind + } + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($AudioSource) { + "$($AudioSource)-Waveform" + } else { + "Waveform" + } + } + + if ($myParameterData.color_base) { + $myParameterData.color_base = $myParameterData.color_base | ToOBSColor + } + if ($myParameterData.color_crest) { + $myParameterData.color_crest = $myParameterData.color_crest | ToOBSColor + } + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} From c4787ab4bd37c078c467336944232d2d1ae1acb2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 02:29:14 +0000 Subject: [PATCH 0015/4768] Adding Add/Set/Get-OBSWaveformSource (Fixes #141) --- obs-powershell.psd1 | 1 + 1 file changed, 1 insertion(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index e09a0173a..303374a71 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -333,6 +333,7 @@ Initial Release of obs-powershell 'Set-OBSDisplaySource', 'Set-OBSMediaSource', 'Set-OBSVLCSource', +'Set-OBSWaveformSource', 'Set-OBSWindowSource' } From 0cfd32a5eae27360e62af1112a8968f415c98a8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 02:29:42 +0000 Subject: [PATCH 0016/4768] Adding Add/Set/Get-OBSWaveformSource (Fixes #141) --- docs/Set-OBSWaveformSource.md | 556 ++++++++++++++++++++++++++++++++++ 1 file changed, 556 insertions(+) create mode 100644 docs/Set-OBSWaveformSource.md diff --git a/docs/Set-OBSWaveformSource.md b/docs/Set-OBSWaveformSource.md new file mode 100644 index 000000000..28c5dbd87 --- /dev/null +++ b/docs/Set-OBSWaveformSource.md @@ -0,0 +1,556 @@ +Set-OBSWaveformSource +--------------------- + + + + +### Synopsis +OBS Waveform Source + + + +--- + + +### Description + +Gets, Sets, or Adds a waveform source in OBS. +Waveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/) + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Add-OBSWaveformSource -Name "SpeakerWaveform" +``` + + + +--- + + +### Parameters +#### **Width** + +The width of the browser source. +If none is provided, this will be the output width of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |1 |true (ByPropertyName)| + + + +#### **Height** + +The width of the browser source. +If none is provided, this will be the output height of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + + + +#### **AudioSource** + +The audio source for the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **DisplayMode** + +The display mode for the waveform. + + + +Valid Values: + +* curve +* bars +* stepped_bars +* level_meter +* stepped_level_meter + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |4 |true (ByPropertyName)| + + + +#### **RenderMode** + +The render mode for the waveform. + + + +Valid Values: + +* line +* solid +* gradient + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |5 |true (ByPropertyName)| + + + +#### **WindowMode** + +The windowing mode for the waveform. +This is the mathematical function used to determine the current "window" of audio data. + + + +Valid Values: + +* hann +* hamming +* blackman +* blackman_harris +* none + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + + + +#### **Color** + +The color used for the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[PSObject]`|false |7 |true (ByPropertyName)| + + + +#### **CrestColor** + +The crest color used for the waveform. +This will be ignored if the render mode is not "gradient". + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[PSObject]`|false |8 |true (ByPropertyName)| + + + +#### **ChannelMode** + +The channel mode for the waveform. +This can be either mono or stereo. + + + +Valid Values: + +* mono +* stereo + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |9 |true (ByPropertyName)| + + + +#### **ChannelSpacing** + +The number of pixels between each channel in stereo mode + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |10 |true (ByPropertyName)| + + + +#### **RadialLayout** + +If set, will use a radial layout for the waveform +Radial layouts will ignore the desired height of the source and instead create a square. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **InvertRadialDirection** + +If set, will invert the direction for a radial waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **NoramlizeVolume** + +If set, will normalize the volume displayed in the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **AutoFftSize** + +If set, will automatically declare an FFTSize + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FastPeak** + +If set, will attempt to make audio peaks render faster. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **BarWidth** + +The width of the waveform bar. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |11 |true (ByPropertyName)| + + + +#### **BarGap** + +The gap between waveform bars. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |12 |true (ByPropertyName)| + + + +#### **StepWidth** + +The width of waveform bar step. +This is only valid when -DisplayMode is 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |13 |true (ByPropertyName)| + + + +#### **StepGap** + +The gap between waveform bar steps. +This is only valid when -DisplayMode is 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |14 |true (ByPropertyName)| + + + +#### **LowCutoff** + +The low-frequency cutoff of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |15 |true (ByPropertyName)| + + + +#### **HighCutoff** + +The high-frequency cutoff of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |16 |true (ByPropertyName)| + + + +#### **Floor** + +The floor of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |17 |true (ByPropertyName)| + + + +#### **Ceiling** + +The ceiling of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |18 |true (ByPropertyName)| + + + +#### **Slope** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |19 |true (ByPropertyName)| + + + +#### **RollOffOctave** + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------| +|`[Double]`|false |20 |true (ByPropertyName)|RollOffOctaves| + + + +#### **RollOffRate** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |21 |true (ByPropertyName)| + + + +#### **GradientRatio** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |22 |true (ByPropertyName)| + + + +#### **Deadzone** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |23 |true (ByPropertyName)| + + + +#### **TemporalSmoothing** + +Valid Values: + +* none +* exp_moving_avg + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |24 |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |25 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |26 |true (ByPropertyName)|InputName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSWaveformSource [[-Width] ] [[-Height] ] [[-AudioSource] ] [[-DisplayMode] ] [[-RenderMode] ] [[-WindowMode] ] [[-Color] ] [[-CrestColor] ] [[-ChannelMode] ] [[-ChannelSpacing] ] [-RadialLayout] [-InvertRadialDirection] [-NoramlizeVolume] [-AutoFftSize] [-FastPeak] [[-BarWidth] ] [[-BarGap] ] [[-StepWidth] ] [[-StepGap] ] [[-LowCutoff] ] [[-HighCutoff] ] [[-Floor] ] [[-Ceiling] ] [[-Slope] ] [[-RollOffOctave] ] [[-RollOffRate] ] [[-GradientRatio] ] [[-Deadzone] ] [[-TemporalSmoothing] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 4beffb349eea37c05cd454eba324d4b9a259d660 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 02:29:46 +0000 Subject: [PATCH 0017/4768] Adding Add/Set/Get-OBSWaveformSource (Fixes #141) --- docs/Add-OBSWaveformSource.md | 556 ++++++++++++++++++++++++++++++++++ 1 file changed, 556 insertions(+) create mode 100644 docs/Add-OBSWaveformSource.md diff --git a/docs/Add-OBSWaveformSource.md b/docs/Add-OBSWaveformSource.md new file mode 100644 index 000000000..28c5dbd87 --- /dev/null +++ b/docs/Add-OBSWaveformSource.md @@ -0,0 +1,556 @@ +Set-OBSWaveformSource +--------------------- + + + + +### Synopsis +OBS Waveform Source + + + +--- + + +### Description + +Gets, Sets, or Adds a waveform source in OBS. +Waveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/) + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Add-OBSWaveformSource -Name "SpeakerWaveform" +``` + + + +--- + + +### Parameters +#### **Width** + +The width of the browser source. +If none is provided, this will be the output width of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |1 |true (ByPropertyName)| + + + +#### **Height** + +The width of the browser source. +If none is provided, this will be the output height of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + + + +#### **AudioSource** + +The audio source for the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **DisplayMode** + +The display mode for the waveform. + + + +Valid Values: + +* curve +* bars +* stepped_bars +* level_meter +* stepped_level_meter + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |4 |true (ByPropertyName)| + + + +#### **RenderMode** + +The render mode for the waveform. + + + +Valid Values: + +* line +* solid +* gradient + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |5 |true (ByPropertyName)| + + + +#### **WindowMode** + +The windowing mode for the waveform. +This is the mathematical function used to determine the current "window" of audio data. + + + +Valid Values: + +* hann +* hamming +* blackman +* blackman_harris +* none + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + + + +#### **Color** + +The color used for the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[PSObject]`|false |7 |true (ByPropertyName)| + + + +#### **CrestColor** + +The crest color used for the waveform. +This will be ignored if the render mode is not "gradient". + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[PSObject]`|false |8 |true (ByPropertyName)| + + + +#### **ChannelMode** + +The channel mode for the waveform. +This can be either mono or stereo. + + + +Valid Values: + +* mono +* stereo + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |9 |true (ByPropertyName)| + + + +#### **ChannelSpacing** + +The number of pixels between each channel in stereo mode + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |10 |true (ByPropertyName)| + + + +#### **RadialLayout** + +If set, will use a radial layout for the waveform +Radial layouts will ignore the desired height of the source and instead create a square. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **InvertRadialDirection** + +If set, will invert the direction for a radial waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **NoramlizeVolume** + +If set, will normalize the volume displayed in the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **AutoFftSize** + +If set, will automatically declare an FFTSize + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FastPeak** + +If set, will attempt to make audio peaks render faster. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **BarWidth** + +The width of the waveform bar. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |11 |true (ByPropertyName)| + + + +#### **BarGap** + +The gap between waveform bars. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |12 |true (ByPropertyName)| + + + +#### **StepWidth** + +The width of waveform bar step. +This is only valid when -DisplayMode is 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |13 |true (ByPropertyName)| + + + +#### **StepGap** + +The gap between waveform bar steps. +This is only valid when -DisplayMode is 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |14 |true (ByPropertyName)| + + + +#### **LowCutoff** + +The low-frequency cutoff of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |15 |true (ByPropertyName)| + + + +#### **HighCutoff** + +The high-frequency cutoff of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |16 |true (ByPropertyName)| + + + +#### **Floor** + +The floor of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |17 |true (ByPropertyName)| + + + +#### **Ceiling** + +The ceiling of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |18 |true (ByPropertyName)| + + + +#### **Slope** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |19 |true (ByPropertyName)| + + + +#### **RollOffOctave** + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------| +|`[Double]`|false |20 |true (ByPropertyName)|RollOffOctaves| + + + +#### **RollOffRate** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |21 |true (ByPropertyName)| + + + +#### **GradientRatio** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |22 |true (ByPropertyName)| + + + +#### **Deadzone** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |23 |true (ByPropertyName)| + + + +#### **TemporalSmoothing** + +Valid Values: + +* none +* exp_moving_avg + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |24 |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |25 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |26 |true (ByPropertyName)|InputName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSWaveformSource [[-Width] ] [[-Height] ] [[-AudioSource] ] [[-DisplayMode] ] [[-RenderMode] ] [[-WindowMode] ] [[-Color] ] [[-CrestColor] ] [[-ChannelMode] ] [[-ChannelSpacing] ] [-RadialLayout] [-InvertRadialDirection] [-NoramlizeVolume] [-AutoFftSize] [-FastPeak] [[-BarWidth] ] [[-BarGap] ] [[-StepWidth] ] [[-StepGap] ] [[-LowCutoff] ] [[-HighCutoff] ] [[-Floor] ] [[-Ceiling] ] [[-Slope] ] [[-RollOffOctave] ] [[-RollOffRate] ] [[-GradientRatio] ] [[-Deadzone] ] [[-TemporalSmoothing] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 46ce2028be23bc71bb5ea4c58dfd5bef2a4a74ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 02:29:47 +0000 Subject: [PATCH 0018/4768] Adding Add/Set/Get-OBSWaveformSource (Fixes #141) --- docs/Get-OBSWaveformSource.md | 556 ++++++++++++++++++++++++++++++++++ 1 file changed, 556 insertions(+) create mode 100644 docs/Get-OBSWaveformSource.md diff --git a/docs/Get-OBSWaveformSource.md b/docs/Get-OBSWaveformSource.md new file mode 100644 index 000000000..28c5dbd87 --- /dev/null +++ b/docs/Get-OBSWaveformSource.md @@ -0,0 +1,556 @@ +Set-OBSWaveformSource +--------------------- + + + + +### Synopsis +OBS Waveform Source + + + +--- + + +### Description + +Gets, Sets, or Adds a waveform source in OBS. +Waveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/) + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Add-OBSWaveformSource -Name "SpeakerWaveform" +``` + + + +--- + + +### Parameters +#### **Width** + +The width of the browser source. +If none is provided, this will be the output width of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |1 |true (ByPropertyName)| + + + +#### **Height** + +The width of the browser source. +If none is provided, this will be the output height of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + + + +#### **AudioSource** + +The audio source for the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **DisplayMode** + +The display mode for the waveform. + + + +Valid Values: + +* curve +* bars +* stepped_bars +* level_meter +* stepped_level_meter + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |4 |true (ByPropertyName)| + + + +#### **RenderMode** + +The render mode for the waveform. + + + +Valid Values: + +* line +* solid +* gradient + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |5 |true (ByPropertyName)| + + + +#### **WindowMode** + +The windowing mode for the waveform. +This is the mathematical function used to determine the current "window" of audio data. + + + +Valid Values: + +* hann +* hamming +* blackman +* blackman_harris +* none + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + + + +#### **Color** + +The color used for the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[PSObject]`|false |7 |true (ByPropertyName)| + + + +#### **CrestColor** + +The crest color used for the waveform. +This will be ignored if the render mode is not "gradient". + + + + + + +|Type |Required|Position|PipelineInput | +|------------|--------|--------|---------------------| +|`[PSObject]`|false |8 |true (ByPropertyName)| + + + +#### **ChannelMode** + +The channel mode for the waveform. +This can be either mono or stereo. + + + +Valid Values: + +* mono +* stereo + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |9 |true (ByPropertyName)| + + + +#### **ChannelSpacing** + +The number of pixels between each channel in stereo mode + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |10 |true (ByPropertyName)| + + + +#### **RadialLayout** + +If set, will use a radial layout for the waveform +Radial layouts will ignore the desired height of the source and instead create a square. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **InvertRadialDirection** + +If set, will invert the direction for a radial waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **NoramlizeVolume** + +If set, will normalize the volume displayed in the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **AutoFftSize** + +If set, will automatically declare an FFTSize + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FastPeak** + +If set, will attempt to make audio peaks render faster. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **BarWidth** + +The width of the waveform bar. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |11 |true (ByPropertyName)| + + + +#### **BarGap** + +The gap between waveform bars. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |12 |true (ByPropertyName)| + + + +#### **StepWidth** + +The width of waveform bar step. +This is only valid when -DisplayMode is 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |13 |true (ByPropertyName)| + + + +#### **StepGap** + +The gap between waveform bar steps. +This is only valid when -DisplayMode is 'stepped_bars' + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |14 |true (ByPropertyName)| + + + +#### **LowCutoff** + +The low-frequency cutoff of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |15 |true (ByPropertyName)| + + + +#### **HighCutoff** + +The high-frequency cutoff of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |16 |true (ByPropertyName)| + + + +#### **Floor** + +The floor of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |17 |true (ByPropertyName)| + + + +#### **Ceiling** + +The ceiling of the waveform. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |18 |true (ByPropertyName)| + + + +#### **Slope** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |19 |true (ByPropertyName)| + + + +#### **RollOffOctave** + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------| +|`[Double]`|false |20 |true (ByPropertyName)|RollOffOctaves| + + + +#### **RollOffRate** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |21 |true (ByPropertyName)| + + + +#### **GradientRatio** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |22 |true (ByPropertyName)| + + + +#### **Deadzone** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Double]`|false |23 |true (ByPropertyName)| + + + +#### **TemporalSmoothing** + +Valid Values: + +* none +* exp_moving_avg + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |24 |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |25 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |26 |true (ByPropertyName)|InputName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSWaveformSource [[-Width] ] [[-Height] ] [[-AudioSource] ] [[-DisplayMode] ] [[-RenderMode] ] [[-WindowMode] ] [[-Color] ] [[-CrestColor] ] [[-ChannelMode] ] [[-ChannelSpacing] ] [-RadialLayout] [-InvertRadialDirection] [-NoramlizeVolume] [-AutoFftSize] [-FastPeak] [[-BarWidth] ] [[-BarGap] ] [[-StepWidth] ] [[-StepGap] ] [[-LowCutoff] ] [[-HighCutoff] ] [[-Floor] ] [[-Ceiling] ] [[-Slope] ] [[-RollOffOctave] ] [[-RollOffRate] ] [[-GradientRatio] ] [[-Deadzone] ] [[-TemporalSmoothing] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 7fe19f6ec2982a00a0b35caa68745ca847d26bd0 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 7 Sep 2023 21:59:29 -0700 Subject: [PATCH 0019/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- .../Sources/Set-OBSAudioOutputSource.ps.ps1 | 51 +++++++++++++++++-- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 b/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 index be22ca6c7..e7c6b89f9 100644 --- a/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 +++ b/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 @@ -16,7 +16,7 @@ function Set-OBSAudioOutputSource #> #> [inherit("Add-OBSInput", Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] - [Alias('Add-OBSAudioOutputSource')] + [Alias('Add-OBSAudioOutputSource','Get-OBSAudioOutputSource')] param( # The name of the audio device. # This name or device ID of the audio device that should be captured. @@ -35,7 +35,7 @@ function Set-OBSAudioOutputSource # The name of the input. # If no name is provided, "AudioOutput$($AudioDevice)" will be the input source name. [Parameter(ValueFromPipelineByPropertyName)] - [Alias('InputName')] + [Alias('InputName','SourceName')] [string] $Name, @@ -46,8 +46,53 @@ function Set-OBSAudioOutputSource $Force ) + begin { + # Audio Output sources have an inputKind of 'wasapi_output_capture'. + $inputKind = "wasapi_output_capture" + } + process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -99,7 +144,7 @@ function Set-OBSAudioOutputSource $addSplat = @{ sceneName = $myParameters["Scene"] inputName = $myParameters["Name"] - inputKind = "wasapi_output_capture" + inputKind = $inputKind inputSettings = $myParameterData NoResponse = $myParameters["NoResponse"] } From 31e373f5c56fc4dd66f0b30a6762608b2a1dc92c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:05:10 +0000 Subject: [PATCH 0020/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- Commands/Sources/Set-OBSAudioOutputSource.ps1 | 50 +++++++++++++++++-- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git a/Commands/Sources/Set-OBSAudioOutputSource.ps1 b/Commands/Sources/Set-OBSAudioOutputSource.ps1 index a5d5ef2d8..05425823c 100644 --- a/Commands/Sources/Set-OBSAudioOutputSource.ps1 +++ b/Commands/Sources/Set-OBSAudioOutputSource.ps1 @@ -16,7 +16,7 @@ function Set-OBSAudioOutputSource { #> #> - [Alias('Add-OBSAudioOutputSource')] + [Alias('Add-OBSAudioOutputSource','Get-OBSAudioOutputSource')] param( # The name of the audio device. # This name or device ID of the audio device that should be captured. @@ -33,7 +33,7 @@ function Set-OBSAudioOutputSource { # The name of the input. # If no name is provided, "AudioOutput$($AudioDevice)" will be the input source name. [Parameter(ValueFromPipelineByPropertyName)] - [Alias('InputName')] + [Alias('InputName','SourceName')] [string] $Name, # If set, will check if the source exists in the scene before creating it and removing any existing sources found. @@ -75,9 +75,53 @@ function Set-OBSAudioOutputSource { )) } $DynamicParameters + } + begin { + # Audio Output sources have an inputKind of 'wasapi_output_capture'. + $inputKind = "wasapi_output_capture" + } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -121,7 +165,7 @@ function Set-OBSAudioOutputSource { $addSplat = @{ sceneName = $myParameters["Scene"] inputName = $myParameters["Name"] - inputKind = "wasapi_output_capture" + inputKind = $inputKind inputSettings = $myParameterData NoResponse = $myParameters["NoResponse"] } From 2b9cf1ee46ce473363404be5cff4c2e172cc1fe0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:05:10 +0000 Subject: [PATCH 0021/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 5163922fc..a835be041 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 339 commands -(169 functions and 170 aliases) +obs-powershell exports 342 commands +(170 functions and 172 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -161,6 +161,7 @@ Functions |[Set-OBSTBarPosition](docs/Set-OBSTBarPosition.md) |Set-OBSTBarPosition : SetTBarPosition | |[Set-OBSVideoSettings](docs/Set-OBSVideoSettings.md) |Set-OBSVideoSettings : SetVideoSettings | |[Set-OBSVLCSource](docs/Set-OBSVLCSource.md) |Adds a VLC playlist source | +|[Set-OBSWaveformSource](docs/Set-OBSWaveformSource.md) |OBS Waveform Source | |[Set-OBSWindowSource](docs/Set-OBSWindowSource.md) |Adds or sets a window capture source | |[Show-OBS](docs/Show-OBS.md) |Shows content in OBS | |[Start-OBSEffect](docs/Start-OBSEffect.md) |Starts obs-powershell effects. | @@ -339,6 +340,7 @@ Aliases |[Set-OBSTBarPosition](docs/Set-OBSTBarPosition.md) | |[Set-OBSVideoSettings](docs/Set-OBSVideoSettings.md) | |[Set-OBSVLCSource](docs/Set-OBSVLCSource.md) | +|[Set-OBSWaveformSource](docs/Set-OBSWaveformSource.md) | |[Set-OBSWindowSource](docs/Set-OBSWindowSource.md) | |[Show-OBS](docs/Show-OBS.md) | |[Start-OBSEffect](docs/Start-OBSEffect.md) | From 2bae58460083e2b3ae8a10b528f68f725311159a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:05:32 +0000 Subject: [PATCH 0022/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- docs/Set-OBSAudioOutputSource.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Set-OBSAudioOutputSource.md b/docs/Set-OBSAudioOutputSource.md index f3e8e01a1..37e2eb6db 100644 --- a/docs/Set-OBSAudioOutputSource.md +++ b/docs/Set-OBSAudioOutputSource.md @@ -80,9 +80,9 @@ If no name is provided, "AudioOutput$($AudioDevice)" will be the input source na -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|---------| -|`[String]`|false |3 |true (ByPropertyName)|InputName| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |3 |true (ByPropertyName)|InputName
SourceName| From dabc38c1ff2c87dc45a2479c2e704fe9d2c2f110 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:05:39 +0000 Subject: [PATCH 0023/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- docs/Add-OBSAudioOutputSource.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Add-OBSAudioOutputSource.md b/docs/Add-OBSAudioOutputSource.md index f3e8e01a1..37e2eb6db 100644 --- a/docs/Add-OBSAudioOutputSource.md +++ b/docs/Add-OBSAudioOutputSource.md @@ -80,9 +80,9 @@ If no name is provided, "AudioOutput$($AudioDevice)" will be the input source na -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|---------| -|`[String]`|false |3 |true (ByPropertyName)|InputName| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |3 |true (ByPropertyName)|InputName
SourceName| From c38fe7976f116af5a6e03cabb08901c262166056 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:05:41 +0000 Subject: [PATCH 0024/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- docs/Get-OBSAudioOutputSource.md | 122 +++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 docs/Get-OBSAudioOutputSource.md diff --git a/docs/Get-OBSAudioOutputSource.md b/docs/Get-OBSAudioOutputSource.md new file mode 100644 index 000000000..37e2eb6db --- /dev/null +++ b/docs/Get-OBSAudioOutputSource.md @@ -0,0 +1,122 @@ +Set-OBSAudioOutputSource +------------------------ + + + + +### Synopsis +Adds or sets an audio output source + + + +--- + + +### Description + +Adds or sets an audio output source in OBS. This captures the audio that is being sent to an output device. + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Add-OBSAudioOutputSource +``` + +#### EXAMPLE 2 +```PowerShell +Set-OBSAudioOutputSource -AudioDevice Speakers +``` + + + +--- + + +### Parameters +#### **AudioDevice** + +The name of the audio device. +This name or device ID of the audio device that should be captured. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-----------------------------------| +|`[String]`|false |1 |true (ByPropertyName)|ItemValue
ItemName
DeviceID| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |2 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, "AudioOutput$($AudioDevice)" will be the input source name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |3 |true (ByPropertyName)|InputName
SourceName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Notes +This command currently only supports capturing default audio on Windows. +To add support for other operating systems, file an issue or open a pull request. + + + +--- + + +### Syntax +```PowerShell +Set-OBSAudioOutputSource [[-AudioDevice] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 2f419598567843a2c1b3cb72e719b99b9aebfb4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:06:02 +0000 Subject: [PATCH 0025/4768] Making Set also Get-OBSAudioOutputSource (Fixes #146) Also, Fixes #153 --- docs/obs-powershell-commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 9d50944e5..ccef26726 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 339 commands -(169 functions and 170 aliases) +obs-powershell exports 342 commands +(170 functions and 172 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -161,6 +161,7 @@ Functions |[Set-OBSTBarPosition](Set-OBSTBarPosition.md) |Set-OBSTBarPosition : SetTBarPosition | |[Set-OBSVideoSettings](Set-OBSVideoSettings.md) |Set-OBSVideoSettings : SetVideoSettings | |[Set-OBSVLCSource](Set-OBSVLCSource.md) |Adds a VLC playlist source | +|[Set-OBSWaveformSource](Set-OBSWaveformSource.md) |OBS Waveform Source | |[Set-OBSWindowSource](Set-OBSWindowSource.md) |Adds or sets a window capture source | |[Show-OBS](Show-OBS.md) |Shows content in OBS | |[Start-OBSEffect](Start-OBSEffect.md) |Starts obs-powershell effects. | @@ -339,6 +340,7 @@ Aliases |[Set-OBSTBarPosition](Set-OBSTBarPosition.md) | |[Set-OBSVideoSettings](Set-OBSVideoSettings.md) | |[Set-OBSVLCSource](Set-OBSVLCSource.md) | +|[Set-OBSWaveformSource](Set-OBSWaveformSource.md) | |[Set-OBSWindowSource](Set-OBSWindowSource.md) | |[Show-OBS](Show-OBS.md) | |[Start-OBSEffect](Start-OBSEffect.md) | From 2079ce97d36678adaeee9bd014fd43b117b4109a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 7 Sep 2023 22:19:05 -0700 Subject: [PATCH 0026/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- Commands/Sources/Set-OBSBrowserSource.ps.ps1 | 56 ++++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/Commands/Sources/Set-OBSBrowserSource.ps.ps1 b/Commands/Sources/Set-OBSBrowserSource.ps.ps1 index 68696b2b1..2115d7a30 100644 --- a/Commands/Sources/Set-OBSBrowserSource.ps.ps1 +++ b/Commands/Sources/Set-OBSBrowserSource.ps.ps1 @@ -12,7 +12,7 @@ function Set-OBSBrowserSource Import-Module ..\..\obs-powershell.psd1 -Global "Add-OBSInput" }, Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] - [Alias('Add-OBSBrowserSource')] + [Alias('Add-OBSBrowserSource','Get-OBSBrowserSource')] param( # The uri or file path to display. # If the uri points to a local file, this will be preferred @@ -75,6 +75,7 @@ function Set-OBSBrowserSource # The name of the input. # If no name is provided, the last segment of the URI or file path will be the input name. [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] [string] $Name, @@ -84,10 +85,57 @@ function Set-OBSBrowserSource [switch] $Force ) + + begin { + # Browser Sources are built into OBS. Their input kind is browser_source. + $inputKind = "browser_source" + } process { $myParameters = [Ordered]@{} + $PSBoundParameters + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + if ((-not $width) -or (-not $height)) { if (-not $script:CachedOBSVideoSettings) { $script:CachedOBSVideoSettings = Get-OBSVideoSettings @@ -104,7 +152,7 @@ function Set-OBSBrowserSource $myParameterData = [Ordered]@{} foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { - $bindToPropertyName = $null + $bindToPropertyName = $null foreach ($attribute in $parameter.Attributes) { if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { @@ -117,7 +165,7 @@ function Set-OBSBrowserSource if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } @@ -156,7 +204,7 @@ function Set-OBSBrowserSource $addSplat = [Ordered]@{ sceneName = $myParameters["Scene"] - inputKind = "browser_source" + inputKind = $inputKind inputSettings = $myParameterData inputName = $Name NoResponse = $myParameters["NoResponse"] From 8266650f7aa59039487403eabc121168b5c82425 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:26:21 +0000 Subject: [PATCH 0027/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- Commands/Sources/Set-OBSBrowserSource.ps1 | 54 +++++++++++++++++++++-- 1 file changed, 50 insertions(+), 4 deletions(-) diff --git a/Commands/Sources/Set-OBSBrowserSource.ps1 b/Commands/Sources/Set-OBSBrowserSource.ps1 index 142e7fa8c..8d005b173 100644 --- a/Commands/Sources/Set-OBSBrowserSource.ps1 +++ b/Commands/Sources/Set-OBSBrowserSource.ps1 @@ -10,7 +10,7 @@ function Set-OBSBrowserSource { #> - [Alias('Add-OBSBrowserSource')] + [Alias('Add-OBSBrowserSource','Get-OBSBrowserSource')] param( # The uri or file path to display. # If the uri points to a local file, this will be preferred @@ -64,6 +64,7 @@ function Set-OBSBrowserSource { # The name of the input. # If no name is provided, the last segment of the URI or file path will be the input name. [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] [string] $Name, # If set, will check if the source exists in the scene before creating it and removing any existing sources found. @@ -105,10 +106,55 @@ function Set-OBSBrowserSource { )) } $DynamicParameters + } + begin { + # Browser Sources are built into OBS. Their input kind is browser_source. + $inputKind = "browser_source" + } process { $myParameters = [Ordered]@{} + $PSBoundParameters + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if ((-not $width) -or (-not $height)) { if (-not $script:CachedOBSVideoSettings) { $script:CachedOBSVideoSettings = Get-OBSVideoSettings @@ -123,7 +169,7 @@ function Set-OBSBrowserSource { $myParameterData = [Ordered]@{} foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { - $bindToPropertyName = $null + $bindToPropertyName = $null foreach ($attribute in $parameter.Attributes) { if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { @@ -135,7 +181,7 @@ function Set-OBSBrowserSource { if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } @@ -171,7 +217,7 @@ function Set-OBSBrowserSource { } $addSplat = [Ordered]@{ sceneName = $myParameters["Scene"] - inputKind = "browser_source" + inputKind = $inputKind inputSettings = $myParameterData inputName = $Name NoResponse = $myParameters["NoResponse"] From 145686f095698a07d87bbcb1a2bf427ca6e3aa28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:26:21 +0000 Subject: [PATCH 0028/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- en-us/obs-powershell-commands.help.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index a835be041..b5f921485 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 342 commands -(170 functions and 172 aliases) +obs-powershell exports 343 commands +(170 functions and 173 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). From 9c7ba5a88533dd895cbbf8ea3030bd6eaa355b78 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:26:52 +0000 Subject: [PATCH 0029/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- docs/Set-OBSBrowserSource.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Set-OBSBrowserSource.md b/docs/Set-OBSBrowserSource.md index e79e8496f..45133845f 100644 --- a/docs/Set-OBSBrowserSource.md +++ b/docs/Set-OBSBrowserSource.md @@ -182,9 +182,9 @@ If no name is provided, the last segment of the URI or file path will be the inp -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |7 |true (ByPropertyName)|InputName
SourceName| From f36b6bbe5e2ee00bc4bcee9adbef1dfe66815960 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:27:01 +0000 Subject: [PATCH 0030/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- docs/Add-OBSBrowserSource.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Add-OBSBrowserSource.md b/docs/Add-OBSBrowserSource.md index e79e8496f..45133845f 100644 --- a/docs/Add-OBSBrowserSource.md +++ b/docs/Add-OBSBrowserSource.md @@ -182,9 +182,9 @@ If no name is provided, the last segment of the URI or file path will be the inp -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |7 |true (ByPropertyName)|InputName
SourceName| From 980cb937e58707b71a98c5d878dd29253f06a26c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:27:04 +0000 Subject: [PATCH 0031/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- docs/Get-OBSBrowserSource.md | 215 +++++++++++++++++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 docs/Get-OBSBrowserSource.md diff --git a/docs/Get-OBSBrowserSource.md b/docs/Get-OBSBrowserSource.md new file mode 100644 index 000000000..45133845f --- /dev/null +++ b/docs/Get-OBSBrowserSource.md @@ -0,0 +1,215 @@ +Set-OBSBrowserSource +-------------------- + + + + +### Synopsis +Sets a browser source + + + +--- + + +### Description + +Adds or changes a browser source in OBS. + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Set-OBSBrowserSource -Uri https://pssvg.start-automating.com/Examples/Stars.svg +``` + + + +--- + + +### Parameters +#### **Uri** + +The uri or file path to display. +If the uri points to a local file, this will be preferred + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|-------|--------|--------|---------------------|-----------------------------------------------| +|`[Uri]`|false |1 |true (ByPropertyName)|Url
Href
Path
FilePath
FullName| + + + +#### **Width** + +The width of the browser source. +If none is provided, this will be the output width of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + + + +#### **Height** + +The width of the browser source. +If none is provided, this will be the output height of the video settings. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |3 |true (ByPropertyName)| + + + +#### **CSS** + +The css style used to render the browser page. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |4 |true (ByPropertyName)| + + + +#### **ShutdownWhenHidden** + +If set, the browser source will shutdown when it is hidden + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **RestartWhenActived** + +If set, the browser source will restart when it is activated. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **RerouteAudio** + +If set, audio from the browser source will be rerouted into OBS. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FramesPerSecond** + +If provided, the browser source will render at a custom frame rate. + + + + + + +|Type |Required|Position|PipelineInput |Aliases| +|---------|--------|--------|---------------------|-------| +|`[Int32]`|false |5 |true (ByPropertyName)|FPS | + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |7 |true (ByPropertyName)|InputName
SourceName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSBrowserSource [[-Uri] ] [[-Width] ] [[-Height] ] [[-CSS] ] [-ShutdownWhenHidden] [-RestartWhenActived] [-RerouteAudio] [[-FramesPerSecond] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From b9f520d03f3c5bd5da3898550325d23a52e03de1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 05:27:32 +0000 Subject: [PATCH 0032/4768] Making Set also Get-OBSBrowserSource (Fixes #147) Also, Fixes #153 --- docs/obs-powershell-commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index ccef26726..3a4c909f1 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 342 commands -(170 functions and 172 aliases) +obs-powershell exports 343 commands +(170 functions and 173 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). From 251e2d43817233b010c577c2860cd2dfb0ed8bc3 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 7 Sep 2023 23:46:39 -0700 Subject: [PATCH 0033/4768] Making Set also Get-OBSColorSource (Fixes #148) --- Commands/Sources/Set-OBSColorSource.ps.ps1 | 46 +++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSColorSource.ps.ps1 b/Commands/Sources/Set-OBSColorSource.ps.ps1 index 231e17f3e..c41737a3d 100644 --- a/Commands/Sources/Set-OBSColorSource.ps.ps1 +++ b/Commands/Sources/Set-OBSColorSource.ps.ps1 @@ -11,7 +11,7 @@ function Set-OBSColorSource Set-OBSInputSettings #> [inherit("Add-OBSInput", Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] - [Alias('Add-OBSColorSource')] + [Alias('Add-OBSColorSource','Get-OBSColorSource')] param( # The name of the scene. # If no scene name is provided, the current program scene will be used. @@ -38,9 +38,53 @@ function Set-OBSColorSource [switch] $Force ) + + begin { + $inputKind = "color_source_v3" + } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene From 5256d4f07df459d76888d0715102cbce87ccd537 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 06:53:25 +0000 Subject: [PATCH 0034/4768] Making Set also Get-OBSColorSource (Fixes #148) --- Commands/Sources/Set-OBSColorSource.ps1 | 45 ++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSColorSource.ps1 b/Commands/Sources/Set-OBSColorSource.ps1 index b7c0e69de..c418dd235 100644 --- a/Commands/Sources/Set-OBSColorSource.ps1 +++ b/Commands/Sources/Set-OBSColorSource.ps1 @@ -12,7 +12,7 @@ function Set-OBSColorSource { #> - [Alias('Add-OBSColorSource')] + [Alias('Add-OBSColorSource','Get-OBSColorSource')] param( # The name of the scene. # If no scene name is provided, the current program scene will be used. @@ -69,9 +69,52 @@ function Set-OBSColorSource { )) } $DynamicParameters + } + begin { + $inputKind = "color_source_v3" + } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene From 958a21d42636a13a31432242ee49ad012ab7ea33 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 06:53:25 +0000 Subject: [PATCH 0035/4768] Making Set also Get-OBSColorSource (Fixes #148) --- en-us/obs-powershell-commands.help.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index b5f921485..8d62ad88f 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 343 commands -(170 functions and 173 aliases) +obs-powershell exports 344 commands +(170 functions and 174 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). From 2dba5693d9152f482a195726a2428713524e5a6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 06:54:06 +0000 Subject: [PATCH 0036/4768] Making Set also Get-OBSColorSource (Fixes #148) --- docs/Get-OBSColorSource.md | 106 +++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 docs/Get-OBSColorSource.md diff --git a/docs/Get-OBSColorSource.md b/docs/Get-OBSColorSource.md new file mode 100644 index 000000000..2843dd802 --- /dev/null +++ b/docs/Get-OBSColorSource.md @@ -0,0 +1,106 @@ +Set-OBSColorSource +------------------ + + + + +### Synopsis +Adds a color source + + + +--- + + +### Description + +Adds a color source to OBS. This displays a single 32-bit color (RGBA). + + + +--- + + +### Related Links +* [Add-OBSInput](Add-OBSInput.md) + + + +* [Set-OBSInputSettings](Set-OBSInputSettings.md) + + + + + +--- + + +### Parameters +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |1 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |2 |true (ByPropertyName)|InputName| + + + +#### **Color** + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSColorSource [[-Scene] ] [[-Name] ] [[-Color] ] [-Force] [] +``` From ca8d54dad767e9c688c6b49df241a137d39ac3e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 06:54:33 +0000 Subject: [PATCH 0037/4768] Making Set also Get-OBSColorSource (Fixes #148) --- docs/obs-powershell-commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 3a4c909f1..4826c6d06 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 343 commands -(170 functions and 173 aliases) +obs-powershell exports 344 commands +(170 functions and 174 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). From 36719cf48fd1017c4e723b4c60f8c1acb9d3527b Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Fri, 8 Sep 2023 12:15:32 -0700 Subject: [PATCH 0038/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- Commands/Sources/Set-OBSMediaSource.ps.ps1 | 66 +++++++++++++++++++--- 1 file changed, 57 insertions(+), 9 deletions(-) diff --git a/Commands/Sources/Set-OBSMediaSource.ps.ps1 b/Commands/Sources/Set-OBSMediaSource.ps.ps1 index 688a8fa32..bcdb53789 100644 --- a/Commands/Sources/Set-OBSMediaSource.ps.ps1 +++ b/Commands/Sources/Set-OBSMediaSource.ps.ps1 @@ -13,10 +13,10 @@ function Set-OBSMediaSource Set-OBSInputSettings #> [inherit("Add-OBSInput", Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] - [Alias('Add-OBSFFMpegSource','Add-OBSMediaSource','Set-OBSFFMpegSource')] + [Alias('Add-OBSFFMpegSource','Add-OBSMediaSource','Set-OBSFFMpegSource','Get-OBSFFMpegSource','Get-OBSMediaSource')] param( # The path to the media file. - [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Parameter(ValueFromPipelineByPropertyName)] [Alias('FullName','LocalFile','local_file')] [string] $FilePath, @@ -91,10 +91,51 @@ function Set-OBSMediaSource } $_ } + $InputKind = "ffmpeg_source" } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -116,17 +157,17 @@ function Set-OBSMediaSource if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } - if (-not (Test-Path $FilePath)) { - return + if ((Test-Path $FilePath)) { + $FilePathItem = Get-Item -Path $FilePath + $myParameterData['local_file'] = $FilePathItem.FullName -replace '/', '\' } - $FilePathItem = Get-Item -Path $FilePath - $myParameterData['local_file'] = $FilePathItem.FullName -replace '/', '\' + if ($myParameters['InputSettings']) { $keys = @@ -146,12 +187,19 @@ function Set-OBSMediaSource } if (-not $Name) { - $Name = $myParameters["Name"] = $FilePathItem.Name + + $Name = $myParameters["Name"] = + if ($FilePathItem.Name) { + $FilePathItem.Name + } else { + "Media" + } + } $addSplat = [Ordered]@{ sceneName = $myParameters["Scene"] - inputKind = "ffmpeg_source" + inputKind = $InputKind inputSettings = $myParameterData inputName = $Name NoResponse = $myParameters["NoResponse"] From 4e9c7310562247848c5a312a068ad62e93c3ec29 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:11 +0000 Subject: [PATCH 0039/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- Commands/Sources/Set-OBSMediaSource.ps1 | 65 +++++++++++++++++++++---- 1 file changed, 56 insertions(+), 9 deletions(-) diff --git a/Commands/Sources/Set-OBSMediaSource.ps1 b/Commands/Sources/Set-OBSMediaSource.ps1 index e2a04cb5d..74b36a8a5 100644 --- a/Commands/Sources/Set-OBSMediaSource.ps1 +++ b/Commands/Sources/Set-OBSMediaSource.ps1 @@ -14,10 +14,10 @@ function Set-OBSMediaSource { #> - [Alias('Add-OBSFFMpegSource','Add-OBSMediaSource','Set-OBSFFMpegSource')] + [Alias('Add-OBSFFMpegSource','Add-OBSMediaSource','Set-OBSFFMpegSource','Get-OBSFFMpegSource','Get-OBSMediaSource')] param( # The path to the media file. - [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Parameter(ValueFromPipelineByPropertyName)] [Alias('FullName','LocalFile','local_file')] [string] $FilePath, @@ -117,10 +117,50 @@ function Set-OBSMediaSource { $_ } + $InputKind = "ffmpeg_source" } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -140,15 +180,15 @@ function Set-OBSMediaSource { if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } - if (-not (Test-Path $FilePath)) { - return + if ((Test-Path $FilePath)) { + $FilePathItem = Get-Item -Path $FilePath + $myParameterData['local_file'] = $FilePathItem.FullName -replace '/', '\' } - $FilePathItem = Get-Item -Path $FilePath - $myParameterData['local_file'] = $FilePathItem.FullName -replace '/', '\' + if ($myParameters['InputSettings']) { $keys = @(if ($myParameters['InputSettings'] -is [Collections.IDictionary]) { @@ -165,11 +205,18 @@ function Set-OBSMediaSource { } if (-not $Name) { - $Name = $myParameters["Name"] = $FilePathItem.Name + + $Name = $myParameters["Name"] = + if ($FilePathItem.Name) { + $FilePathItem.Name + } else { + "Media" + } + } $addSplat = [Ordered]@{ sceneName = $myParameters["Scene"] - inputKind = "ffmpeg_source" + inputKind = $InputKind inputSettings = $myParameterData inputName = $Name NoResponse = $myParameters["NoResponse"] From 5af55652adb0ce8509f1fe598d505b4a868d01b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:11 +0000 Subject: [PATCH 0040/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- en-us/obs-powershell-commands.help.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 8d62ad88f..8960d8cbc 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 344 commands -(170 functions and 174 aliases) +obs-powershell exports 345 commands +(170 functions and 175 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). From d55dc54127e5800907060fe60b76f34012612db9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:42 +0000 Subject: [PATCH 0041/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/Set-OBSMediaSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Set-OBSMediaSource.md b/docs/Set-OBSMediaSource.md index 71c0dd2c6..de70c4e0c 100644 --- a/docs/Set-OBSMediaSource.md +++ b/docs/Set-OBSMediaSource.md @@ -58,7 +58,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------------------------------| -|`[String]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file| +|`[String]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file| @@ -212,5 +212,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSMediaSource [-FilePath] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSMediaSource [[-FilePath] ] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From a11badf59e439f735ad18e0a05a2abbacc2b604f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:49 +0000 Subject: [PATCH 0042/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/Add-OBSFFMpegSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Add-OBSFFMpegSource.md b/docs/Add-OBSFFMpegSource.md index 71c0dd2c6..de70c4e0c 100644 --- a/docs/Add-OBSFFMpegSource.md +++ b/docs/Add-OBSFFMpegSource.md @@ -58,7 +58,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------------------------------| -|`[String]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file| +|`[String]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file| @@ -212,5 +212,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSMediaSource [-FilePath] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSMediaSource [[-FilePath] ] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From 83c89f1d0b76930b20c0bbe37177d1e335ff6b1e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:50 +0000 Subject: [PATCH 0043/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/Add-OBSMediaSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Add-OBSMediaSource.md b/docs/Add-OBSMediaSource.md index 71c0dd2c6..de70c4e0c 100644 --- a/docs/Add-OBSMediaSource.md +++ b/docs/Add-OBSMediaSource.md @@ -58,7 +58,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------------------------------| -|`[String]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file| +|`[String]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file| @@ -212,5 +212,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSMediaSource [-FilePath] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSMediaSource [[-FilePath] ] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From 8f632532636e541dab7760806f72fd7831df56e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:51 +0000 Subject: [PATCH 0044/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/Get-OBSFFMpegSource.md | 216 ++++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 docs/Get-OBSFFMpegSource.md diff --git a/docs/Get-OBSFFMpegSource.md b/docs/Get-OBSFFMpegSource.md new file mode 100644 index 000000000..de70c4e0c --- /dev/null +++ b/docs/Get-OBSFFMpegSource.md @@ -0,0 +1,216 @@ +Set-OBSMediaSource +------------------ + + + + +### Synopsis +Adds a media source + + + +--- + + +### Description + +Adds a media source to OBS. + + + +--- + + +### Related Links +* [Add-OBSInput](Add-OBSInput.md) + + + +* [Set-OBSInputSettings](Set-OBSInputSettings.md) + + + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Set-OBSMediaSource -FilePath My.mp4 +``` + + + +--- + + +### Parameters +#### **FilePath** + +The path to the media file. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------------------------------| +|`[String]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file| + + + +#### **CloseWhenInactive** + +If set, the source will close when it is inactive. +By default, this will be set to true. +To explicitly set it to false, use -CloseWhenInactive:$false + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **Loop** + +If set, the source will automatically restart. + + + + + + +|Type |Required|Position|PipelineInput |Aliases| +|----------|--------|--------|---------------------|-------| +|`[Switch]`|false |named |true (ByPropertyName)|Looping| + + + +#### **UseHardwareDecoding** + +If set, will use hardware decoding, if available. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------------| +|`[Switch]`|false |named |true (ByPropertyName)|HardwareDecoding
hw_decode| + + + +#### **ClearOnMediaEnd** + +If set, will clear the output on the end of the media. +If this is set to false, the media will freeze on the last frame. +This is set to true by default. +To explicitly set to false, use -ClearMediaEnd:$false + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------------------------------| +|`[Switch]`|false |named |true (ByPropertyName)|ClearOnEnd
NoFreezeFrameOnEnd| + + + +#### **FFMpegOption** + +Any FFMpeg demuxer options. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------------------------| +|`[String]`|false |2 |true (ByPropertyName)|FFMpegOptions
FFMpeg_Options| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |4 |true (ByPropertyName)| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FitToScreen** + +If set, will fit the input to the screen. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSMediaSource [[-FilePath] ] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +``` From 2e7be675cf189bb40511c0037fb5a41502095e82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:22:52 +0000 Subject: [PATCH 0045/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/Get-OBSMediaSource.md | 216 +++++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 docs/Get-OBSMediaSource.md diff --git a/docs/Get-OBSMediaSource.md b/docs/Get-OBSMediaSource.md new file mode 100644 index 000000000..de70c4e0c --- /dev/null +++ b/docs/Get-OBSMediaSource.md @@ -0,0 +1,216 @@ +Set-OBSMediaSource +------------------ + + + + +### Synopsis +Adds a media source + + + +--- + + +### Description + +Adds a media source to OBS. + + + +--- + + +### Related Links +* [Add-OBSInput](Add-OBSInput.md) + + + +* [Set-OBSInputSettings](Set-OBSInputSettings.md) + + + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Set-OBSMediaSource -FilePath My.mp4 +``` + + + +--- + + +### Parameters +#### **FilePath** + +The path to the media file. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------------------------------| +|`[String]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file| + + + +#### **CloseWhenInactive** + +If set, the source will close when it is inactive. +By default, this will be set to true. +To explicitly set it to false, use -CloseWhenInactive:$false + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **Loop** + +If set, the source will automatically restart. + + + + + + +|Type |Required|Position|PipelineInput |Aliases| +|----------|--------|--------|---------------------|-------| +|`[Switch]`|false |named |true (ByPropertyName)|Looping| + + + +#### **UseHardwareDecoding** + +If set, will use hardware decoding, if available. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------------| +|`[Switch]`|false |named |true (ByPropertyName)|HardwareDecoding
hw_decode| + + + +#### **ClearOnMediaEnd** + +If set, will clear the output on the end of the media. +If this is set to false, the media will freeze on the last frame. +This is set to true by default. +To explicitly set to false, use -ClearMediaEnd:$false + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------------------------------| +|`[Switch]`|false |named |true (ByPropertyName)|ClearOnEnd
NoFreezeFrameOnEnd| + + + +#### **FFMpegOption** + +Any FFMpeg demuxer options. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------------------------| +|`[String]`|false |2 |true (ByPropertyName)|FFMpegOptions
FFMpeg_Options| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |4 |true (ByPropertyName)| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FitToScreen** + +If set, will fit the input to the screen. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSMediaSource [[-FilePath] ] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +``` From dc3b205038a1f18693302adc7df135410f72960a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:23:04 +0000 Subject: [PATCH 0046/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/Set-OBSFFMpegSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Set-OBSFFMpegSource.md b/docs/Set-OBSFFMpegSource.md index 71c0dd2c6..de70c4e0c 100644 --- a/docs/Set-OBSFFMpegSource.md +++ b/docs/Set-OBSFFMpegSource.md @@ -58,7 +58,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------------------------------| -|`[String]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file| +|`[String]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file| @@ -212,5 +212,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSMediaSource [-FilePath] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSMediaSource [[-FilePath] ] [-CloseWhenInactive] [-Loop] [-UseHardwareDecoding] [-ClearOnMediaEnd] [[-FFMpegOption] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From b0dbc3327d47aff3e55140fe2d57e57dba1f34ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:23:18 +0000 Subject: [PATCH 0047/4768] Making Set also Get-OBSMediaSource (Fixes #150) Also, Fixes #153 --- docs/obs-powershell-commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 4826c6d06..51e18ddd9 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 344 commands -(170 functions and 174 aliases) +obs-powershell exports 345 commands +(170 functions and 175 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). From 8ad1c0f37b4160911bf500cc81cbd58523ed4cf6 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Fri, 8 Sep 2023 12:24:14 -0700 Subject: [PATCH 0048/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- Commands/Sources/Set-OBSVLCSource.ps.ps1 | 55 ++++++++++++++++++++---- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/Commands/Sources/Set-OBSVLCSource.ps.ps1 b/Commands/Sources/Set-OBSVLCSource.ps.ps1 index 7a71c3d86..713085244 100644 --- a/Commands/Sources/Set-OBSVLCSource.ps.ps1 +++ b/Commands/Sources/Set-OBSVLCSource.ps.ps1 @@ -15,10 +15,10 @@ function Set-OBSVLCSource Set-OBSInputSettings #> [inherit("Add-OBSInput", Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] - [Alias('Add-OBSVLCSource','Set-OBSPlaylistSource','Add-OBSPlaylistSource')] + [Alias('Add-OBSVLCSource','Set-OBSPlaylistSource','Add-OBSPlaylistSource','Get-OBSVLCSource','Get-OBSPlaylistSource')] param( # The path to the media file. - [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Parameter(ValueFromPipelineByPropertyName)] [Alias('FullName','LocalFile','local_file','Playlist')] [string[]] $FilePath, @@ -95,10 +95,51 @@ function Set-OBSVLCSource } $_ } + $InputKind = "vlc_source" } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -120,15 +161,11 @@ function Set-OBSVLCSource if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } - - if (-not (Test-Path $FilePath)) { - return - } - + $allPaths = @(foreach ($path in $FilePath) { foreach ($_ in $ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($path)) { $_.Path @@ -156,7 +193,7 @@ function Set-OBSVLCSource $addSplat = [Ordered]@{ sceneName = $myParameters["Scene"] - inputKind = "vlc_source" + inputKind = $InputKind inputSettings = $myParameterData inputName = $Name NoResponse = $myParameters["NoResponse"] From 7fd32c45867ed250e63eb5e5fc4b9ab6fc2ca4fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:13 +0000 Subject: [PATCH 0049/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- Commands/Sources/Set-OBSVLCSource.ps1 | 52 +++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/Commands/Sources/Set-OBSVLCSource.ps1 b/Commands/Sources/Set-OBSVLCSource.ps1 index 4c62ebcd7..16ffa357b 100644 --- a/Commands/Sources/Set-OBSVLCSource.ps1 +++ b/Commands/Sources/Set-OBSVLCSource.ps1 @@ -15,10 +15,10 @@ function Set-OBSVLCSource { #> - [Alias('Add-OBSVLCSource','Set-OBSPlaylistSource','Add-OBSPlaylistSource')] + [Alias('Add-OBSVLCSource','Set-OBSPlaylistSource','Add-OBSPlaylistSource','Get-OBSVLCSource','Get-OBSPlaylistSource')] param( # The path to the media file. - [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Parameter(ValueFromPipelineByPropertyName)] [Alias('FullName','LocalFile','local_file','Playlist')] [string[]] $FilePath, @@ -133,10 +133,50 @@ function Set-OBSVLCSource { $_ } + $InputKind = "vlc_source" } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -156,13 +196,11 @@ function Set-OBSVLCSource { if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } - if (-not (Test-Path $FilePath)) { - return - } + $allPaths = @(foreach ($path in $FilePath) { foreach ($_ in $ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($path)) { $_.Path @@ -189,7 +227,7 @@ function Set-OBSVLCSource { } $addSplat = [Ordered]@{ sceneName = $myParameters["Scene"] - inputKind = "vlc_source" + inputKind = $InputKind inputSettings = $myParameterData inputName = $Name NoResponse = $myParameters["NoResponse"] From 0fe8426ec2e6ab6d5f2f18f87ae89fd20840f382 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:13 +0000 Subject: [PATCH 0050/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- en-us/obs-powershell-commands.help.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 8960d8cbc..a7acf5a5a 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 345 commands -(170 functions and 175 aliases) +obs-powershell exports 347 commands +(170 functions and 177 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). From 1d2e6f3fce486b7f604325ef82a6e3058381ad3d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:39 +0000 Subject: [PATCH 0051/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/Set-OBSVLCSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Set-OBSVLCSource.md b/docs/Set-OBSVLCSource.md index 94fb049a5..3272ad748 100644 --- a/docs/Set-OBSVLCSource.md +++ b/docs/Set-OBSVLCSource.md @@ -59,7 +59,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |------------|--------|--------|---------------------|--------------------------------------------------| -|`[String[]]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| +|`[String[]]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| @@ -226,5 +226,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSVLCSource [-FilePath] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSVLCSource [[-FilePath] ] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From 6533dc426a7a4d04180b24221bc7073ffbe935e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:43 +0000 Subject: [PATCH 0052/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/Add-OBSPlaylistSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Add-OBSPlaylistSource.md b/docs/Add-OBSPlaylistSource.md index 94fb049a5..3272ad748 100644 --- a/docs/Add-OBSPlaylistSource.md +++ b/docs/Add-OBSPlaylistSource.md @@ -59,7 +59,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |------------|--------|--------|---------------------|--------------------------------------------------| -|`[String[]]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| +|`[String[]]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| @@ -226,5 +226,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSVLCSource [-FilePath] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSVLCSource [[-FilePath] ] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From 9a9da2be762645a450a57c3744eddeb917de7619 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:43 +0000 Subject: [PATCH 0053/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/Add-OBSVLCSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Add-OBSVLCSource.md b/docs/Add-OBSVLCSource.md index 94fb049a5..3272ad748 100644 --- a/docs/Add-OBSVLCSource.md +++ b/docs/Add-OBSVLCSource.md @@ -59,7 +59,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |------------|--------|--------|---------------------|--------------------------------------------------| -|`[String[]]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| +|`[String[]]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| @@ -226,5 +226,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSVLCSource [-FilePath] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSVLCSource [[-FilePath] ] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From a003af54c6afc04b762f60003ed7e963222e2603 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:44 +0000 Subject: [PATCH 0054/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/Get-OBSPlaylistSource.md | 230 ++++++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 docs/Get-OBSPlaylistSource.md diff --git a/docs/Get-OBSPlaylistSource.md b/docs/Get-OBSPlaylistSource.md new file mode 100644 index 000000000..3272ad748 --- /dev/null +++ b/docs/Get-OBSPlaylistSource.md @@ -0,0 +1,230 @@ +Set-OBSVLCSource +---------------- + + + + +### Synopsis +Adds a VLC playlist source + + + +--- + + +### Description + +Adds or sets VLC playlist sources to OBS. +VLC must be installed for this to work. + + + +--- + + +### Related Links +* [Add-OBSInput](Add-OBSInput.md) + + + +* [Set-OBSInputSettings](Set-OBSInputSettings.md) + + + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Set-OBSVLCSource -FilePath .\*.mp3 # Creates a playlist of all MP3s in the current directory +``` + + + +--- + + +### Parameters +#### **FilePath** + +The path to the media file. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|------------|--------|--------|---------------------|--------------------------------------------------| +|`[String[]]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| + + + +#### **Select** + +What to select in the playlist. +If a number is provided, this will select an index. +If a string is provided, this will select the whole name or last part of a name, accepting wildcards. +If an `[IO.FileInfo]` is provided, this will be the exact file. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------------------| +|`[Object]`|false |2 |true (ByPropertyName)|SelectIndex
SelectName| + + + +#### **Shuffle** + +If set, will shuffle the playlist + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **Loop** + +If set, the playlist will loop. + + + + + + +|Type |Required|Position|PipelineInput |Aliases| +|----------|--------|--------|---------------------|-------| +|`[Switch]`|false |named |true (ByPropertyName)|Looping| + + + +#### **Subtitle** + +If set, will show subtitles, if available. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------------------------| +|`[Switch]`|false |named |true (ByPropertyName)|ShowSubtitles
Subtitles| + + + +#### **AudioTrack** + +The selected audio track number. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |3 |true (ByPropertyName)| + + + +#### **SubtitleTrack** + +The selected subtitle track number. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |4 |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |5 |true (ByPropertyName)| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FitToScreen** + +If set, will fit the input to the screen. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSVLCSource [[-FilePath] ] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +``` From 6e1eaed033532dfa3b00f878c9f355609150853e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:44 +0000 Subject: [PATCH 0055/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/Get-OBSVLCSource.md | 230 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 docs/Get-OBSVLCSource.md diff --git a/docs/Get-OBSVLCSource.md b/docs/Get-OBSVLCSource.md new file mode 100644 index 000000000..3272ad748 --- /dev/null +++ b/docs/Get-OBSVLCSource.md @@ -0,0 +1,230 @@ +Set-OBSVLCSource +---------------- + + + + +### Synopsis +Adds a VLC playlist source + + + +--- + + +### Description + +Adds or sets VLC playlist sources to OBS. +VLC must be installed for this to work. + + + +--- + + +### Related Links +* [Add-OBSInput](Add-OBSInput.md) + + + +* [Set-OBSInputSettings](Set-OBSInputSettings.md) + + + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Set-OBSVLCSource -FilePath .\*.mp3 # Creates a playlist of all MP3s in the current directory +``` + + + +--- + + +### Parameters +#### **FilePath** + +The path to the media file. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|------------|--------|--------|---------------------|--------------------------------------------------| +|`[String[]]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| + + + +#### **Select** + +What to select in the playlist. +If a number is provided, this will select an index. +If a string is provided, this will select the whole name or last part of a name, accepting wildcards. +If an `[IO.FileInfo]` is provided, this will be the exact file. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|--------------------------| +|`[Object]`|false |2 |true (ByPropertyName)|SelectIndex
SelectName| + + + +#### **Shuffle** + +If set, will shuffle the playlist + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **Loop** + +If set, the playlist will loop. + + + + + + +|Type |Required|Position|PipelineInput |Aliases| +|----------|--------|--------|---------------------|-------| +|`[Switch]`|false |named |true (ByPropertyName)|Looping| + + + +#### **Subtitle** + +If set, will show subtitles, if available. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------------------------| +|`[Switch]`|false |named |true (ByPropertyName)|ShowSubtitles
Subtitles| + + + +#### **AudioTrack** + +The selected audio track number. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |3 |true (ByPropertyName)| + + + +#### **SubtitleTrack** + +The selected subtitle track number. + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |4 |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |5 |true (ByPropertyName)| + + + +#### **Name** + +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **FitToScreen** + +If set, will fit the input to the screen. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSVLCSource [[-FilePath] ] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +``` From 042364abcd993d11e9a38617fb71b168bdcdbb25 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:29:54 +0000 Subject: [PATCH 0056/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/Set-OBSPlaylistSource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Set-OBSPlaylistSource.md b/docs/Set-OBSPlaylistSource.md index 94fb049a5..3272ad748 100644 --- a/docs/Set-OBSPlaylistSource.md +++ b/docs/Set-OBSPlaylistSource.md @@ -59,7 +59,7 @@ The path to the media file. |Type |Required|Position|PipelineInput |Aliases | |------------|--------|--------|---------------------|--------------------------------------------------| -|`[String[]]`|true |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| +|`[String[]]`|false |1 |true (ByPropertyName)|FullName
LocalFile
local_file
Playlist| @@ -226,5 +226,5 @@ If set, will fit the input to the screen. ### Syntax ```PowerShell -Set-OBSVLCSource [-FilePath] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] +Set-OBSVLCSource [[-FilePath] ] [[-Select] ] [-Shuffle] [-Loop] [-Subtitle] [[-AudioTrack] ] [[-SubtitleTrack] ] [[-Scene] ] [[-Name] ] [-Force] [-FitToScreen] [] ``` From 0f0d346dc65492167c3448d4927f33d440727e75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:30:05 +0000 Subject: [PATCH 0057/4768] Making Set also Get-OBSVLCSource (Fixes #151) Also, Fixes #153 --- docs/obs-powershell-commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 51e18ddd9..2a1d28802 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 345 commands -(170 functions and 175 aliases) +obs-powershell exports 347 commands +(170 functions and 177 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). From d6f81119f5205ff8c3ba0e138dac4e12dd824e14 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Fri, 8 Sep 2023 12:34:29 -0700 Subject: [PATCH 0058/4768] Making Set also Get-OBSWindowSource (Fixes #152) Also, Fixes #153 --- Commands/Sources/Set-OBSWindowSource.ps.ps1 | 51 ++++++++++++++++++++- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/Commands/Sources/Set-OBSWindowSource.ps.ps1 b/Commands/Sources/Set-OBSWindowSource.ps.ps1 index 242937e0f..f89415935 100644 --- a/Commands/Sources/Set-OBSWindowSource.ps.ps1 +++ b/Commands/Sources/Set-OBSWindowSource.ps.ps1 @@ -9,7 +9,7 @@ function Set-OBSWindowSource Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow #> [inherit("Add-OBSInput", Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] - [Alias('Add-OBSWindowSource','Set-OBSWindowCaptureSource','Add-OBSWindowCaptureSource')] + [Alias('Add-OBSWindowSource','Set-OBSWindowCaptureSource','Add-OBSWindowCaptureSource','Get-OBSWindowSource','Get-OBSWindowCaptureSource')] param( # The monitor number. # This the number of the monitor you would like to capture. @@ -71,9 +71,53 @@ function Set-OBSWindowSource [switch] $Force ) + + begin { + $InputKind = "window_capture" + } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -96,6 +140,9 @@ function Set-OBSWindowSource if ($myParameters["WindowTitle"]) { $Name = $myParameters["Name"] = "WindowCapture-" + $myParameters["WindowTitle"] } + else { + $Name = "WindowCapture" + } } @@ -117,7 +164,7 @@ function Set-OBSWindowSource if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } From 3479a6e0e8f89c0545003b25672294ae0fd8aa4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:39:17 +0000 Subject: [PATCH 0059/4768] Making Set also Get-OBSWindowSource (Fixes #152) Also, Fixes #153 --- Commands/Sources/Set-OBSWindowSource.ps1 | 50 +++++++++++++++++++++++- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/Commands/Sources/Set-OBSWindowSource.ps1 b/Commands/Sources/Set-OBSWindowSource.ps1 index 31d425c20..935429519 100644 --- a/Commands/Sources/Set-OBSWindowSource.ps1 +++ b/Commands/Sources/Set-OBSWindowSource.ps1 @@ -10,7 +10,7 @@ function Set-OBSWindowSource { #> - [Alias('Add-OBSWindowSource','Set-OBSWindowCaptureSource','Add-OBSWindowCaptureSource')] + [Alias('Add-OBSWindowSource','Set-OBSWindowCaptureSource','Add-OBSWindowCaptureSource','Get-OBSWindowSource','Get-OBSWindowCaptureSource')] param( # The monitor number. # This the number of the monitor you would like to capture. @@ -97,9 +97,52 @@ function Set-OBSWindowSource { )) } $DynamicParameters + } + begin { + $InputKind = "window_capture" + } process { + # Copy the bound parameters $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } if (-not $myParameters["Scene"]) { $myParameters["Scene"] = Get-OBSCurrentProgramScene @@ -120,6 +163,9 @@ function Set-OBSWindowSource { if ($myParameters["WindowTitle"]) { $Name = $myParameters["Name"] = "WindowCapture-" + $myParameters["WindowTitle"] } + else { + $Name = "WindowCapture" + } } @@ -137,7 +183,7 @@ function Set-OBSWindowSource { if ($myParameters.Contains($parameter.Name)) { $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] if ($myParameters[$parameter.Name] -is [switch]) { - $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] } } } From 4f2722e073af16bd64d4baa57b8822d136260576 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:39:17 +0000 Subject: [PATCH 0060/4768] Making Set also Get-OBSWindowSource (Fixes #152) Also, Fixes #153 --- en-us/obs-powershell-commands.help.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index a7acf5a5a..67d4443bc 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 347 commands -(170 functions and 177 aliases) +obs-powershell exports 349 commands +(170 functions and 179 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). From a638f11fd5a9f8797dd92a7aa9563aeded9c4954 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:39:49 +0000 Subject: [PATCH 0061/4768] Making Set also Get-OBSWindowSource (Fixes #152) Also, Fixes #153 --- docs/Get-OBSWindowCaptureSource.md | 194 +++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 docs/Get-OBSWindowCaptureSource.md diff --git a/docs/Get-OBSWindowCaptureSource.md b/docs/Get-OBSWindowCaptureSource.md new file mode 100644 index 000000000..ad0ad67d2 --- /dev/null +++ b/docs/Get-OBSWindowCaptureSource.md @@ -0,0 +1,194 @@ +Set-OBSWindowSource +------------------- + + + + +### Synopsis +Adds or sets a window capture source + + + +--- + + +### Description + +Adds or sets a windows capture source in OBS. This captures the contents of a window. + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow +``` + + + +--- + + +### Parameters +#### **WindowTitle** + +The monitor number. +This the number of the monitor you would like to capture. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------------------------------------------------------| +|`[String]`|false |1 |true (ByPropertyName)|ItemValue
ItemName
WindowName
MainWindowTitle| + + + +#### **CaptureMethod** + +The number of the capture method. By default, automatic (0). + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + + + +#### **CapturePriority** + +The capture priority. + + + +Valid Values: + +* ExactMatch +* SameType +* SameExecutable + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **CaptureCursor** + +If set, will capture the cursor. +This will be set by default. +If explicitly set to false, the cursor will not be captured. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **ClientArea** + +If set, will capture the client area. +This will be set by default. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **ForceSDR** + +If set, will force SDR. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |4 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |5 |true (ByPropertyName)|InputName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSWindowSource [[-WindowTitle] ] [[-CaptureMethod] ] [[-CapturePriority] ] [-CaptureCursor] [-ClientArea] [-ForceSDR] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 2f17090feff987e123e96c4fa12c85f19f650d79 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:39:49 +0000 Subject: [PATCH 0062/4768] Making Set also Get-OBSWindowSource (Fixes #152) Also, Fixes #153 --- docs/Get-OBSWindowSource.md | 194 ++++++++++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 docs/Get-OBSWindowSource.md diff --git a/docs/Get-OBSWindowSource.md b/docs/Get-OBSWindowSource.md new file mode 100644 index 000000000..ad0ad67d2 --- /dev/null +++ b/docs/Get-OBSWindowSource.md @@ -0,0 +1,194 @@ +Set-OBSWindowSource +------------------- + + + + +### Synopsis +Adds or sets a window capture source + + + +--- + + +### Description + +Adds or sets a windows capture source in OBS. This captures the contents of a window. + + + +--- + + +### Examples +#### EXAMPLE 1 +```PowerShell +Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow +``` + + + +--- + + +### Parameters +#### **WindowTitle** + +The monitor number. +This the number of the monitor you would like to capture. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------------------------------------------------------| +|`[String]`|false |1 |true (ByPropertyName)|ItemValue
ItemName
WindowName
MainWindowTitle| + + + +#### **CaptureMethod** + +The number of the capture method. By default, automatic (0). + + + + + + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + + + +#### **CapturePriority** + +The capture priority. + + + +Valid Values: + +* ExactMatch +* SameType +* SameExecutable + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + + + +#### **CaptureCursor** + +If set, will capture the cursor. +This will be set by default. +If explicitly set to false, the cursor will not be captured. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **ClientArea** + +If set, will capture the client area. +This will be set by default. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **ForceSDR** + +If set, will force SDR. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + +#### **Scene** + +The name of the scene. +If no scene name is provided, the current program scene will be used. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |4 |true (ByPropertyName)|SceneName| + + + +#### **Name** + +The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + + + + + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |5 |true (ByPropertyName)|InputName| + + + +#### **Force** + +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + + + + + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + + + + + +--- + + +### Syntax +```PowerShell +Set-OBSWindowSource [[-WindowTitle] ] [[-CaptureMethod] ] [[-CapturePriority] ] [-CaptureCursor] [-ClientArea] [-ForceSDR] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 576259bfb3aa1250611f492330aa0d95c82af0eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 8 Sep 2023 19:40:09 +0000 Subject: [PATCH 0063/4768] Making Set also Get-OBSWindowSource (Fixes #152) Also, Fixes #153 --- docs/obs-powershell-commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 2a1d28802..1ed4d9790 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 347 commands -(170 functions and 177 aliases) +obs-powershell exports 349 commands +(170 functions and 179 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). From ec9327d7428e6b5cad394007e5982766377fd559 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 23 Sep 2023 15:04:49 -0700 Subject: [PATCH 0064/4768] Adding Set-OBSMarkdownSource (Fixes #143) --- Commands/Sources/Set-OBSMarkdownSource.ps.ps1 | 214 ++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 Commands/Sources/Set-OBSMarkdownSource.ps.ps1 diff --git a/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 b/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 new file mode 100644 index 000000000..27c0f68bd --- /dev/null +++ b/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 @@ -0,0 +1,214 @@ +function Set-OBSMarkdownSource +{ + <# + .SYNOPSIS + Sets a markdown source + .DESCRIPTION + Adds or changes a markdown source in OBS. + #> + [inherit(Command={ + Import-Module ..\..\obs-powershell.psd1 -Global + "Add-OBSInput" + }, Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] + [Alias('Add-OBSMarkdownSource','Get-OBSMarkdownSource')] + param( + # The markdown text, or the path to a markdown file + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Markdown, + + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The css style used to render the markdown. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + + begin { + $inputKind = "markdown_source" + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + $IsGet = $MyInvocation.InvocationName -like "Get-*" + $NoVerb = $MyInvocation.InvocationName -match '^[^-]+$' + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + if ( + $IsGet -or + ($NoVerb -and -not $NonNameParameters) + ) { + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { + $_.InputName -like $Name + } else { + $_ + } + } + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + $markdownAsUri = $null + if ($Markdown -like '*.md') { + $markdownAsUri = $markdown -as [uri] + if ($markdownAsUri.Scheme -eq 'File') { + $myParameterData["markdown_path"] = "$markdownAsUri" -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["markdown_source"] = 1 + } + else { + + } + } else { + $myParameterData["text"] = $Markdown + $myParameterData["markdown_source"] = 0 + } + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($markdownAsUri.Segments) { + $markdownAsUri.Segments[-1] + } elseif ($markdownAsUri -match '[\\/]') { + @($markdownAsUri -split '[\\/]')[-1] + } elseif ($markdownAsUri) { + $markdownAsUri + } else { + "Markdown" + } + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = "markdown_source" + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + } +} \ No newline at end of file From 6f51d525c8339077acfab21107da25c892768650 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 23 Sep 2023 22:10:19 +0000 Subject: [PATCH 0065/4768] Adding Set-OBSMarkdownSource (Fixes #143) --- Commands/Sources/Set-OBSMarkdownSource.ps1 | 230 +++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 Commands/Sources/Set-OBSMarkdownSource.ps1 diff --git a/Commands/Sources/Set-OBSMarkdownSource.ps1 b/Commands/Sources/Set-OBSMarkdownSource.ps1 new file mode 100644 index 000000000..62f12156c --- /dev/null +++ b/Commands/Sources/Set-OBSMarkdownSource.ps1 @@ -0,0 +1,230 @@ +function Set-OBSMarkdownSource { + <# + + .SYNOPSIS + Sets a markdown source + .DESCRIPTION + Adds or changes a markdown source in OBS. + + #> + + [Alias('Add-OBSMarkdownSource','Get-OBSMarkdownSource')] + param( + # The markdown text, or the path to a markdown file + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Markdown, + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + # The css style used to render the markdown. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Name, + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + } + begin { + $inputKind = "markdown_source" + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + $IsGet = $MyInvocation.InvocationName -like "Get-*" + $NoVerb = $MyInvocation.InvocationName -match '^[^-]+$' + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + if ( + $IsGet -or + ($NoVerb -and -not $NonNameParameters) + ) { + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { + $_.InputName -like $Name + } else { + $_ + } + } + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + $markdownAsUri = $null + if ($Markdown -like '*.md') { + $markdownAsUri = $markdown -as [uri] + if ($markdownAsUri.Scheme -eq 'File') { + $myParameterData["markdown_path"] = "$markdownAsUri" -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["markdown_source"] = 1 + } + else { + } + } else { + $myParameterData["text"] = $Markdown + $myParameterData["markdown_source"] = 0 + } + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($markdownAsUri.Segments) { + $markdownAsUri.Segments[-1] + } elseif ($markdownAsUri -match '[\\/]') { + @($markdownAsUri -split '[\\/]')[-1] + } elseif ($markdownAsUri) { + $markdownAsUri + } else { + "Markdown" + } + } + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = "markdown_source" + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} From 302a566084edb0f501fff6dc4636617f37c1728b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 23 Sep 2023 22:10:19 +0000 Subject: [PATCH 0066/4768] Adding Set-OBSMarkdownSource (Fixes #143) --- en-us/obs-powershell-commands.help.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 67d4443bc..bca117b71 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 349 commands -(170 functions and 179 aliases) +obs-powershell exports 351 commands +(170 functions and 181 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). From 3d5eec2871ea33dff2721d6a0814c2be27b6cd95 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 23 Sep 2023 22:10:19 +0000 Subject: [PATCH 0067/4768] Adding Set-OBSMarkdownSource (Fixes #143) --- obs-powershell.psd1 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 303374a71..247dd7a06 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -322,18 +322,19 @@ Initial Release of obs-powershell 'Set-OBSScrollFilter', 'Set-OBSShaderFilter', 'Set-OBSSharpnessFilter', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', 'Set-OBSAudioOutputSource', 'Set-OBSBrowserSource', 'Set-OBSColorSource', 'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', 'Set-OBSMediaSource', 'Set-OBSVLCSource', 'Set-OBSWaveformSource', -'Set-OBSWindowSource' +'Set-OBSWindowSource', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect' } From b61fa9cf7b2b97206a3d7cafb78e545d453528cb Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 23 Sep 2023 15:29:15 -0700 Subject: [PATCH 0068/4768] Regenerating obs-powershell type documentation. --- Types/OBS.Input.Color.Source.V3/SetColor.ps1 | 6 + .../get_EffectName.ps1 | 6 + docs/OBS.GetInputList.Response.Mute.md | 52 ------ docs/OBS.GetInputList.Response.Next.md | 52 ------ docs/OBS.GetInputList.Response.Pause.md | 52 ------ docs/OBS.GetInputList.Response.Play.md | 52 ------ docs/OBS.GetInputList.Response.Previous.md | 52 ------ docs/OBS.GetInputList.Response.Remove.md | 31 ---- docs/OBS.GetInputList.Response.Restart.md | 52 ------ docs/OBS.GetInputList.Response.Stop.md | 52 ------ docs/OBS.GetInputList.Response.Unmute.md | 52 ------ ...S.GetInputList.Response.get_CurrentTime.md | 31 ---- docs/OBS.GetInputList.Response.get_Filters.md | 44 ----- .../OBS.GetInputList.Response.get_Settings.md | 43 ----- docs/OBS.GetInputList.Response.get_Status.md | 31 ---- docs/OBS.GetInputList.Response.get_Volume.md | 31 ---- ...S.GetInputList.Response.set_CurrentTime.md | 31 ---- .../OBS.GetInputList.Response.set_Settings.md | 31 ---- docs/OBS.GetInputList.Response.set_Volume.md | 52 ------ docs/OBS.GetSceneItemList.Response.Animate.md | 36 ---- ...S.GetSceneItemList.Response.FitToScreen.md | 39 ---- docs/OBS.GetSceneItemList.Response.Move.md | 49 ----- ...S.GetSceneItemList.Response.get_Filters.md | 44 ----- ...OBS.GetSceneItemList.Response.get_Input.md | 35 ---- docs/OBS.GetSourceFilter.Response.Disable.md | 52 ------ docs/OBS.GetSourceFilter.Response.Enable.md | 52 ------ docs/OBS.GetSourceFilter.Response.Remove.md | 35 ---- docs/OBS.GetSourceFilter.Response.Set.md | 57 ------ ...BS.GetSourceFilterList.Response.Disable.md | 52 ------ ...OBS.GetSourceFilterList.Response.Enable.md | 52 ------ ...OBS.GetSourceFilterList.Response.Remove.md | 35 ---- docs/OBS.GetSourceFilterList.Response.Set.md | 57 ------ docs/OBS.PowerShell.Effect.Reverse.md | 21 --- docs/OBS.PowerShell.Effect.Start.md | 23 --- docs/OBS.PowerShell.Effect.Step.md | 44 ----- docs/OBS.PowerShell.Effect.Stop.md | 21 --- docs/OBS.PowerShell.Effect.get_Changes.md | 21 --- docs/OBS.PowerShell.Effect.get_Duration.md | 21 --- docs/OBS.PowerShell.Effect.get_EffectType.md | 23 --- docs/OBS.PowerShell.Effect.get_Index.md | 21 --- docs/OBS.PowerShell.Effect.get_Reversed.md | 23 --- docs/OBS.PowerShell.Effect.set_Index.md | 21 --- docs/OBS.PowerShell.Effect.set_Reversed.md | 21 --- docs/OBS.PowerShell.get_Commands.md | 32 ---- docs/OBS.PowerShell.get_CurrentScene.md | 32 ---- docs/OBS.PowerShell.get_Inputs.md | 31 ---- ...OBS.PowerShell.get_OBSPowerShellVersion.md | 32 ---- docs/OBS.PowerShell.get_OBSVersion.md | 32 ---- .../OBS.PowerShell.get_OBSWebSocketVersion.md | 32 ---- docs/OBS.PowerShell.get_Outputs.md | 31 ---- docs/OBS.PowerShell.get_RandomExample.md | 18 -- docs/OBS.PowerShell.get_RecordStatus.md | 31 ---- docs/OBS.PowerShell.get_SceneItems.md | 35 ---- docs/OBS.PowerShell.get_Scenes.md | 31 ---- docs/OBS.PowerShell.get_Stats.md | 31 ---- docs/OBS.PowerShell.get_StreamStatus.md | 31 ---- ...wershell.websocket.BroadcastCustomEvent.md | 92 ---------- ....powershell.websocket.CallVendorRequest.md | 125 ------------- docs/obs.powershell.websocket.CreateInput.md | 152 ---------------- .../obs.powershell.websocket.CreateProfile.md | 92 ---------- docs/obs.powershell.websocket.CreateScene.md | 92 ---------- ...ershell.websocket.CreateSceneCollection.md | 94 ---------- ...bs.powershell.websocket.CreateSceneItem.md | 124 ------------- ...powershell.websocket.CreateSourceFilter.md | 137 -------------- ...powershell.websocket.DuplicateSceneItem.md | 124 ------------- ...rshell.websocket.GetCurrentPreviewScene.md | 90 --------- ...rshell.websocket.GetCurrentProgramScene.md | 88 --------- ...ell.websocket.GetCurrentSceneTransition.md | 88 --------- ...bsocket.GetCurrentSceneTransitionCursor.md | 90 --------- docs/obs.powershell.websocket.GetGroupList.md | 90 --------- ...ershell.websocket.GetGroupSceneItemList.md | 96 ---------- .../obs.powershell.websocket.GetHotkeyList.md | 88 --------- ...wershell.websocket.GetInputAudioBalance.md | 92 ---------- ...hell.websocket.GetInputAudioMonitorType.md | 98 ---------- ...shell.websocket.GetInputAudioSyncOffset.md | 94 ---------- ...owershell.websocket.GetInputAudioTracks.md | 92 ---------- ...shell.websocket.GetInputDefaultSettings.md | 92 ---------- ...s.powershell.websocket.GetInputKindList.md | 92 ---------- docs/obs.powershell.websocket.GetInputList.md | 92 ---------- docs/obs.powershell.websocket.GetInputMute.md | 92 ---------- ...ket.GetInputPropertiesListPropertyItems.md | 109 ----------- ...s.powershell.websocket.GetInputSettings.md | 94 ---------- ...obs.powershell.websocket.GetInputVolume.md | 92 ---------- ...ell.websocket.GetLastReplayBufferReplay.md | 88 --------- ...owershell.websocket.GetMediaInputStatus.md | 103 ----------- ...obs.powershell.websocket.GetMonitorList.md | 88 --------- .../obs.powershell.websocket.GetOutputList.md | 88 --------- ....powershell.websocket.GetOutputSettings.md | 92 ---------- ...bs.powershell.websocket.GetOutputStatus.md | 92 ---------- ....powershell.websocket.GetPersistentData.md | 107 ----------- ...obs.powershell.websocket.GetProfileList.md | 88 --------- ...owershell.websocket.GetProfileParameter.md | 107 ----------- ...powershell.websocket.GetRecordDirectory.md | 88 --------- ...bs.powershell.websocket.GetRecordStatus.md | 88 --------- ...ershell.websocket.GetReplayBufferStatus.md | 88 --------- ...rshell.websocket.GetSceneCollectionList.md | 88 --------- ...ershell.websocket.GetSceneItemBlendMode.md | 119 ------------ ...owershell.websocket.GetSceneItemEnabled.md | 109 ----------- ...obs.powershell.websocket.GetSceneItemId.md | 124 ------------- ....powershell.websocket.GetSceneItemIndex.md | 111 ----------- ...s.powershell.websocket.GetSceneItemList.md | 94 ---------- ...powershell.websocket.GetSceneItemLocked.md | 109 ----------- ...ershell.websocket.GetSceneItemTransform.md | 109 ----------- docs/obs.powershell.websocket.GetSceneList.md | 88 --------- ...bsocket.GetSceneSceneTransitionOverride.md | 92 ---------- ...rshell.websocket.GetSceneTransitionList.md | 88 --------- ...bs.powershell.websocket.GetSourceActive.md | 94 ---------- ...bs.powershell.websocket.GetSourceFilter.md | 107 ----------- ...ebsocket.GetSourceFilterDefaultSettings.md | 92 ---------- ...owershell.websocket.GetSourceFilterList.md | 92 ---------- ...owershell.websocket.GetSourceScreenshot.md | 157 ---------------- ...s.powershell.websocket.GetSpecialInputs.md | 88 --------- docs/obs.powershell.websocket.GetStats.md | 88 --------- ...hell.websocket.GetStreamServiceSettings.md | 88 --------- ...bs.powershell.websocket.GetStreamStatus.md | 88 --------- ...wershell.websocket.GetStudioModeEnabled.md | 88 --------- ...ershell.websocket.GetTransitionKindList.md | 90 --------- docs/obs.powershell.websocket.GetVersion.md | 88 --------- ...s.powershell.websocket.GetVideoSettings.md | 90 --------- ...owershell.websocket.GetVirtualCamStatus.md | 88 --------- ...rshell.websocket.OffsetMediaInputCursor.md | 109 ----------- ...rshell.websocket.OpenInputFiltersDialog.md | 92 ---------- ...shell.websocket.OpenInputInteractDialog.md | 92 ---------- ...ell.websocket.OpenInputPropertiesDialog.md | 92 ---------- ...owershell.websocket.OpenSourceProjector.md | 124 ------------- ...ershell.websocket.OpenVideoMixProjector.md | 130 ------------- docs/obs.powershell.websocket.PauseRecord.md | 88 --------- ...ll.websocket.PressInputPropertiesButton.md | 113 ------------ docs/obs.powershell.websocket.RemoveInput.md | 94 ---------- .../obs.powershell.websocket.RemoveProfile.md | 92 ---------- docs/obs.powershell.websocket.RemoveScene.md | 92 ---------- ...bs.powershell.websocket.RemoveSceneItem.md | 109 ----------- ...powershell.websocket.RemoveSourceFilter.md | 107 ----------- docs/obs.powershell.websocket.ResumeRecord.md | 88 --------- ...s.powershell.websocket.SaveReplayBuffer.md | 88 --------- ...wershell.websocket.SaveSourceScreenshot.md | 172 ------------------ ....powershell.websocket.SendStreamCaption.md | 92 ---------- ...rshell.websocket.SetCurrentPreviewScene.md | 94 ---------- ....powershell.websocket.SetCurrentProfile.md | 92 ---------- ...rshell.websocket.SetCurrentProgramScene.md | 92 ---------- ...ell.websocket.SetCurrentSceneCollection.md | 94 ---------- ...ell.websocket.SetCurrentSceneTransition.md | 94 ---------- ...ocket.SetCurrentSceneTransitionDuration.md | 92 ---------- ...ocket.SetCurrentSceneTransitionSettings.md | 107 ----------- ...wershell.websocket.SetInputAudioBalance.md | 107 ----------- ...hell.websocket.SetInputAudioMonitorType.md | 107 ----------- ...shell.websocket.SetInputAudioSyncOffset.md | 107 ----------- ...owershell.websocket.SetInputAudioTracks.md | 107 ----------- docs/obs.powershell.websocket.SetInputMute.md | 107 ----------- docs/obs.powershell.websocket.SetInputName.md | 107 ----------- ...s.powershell.websocket.SetInputSettings.md | 122 ------------- ...obs.powershell.websocket.SetInputVolume.md | 122 ------------- ...owershell.websocket.SetMediaInputCursor.md | 109 ----------- ....powershell.websocket.SetOutputSettings.md | 107 ----------- ....powershell.websocket.SetPersistentData.md | 122 ------------- ...owershell.websocket.SetProfileParameter.md | 122 ------------- ...powershell.websocket.SetRecordDirectory.md | 92 ---------- ...ershell.websocket.SetSceneItemBlendMode.md | 124 ------------- ...owershell.websocket.SetSceneItemEnabled.md | 124 ------------- ....powershell.websocket.SetSceneItemIndex.md | 124 ------------- ...powershell.websocket.SetSceneItemLocked.md | 124 ------------- ...ershell.websocket.SetSceneItemTransform.md | 122 ------------- docs/obs.powershell.websocket.SetSceneName.md | 107 ----------- ...bsocket.SetSceneSceneTransitionOverride.md | 122 ------------- ...rshell.websocket.SetSourceFilterEnabled.md | 122 ------------- ...wershell.websocket.SetSourceFilterIndex.md | 122 ------------- ...owershell.websocket.SetSourceFilterName.md | 122 ------------- ...shell.websocket.SetSourceFilterSettings.md | 137 -------------- ...hell.websocket.SetStreamServiceSettings.md | 109 ----------- ...wershell.websocket.SetStudioModeEnabled.md | 92 ---------- ...bs.powershell.websocket.SetTBarPosition.md | 109 ----------- ...s.powershell.websocket.SetVideoSettings.md | 169 ----------------- docs/obs.powershell.websocket.Sleep.md | 107 ----------- docs/obs.powershell.websocket.StartOutput.md | 92 ---------- docs/obs.powershell.websocket.StartRecord.md | 88 --------- ....powershell.websocket.StartReplayBuffer.md | 88 --------- docs/obs.powershell.websocket.StartStream.md | 88 --------- ...bs.powershell.websocket.StartVirtualCam.md | 88 --------- docs/obs.powershell.websocket.StopOutput.md | 92 ---------- docs/obs.powershell.websocket.StopRecord.md | 88 --------- ...s.powershell.websocket.StopReplayBuffer.md | 88 --------- docs/obs.powershell.websocket.StopStream.md | 88 --------- ...obs.powershell.websocket.StopVirtualCam.md | 88 --------- ...bs.powershell.websocket.ToggleInputMute.md | 92 ---------- docs/obs.powershell.websocket.ToggleOutput.md | 92 ---------- docs/obs.powershell.websocket.ToggleRecord.md | 88 --------- ....powershell.websocket.ToggleRecordPause.md | 88 --------- ...powershell.websocket.ToggleReplayBuffer.md | 88 --------- docs/obs.powershell.websocket.ToggleStream.md | 88 --------- ...s.powershell.websocket.ToggleVirtualCam.md | 88 --------- ...ll.websocket.TriggerHotkeyByKeySequence.md | 167 ----------------- ...owershell.websocket.TriggerHotkeyByName.md | 92 ---------- ...shell.websocket.TriggerMediaInputAction.md | 107 ----------- ...l.websocket.TriggerStudioModeTransition.md | 88 --------- 194 files changed, 12 insertions(+), 16061 deletions(-) delete mode 100644 docs/OBS.GetInputList.Response.Mute.md delete mode 100644 docs/OBS.GetInputList.Response.Next.md delete mode 100644 docs/OBS.GetInputList.Response.Pause.md delete mode 100644 docs/OBS.GetInputList.Response.Play.md delete mode 100644 docs/OBS.GetInputList.Response.Previous.md delete mode 100644 docs/OBS.GetInputList.Response.Remove.md delete mode 100644 docs/OBS.GetInputList.Response.Restart.md delete mode 100644 docs/OBS.GetInputList.Response.Stop.md delete mode 100644 docs/OBS.GetInputList.Response.Unmute.md delete mode 100644 docs/OBS.GetInputList.Response.get_CurrentTime.md delete mode 100644 docs/OBS.GetInputList.Response.get_Filters.md delete mode 100644 docs/OBS.GetInputList.Response.get_Settings.md delete mode 100644 docs/OBS.GetInputList.Response.get_Status.md delete mode 100644 docs/OBS.GetInputList.Response.get_Volume.md delete mode 100644 docs/OBS.GetInputList.Response.set_CurrentTime.md delete mode 100644 docs/OBS.GetInputList.Response.set_Settings.md delete mode 100644 docs/OBS.GetInputList.Response.set_Volume.md delete mode 100644 docs/OBS.GetSceneItemList.Response.Animate.md delete mode 100644 docs/OBS.GetSceneItemList.Response.FitToScreen.md delete mode 100644 docs/OBS.GetSceneItemList.Response.Move.md delete mode 100644 docs/OBS.GetSceneItemList.Response.get_Filters.md delete mode 100644 docs/OBS.GetSceneItemList.Response.get_Input.md delete mode 100644 docs/OBS.GetSourceFilter.Response.Disable.md delete mode 100644 docs/OBS.GetSourceFilter.Response.Enable.md delete mode 100644 docs/OBS.GetSourceFilter.Response.Remove.md delete mode 100644 docs/OBS.GetSourceFilter.Response.Set.md delete mode 100644 docs/OBS.GetSourceFilterList.Response.Disable.md delete mode 100644 docs/OBS.GetSourceFilterList.Response.Enable.md delete mode 100644 docs/OBS.GetSourceFilterList.Response.Remove.md delete mode 100644 docs/OBS.GetSourceFilterList.Response.Set.md delete mode 100644 docs/OBS.PowerShell.Effect.Reverse.md delete mode 100644 docs/OBS.PowerShell.Effect.Start.md delete mode 100644 docs/OBS.PowerShell.Effect.Step.md delete mode 100644 docs/OBS.PowerShell.Effect.Stop.md delete mode 100644 docs/OBS.PowerShell.Effect.get_Changes.md delete mode 100644 docs/OBS.PowerShell.Effect.get_Duration.md delete mode 100644 docs/OBS.PowerShell.Effect.get_EffectType.md delete mode 100644 docs/OBS.PowerShell.Effect.get_Index.md delete mode 100644 docs/OBS.PowerShell.Effect.get_Reversed.md delete mode 100644 docs/OBS.PowerShell.Effect.set_Index.md delete mode 100644 docs/OBS.PowerShell.Effect.set_Reversed.md delete mode 100644 docs/OBS.PowerShell.get_Commands.md delete mode 100644 docs/OBS.PowerShell.get_CurrentScene.md delete mode 100644 docs/OBS.PowerShell.get_Inputs.md delete mode 100644 docs/OBS.PowerShell.get_OBSPowerShellVersion.md delete mode 100644 docs/OBS.PowerShell.get_OBSVersion.md delete mode 100644 docs/OBS.PowerShell.get_OBSWebSocketVersion.md delete mode 100644 docs/OBS.PowerShell.get_Outputs.md delete mode 100644 docs/OBS.PowerShell.get_RandomExample.md delete mode 100644 docs/OBS.PowerShell.get_RecordStatus.md delete mode 100644 docs/OBS.PowerShell.get_SceneItems.md delete mode 100644 docs/OBS.PowerShell.get_Scenes.md delete mode 100644 docs/OBS.PowerShell.get_Stats.md delete mode 100644 docs/OBS.PowerShell.get_StreamStatus.md delete mode 100644 docs/obs.powershell.websocket.BroadcastCustomEvent.md delete mode 100644 docs/obs.powershell.websocket.CallVendorRequest.md delete mode 100644 docs/obs.powershell.websocket.CreateInput.md delete mode 100644 docs/obs.powershell.websocket.CreateProfile.md delete mode 100644 docs/obs.powershell.websocket.CreateScene.md delete mode 100644 docs/obs.powershell.websocket.CreateSceneCollection.md delete mode 100644 docs/obs.powershell.websocket.CreateSceneItem.md delete mode 100644 docs/obs.powershell.websocket.CreateSourceFilter.md delete mode 100644 docs/obs.powershell.websocket.DuplicateSceneItem.md delete mode 100644 docs/obs.powershell.websocket.GetCurrentPreviewScene.md delete mode 100644 docs/obs.powershell.websocket.GetCurrentProgramScene.md delete mode 100644 docs/obs.powershell.websocket.GetCurrentSceneTransition.md delete mode 100644 docs/obs.powershell.websocket.GetCurrentSceneTransitionCursor.md delete mode 100644 docs/obs.powershell.websocket.GetGroupList.md delete mode 100644 docs/obs.powershell.websocket.GetGroupSceneItemList.md delete mode 100644 docs/obs.powershell.websocket.GetHotkeyList.md delete mode 100644 docs/obs.powershell.websocket.GetInputAudioBalance.md delete mode 100644 docs/obs.powershell.websocket.GetInputAudioMonitorType.md delete mode 100644 docs/obs.powershell.websocket.GetInputAudioSyncOffset.md delete mode 100644 docs/obs.powershell.websocket.GetInputAudioTracks.md delete mode 100644 docs/obs.powershell.websocket.GetInputDefaultSettings.md delete mode 100644 docs/obs.powershell.websocket.GetInputKindList.md delete mode 100644 docs/obs.powershell.websocket.GetInputList.md delete mode 100644 docs/obs.powershell.websocket.GetInputMute.md delete mode 100644 docs/obs.powershell.websocket.GetInputPropertiesListPropertyItems.md delete mode 100644 docs/obs.powershell.websocket.GetInputSettings.md delete mode 100644 docs/obs.powershell.websocket.GetInputVolume.md delete mode 100644 docs/obs.powershell.websocket.GetLastReplayBufferReplay.md delete mode 100644 docs/obs.powershell.websocket.GetMediaInputStatus.md delete mode 100644 docs/obs.powershell.websocket.GetMonitorList.md delete mode 100644 docs/obs.powershell.websocket.GetOutputList.md delete mode 100644 docs/obs.powershell.websocket.GetOutputSettings.md delete mode 100644 docs/obs.powershell.websocket.GetOutputStatus.md delete mode 100644 docs/obs.powershell.websocket.GetPersistentData.md delete mode 100644 docs/obs.powershell.websocket.GetProfileList.md delete mode 100644 docs/obs.powershell.websocket.GetProfileParameter.md delete mode 100644 docs/obs.powershell.websocket.GetRecordDirectory.md delete mode 100644 docs/obs.powershell.websocket.GetRecordStatus.md delete mode 100644 docs/obs.powershell.websocket.GetReplayBufferStatus.md delete mode 100644 docs/obs.powershell.websocket.GetSceneCollectionList.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemBlendMode.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemEnabled.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemId.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemIndex.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemList.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemLocked.md delete mode 100644 docs/obs.powershell.websocket.GetSceneItemTransform.md delete mode 100644 docs/obs.powershell.websocket.GetSceneList.md delete mode 100644 docs/obs.powershell.websocket.GetSceneSceneTransitionOverride.md delete mode 100644 docs/obs.powershell.websocket.GetSceneTransitionList.md delete mode 100644 docs/obs.powershell.websocket.GetSourceActive.md delete mode 100644 docs/obs.powershell.websocket.GetSourceFilter.md delete mode 100644 docs/obs.powershell.websocket.GetSourceFilterDefaultSettings.md delete mode 100644 docs/obs.powershell.websocket.GetSourceFilterList.md delete mode 100644 docs/obs.powershell.websocket.GetSourceScreenshot.md delete mode 100644 docs/obs.powershell.websocket.GetSpecialInputs.md delete mode 100644 docs/obs.powershell.websocket.GetStats.md delete mode 100644 docs/obs.powershell.websocket.GetStreamServiceSettings.md delete mode 100644 docs/obs.powershell.websocket.GetStreamStatus.md delete mode 100644 docs/obs.powershell.websocket.GetStudioModeEnabled.md delete mode 100644 docs/obs.powershell.websocket.GetTransitionKindList.md delete mode 100644 docs/obs.powershell.websocket.GetVersion.md delete mode 100644 docs/obs.powershell.websocket.GetVideoSettings.md delete mode 100644 docs/obs.powershell.websocket.GetVirtualCamStatus.md delete mode 100644 docs/obs.powershell.websocket.OffsetMediaInputCursor.md delete mode 100644 docs/obs.powershell.websocket.OpenInputFiltersDialog.md delete mode 100644 docs/obs.powershell.websocket.OpenInputInteractDialog.md delete mode 100644 docs/obs.powershell.websocket.OpenInputPropertiesDialog.md delete mode 100644 docs/obs.powershell.websocket.OpenSourceProjector.md delete mode 100644 docs/obs.powershell.websocket.OpenVideoMixProjector.md delete mode 100644 docs/obs.powershell.websocket.PauseRecord.md delete mode 100644 docs/obs.powershell.websocket.PressInputPropertiesButton.md delete mode 100644 docs/obs.powershell.websocket.RemoveInput.md delete mode 100644 docs/obs.powershell.websocket.RemoveProfile.md delete mode 100644 docs/obs.powershell.websocket.RemoveScene.md delete mode 100644 docs/obs.powershell.websocket.RemoveSceneItem.md delete mode 100644 docs/obs.powershell.websocket.RemoveSourceFilter.md delete mode 100644 docs/obs.powershell.websocket.ResumeRecord.md delete mode 100644 docs/obs.powershell.websocket.SaveReplayBuffer.md delete mode 100644 docs/obs.powershell.websocket.SaveSourceScreenshot.md delete mode 100644 docs/obs.powershell.websocket.SendStreamCaption.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentPreviewScene.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentProfile.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentProgramScene.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentSceneCollection.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentSceneTransition.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentSceneTransitionDuration.md delete mode 100644 docs/obs.powershell.websocket.SetCurrentSceneTransitionSettings.md delete mode 100644 docs/obs.powershell.websocket.SetInputAudioBalance.md delete mode 100644 docs/obs.powershell.websocket.SetInputAudioMonitorType.md delete mode 100644 docs/obs.powershell.websocket.SetInputAudioSyncOffset.md delete mode 100644 docs/obs.powershell.websocket.SetInputAudioTracks.md delete mode 100644 docs/obs.powershell.websocket.SetInputMute.md delete mode 100644 docs/obs.powershell.websocket.SetInputName.md delete mode 100644 docs/obs.powershell.websocket.SetInputSettings.md delete mode 100644 docs/obs.powershell.websocket.SetInputVolume.md delete mode 100644 docs/obs.powershell.websocket.SetMediaInputCursor.md delete mode 100644 docs/obs.powershell.websocket.SetOutputSettings.md delete mode 100644 docs/obs.powershell.websocket.SetPersistentData.md delete mode 100644 docs/obs.powershell.websocket.SetProfileParameter.md delete mode 100644 docs/obs.powershell.websocket.SetRecordDirectory.md delete mode 100644 docs/obs.powershell.websocket.SetSceneItemBlendMode.md delete mode 100644 docs/obs.powershell.websocket.SetSceneItemEnabled.md delete mode 100644 docs/obs.powershell.websocket.SetSceneItemIndex.md delete mode 100644 docs/obs.powershell.websocket.SetSceneItemLocked.md delete mode 100644 docs/obs.powershell.websocket.SetSceneItemTransform.md delete mode 100644 docs/obs.powershell.websocket.SetSceneName.md delete mode 100644 docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md delete mode 100644 docs/obs.powershell.websocket.SetSourceFilterEnabled.md delete mode 100644 docs/obs.powershell.websocket.SetSourceFilterIndex.md delete mode 100644 docs/obs.powershell.websocket.SetSourceFilterName.md delete mode 100644 docs/obs.powershell.websocket.SetSourceFilterSettings.md delete mode 100644 docs/obs.powershell.websocket.SetStreamServiceSettings.md delete mode 100644 docs/obs.powershell.websocket.SetStudioModeEnabled.md delete mode 100644 docs/obs.powershell.websocket.SetTBarPosition.md delete mode 100644 docs/obs.powershell.websocket.SetVideoSettings.md delete mode 100644 docs/obs.powershell.websocket.Sleep.md delete mode 100644 docs/obs.powershell.websocket.StartOutput.md delete mode 100644 docs/obs.powershell.websocket.StartRecord.md delete mode 100644 docs/obs.powershell.websocket.StartReplayBuffer.md delete mode 100644 docs/obs.powershell.websocket.StartStream.md delete mode 100644 docs/obs.powershell.websocket.StartVirtualCam.md delete mode 100644 docs/obs.powershell.websocket.StopOutput.md delete mode 100644 docs/obs.powershell.websocket.StopRecord.md delete mode 100644 docs/obs.powershell.websocket.StopReplayBuffer.md delete mode 100644 docs/obs.powershell.websocket.StopStream.md delete mode 100644 docs/obs.powershell.websocket.StopVirtualCam.md delete mode 100644 docs/obs.powershell.websocket.ToggleInputMute.md delete mode 100644 docs/obs.powershell.websocket.ToggleOutput.md delete mode 100644 docs/obs.powershell.websocket.ToggleRecord.md delete mode 100644 docs/obs.powershell.websocket.ToggleRecordPause.md delete mode 100644 docs/obs.powershell.websocket.ToggleReplayBuffer.md delete mode 100644 docs/obs.powershell.websocket.ToggleStream.md delete mode 100644 docs/obs.powershell.websocket.ToggleVirtualCam.md delete mode 100644 docs/obs.powershell.websocket.TriggerHotkeyByKeySequence.md delete mode 100644 docs/obs.powershell.websocket.TriggerHotkeyByName.md delete mode 100644 docs/obs.powershell.websocket.TriggerMediaInputAction.md delete mode 100644 docs/obs.powershell.websocket.TriggerStudioModeTransition.md diff --git a/Types/OBS.Input.Color.Source.V3/SetColor.ps1 b/Types/OBS.Input.Color.Source.V3/SetColor.ps1 index 3728850ee..19a4e3be5 100644 --- a/Types/OBS.Input.Color.Source.V3/SetColor.ps1 +++ b/Types/OBS.Input.Color.Source.V3/SetColor.ps1 @@ -1,3 +1,9 @@ +<# +.SYNOPSIS + Sets the color. +.DESCRIPTION + Changes the color of a color source. +#> param( [ValidatePattern('\#(?>[0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})')] [string] diff --git a/Types/OBS.Powershell.Effect.Command/get_EffectName.ps1 b/Types/OBS.Powershell.Effect.Command/get_EffectName.ps1 index e67388205..aeccb669a 100644 --- a/Types/OBS.Powershell.Effect.Command/get_EffectName.ps1 +++ b/Types/OBS.Powershell.Effect.Command/get_EffectName.ps1 @@ -1,3 +1,9 @@ +<# +.SYNOPSIS + Gets the Effect Name +.DESCRIPTION + Gets the name of an Effect. +#> $obsEffectsPattern = [Regex]::new(' (?> ^OBS.(?>fx|effects?)\p{P} diff --git a/docs/OBS.GetInputList.Response.Mute.md b/docs/OBS.GetInputList.Response.Mute.md deleted file mode 100644 index 382f26db2..000000000 --- a/docs/OBS.GetInputList.Response.Mute.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Mute() --------------------------------- - - - - -### Synopsis -Mutes an input - - - ---- - - -### Description - -Mutes the audio of an OBS Input - - - ---- - - -### Related Links -* Set-OBSInputMute - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, returns the message used to mute - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Next.md b/docs/OBS.GetInputList.Response.Next.md deleted file mode 100644 index d18d09ba4..000000000 --- a/docs/OBS.GetInputList.Response.Next.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Next() --------------------------------- - - - - -### Synopsis -Nexts an input - - - ---- - - -### Description - -Sends a "Next" message to an input. - - - ---- - - -### Related Links -* Send-OBSTriggerMediaInputAction - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the message instead of sending it now. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Pause.md b/docs/OBS.GetInputList.Response.Pause.md deleted file mode 100644 index 754101fa4..000000000 --- a/docs/OBS.GetInputList.Response.Pause.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Pause() ---------------------------------- - - - - -### Synopsis -Pauses an input - - - ---- - - -### Description - -Sends a "Pause" message to an input. - - - ---- - - -### Related Links -* Send-OBSTriggerMediaInputAction - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the message instead of sending it now. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Play.md b/docs/OBS.GetInputList.Response.Play.md deleted file mode 100644 index 80bf2ef07..000000000 --- a/docs/OBS.GetInputList.Response.Play.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Play() --------------------------------- - - - - -### Synopsis -Plays an input - - - ---- - - -### Description - -Sends a "Play" message to an input. - - - ---- - - -### Related Links -* Send-OBSTriggerMediaInputAction - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the message instead of sending it now. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Previous.md b/docs/OBS.GetInputList.Response.Previous.md deleted file mode 100644 index 99f080deb..000000000 --- a/docs/OBS.GetInputList.Response.Previous.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Previous() ------------------------------------- - - - - -### Synopsis -Previouss an input - - - ---- - - -### Description - -Sends a "Previous" message to an input. - - - ---- - - -### Related Links -* Send-OBSTriggerMediaInputAction - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the message instead of sending it now. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Remove.md b/docs/OBS.GetInputList.Response.Remove.md deleted file mode 100644 index 97b263a2e..000000000 --- a/docs/OBS.GetInputList.Response.Remove.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.GetInputList.Response.Remove() ----------------------------------- - - - - -### Synopsis -Removes an input - - - ---- - - -### Description - -Removes an OBS Input - - - ---- - - -### Related Links -* Remove-OBSInput - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Restart.md b/docs/OBS.GetInputList.Response.Restart.md deleted file mode 100644 index 0b81db2ba..000000000 --- a/docs/OBS.GetInputList.Response.Restart.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Restart() ------------------------------------ - - - - -### Synopsis -Restarts an input - - - ---- - - -### Description - -Sends a "Restart" message to an input. - - - ---- - - -### Related Links -* Send-OBSTriggerMediaInputAction - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the message instead of sending it now. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Stop.md b/docs/OBS.GetInputList.Response.Stop.md deleted file mode 100644 index 6ed40c21d..000000000 --- a/docs/OBS.GetInputList.Response.Stop.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Stop() --------------------------------- - - - - -### Synopsis -Stops an input - - - ---- - - -### Description - -Sends a "Stop" message to an input. - - - ---- - - -### Related Links -* Send-OBSTriggerMediaInputAction - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the message instead of sending it now. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.Unmute.md b/docs/OBS.GetInputList.Response.Unmute.md deleted file mode 100644 index 528f88155..000000000 --- a/docs/OBS.GetInputList.Response.Unmute.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.Unmute() ----------------------------------- - - - - -### Synopsis -Mutes an input - - - ---- - - -### Description - -Mutes the audio of an OBS Input - - - ---- - - -### Related Links -* Set-OBSInputMute - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, returns the message used to unmute. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.get_CurrentTime.md b/docs/OBS.GetInputList.Response.get_CurrentTime.md deleted file mode 100644 index a7bf08a04..000000000 --- a/docs/OBS.GetInputList.Response.get_CurrentTime.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.GetInputList.Response.get_CurrentTime() -------------------------------------------- - - - - -### Synopsis -Gets an input's current time - - - ---- - - -### Description - -Gets an input's current time, if applicable - - - ---- - - -### Related Links -* Get-OBSMediaInputStatus - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.get_Filters.md b/docs/OBS.GetInputList.Response.get_Filters.md deleted file mode 100644 index 0aec20559..000000000 --- a/docs/OBS.GetInputList.Response.get_Filters.md +++ /dev/null @@ -1,44 +0,0 @@ -OBS.GetInputList.Response.get_Filters() ---------------------------------------- - - - - -### Synopsis -Gets an input's filters - - - ---- - - -### Description - -Gets the filters related to an OBS input. - - - ---- - - -### Related Links -* Get-OBSSourceFilterList - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg -$obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 -$obsPowerShellIcon.Input.Filters -``` - - - ---- diff --git a/docs/OBS.GetInputList.Response.get_Settings.md b/docs/OBS.GetInputList.Response.get_Settings.md deleted file mode 100644 index cdd920e5a..000000000 --- a/docs/OBS.GetInputList.Response.get_Settings.md +++ /dev/null @@ -1,43 +0,0 @@ -OBS.GetInputList.Response.get_Settings() ----------------------------------------- - - - - -### Synopsis -Gets an input's settings - - - ---- - - -### Description - -Gets the current settings for an OBS input. - - - ---- - - -### Related Links -* Get-OBSInputSettings - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg -$obsPowerShellIcon.Input.Settings -``` - - - ---- diff --git a/docs/OBS.GetInputList.Response.get_Status.md b/docs/OBS.GetInputList.Response.get_Status.md deleted file mode 100644 index 296da46ff..000000000 --- a/docs/OBS.GetInputList.Response.get_Status.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.GetInputList.Response.get_Status() --------------------------------------- - - - - -### Synopsis -Gets an input's status - - - ---- - - -### Description - -Gets the media status of an OBS input. - - - ---- - - -### Related Links -* Get-OBSMediaInputStatus - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.get_Volume.md b/docs/OBS.GetInputList.Response.get_Volume.md deleted file mode 100644 index f148a8163..000000000 --- a/docs/OBS.GetInputList.Response.get_Volume.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.GetInputList.Response.get_Volume() --------------------------------------- - - - - -### Synopsis -Gets an input's volume - - - ---- - - -### Description - -Gets an OBS input's volume mulitplier - - - ---- - - -### Related Links -* Get-OBSInputVolume - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.set_CurrentTime.md b/docs/OBS.GetInputList.Response.set_CurrentTime.md deleted file mode 100644 index dd0f195bc..000000000 --- a/docs/OBS.GetInputList.Response.set_CurrentTime.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.GetInputList.Response.set_CurrentTime() -------------------------------------------- - - - - -### Synopsis -Sets an input's current time - - - ---- - - -### Description - -Sets an input's current time. - - - ---- - - -### Related Links -* Send-OBSMediaInputCursor - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.set_Settings.md b/docs/OBS.GetInputList.Response.set_Settings.md deleted file mode 100644 index f54fe882d..000000000 --- a/docs/OBS.GetInputList.Response.set_Settings.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.GetInputList.Response.set_Settings() ----------------------------------------- - - - - -### Synopsis -Sets an input's settings - - - ---- - - -### Description - -Changes the settings for an OBS input. - - - ---- - - -### Related Links -* Set-OBSInputSettings - - - - - ---- diff --git a/docs/OBS.GetInputList.Response.set_Volume.md b/docs/OBS.GetInputList.Response.set_Volume.md deleted file mode 100644 index eb6fdf9d5..000000000 --- a/docs/OBS.GetInputList.Response.set_Volume.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetInputList.Response.set_Volume() --------------------------------------- - - - - -### Synopsis -Sets an input's volume - - - ---- - - -### Description - -Sets an OBS input's volume mulitplier. - -This is normally between 0 (no sound) and 1 (normal levels). - -A source can be made up to 20 times the original volume. - - - ---- - - -### Related Links -* Set-OBSInputVolume - - - - - ---- - - -### Parameters -#### **Multiple** - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Double]`|false |1 |false | - - - - - ---- diff --git a/docs/OBS.GetSceneItemList.Response.Animate.md b/docs/OBS.GetSceneItemList.Response.Animate.md deleted file mode 100644 index c022ddf46..000000000 --- a/docs/OBS.GetSceneItemList.Response.Animate.md +++ /dev/null @@ -1,36 +0,0 @@ -OBS.GetSceneItemList.Response.Animate() ---------------------------------------- - - - - -### Synopsis -Animates scene items - - - ---- - - -### Description - -Animates the motion of scene items within a frame. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -$stars = Add-OBSBrowserSource -URI https://pssvg.start-automating.com/Examples/Stars.svg -$stars.FitToScreen() -$stars.Animate(@{ - scale = 0.1 -},"00:00:01") -``` - - - ---- diff --git a/docs/OBS.GetSceneItemList.Response.FitToScreen.md b/docs/OBS.GetSceneItemList.Response.FitToScreen.md deleted file mode 100644 index 89884ef88..000000000 --- a/docs/OBS.GetSceneItemList.Response.FitToScreen.md +++ /dev/null @@ -1,39 +0,0 @@ -OBS.GetSceneItemList.Response.FitToScreen() -------------------------------------------- - - - - -### Synopsis -Fits an item to the screen - - - ---- - - -### Description - -Centers an item and makes it fit to the screen. - - - ---- - - -### Related Links -* Get-OBSVideoSettings - - - -* Get-OBSSceneItemTransform - - - -* Set-OBSSceneItemTransform - - - - - ---- diff --git a/docs/OBS.GetSceneItemList.Response.Move.md b/docs/OBS.GetSceneItemList.Response.Move.md deleted file mode 100644 index 7c5f8bd05..000000000 --- a/docs/OBS.GetSceneItemList.Response.Move.md +++ /dev/null @@ -1,49 +0,0 @@ -OBS.GetSceneItemList.Response.Move() ------------------------------------- - - - - -### Synopsis -Moves a scene item - - - ---- - - -### Description - -Moves a scene item throughout the screen. - -This converts it's arguments to .Animate arguments. Any single values will be assumed to be positionX/positionY - - - ---- - - -### Related Links -* OBS.GetSceneItemList.Response.Animate - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -# Load a source -$stars = Add-OBSBrowserSource -URI https://pssvg.start-automating.com/Examples/Stars.svg -# fit it to the screen -$stars.FitToScreen() -# Move it diagonally across the screen -$stars.Move("-50%","150%", "00:00:05") -``` - - - ---- diff --git a/docs/OBS.GetSceneItemList.Response.get_Filters.md b/docs/OBS.GetSceneItemList.Response.get_Filters.md deleted file mode 100644 index 8d2f665ff..000000000 --- a/docs/OBS.GetSceneItemList.Response.get_Filters.md +++ /dev/null @@ -1,44 +0,0 @@ -OBS.GetSceneItemList.Response.get_Filters() -------------------------------------------- - - - - -### Synopsis -Gets a Scene Item's filters - - - ---- - - -### Description - -Gets the filters related to an OBS input. - - - ---- - - -### Related Links -* Get-OBSSourceFilterList - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg -$obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 -$obsPowerShellIcon.Filters -``` - - - ---- diff --git a/docs/OBS.GetSceneItemList.Response.get_Input.md b/docs/OBS.GetSceneItemList.Response.get_Input.md deleted file mode 100644 index 81d454e79..000000000 --- a/docs/OBS.GetSceneItemList.Response.get_Input.md +++ /dev/null @@ -1,35 +0,0 @@ -OBS.GetSceneItemList.Response.get_Input() ------------------------------------------ - - - - -### Synopsis -Gets a Scene Item's Input - - - ---- - - -### Description - -Gets the OBS Input related to the current scene item. - -This value is cached upon first request, as it will never change as long as the source item exists. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -$stars = Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg -$stars.Input -``` - - - ---- diff --git a/docs/OBS.GetSourceFilter.Response.Disable.md b/docs/OBS.GetSourceFilter.Response.Disable.md deleted file mode 100644 index 382c971fa..000000000 --- a/docs/OBS.GetSourceFilter.Response.Disable.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetSourceFilter.Response.Disable() --------------------------------------- - - - - -### Synopsis -Disables a filter - - - ---- - - -### Description - -Disables an OBS filter. - - - ---- - - -### Related Links -* Set-OBSSourceFilterEnabled - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the request that would enable a filter. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetSourceFilter.Response.Enable.md b/docs/OBS.GetSourceFilter.Response.Enable.md deleted file mode 100644 index 464b1eb0b..000000000 --- a/docs/OBS.GetSourceFilter.Response.Enable.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetSourceFilter.Response.Enable() -------------------------------------- - - - - -### Synopsis -Enables a filter - - - ---- - - -### Description - -Enables an OBS filter. - - - ---- - - -### Related Links -* Set-OBSSourceFilterEnabled - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the request that would enable a filter. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetSourceFilter.Response.Remove.md b/docs/OBS.GetSourceFilter.Response.Remove.md deleted file mode 100644 index 1fa53c374..000000000 --- a/docs/OBS.GetSourceFilter.Response.Remove.md +++ /dev/null @@ -1,35 +0,0 @@ -OBS.GetSourceFilter.Response.Remove() -------------------------------------- - - - - -### Synopsis -Removes a filter - - - ---- - - -### Description - -Removes a filter from an OBS source. - - - ---- - - -### Related Links -* Remove-OBSSourceFilter - - - -* Get-OBSSourceFilterList - - - - - ---- diff --git a/docs/OBS.GetSourceFilter.Response.Set.md b/docs/OBS.GetSourceFilter.Response.Set.md deleted file mode 100644 index bf65e858d..000000000 --- a/docs/OBS.GetSourceFilter.Response.Set.md +++ /dev/null @@ -1,57 +0,0 @@ -OBS.GetSourceFilter.Response.Set() ----------------------------------- - - - - -### Synopsis -Sets a filter - - - ---- - - -### Description - -Changes a filter's settings. - - - ---- - - -### Parameters -#### **Settings** - -The settings that can be changed. - - - - - - -|Type |Required|Position|PipelineInput|Aliases| -|----------|--------|--------|-------------|-------| -|`[Object]`|false |1 |false |Setting| - - - -#### **PassThru** - -Return the message that would be sent to OBS, rather than changing the filter settings. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetSourceFilterList.Response.Disable.md b/docs/OBS.GetSourceFilterList.Response.Disable.md deleted file mode 100644 index 98e8272a5..000000000 --- a/docs/OBS.GetSourceFilterList.Response.Disable.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetSourceFilterList.Response.Disable() ------------------------------------------- - - - - -### Synopsis -Disables a filter - - - ---- - - -### Description - -Disables an OBS filter. - - - ---- - - -### Related Links -* Set-OBSSourceFilterEnabled - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the request that would enable a filter. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetSourceFilterList.Response.Enable.md b/docs/OBS.GetSourceFilterList.Response.Enable.md deleted file mode 100644 index 0acc527c8..000000000 --- a/docs/OBS.GetSourceFilterList.Response.Enable.md +++ /dev/null @@ -1,52 +0,0 @@ -OBS.GetSourceFilterList.Response.Enable() ------------------------------------------ - - - - -### Synopsis -Enables a filter - - - ---- - - -### Description - -Enables an OBS filter. - - - ---- - - -### Related Links -* Set-OBSSourceFilterEnabled - - - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the request that would enable a filter. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.GetSourceFilterList.Response.Remove.md b/docs/OBS.GetSourceFilterList.Response.Remove.md deleted file mode 100644 index b6f30a8d7..000000000 --- a/docs/OBS.GetSourceFilterList.Response.Remove.md +++ /dev/null @@ -1,35 +0,0 @@ -OBS.GetSourceFilterList.Response.Remove() ------------------------------------------ - - - - -### Synopsis -Removes a filter - - - ---- - - -### Description - -Removes a filter from an OBS source. - - - ---- - - -### Related Links -* Remove-OBSSourceFilter - - - -* Get-OBSSourceFilterList - - - - - ---- diff --git a/docs/OBS.GetSourceFilterList.Response.Set.md b/docs/OBS.GetSourceFilterList.Response.Set.md deleted file mode 100644 index 8e32a84f2..000000000 --- a/docs/OBS.GetSourceFilterList.Response.Set.md +++ /dev/null @@ -1,57 +0,0 @@ -OBS.GetSourceFilterList.Response.Set() --------------------------------------- - - - - -### Synopsis -Sets a filter - - - ---- - - -### Description - -Changes a filter's settings. - - - ---- - - -### Parameters -#### **Settings** - -The settings that can be changed. - - - - - - -|Type |Required|Position|PipelineInput|Aliases| -|----------|--------|--------|-------------|-------| -|`[Object]`|false |1 |false |Setting| - - - -#### **PassThru** - -Return the message that would be sent to OBS, rather than changing the filter settings. - - - - - - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[Switch]`|false |named |false | - - - - - ---- diff --git a/docs/OBS.PowerShell.Effect.Reverse.md b/docs/OBS.PowerShell.Effect.Reverse.md deleted file mode 100644 index fb9a67388..000000000 --- a/docs/OBS.PowerShell.Effect.Reverse.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.Reverse() -------------------------------- - - - - -### Synopsis -Toggles Reversed and Starts an Effect - - - ---- - - -### Description - -Toggles an Effect's Reversed bool, and starts the effect. - - - ---- diff --git a/docs/OBS.PowerShell.Effect.Start.md b/docs/OBS.PowerShell.Effect.Start.md deleted file mode 100644 index 82efc1bd8..000000000 --- a/docs/OBS.PowerShell.Effect.Start.md +++ /dev/null @@ -1,23 +0,0 @@ -OBS.PowerShell.Effect.Start() ------------------------------ - - - - -### Synopsis -Stars an Effect - - - ---- - - -### Description - -Stars an Effect in obs-powershell. - -If the effect has no messages - - - ---- diff --git a/docs/OBS.PowerShell.Effect.Step.md b/docs/OBS.PowerShell.Effect.Step.md deleted file mode 100644 index b813f17b7..000000000 --- a/docs/OBS.PowerShell.Effect.Step.md +++ /dev/null @@ -1,44 +0,0 @@ -OBS.PowerShell.Effect.Step() ----------------------------- - - - - -### Synopsis -Steps thru an effect - - - ---- - - -### Description - -Steps thru an effect. - -This will send individual messages from an effect, without sleeps. - - - ---- - - -### Parameters -#### **StepCount** - -The step count - - - - - - -|Type |Required|Position|PipelineInput|Aliases| -|---------|--------|--------|-------------|-------| -|`[Int32]`|false |1 |false |Ticks | - - - - - ---- diff --git a/docs/OBS.PowerShell.Effect.Stop.md b/docs/OBS.PowerShell.Effect.Stop.md deleted file mode 100644 index 9174da013..000000000 --- a/docs/OBS.PowerShell.Effect.Stop.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.Stop() ----------------------------- - - - - -### Synopsis -Stops an effect - - - ---- - - -### Description - -Stops an effect, or more properly, prevents an effect from looping - - - ---- diff --git a/docs/OBS.PowerShell.Effect.get_Changes.md b/docs/OBS.PowerShell.Effect.get_Changes.md deleted file mode 100644 index 86de8743a..000000000 --- a/docs/OBS.PowerShell.Effect.get_Changes.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.get_Changes() ------------------------------------ - - - - -### Synopsis -Gets the Effect's Changes - - - ---- - - -### Description - -Gets the changes the effect will make, without a timespan. - - - ---- diff --git a/docs/OBS.PowerShell.Effect.get_Duration.md b/docs/OBS.PowerShell.Effect.get_Duration.md deleted file mode 100644 index 766b26f84..000000000 --- a/docs/OBS.PowerShell.Effect.get_Duration.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.get_Duration() ------------------------------------- - - - - -### Synopsis -Gets an Effect's Duration - - - ---- - - -### Description - -Gets the total time the effect will sleep. - - - ---- diff --git a/docs/OBS.PowerShell.Effect.get_EffectType.md b/docs/OBS.PowerShell.Effect.get_EffectType.md deleted file mode 100644 index 8495a1b1e..000000000 --- a/docs/OBS.PowerShell.Effect.get_EffectType.md +++ /dev/null @@ -1,23 +0,0 @@ -OBS.PowerShell.Effect.get_EffectType() --------------------------------------- - - - - -### Synopsis -Gets an obs-powershell effect's type - - - ---- - - -### Description - -Gets the type of an obs-powershell effect. - -Current can be either 'Command' or 'Messages' - - - ---- diff --git a/docs/OBS.PowerShell.Effect.get_Index.md b/docs/OBS.PowerShell.Effect.get_Index.md deleted file mode 100644 index 0320eef2b..000000000 --- a/docs/OBS.PowerShell.Effect.get_Index.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.get_Index() ---------------------------------- - - - - -### Synopsis -Gets the index of the effect - - - ---- - - -### Description - -Gets the current index of the effect. This is only used for to .Step thru an effect. - - - ---- diff --git a/docs/OBS.PowerShell.Effect.get_Reversed.md b/docs/OBS.PowerShell.Effect.get_Reversed.md deleted file mode 100644 index e694c092d..000000000 --- a/docs/OBS.PowerShell.Effect.get_Reversed.md +++ /dev/null @@ -1,23 +0,0 @@ -OBS.PowerShell.Effect.get_Reversed() ------------------------------------- - - - - -### Synopsis -Gets if an effect is reversed. - - - ---- - - -### Description - -Gets if an effect is currently set to Reverse. - -Whenever reverse is set, effect messages will be reversed before being sent. - - - ---- diff --git a/docs/OBS.PowerShell.Effect.set_Index.md b/docs/OBS.PowerShell.Effect.set_Index.md deleted file mode 100644 index a56dcb6f1..000000000 --- a/docs/OBS.PowerShell.Effect.set_Index.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.set_Index() ---------------------------------- - - - - -### Synopsis -Updates the Effect's Index - - - ---- - - -### Description - -Updates an effect's index. This is only used to .Step() - - - ---- diff --git a/docs/OBS.PowerShell.Effect.set_Reversed.md b/docs/OBS.PowerShell.Effect.set_Reversed.md deleted file mode 100644 index 20292e6f7..000000000 --- a/docs/OBS.PowerShell.Effect.set_Reversed.md +++ /dev/null @@ -1,21 +0,0 @@ -OBS.PowerShell.Effect.set_Reversed() ------------------------------------- - - - - -### Synopsis -Sets if an effect should be reversed. - - - ---- - - -### Description - -Sets if an effect should be played in reverse. - - - ---- diff --git a/docs/OBS.PowerShell.get_Commands.md b/docs/OBS.PowerShell.get_Commands.md deleted file mode 100644 index 66ad27b84..000000000 --- a/docs/OBS.PowerShell.get_Commands.md +++ /dev/null @@ -1,32 +0,0 @@ -OBS.PowerShell.get_Commands() ------------------------------ - - - - -### Synopsis -Gets obs-powershell commands - - - ---- - - -### Description - -Gets the commands in obs-powershell. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -(Get-OBS).Commands -``` - - - ---- diff --git a/docs/OBS.PowerShell.get_CurrentScene.md b/docs/OBS.PowerShell.get_CurrentScene.md deleted file mode 100644 index eb65c5b76..000000000 --- a/docs/OBS.PowerShell.get_CurrentScene.md +++ /dev/null @@ -1,32 +0,0 @@ -OBS.PowerShell.get_CurrentScene() ---------------------------------- - - - - -### Synopsis -Gets the current scene - - - ---- - - -### Description - -Gets the current scene in OBS. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBS | Select-Object -ExpandProperty CurrentScene -``` - - - ---- diff --git a/docs/OBS.PowerShell.get_Inputs.md b/docs/OBS.PowerShell.get_Inputs.md deleted file mode 100644 index a9151eaa7..000000000 --- a/docs/OBS.PowerShell.get_Inputs.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.PowerShell.get_Inputs() ---------------------------- - - - - -### Synopsis -Gets the loaded OBS inputs. - - - ---- - - -### Description - -Gets the currently loaded inputs in OBS. - - - ---- - - -### Related Links -* Get-OBSInput - - - - - ---- diff --git a/docs/OBS.PowerShell.get_OBSPowerShellVersion.md b/docs/OBS.PowerShell.get_OBSPowerShellVersion.md deleted file mode 100644 index 370767fb9..000000000 --- a/docs/OBS.PowerShell.get_OBSPowerShellVersion.md +++ /dev/null @@ -1,32 +0,0 @@ -OBS.PowerShell.get_OBSPowerShellVersion() ------------------------------------------ - - - - -### Synopsis -Gets the obs-powershell version. - - - ---- - - -### Description - -Gets the version of obs-powershell. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBS | Select-Object -ExpandProperty OBSPowerShellVersion -``` - - - ---- diff --git a/docs/OBS.PowerShell.get_OBSVersion.md b/docs/OBS.PowerShell.get_OBSVersion.md deleted file mode 100644 index 2e049108b..000000000 --- a/docs/OBS.PowerShell.get_OBSVersion.md +++ /dev/null @@ -1,32 +0,0 @@ -OBS.PowerShell.get_OBSVersion() -------------------------------- - - - - -### Synopsis -Gets the obs version. - - - ---- - - -### Description - -Gets the version of obs. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBS | Select-Object -ExpandProperty OBSVersion -``` - - - ---- diff --git a/docs/OBS.PowerShell.get_OBSWebSocketVersion.md b/docs/OBS.PowerShell.get_OBSWebSocketVersion.md deleted file mode 100644 index f8151df41..000000000 --- a/docs/OBS.PowerShell.get_OBSWebSocketVersion.md +++ /dev/null @@ -1,32 +0,0 @@ -OBS.PowerShell.get_OBSWebSocketVersion() ----------------------------------------- - - - - -### Synopsis -Gets the obs version. - - - ---- - - -### Description - -Gets the version of obs. - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBS | Select-Object -ExpandProperty OBSVersion -``` - - - ---- diff --git a/docs/OBS.PowerShell.get_Outputs.md b/docs/OBS.PowerShell.get_Outputs.md deleted file mode 100644 index 87b010a92..000000000 --- a/docs/OBS.PowerShell.get_Outputs.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.PowerShell.get_Outputs() ----------------------------- - - - - -### Synopsis -Gets the loaded OBS outputs. - - - ---- - - -### Description - -Gets the currently loaded outputs in OBS. - - - ---- - - -### Related Links -* Get-OBSOutput - - - - - ---- diff --git a/docs/OBS.PowerShell.get_RandomExample.md b/docs/OBS.PowerShell.get_RandomExample.md deleted file mode 100644 index 22d9b80d4..000000000 --- a/docs/OBS.PowerShell.get_RandomExample.md +++ /dev/null @@ -1,18 +0,0 @@ -OBS.PowerShell.get_RandomExample() ----------------------------------- - - - - -### Synopsis - - - - ---- - - -### Description - - ---- diff --git a/docs/OBS.PowerShell.get_RecordStatus.md b/docs/OBS.PowerShell.get_RecordStatus.md deleted file mode 100644 index 251bf289b..000000000 --- a/docs/OBS.PowerShell.get_RecordStatus.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.PowerShell.get_RecordStatus() ---------------------------------- - - - - -### Synopsis -Gets OBS record status. - - - ---- - - -### Description - -Gets the record status of OBS. - - - ---- - - -### Related Links -* Get-OBSRecordStatus - - - - - ---- diff --git a/docs/OBS.PowerShell.get_SceneItems.md b/docs/OBS.PowerShell.get_SceneItems.md deleted file mode 100644 index f6db951fe..000000000 --- a/docs/OBS.PowerShell.get_SceneItems.md +++ /dev/null @@ -1,35 +0,0 @@ -OBS.PowerShell.get_SceneItems() -------------------------------- - - - - -### Synopsis -Gets all obs scene items. - - - ---- - - -### Description - -Gets every item in every scene in OBS. - - - ---- - - -### Related Links -* Get-OBSScene - - - -* Get-OBSSceneItem - - - - - ---- diff --git a/docs/OBS.PowerShell.get_Scenes.md b/docs/OBS.PowerShell.get_Scenes.md deleted file mode 100644 index 6fc8b57a0..000000000 --- a/docs/OBS.PowerShell.get_Scenes.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.PowerShell.get_Scenes() ---------------------------- - - - - -### Synopsis -Gets the loaded OBS scenes. - - - ---- - - -### Description - -Gets the currently loaded scenes in OBS. - - - ---- - - -### Related Links -* Get-OBSScene - - - - - ---- diff --git a/docs/OBS.PowerShell.get_Stats.md b/docs/OBS.PowerShell.get_Stats.md deleted file mode 100644 index b23b8cd4d..000000000 --- a/docs/OBS.PowerShell.get_Stats.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.PowerShell.get_Stats() --------------------------- - - - - -### Synopsis -Gets OBS stats. - - - ---- - - -### Description - -Gets OBS statistics - - - ---- - - -### Related Links -* Get-OBSStats - - - - - ---- diff --git a/docs/OBS.PowerShell.get_StreamStatus.md b/docs/OBS.PowerShell.get_StreamStatus.md deleted file mode 100644 index ec204f417..000000000 --- a/docs/OBS.PowerShell.get_StreamStatus.md +++ /dev/null @@ -1,31 +0,0 @@ -OBS.PowerShell.get_StreamStatus() ---------------------------------- - - - - -### Synopsis -Gets OBS stream status. - - - ---- - - -### Description - -Gets the stream status of OBS. - - - ---- - - -### Related Links -* Get-OBSStreamStatus - - - - - ---- diff --git a/docs/obs.powershell.websocket.BroadcastCustomEvent.md b/docs/obs.powershell.websocket.BroadcastCustomEvent.md deleted file mode 100644 index 4a563af3c..000000000 --- a/docs/obs.powershell.websocket.BroadcastCustomEvent.md +++ /dev/null @@ -1,92 +0,0 @@ -Send-OBSCustomEvent -------------------- - - - - -### Synopsis -Send-OBSCustomEvent : BroadcastCustomEvent - - - ---- - - -### Description - -Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed. - - -Send-OBSCustomEvent calls the OBS WebSocket with a request of type BroadcastCustomEvent. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#broadcastcustomevent](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#broadcastcustomevent) - - - - - ---- - - -### Parameters -#### **EventData** - -Data payload to emit to all receivers - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSCustomEvent [-EventData] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CallVendorRequest.md b/docs/obs.powershell.websocket.CallVendorRequest.md deleted file mode 100644 index 91ea9061e..000000000 --- a/docs/obs.powershell.websocket.CallVendorRequest.md +++ /dev/null @@ -1,125 +0,0 @@ -Send-OBSCallVendorRequest -------------------------- - - - - -### Synopsis -Send-OBSCallVendorRequest : CallVendorRequest - - - ---- - - -### Description - -Call a request registered to a vendor. - -A vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket. -If a plugin or script implements vendor requests or events, documentation is expected to be provided with them. - - -Send-OBSCallVendorRequest calls the OBS WebSocket with a request of type CallVendorRequest. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#callvendorrequest](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#callvendorrequest) - - - - - ---- - - -### Parameters -#### **VendorName** - -Name of the vendor to use - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **RequestType** - -The request type to call - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **RequestData** - -Object containing appropriate request data - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSCallVendorRequest [-VendorName] [-RequestType] [[-RequestData] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CreateInput.md b/docs/obs.powershell.websocket.CreateInput.md deleted file mode 100644 index f8906181f..000000000 --- a/docs/obs.powershell.websocket.CreateInput.md +++ /dev/null @@ -1,152 +0,0 @@ -Add-OBSInput ------------- - - - - -### Synopsis -Add-OBSInput : CreateInput - - - ---- - - -### Description - -Creates a new input, adding it as a scene item to the specified scene. - - -Add-OBSInput calls the OBS WebSocket with a request of type CreateInput. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createinput](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createinput) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene to add the input to as a scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputName** - -Name of the new input to created - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **InputKind** - -The kind of input to be created - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |3 |true (ByPropertyName)| - - - -#### **InputSettings** - -Settings object to initialize the input with - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|false |4 |true (ByPropertyName)| - - - -#### **SceneItemEnabled** - -Whether to set the created scene item to enabled or disabled - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Add-OBSInput [-SceneName] [-InputName] [-InputKind] [[-InputSettings] ] [-SceneItemEnabled] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CreateProfile.md b/docs/obs.powershell.websocket.CreateProfile.md deleted file mode 100644 index 07234bf23..000000000 --- a/docs/obs.powershell.websocket.CreateProfile.md +++ /dev/null @@ -1,92 +0,0 @@ -Add-OBSProfile --------------- - - - - -### Synopsis -Add-OBSProfile : CreateProfile - - - ---- - - -### Description - -Creates a new profile, switching to it in the process - - -Add-OBSProfile calls the OBS WebSocket with a request of type CreateProfile. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createprofile](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createprofile) - - - - - ---- - - -### Parameters -#### **ProfileName** - -Name for the new profile - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Add-OBSProfile [-ProfileName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CreateScene.md b/docs/obs.powershell.websocket.CreateScene.md deleted file mode 100644 index 9cc37d711..000000000 --- a/docs/obs.powershell.websocket.CreateScene.md +++ /dev/null @@ -1,92 +0,0 @@ -Add-OBSScene ------------- - - - - -### Synopsis -Add-OBSScene : CreateScene - - - ---- - - -### Description - -Creates a new scene in OBS. - - -Add-OBSScene calls the OBS WebSocket with a request of type CreateScene. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscene](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscene) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name for the new scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Add-OBSScene [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CreateSceneCollection.md b/docs/obs.powershell.websocket.CreateSceneCollection.md deleted file mode 100644 index 9eeca7b14..000000000 --- a/docs/obs.powershell.websocket.CreateSceneCollection.md +++ /dev/null @@ -1,94 +0,0 @@ -Add-OBSSceneCollection ----------------------- - - - - -### Synopsis -Add-OBSSceneCollection : CreateSceneCollection - - - ---- - - -### Description - -Creates a new scene collection, switching to it in the process. - -Note: This will block until the collection has finished changing. - - -Add-OBSSceneCollection calls the OBS WebSocket with a request of type CreateSceneCollection. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscenecollection](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscenecollection) - - - - - ---- - - -### Parameters -#### **SceneCollectionName** - -Name for the new scene collection - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Add-OBSSceneCollection [-SceneCollectionName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CreateSceneItem.md b/docs/obs.powershell.websocket.CreateSceneItem.md deleted file mode 100644 index ed0ef7d9c..000000000 --- a/docs/obs.powershell.websocket.CreateSceneItem.md +++ /dev/null @@ -1,124 +0,0 @@ -Add-OBSSceneItem ----------------- - - - - -### Synopsis -Add-OBSSceneItem : CreateSceneItem - - - ---- - - -### Description - -Creates a new scene item using a source. - -Scenes only - - -Add-OBSSceneItem calls the OBS WebSocket with a request of type CreateSceneItem. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsceneitem](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsceneitem) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene to create the new item in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SourceName** - -Name of the source to add to the scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **SceneItemEnabled** - -Enable state to apply to the scene item on creation - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Add-OBSSceneItem [-SceneName] [-SourceName] [-SceneItemEnabled] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.CreateSourceFilter.md b/docs/obs.powershell.websocket.CreateSourceFilter.md deleted file mode 100644 index 3da16df26..000000000 --- a/docs/obs.powershell.websocket.CreateSourceFilter.md +++ /dev/null @@ -1,137 +0,0 @@ -Add-OBSSourceFilter -------------------- - - - - -### Synopsis -Add-OBSSourceFilter : CreateSourceFilter - - - ---- - - -### Description - -Creates a new filter, adding it to the specified source. - - -Add-OBSSourceFilter calls the OBS WebSocket with a request of type CreateSourceFilter. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsourcefilter](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsourcefilter) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source to add the filter to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Name of the new filter to be created - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **FilterKind** - -The kind of filter to be created - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |3 |true (ByPropertyName)| - - - -#### **FilterSettings** - -Settings object to initialize the filter with - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|false |4 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Add-OBSSourceFilter [-SourceName] [-FilterName] [-FilterKind] [[-FilterSettings] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.DuplicateSceneItem.md b/docs/obs.powershell.websocket.DuplicateSceneItem.md deleted file mode 100644 index 34b0ac690..000000000 --- a/docs/obs.powershell.websocket.DuplicateSceneItem.md +++ /dev/null @@ -1,124 +0,0 @@ -Copy-OBSSceneItem ------------------ - - - - -### Synopsis -Copy-OBSSceneItem : DuplicateSceneItem - - - ---- - - -### Description - -Duplicates a scene item, copying all transform and crop info. - -Scenes only - - -Copy-OBSSceneItem calls the OBS WebSocket with a request of type DuplicateSceneItem. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#duplicatesceneitem](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#duplicatesceneitem) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **DestinationSceneName** - -Name of the scene to create the duplicated item in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Copy-OBSSceneItem [-SceneName] [-SceneItemId] [[-DestinationSceneName] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetCurrentPreviewScene.md b/docs/obs.powershell.websocket.GetCurrentPreviewScene.md deleted file mode 100644 index 06325948a..000000000 --- a/docs/obs.powershell.websocket.GetCurrentPreviewScene.md +++ /dev/null @@ -1,90 +0,0 @@ -Get-OBSCurrentPreviewScene --------------------------- - - - - -### Synopsis -Get-OBSCurrentPreviewScene : GetCurrentPreviewScene - - - ---- - - -### Description - -Gets the current preview scene. - -Only available when studio mode is enabled. - - -Get-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type GetCurrentPreviewScene. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentpreviewscene](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentpreviewscene) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSCurrentPreviewScene -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSCurrentPreviewScene [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetCurrentProgramScene.md b/docs/obs.powershell.websocket.GetCurrentProgramScene.md deleted file mode 100644 index 274bce2fa..000000000 --- a/docs/obs.powershell.websocket.GetCurrentProgramScene.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSCurrentProgramScene --------------------------- - - - - -### Synopsis -Get-OBSCurrentProgramScene : GetCurrentProgramScene - - - ---- - - -### Description - -Gets the current program scene. - - -Get-OBSCurrentProgramScene calls the OBS WebSocket with a request of type GetCurrentProgramScene. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentprogramscene](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentprogramscene) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSCurrentProgramScene -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSCurrentProgramScene [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetCurrentSceneTransition.md b/docs/obs.powershell.websocket.GetCurrentSceneTransition.md deleted file mode 100644 index 0161e5545..000000000 --- a/docs/obs.powershell.websocket.GetCurrentSceneTransition.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSCurrentSceneTransition ------------------------------ - - - - -### Synopsis -Get-OBSCurrentSceneTransition : GetCurrentSceneTransition - - - ---- - - -### Description - -Gets information about the current scene transition. - - -Get-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type GetCurrentSceneTransition. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransition](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransition) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSCurrentSceneTransition -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSCurrentSceneTransition [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetCurrentSceneTransitionCursor.md b/docs/obs.powershell.websocket.GetCurrentSceneTransitionCursor.md deleted file mode 100644 index 3eb2a5476..000000000 --- a/docs/obs.powershell.websocket.GetCurrentSceneTransitionCursor.md +++ /dev/null @@ -1,90 +0,0 @@ -Get-OBSCurrentSceneTransitionCursor ------------------------------------ - - - - -### Synopsis -Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor - - - ---- - - -### Description - -Gets the cursor position of the current scene transition. - -Note: `transitionCursor` will return 1.0 when the transition is inactive. - - -Get-OBSCurrentSceneTransitionCursor calls the OBS WebSocket with a request of type GetCurrentSceneTransitionCursor. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransitioncursor](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransitioncursor) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSCurrentSceneTransitionCursor -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSCurrentSceneTransitionCursor [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetGroupList.md b/docs/obs.powershell.websocket.GetGroupList.md deleted file mode 100644 index 7de2f754e..000000000 --- a/docs/obs.powershell.websocket.GetGroupList.md +++ /dev/null @@ -1,90 +0,0 @@ -Get-OBSGroup ------------- - - - - -### Synopsis -Get-OBSGroup : GetGroupList - - - ---- - - -### Description - -Gets an array of all groups in OBS. - -Groups in OBS are actually scenes, but renamed and modified. In obs-websocket, we treat them as scenes where we can. - - -Get-OBSGroup calls the OBS WebSocket with a request of type GetGroupList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgrouplist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgrouplist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSGroup -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSGroup [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetGroupSceneItemList.md b/docs/obs.powershell.websocket.GetGroupSceneItemList.md deleted file mode 100644 index 73300684f..000000000 --- a/docs/obs.powershell.websocket.GetGroupSceneItemList.md +++ /dev/null @@ -1,96 +0,0 @@ -Get-OBSGroupSceneItem ---------------------- - - - - -### Synopsis -Get-OBSGroupSceneItem : GetGroupSceneItemList - - - ---- - - -### Description - -Basically GetSceneItemList, but for groups. - -Using groups at all in OBS is discouraged, as they are very broken under the hood. Please use nested scenes instead. - -Groups only - - -Get-OBSGroupSceneItem calls the OBS WebSocket with a request of type GetGroupSceneItemList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgroupsceneitemlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgroupsceneitemlist) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the group to get the items of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSGroupSceneItem [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetHotkeyList.md b/docs/obs.powershell.websocket.GetHotkeyList.md deleted file mode 100644 index 7035f119c..000000000 --- a/docs/obs.powershell.websocket.GetHotkeyList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSHotkey -------------- - - - - -### Synopsis -Get-OBSHotkey : GetHotkeyList - - - ---- - - -### Description - -Gets an array of all hotkey names in OBS - - -Get-OBSHotkey calls the OBS WebSocket with a request of type GetHotkeyList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gethotkeylist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gethotkeylist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSHotkey -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSHotkey [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputAudioBalance.md b/docs/obs.powershell.websocket.GetInputAudioBalance.md deleted file mode 100644 index 9cc26b9de..000000000 --- a/docs/obs.powershell.websocket.GetInputAudioBalance.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInputAudioBalance ------------------------- - - - - -### Synopsis -Get-OBSInputAudioBalance : GetInputAudioBalance - - - ---- - - -### Description - -Gets the audio balance of an input. - - -Get-OBSInputAudioBalance calls the OBS WebSocket with a request of type GetInputAudioBalance. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiobalance](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiobalance) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to get the audio balance of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputAudioBalance [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputAudioMonitorType.md b/docs/obs.powershell.websocket.GetInputAudioMonitorType.md deleted file mode 100644 index cd83d46b4..000000000 --- a/docs/obs.powershell.websocket.GetInputAudioMonitorType.md +++ /dev/null @@ -1,98 +0,0 @@ -Get-OBSInputAudioMonitorType ----------------------------- - - - - -### Synopsis -Get-OBSInputAudioMonitorType : GetInputAudioMonitorType - - - ---- - - -### Description - -Gets the audio monitor type of an input. - -The available audio monitor types are: - -- `OBS_MONITORING_TYPE_NONE` -- `OBS_MONITORING_TYPE_MONITOR_ONLY` -- `OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT` - - -Get-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type GetInputAudioMonitorType. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiomonitortype](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiomonitortype) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to get the audio monitor type of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputAudioMonitorType [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputAudioSyncOffset.md b/docs/obs.powershell.websocket.GetInputAudioSyncOffset.md deleted file mode 100644 index b0c4e0a26..000000000 --- a/docs/obs.powershell.websocket.GetInputAudioSyncOffset.md +++ /dev/null @@ -1,94 +0,0 @@ -Get-OBSInputAudioSyncOffset ---------------------------- - - - - -### Synopsis -Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset - - - ---- - - -### Description - -Gets the audio sync offset of an input. - -Note: The audio sync offset can be negative too! - - -Get-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type GetInputAudioSyncOffset. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiosyncoffset](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiosyncoffset) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to get the audio sync offset of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputAudioSyncOffset [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputAudioTracks.md b/docs/obs.powershell.websocket.GetInputAudioTracks.md deleted file mode 100644 index 9ba78d8c8..000000000 --- a/docs/obs.powershell.websocket.GetInputAudioTracks.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInputAudioTracks ------------------------ - - - - -### Synopsis -Get-OBSInputAudioTracks : GetInputAudioTracks - - - ---- - - -### Description - -Gets the enable state of all audio tracks of an input. - - -Get-OBSInputAudioTracks calls the OBS WebSocket with a request of type GetInputAudioTracks. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiotracks](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiotracks) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputAudioTracks [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputDefaultSettings.md b/docs/obs.powershell.websocket.GetInputDefaultSettings.md deleted file mode 100644 index 75f5b8413..000000000 --- a/docs/obs.powershell.websocket.GetInputDefaultSettings.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInputDefaultSettings ---------------------------- - - - - -### Synopsis -Get-OBSInputDefaultSettings : GetInputDefaultSettings - - - ---- - - -### Description - -Gets the default settings for an input kind. - - -Get-OBSInputDefaultSettings calls the OBS WebSocket with a request of type GetInputDefaultSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputdefaultsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputdefaultsettings) - - - - - ---- - - -### Parameters -#### **InputKind** - -Input kind to get the default settings for - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputDefaultSettings [-InputKind] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputKindList.md b/docs/obs.powershell.websocket.GetInputKindList.md deleted file mode 100644 index e0d931181..000000000 --- a/docs/obs.powershell.websocket.GetInputKindList.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInputKind ----------------- - - - - -### Synopsis -Get-OBSInputKind : GetInputKindList - - - ---- - - -### Description - -Gets an array of all available input kinds in OBS. - - -Get-OBSInputKind calls the OBS WebSocket with a request of type GetInputKindList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputkindlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputkindlist) - - - - - ---- - - -### Parameters -#### **Unversioned** - -True == Return all kinds as unversioned, False == Return with version suffixes (if available) - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputKind [-Unversioned] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputList.md b/docs/obs.powershell.websocket.GetInputList.md deleted file mode 100644 index de519ef0e..000000000 --- a/docs/obs.powershell.websocket.GetInputList.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInput ------------- - - - - -### Synopsis -Get-OBSInput : GetInputList - - - ---- - - -### Description - -Gets an array of all inputs in OBS. - - -Get-OBSInput calls the OBS WebSocket with a request of type GetInputList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputlist) - - - - - ---- - - -### Parameters -#### **InputKind** - -Restrict the array to only inputs of the specified kind - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInput [[-InputKind] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputMute.md b/docs/obs.powershell.websocket.GetInputMute.md deleted file mode 100644 index fcb7ce789..000000000 --- a/docs/obs.powershell.websocket.GetInputMute.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInputMute ----------------- - - - - -### Synopsis -Get-OBSInputMute : GetInputMute - - - ---- - - -### Description - -Gets the audio mute state of an input. - - -Get-OBSInputMute calls the OBS WebSocket with a request of type GetInputMute. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputmute](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputmute) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of input to get the mute state of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputMute [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputPropertiesListPropertyItems.md b/docs/obs.powershell.websocket.GetInputPropertiesListPropertyItems.md deleted file mode 100644 index 95fe133df..000000000 --- a/docs/obs.powershell.websocket.GetInputPropertiesListPropertyItems.md +++ /dev/null @@ -1,109 +0,0 @@ -Get-OBSInputPropertiesListPropertyItems ---------------------------------------- - - - - -### Synopsis -Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems - - - ---- - - -### Description - -Gets the items of a list property from an input's properties. - -Note: Use this in cases where an input provides a dynamic, selectable list of items. For example, display capture, where it provides a list of available displays. - - -Get-OBSInputPropertiesListPropertyItems calls the OBS WebSocket with a request of type GetInputPropertiesListPropertyItems. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputpropertieslistpropertyitems](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputpropertieslistpropertyitems) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PropertyName** - -Name of the list property to get the items of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputPropertiesListPropertyItems [-InputName] [-PropertyName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputSettings.md b/docs/obs.powershell.websocket.GetInputSettings.md deleted file mode 100644 index c8b91a039..000000000 --- a/docs/obs.powershell.websocket.GetInputSettings.md +++ /dev/null @@ -1,94 +0,0 @@ -Get-OBSInputSettings --------------------- - - - - -### Synopsis -Get-OBSInputSettings : GetInputSettings - - - ---- - - -### Description - -Gets the settings of an input. - -Note: Does not include defaults. To create the entire settings object, overlay `inputSettings` over the `defaultInputSettings` provided by `GetInputDefaultSettings`. - - -Get-OBSInputSettings calls the OBS WebSocket with a request of type GetInputSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputsettings) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to get the settings of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputSettings [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetInputVolume.md b/docs/obs.powershell.websocket.GetInputVolume.md deleted file mode 100644 index d58d7f6cd..000000000 --- a/docs/obs.powershell.websocket.GetInputVolume.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSInputVolume ------------------- - - - - -### Synopsis -Get-OBSInputVolume : GetInputVolume - - - ---- - - -### Description - -Gets the current volume setting of an input. - - -Get-OBSInputVolume calls the OBS WebSocket with a request of type GetInputVolume. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputvolume](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputvolume) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to get the volume of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSInputVolume [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetLastReplayBufferReplay.md b/docs/obs.powershell.websocket.GetLastReplayBufferReplay.md deleted file mode 100644 index 314377c50..000000000 --- a/docs/obs.powershell.websocket.GetLastReplayBufferReplay.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSLastReplayBufferReplay ------------------------------ - - - - -### Synopsis -Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay - - - ---- - - -### Description - -Gets the filename of the last replay buffer save file. - - -Get-OBSLastReplayBufferReplay calls the OBS WebSocket with a request of type GetLastReplayBufferReplay. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getlastreplaybufferreplay](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getlastreplaybufferreplay) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSLastReplayBufferReplay -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSLastReplayBufferReplay [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetMediaInputStatus.md b/docs/obs.powershell.websocket.GetMediaInputStatus.md deleted file mode 100644 index e37c03d5d..000000000 --- a/docs/obs.powershell.websocket.GetMediaInputStatus.md +++ /dev/null @@ -1,103 +0,0 @@ -Get-OBSMediaInputStatus ------------------------ - - - - -### Synopsis -Get-OBSMediaInputStatus : GetMediaInputStatus - - - ---- - - -### Description - -Gets the status of a media input. - -Media States: - -- `OBS_MEDIA_STATE_NONE` -- `OBS_MEDIA_STATE_PLAYING` -- `OBS_MEDIA_STATE_OPENING` -- `OBS_MEDIA_STATE_BUFFERING` -- `OBS_MEDIA_STATE_PAUSED` -- `OBS_MEDIA_STATE_STOPPED` -- `OBS_MEDIA_STATE_ENDED` -- `OBS_MEDIA_STATE_ERROR` - - -Get-OBSMediaInputStatus calls the OBS WebSocket with a request of type GetMediaInputStatus. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmediainputstatus](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmediainputstatus) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the media input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSMediaInputStatus [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetMonitorList.md b/docs/obs.powershell.websocket.GetMonitorList.md deleted file mode 100644 index 79d775f4f..000000000 --- a/docs/obs.powershell.websocket.GetMonitorList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSMonitor --------------- - - - - -### Synopsis -Get-OBSMonitor : GetMonitorList - - - ---- - - -### Description - -Gets a list of connected monitors and information about them. - - -Get-OBSMonitor calls the OBS WebSocket with a request of type GetMonitorList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmonitorlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmonitorlist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSMonitor -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSMonitor [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetOutputList.md b/docs/obs.powershell.websocket.GetOutputList.md deleted file mode 100644 index cd84c3b65..000000000 --- a/docs/obs.powershell.websocket.GetOutputList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSOutput -------------- - - - - -### Synopsis -Get-OBSOutput : GetOutputList - - - ---- - - -### Description - -Gets the list of available outputs. - - -Get-OBSOutput calls the OBS WebSocket with a request of type GetOutputList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputlist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSOutput -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSOutput [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetOutputSettings.md b/docs/obs.powershell.websocket.GetOutputSettings.md deleted file mode 100644 index d2dee659f..000000000 --- a/docs/obs.powershell.websocket.GetOutputSettings.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSOutputSettings ---------------------- - - - - -### Synopsis -Get-OBSOutputSettings : GetOutputSettings - - - ---- - - -### Description - -Gets the settings of an output. - - -Get-OBSOutputSettings calls the OBS WebSocket with a request of type GetOutputSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputsettings) - - - - - ---- - - -### Parameters -#### **OutputName** - -Output name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSOutputSettings [-OutputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetOutputStatus.md b/docs/obs.powershell.websocket.GetOutputStatus.md deleted file mode 100644 index 6a82022ba..000000000 --- a/docs/obs.powershell.websocket.GetOutputStatus.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSOutputStatus -------------------- - - - - -### Synopsis -Get-OBSOutputStatus : GetOutputStatus - - - ---- - - -### Description - -Gets the status of an output. - - -Get-OBSOutputStatus calls the OBS WebSocket with a request of type GetOutputStatus. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputstatus](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputstatus) - - - - - ---- - - -### Parameters -#### **OutputName** - -Output name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSOutputStatus [-OutputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetPersistentData.md b/docs/obs.powershell.websocket.GetPersistentData.md deleted file mode 100644 index 924ebb340..000000000 --- a/docs/obs.powershell.websocket.GetPersistentData.md +++ /dev/null @@ -1,107 +0,0 @@ -Get-OBSPersistentData ---------------------- - - - - -### Synopsis -Get-OBSPersistentData : GetPersistentData - - - ---- - - -### Description - -Gets the value of a "slot" from the selected persistent data realm. - - -Get-OBSPersistentData calls the OBS WebSocket with a request of type GetPersistentData. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getpersistentdata](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getpersistentdata) - - - - - ---- - - -### Parameters -#### **Realm** - -The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SlotName** - -The name of the slot to retrieve data from - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSPersistentData [-Realm] [-SlotName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetProfileList.md b/docs/obs.powershell.websocket.GetProfileList.md deleted file mode 100644 index 5cb9925e9..000000000 --- a/docs/obs.powershell.websocket.GetProfileList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSProfile --------------- - - - - -### Synopsis -Get-OBSProfile : GetProfileList - - - ---- - - -### Description - -Gets an array of all profiles - - -Get-OBSProfile calls the OBS WebSocket with a request of type GetProfileList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofilelist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofilelist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSProfile -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSProfile [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetProfileParameter.md b/docs/obs.powershell.websocket.GetProfileParameter.md deleted file mode 100644 index 578a320cd..000000000 --- a/docs/obs.powershell.websocket.GetProfileParameter.md +++ /dev/null @@ -1,107 +0,0 @@ -Get-OBSProfileParameter ------------------------ - - - - -### Synopsis -Get-OBSProfileParameter : GetProfileParameter - - - ---- - - -### Description - -Gets a parameter from the current profile's configuration. - - -Get-OBSProfileParameter calls the OBS WebSocket with a request of type GetProfileParameter. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofileparameter](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofileparameter) - - - - - ---- - - -### Parameters -#### **ParameterCategory** - -Category of the parameter to get - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **ParameterName** - -Name of the parameter to get - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSProfileParameter [-ParameterCategory] [-ParameterName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetRecordDirectory.md b/docs/obs.powershell.websocket.GetRecordDirectory.md deleted file mode 100644 index c1d1df1d8..000000000 --- a/docs/obs.powershell.websocket.GetRecordDirectory.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSRecordDirectory ----------------------- - - - - -### Synopsis -Get-OBSRecordDirectory : GetRecordDirectory - - - ---- - - -### Description - -Gets the current directory that the record output is set to. - - -Get-OBSRecordDirectory calls the OBS WebSocket with a request of type GetRecordDirectory. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecorddirectory](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecorddirectory) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSRecordDirectory -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSRecordDirectory [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetRecordStatus.md b/docs/obs.powershell.websocket.GetRecordStatus.md deleted file mode 100644 index 0815aa501..000000000 --- a/docs/obs.powershell.websocket.GetRecordStatus.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSRecordStatus -------------------- - - - - -### Synopsis -Get-OBSRecordStatus : GetRecordStatus - - - ---- - - -### Description - -Gets the status of the record output. - - -Get-OBSRecordStatus calls the OBS WebSocket with a request of type GetRecordStatus. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecordstatus](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecordstatus) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSRecordStatus -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSRecordStatus [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetReplayBufferStatus.md b/docs/obs.powershell.websocket.GetReplayBufferStatus.md deleted file mode 100644 index 323b9aa66..000000000 --- a/docs/obs.powershell.websocket.GetReplayBufferStatus.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSReplayBufferStatus -------------------------- - - - - -### Synopsis -Get-OBSReplayBufferStatus : GetReplayBufferStatus - - - ---- - - -### Description - -Gets the status of the replay buffer output. - - -Get-OBSReplayBufferStatus calls the OBS WebSocket with a request of type GetReplayBufferStatus. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getreplaybufferstatus](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getreplaybufferstatus) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSReplayBufferStatus -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSReplayBufferStatus [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneCollectionList.md b/docs/obs.powershell.websocket.GetSceneCollectionList.md deleted file mode 100644 index d3787f3f7..000000000 --- a/docs/obs.powershell.websocket.GetSceneCollectionList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSSceneCollection ----------------------- - - - - -### Synopsis -Get-OBSSceneCollection : GetSceneCollectionList - - - ---- - - -### Description - -Gets an array of all scene collections - - -Get-OBSSceneCollection calls the OBS WebSocket with a request of type GetSceneCollectionList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenecollectionlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenecollectionlist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSSceneCollection -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneCollection [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemBlendMode.md b/docs/obs.powershell.websocket.GetSceneItemBlendMode.md deleted file mode 100644 index 91d1bac1a..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemBlendMode.md +++ /dev/null @@ -1,119 +0,0 @@ -Get-OBSSceneItemBlendMode -------------------------- - - - - -### Synopsis -Get-OBSSceneItemBlendMode : GetSceneItemBlendMode - - - ---- - - -### Description - -Gets the blend mode of a scene item. - -Blend modes: - -- `OBS_BLEND_NORMAL` -- `OBS_BLEND_ADDITIVE` -- `OBS_BLEND_SUBTRACT` -- `OBS_BLEND_SCREEN` -- `OBS_BLEND_MULTIPLY` -- `OBS_BLEND_LIGHTEN` -- `OBS_BLEND_DARKEN` - -Scenes and Groups - - -Get-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type GetSceneItemBlendMode. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemblendmode](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemblendmode) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItemBlendMode [-SceneName] [-SceneItemId] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemEnabled.md b/docs/obs.powershell.websocket.GetSceneItemEnabled.md deleted file mode 100644 index ff916a40c..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemEnabled.md +++ /dev/null @@ -1,109 +0,0 @@ -Get-OBSSceneItemEnabled ------------------------ - - - - -### Synopsis -Get-OBSSceneItemEnabled : GetSceneItemEnabled - - - ---- - - -### Description - -Gets the enable state of a scene item. - -Scenes and Groups - - -Get-OBSSceneItemEnabled calls the OBS WebSocket with a request of type GetSceneItemEnabled. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemenabled](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemenabled) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItemEnabled [-SceneName] [-SceneItemId] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemId.md b/docs/obs.powershell.websocket.GetSceneItemId.md deleted file mode 100644 index 7dda969b0..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemId.md +++ /dev/null @@ -1,124 +0,0 @@ -Get-OBSSceneItemId ------------------- - - - - -### Synopsis -Get-OBSSceneItemId : GetSceneItemId - - - ---- - - -### Description - -Searches a scene for a source, and returns its id. - -Scenes and Groups - - -Get-OBSSceneItemId calls the OBS WebSocket with a request of type GetSceneItemId. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemid](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemid) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene or group to search in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SourceName** - -Name of the source to find - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **SearchOffset** - -Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItemId [-SceneName] [-SourceName] [[-SearchOffset] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemIndex.md b/docs/obs.powershell.websocket.GetSceneItemIndex.md deleted file mode 100644 index 3394792e2..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemIndex.md +++ /dev/null @@ -1,111 +0,0 @@ -Get-OBSSceneItemIndex ---------------------- - - - - -### Synopsis -Get-OBSSceneItemIndex : GetSceneItemIndex - - - ---- - - -### Description - -Gets the index position of a scene item in a scene. - -An index of 0 is at the bottom of the source list in the UI. - -Scenes and Groups - - -Get-OBSSceneItemIndex calls the OBS WebSocket with a request of type GetSceneItemIndex. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemindex](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemindex) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItemIndex [-SceneName] [-SceneItemId] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemList.md b/docs/obs.powershell.websocket.GetSceneItemList.md deleted file mode 100644 index 3b87e0c06..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemList.md +++ /dev/null @@ -1,94 +0,0 @@ -Get-OBSSceneItem ----------------- - - - - -### Synopsis -Get-OBSSceneItem : GetSceneItemList - - - ---- - - -### Description - -Gets a list of all scene items in a scene. - -Scenes only - - -Get-OBSSceneItem calls the OBS WebSocket with a request of type GetSceneItemList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlist) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene to get the items of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItem [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemLocked.md b/docs/obs.powershell.websocket.GetSceneItemLocked.md deleted file mode 100644 index 611057446..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemLocked.md +++ /dev/null @@ -1,109 +0,0 @@ -Get-OBSSceneItemLocked ----------------------- - - - - -### Synopsis -Get-OBSSceneItemLocked : GetSceneItemLocked - - - ---- - - -### Description - -Gets the lock state of a scene item. - -Scenes and Groups - - -Get-OBSSceneItemLocked calls the OBS WebSocket with a request of type GetSceneItemLocked. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlocked](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlocked) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItemLocked [-SceneName] [-SceneItemId] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneItemTransform.md b/docs/obs.powershell.websocket.GetSceneItemTransform.md deleted file mode 100644 index 6d3ba1ae0..000000000 --- a/docs/obs.powershell.websocket.GetSceneItemTransform.md +++ /dev/null @@ -1,109 +0,0 @@ -Get-OBSSceneItemTransform -------------------------- - - - - -### Synopsis -Get-OBSSceneItemTransform : GetSceneItemTransform - - - ---- - - -### Description - -Gets the transform and crop info of a scene item. - -Scenes and Groups - - -Get-OBSSceneItemTransform calls the OBS WebSocket with a request of type GetSceneItemTransform. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemtransform](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemtransform) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneItemTransform [-SceneName] [-SceneItemId] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneList.md b/docs/obs.powershell.websocket.GetSceneList.md deleted file mode 100644 index 84e824406..000000000 --- a/docs/obs.powershell.websocket.GetSceneList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSScene ------------- - - - - -### Synopsis -Get-OBSScene : GetSceneList - - - ---- - - -### Description - -Gets an array of all scenes in OBS. - - -Get-OBSScene calls the OBS WebSocket with a request of type GetSceneList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenelist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenelist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSScene -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSScene [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneSceneTransitionOverride.md b/docs/obs.powershell.websocket.GetSceneSceneTransitionOverride.md deleted file mode 100644 index a85cc7ff1..000000000 --- a/docs/obs.powershell.websocket.GetSceneSceneTransitionOverride.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSSceneSceneTransitionOverride ------------------------------------ - - - - -### Synopsis -Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride - - - ---- - - -### Description - -Gets the scene transition overridden for a scene. - - -Get-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type GetSceneSceneTransitionOverride. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenescenetransitionoverride](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenescenetransitionoverride) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneSceneTransitionOverride [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSceneTransitionList.md b/docs/obs.powershell.websocket.GetSceneTransitionList.md deleted file mode 100644 index 69d38e30a..000000000 --- a/docs/obs.powershell.websocket.GetSceneTransitionList.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSSceneTransition ----------------------- - - - - -### Synopsis -Get-OBSSceneTransition : GetSceneTransitionList - - - ---- - - -### Description - -Gets an array of all scene transitions in OBS. - - -Get-OBSSceneTransition calls the OBS WebSocket with a request of type GetSceneTransitionList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenetransitionlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenetransitionlist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSSceneTransition -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSceneTransition [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSourceActive.md b/docs/obs.powershell.websocket.GetSourceActive.md deleted file mode 100644 index 028f1e93f..000000000 --- a/docs/obs.powershell.websocket.GetSourceActive.md +++ /dev/null @@ -1,94 +0,0 @@ -Get-OBSSourceActive -------------------- - - - - -### Synopsis -Get-OBSSourceActive : GetSourceActive - - - ---- - - -### Description - -Gets the active and show state of a source. - -**Compatible with inputs and scenes.** - - -Get-OBSSourceActive calls the OBS WebSocket with a request of type GetSourceActive. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourceactive](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourceactive) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source to get the active state of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSourceActive [-SourceName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSourceFilter.md b/docs/obs.powershell.websocket.GetSourceFilter.md deleted file mode 100644 index 985ef4727..000000000 --- a/docs/obs.powershell.websocket.GetSourceFilter.md +++ /dev/null @@ -1,107 +0,0 @@ -Get-OBSSourceFilter -------------------- - - - - -### Synopsis -Get-OBSSourceFilter : GetSourceFilter - - - ---- - - -### Description - -Gets the info for a specific source filter. - - -Get-OBSSourceFilter calls the OBS WebSocket with a request of type GetSourceFilter. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilter](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilter) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Name of the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSourceFilter [-SourceName] [-FilterName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSourceFilterDefaultSettings.md b/docs/obs.powershell.websocket.GetSourceFilterDefaultSettings.md deleted file mode 100644 index e6793985a..000000000 --- a/docs/obs.powershell.websocket.GetSourceFilterDefaultSettings.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSSourceFilterDefaultSettings ----------------------------------- - - - - -### Synopsis -Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings - - - ---- - - -### Description - -Gets the default settings for a filter kind. - - -Get-OBSSourceFilterDefaultSettings calls the OBS WebSocket with a request of type GetSourceFilterDefaultSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterdefaultsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterdefaultsettings) - - - - - ---- - - -### Parameters -#### **FilterKind** - -Filter kind to get the default settings for - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSourceFilterDefaultSettings [-FilterKind] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSourceFilterList.md b/docs/obs.powershell.websocket.GetSourceFilterList.md deleted file mode 100644 index dec0d4a8d..000000000 --- a/docs/obs.powershell.websocket.GetSourceFilterList.md +++ /dev/null @@ -1,92 +0,0 @@ -Get-OBSSourceFilterList ------------------------ - - - - -### Synopsis -Get-OBSSourceFilterList : GetSourceFilterList - - - ---- - - -### Description - -Gets an array of all of a source's filters. - - -Get-OBSSourceFilterList calls the OBS WebSocket with a request of type GetSourceFilterList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterlist) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSourceFilterList [-SourceName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSourceScreenshot.md b/docs/obs.powershell.websocket.GetSourceScreenshot.md deleted file mode 100644 index fc86e1c02..000000000 --- a/docs/obs.powershell.websocket.GetSourceScreenshot.md +++ /dev/null @@ -1,157 +0,0 @@ -Get-OBSSourceScreenshot ------------------------ - - - - -### Synopsis -Get-OBSSourceScreenshot : GetSourceScreenshot - - - ---- - - -### Description - -Gets a Base64-encoded screenshot of a source. - -The `imageWidth` and `imageHeight` parameters are treated as "scale to inner", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept. -If `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source. - -**Compatible with inputs and scenes.** - - -Get-OBSSourceScreenshot calls the OBS WebSocket with a request of type GetSourceScreenshot. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcescreenshot](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcescreenshot) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source to take a screenshot of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **ImageFormat** - -Image compression format to use. Use `GetVersion` to get compatible image formats - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **ImageWidth** - -Width to scale the screenshot to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |3 |true (ByPropertyName)| - - - -#### **ImageHeight** - -Height to scale the screenshot to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |4 |true (ByPropertyName)| - - - -#### **ImageCompressionQuality** - -Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |5 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSourceScreenshot [-SourceName] [-ImageFormat] [[-ImageWidth] ] [[-ImageHeight] ] [[-ImageCompressionQuality] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetSpecialInputs.md b/docs/obs.powershell.websocket.GetSpecialInputs.md deleted file mode 100644 index 8a3860359..000000000 --- a/docs/obs.powershell.websocket.GetSpecialInputs.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSSpecialInputs --------------------- - - - - -### Synopsis -Get-OBSSpecialInputs : GetSpecialInputs - - - ---- - - -### Description - -Gets the names of all special inputs. - - -Get-OBSSpecialInputs calls the OBS WebSocket with a request of type GetSpecialInputs. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getspecialinputs](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getspecialinputs) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSSpecialInputs -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSSpecialInputs [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetStats.md b/docs/obs.powershell.websocket.GetStats.md deleted file mode 100644 index fe1ed207b..000000000 --- a/docs/obs.powershell.websocket.GetStats.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSStats ------------- - - - - -### Synopsis -Get-OBSStats : GetStats - - - ---- - - -### Description - -Gets statistics about OBS, obs-websocket, and the current session. - - -Get-OBSStats calls the OBS WebSocket with a request of type GetStats. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstats](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstats) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSStats -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSStats [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetStreamServiceSettings.md b/docs/obs.powershell.websocket.GetStreamServiceSettings.md deleted file mode 100644 index 0ca0c429f..000000000 --- a/docs/obs.powershell.websocket.GetStreamServiceSettings.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSStreamServiceSettings ----------------------------- - - - - -### Synopsis -Get-OBSStreamServiceSettings : GetStreamServiceSettings - - - ---- - - -### Description - -Gets the current stream service settings (stream destination). - - -Get-OBSStreamServiceSettings calls the OBS WebSocket with a request of type GetStreamServiceSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamservicesettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamservicesettings) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSStreamServiceSettings -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSStreamServiceSettings [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetStreamStatus.md b/docs/obs.powershell.websocket.GetStreamStatus.md deleted file mode 100644 index d2f654f53..000000000 --- a/docs/obs.powershell.websocket.GetStreamStatus.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSStreamStatus -------------------- - - - - -### Synopsis -Get-OBSStreamStatus : GetStreamStatus - - - ---- - - -### Description - -Gets the status of the stream output. - - -Get-OBSStreamStatus calls the OBS WebSocket with a request of type GetStreamStatus. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamstatus](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamstatus) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSStreamStatus -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSStreamStatus [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetStudioModeEnabled.md b/docs/obs.powershell.websocket.GetStudioModeEnabled.md deleted file mode 100644 index d35494fdb..000000000 --- a/docs/obs.powershell.websocket.GetStudioModeEnabled.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSStudioModeEnabled ------------------------- - - - - -### Synopsis -Get-OBSStudioModeEnabled : GetStudioModeEnabled - - - ---- - - -### Description - -Gets whether studio is enabled. - - -Get-OBSStudioModeEnabled calls the OBS WebSocket with a request of type GetStudioModeEnabled. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstudiomodeenabled](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstudiomodeenabled) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSStudioModeEnabled -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSStudioModeEnabled [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetTransitionKindList.md b/docs/obs.powershell.websocket.GetTransitionKindList.md deleted file mode 100644 index 02187a4cc..000000000 --- a/docs/obs.powershell.websocket.GetTransitionKindList.md +++ /dev/null @@ -1,90 +0,0 @@ -Get-OBSTransitionKind ---------------------- - - - - -### Synopsis -Get-OBSTransitionKind : GetTransitionKindList - - - ---- - - -### Description - -Gets an array of all available transition kinds. - -Similar to `GetInputKindList` - - -Get-OBSTransitionKind calls the OBS WebSocket with a request of type GetTransitionKindList. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gettransitionkindlist](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gettransitionkindlist) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSTransitionKind -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSTransitionKind [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetVersion.md b/docs/obs.powershell.websocket.GetVersion.md deleted file mode 100644 index 3526d9b5b..000000000 --- a/docs/obs.powershell.websocket.GetVersion.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSVersion --------------- - - - - -### Synopsis -Get-OBSVersion : GetVersion - - - ---- - - -### Description - -Gets data about the current plugin and RPC version. - - -Get-OBSVersion calls the OBS WebSocket with a request of type GetVersion. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getversion](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getversion) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSVersion -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSVersion [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetVideoSettings.md b/docs/obs.powershell.websocket.GetVideoSettings.md deleted file mode 100644 index 398a54212..000000000 --- a/docs/obs.powershell.websocket.GetVideoSettings.md +++ /dev/null @@ -1,90 +0,0 @@ -Get-OBSVideoSettings --------------------- - - - - -### Synopsis -Get-OBSVideoSettings : GetVideoSettings - - - ---- - - -### Description - -Gets the current video settings. - -Note: To get the true FPS value, divide the FPS numerator by the FPS denominator. Example: `60000/1001` - - -Get-OBSVideoSettings calls the OBS WebSocket with a request of type GetVideoSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvideosettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvideosettings) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSVideoSettings -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSVideoSettings [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.GetVirtualCamStatus.md b/docs/obs.powershell.websocket.GetVirtualCamStatus.md deleted file mode 100644 index 7bb3c7090..000000000 --- a/docs/obs.powershell.websocket.GetVirtualCamStatus.md +++ /dev/null @@ -1,88 +0,0 @@ -Get-OBSVirtualCamStatus ------------------------ - - - - -### Synopsis -Get-OBSVirtualCamStatus : GetVirtualCamStatus - - - ---- - - -### Description - -Gets the status of the virtualcam output. - - -Get-OBSVirtualCamStatus calls the OBS WebSocket with a request of type GetVirtualCamStatus. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvirtualcamstatus](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvirtualcamstatus) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Get-OBSVirtualCamStatus -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Get-OBSVirtualCamStatus [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.OffsetMediaInputCursor.md b/docs/obs.powershell.websocket.OffsetMediaInputCursor.md deleted file mode 100644 index d01fa169f..000000000 --- a/docs/obs.powershell.websocket.OffsetMediaInputCursor.md +++ /dev/null @@ -1,109 +0,0 @@ -Send-OBSOffsetMediaInputCursor ------------------------------- - - - - -### Synopsis -Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor - - - ---- - - -### Description - -Offsets the current cursor position of a media input by the specified value. - -This request does not perform bounds checking of the cursor position. - - -Send-OBSOffsetMediaInputCursor calls the OBS WebSocket with a request of type OffsetMediaInputCursor. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#offsetmediainputcursor](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#offsetmediainputcursor) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the media input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **MediaCursorOffset** - -Value to offset the current cursor position by - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSOffsetMediaInputCursor [-InputName] [-MediaCursorOffset] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.OpenInputFiltersDialog.md b/docs/obs.powershell.websocket.OpenInputFiltersDialog.md deleted file mode 100644 index 57ef8fefd..000000000 --- a/docs/obs.powershell.websocket.OpenInputFiltersDialog.md +++ /dev/null @@ -1,92 +0,0 @@ -Open-OBSInputFiltersDialog --------------------------- - - - - -### Synopsis -Open-OBSInputFiltersDialog : OpenInputFiltersDialog - - - ---- - - -### Description - -Opens the filters dialog of an input. - - -Open-OBSInputFiltersDialog calls the OBS WebSocket with a request of type OpenInputFiltersDialog. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputfiltersdialog](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputfiltersdialog) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to open the dialog of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Open-OBSInputFiltersDialog [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.OpenInputInteractDialog.md b/docs/obs.powershell.websocket.OpenInputInteractDialog.md deleted file mode 100644 index f96e239b4..000000000 --- a/docs/obs.powershell.websocket.OpenInputInteractDialog.md +++ /dev/null @@ -1,92 +0,0 @@ -Open-OBSInputInteractDialog ---------------------------- - - - - -### Synopsis -Open-OBSInputInteractDialog : OpenInputInteractDialog - - - ---- - - -### Description - -Opens the interact dialog of an input. - - -Open-OBSInputInteractDialog calls the OBS WebSocket with a request of type OpenInputInteractDialog. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputinteractdialog](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputinteractdialog) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to open the dialog of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Open-OBSInputInteractDialog [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.OpenInputPropertiesDialog.md b/docs/obs.powershell.websocket.OpenInputPropertiesDialog.md deleted file mode 100644 index 1f9f176e4..000000000 --- a/docs/obs.powershell.websocket.OpenInputPropertiesDialog.md +++ /dev/null @@ -1,92 +0,0 @@ -Open-OBSInputPropertiesDialog ------------------------------ - - - - -### Synopsis -Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog - - - ---- - - -### Description - -Opens the properties dialog of an input. - - -Open-OBSInputPropertiesDialog calls the OBS WebSocket with a request of type OpenInputPropertiesDialog. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputpropertiesdialog](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputpropertiesdialog) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to open the dialog of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Open-OBSInputPropertiesDialog [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.OpenSourceProjector.md b/docs/obs.powershell.websocket.OpenSourceProjector.md deleted file mode 100644 index 92480ac2a..000000000 --- a/docs/obs.powershell.websocket.OpenSourceProjector.md +++ /dev/null @@ -1,124 +0,0 @@ -Open-OBSSourceProjector ------------------------ - - - - -### Synopsis -Open-OBSSourceProjector : OpenSourceProjector - - - ---- - - -### Description - -Opens a projector for a source. - -Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release. - - -Open-OBSSourceProjector calls the OBS WebSocket with a request of type OpenSourceProjector. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#opensourceprojector](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#opensourceprojector) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source to open a projector for - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **MonitorIndex** - -Monitor index, use `GetMonitorList` to obtain index - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |2 |true (ByPropertyName)| - - - -#### **ProjectorGeometry** - -Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with `monitorIndex` - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Open-OBSSourceProjector [-SourceName] [[-MonitorIndex] ] [[-ProjectorGeometry] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.OpenVideoMixProjector.md b/docs/obs.powershell.websocket.OpenVideoMixProjector.md deleted file mode 100644 index 4e5a0d4c5..000000000 --- a/docs/obs.powershell.websocket.OpenVideoMixProjector.md +++ /dev/null @@ -1,130 +0,0 @@ -Open-OBSVideoMixProjector -------------------------- - - - - -### Synopsis -Open-OBSVideoMixProjector : OpenVideoMixProjector - - - ---- - - -### Description - -Opens a projector for a specific output video mix. - -Mix types: - -- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PREVIEW` -- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PROGRAM` -- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_MULTIVIEW` - -Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release. - - -Open-OBSVideoMixProjector calls the OBS WebSocket with a request of type OpenVideoMixProjector. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openvideomixprojector](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openvideomixprojector) - - - - - ---- - - -### Parameters -#### **VideoMixType** - -Type of mix to open - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **MonitorIndex** - -Monitor index, use `GetMonitorList` to obtain index - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |2 |true (ByPropertyName)| - - - -#### **ProjectorGeometry** - -Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with `monitorIndex` - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Open-OBSVideoMixProjector [-VideoMixType] [[-MonitorIndex] ] [[-ProjectorGeometry] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.PauseRecord.md b/docs/obs.powershell.websocket.PauseRecord.md deleted file mode 100644 index 6e42b42e4..000000000 --- a/docs/obs.powershell.websocket.PauseRecord.md +++ /dev/null @@ -1,88 +0,0 @@ -Send-OBSPauseRecord -------------------- - - - - -### Synopsis -Send-OBSPauseRecord : PauseRecord - - - ---- - - -### Description - -Pauses the record output. - - -Send-OBSPauseRecord calls the OBS WebSocket with a request of type PauseRecord. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pauserecord](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pauserecord) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Send-OBSPauseRecord -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSPauseRecord [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.PressInputPropertiesButton.md b/docs/obs.powershell.websocket.PressInputPropertiesButton.md deleted file mode 100644 index 98034b9a6..000000000 --- a/docs/obs.powershell.websocket.PressInputPropertiesButton.md +++ /dev/null @@ -1,113 +0,0 @@ -Send-OBSPressInputPropertiesButton ----------------------------------- - - - - -### Synopsis -Send-OBSPressInputPropertiesButton : PressInputPropertiesButton - - - ---- - - -### Description - -Presses a button in the properties of an input. - -Some known `propertyName` values are: - -- `refreshnocache` - Browser source reload button - -Note: Use this in cases where there is a button in the properties of an input that cannot be accessed in any other way. For example, browser sources, where there is a refresh button. - - -Send-OBSPressInputPropertiesButton calls the OBS WebSocket with a request of type PressInputPropertiesButton. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pressinputpropertiesbutton](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pressinputpropertiesbutton) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PropertyName** - -Name of the button property to press - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSPressInputPropertiesButton [-InputName] [-PropertyName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.RemoveInput.md b/docs/obs.powershell.websocket.RemoveInput.md deleted file mode 100644 index 36f82cd55..000000000 --- a/docs/obs.powershell.websocket.RemoveInput.md +++ /dev/null @@ -1,94 +0,0 @@ -Remove-OBSInput ---------------- - - - - -### Synopsis -Remove-OBSInput : RemoveInput - - - ---- - - -### Description - -Removes an existing input. - -Note: Will immediately remove all associated scene items. - - -Remove-OBSInput calls the OBS WebSocket with a request of type RemoveInput. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeinput](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeinput) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to remove - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Remove-OBSInput [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.RemoveProfile.md b/docs/obs.powershell.websocket.RemoveProfile.md deleted file mode 100644 index 38a1f935a..000000000 --- a/docs/obs.powershell.websocket.RemoveProfile.md +++ /dev/null @@ -1,92 +0,0 @@ -Remove-OBSProfile ------------------ - - - - -### Synopsis -Remove-OBSProfile : RemoveProfile - - - ---- - - -### Description - -Removes a profile. If the current profile is chosen, it will change to a different profile first. - - -Remove-OBSProfile calls the OBS WebSocket with a request of type RemoveProfile. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeprofile](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeprofile) - - - - - ---- - - -### Parameters -#### **ProfileName** - -Name of the profile to remove - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Remove-OBSProfile [-ProfileName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.RemoveScene.md b/docs/obs.powershell.websocket.RemoveScene.md deleted file mode 100644 index a0e7db5f7..000000000 --- a/docs/obs.powershell.websocket.RemoveScene.md +++ /dev/null @@ -1,92 +0,0 @@ -Remove-OBSScene ---------------- - - - - -### Synopsis -Remove-OBSScene : RemoveScene - - - ---- - - -### Description - -Removes a scene from OBS. - - -Remove-OBSScene calls the OBS WebSocket with a request of type RemoveScene. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removescene](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removescene) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene to remove - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Remove-OBSScene [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.RemoveSceneItem.md b/docs/obs.powershell.websocket.RemoveSceneItem.md deleted file mode 100644 index 2744195dd..000000000 --- a/docs/obs.powershell.websocket.RemoveSceneItem.md +++ /dev/null @@ -1,109 +0,0 @@ -Remove-OBSSceneItem -------------------- - - - - -### Synopsis -Remove-OBSSceneItem : RemoveSceneItem - - - ---- - - -### Description - -Removes a scene item from a scene. - -Scenes only - - -Remove-OBSSceneItem calls the OBS WebSocket with a request of type RemoveSceneItem. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesceneitem](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesceneitem) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Remove-OBSSceneItem [-SceneName] [-SceneItemId] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.RemoveSourceFilter.md b/docs/obs.powershell.websocket.RemoveSourceFilter.md deleted file mode 100644 index a3f2e266a..000000000 --- a/docs/obs.powershell.websocket.RemoveSourceFilter.md +++ /dev/null @@ -1,107 +0,0 @@ -Remove-OBSSourceFilter ----------------------- - - - - -### Synopsis -Remove-OBSSourceFilter : RemoveSourceFilter - - - ---- - - -### Description - -Removes a filter from a source. - - -Remove-OBSSourceFilter calls the OBS WebSocket with a request of type RemoveSourceFilter. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesourcefilter](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesourcefilter) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source the filter is on - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Name of the filter to remove - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Remove-OBSSourceFilter [-SourceName] [-FilterName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ResumeRecord.md b/docs/obs.powershell.websocket.ResumeRecord.md deleted file mode 100644 index 948447e75..000000000 --- a/docs/obs.powershell.websocket.ResumeRecord.md +++ /dev/null @@ -1,88 +0,0 @@ -Resume-OBSRecord ----------------- - - - - -### Synopsis -Resume-OBSRecord : ResumeRecord - - - ---- - - -### Description - -Resumes the record output. - - -Resume-OBSRecord calls the OBS WebSocket with a request of type ResumeRecord. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#resumerecord](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#resumerecord) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Resume-OBSRecord -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Resume-OBSRecord [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SaveReplayBuffer.md b/docs/obs.powershell.websocket.SaveReplayBuffer.md deleted file mode 100644 index 5df6b5445..000000000 --- a/docs/obs.powershell.websocket.SaveReplayBuffer.md +++ /dev/null @@ -1,88 +0,0 @@ -Save-OBSReplayBuffer --------------------- - - - - -### Synopsis -Save-OBSReplayBuffer : SaveReplayBuffer - - - ---- - - -### Description - -Saves the contents of the replay buffer output. - - -Save-OBSReplayBuffer calls the OBS WebSocket with a request of type SaveReplayBuffer. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savereplaybuffer](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savereplaybuffer) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Save-OBSReplayBuffer -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Save-OBSReplayBuffer [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SaveSourceScreenshot.md b/docs/obs.powershell.websocket.SaveSourceScreenshot.md deleted file mode 100644 index 91f22c107..000000000 --- a/docs/obs.powershell.websocket.SaveSourceScreenshot.md +++ /dev/null @@ -1,172 +0,0 @@ -Save-OBSSourceScreenshot ------------------------- - - - - -### Synopsis -Save-OBSSourceScreenshot : SaveSourceScreenshot - - - ---- - - -### Description - -Saves a screenshot of a source to the filesystem. - -The `imageWidth` and `imageHeight` parameters are treated as "scale to inner", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept. -If `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source. - -**Compatible with inputs and scenes.** - - -Save-OBSSourceScreenshot calls the OBS WebSocket with a request of type SaveSourceScreenshot. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savesourcescreenshot](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savesourcescreenshot) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source to take a screenshot of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **ImageFormat** - -Image compression format to use. Use `GetVersion` to get compatible image formats - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **ImageFilePath** - -Path to save the screenshot file to. Eg. `C:\Users\user\Desktop\screenshot.png` - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |3 |true (ByPropertyName)| - - - -#### **ImageWidth** - -Width to scale the screenshot to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |4 |true (ByPropertyName)| - - - -#### **ImageHeight** - -Height to scale the screenshot to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |5 |true (ByPropertyName)| - - - -#### **ImageCompressionQuality** - -Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |6 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Save-OBSSourceScreenshot [-SourceName] [-ImageFormat] [-ImageFilePath] [[-ImageWidth] ] [[-ImageHeight] ] [[-ImageCompressionQuality] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SendStreamCaption.md b/docs/obs.powershell.websocket.SendStreamCaption.md deleted file mode 100644 index 57631ff1b..000000000 --- a/docs/obs.powershell.websocket.SendStreamCaption.md +++ /dev/null @@ -1,92 +0,0 @@ -Send-OBSStreamCaption ---------------------- - - - - -### Synopsis -Send-OBSStreamCaption : SendStreamCaption - - - ---- - - -### Description - -Sends CEA-608 caption text over the stream output. - - -Send-OBSStreamCaption calls the OBS WebSocket with a request of type SendStreamCaption. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sendstreamcaption](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sendstreamcaption) - - - - - ---- - - -### Parameters -#### **CaptionText** - -Caption text - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSStreamCaption [-CaptionText] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentPreviewScene.md b/docs/obs.powershell.websocket.SetCurrentPreviewScene.md deleted file mode 100644 index 2aaf43f41..000000000 --- a/docs/obs.powershell.websocket.SetCurrentPreviewScene.md +++ /dev/null @@ -1,94 +0,0 @@ -Set-OBSCurrentPreviewScene --------------------------- - - - - -### Synopsis -Set-OBSCurrentPreviewScene : SetCurrentPreviewScene - - - ---- - - -### Description - -Sets the current preview scene. - -Only available when studio mode is enabled. - - -Set-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type SetCurrentPreviewScene. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentpreviewscene](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentpreviewscene) - - - - - ---- - - -### Parameters -#### **SceneName** - -Scene to set as the current preview scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentPreviewScene [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentProfile.md b/docs/obs.powershell.websocket.SetCurrentProfile.md deleted file mode 100644 index 454876e68..000000000 --- a/docs/obs.powershell.websocket.SetCurrentProfile.md +++ /dev/null @@ -1,92 +0,0 @@ -Set-OBSCurrentProfile ---------------------- - - - - -### Synopsis -Set-OBSCurrentProfile : SetCurrentProfile - - - ---- - - -### Description - -Switches to a profile. - - -Set-OBSCurrentProfile calls the OBS WebSocket with a request of type SetCurrentProfile. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprofile](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprofile) - - - - - ---- - - -### Parameters -#### **ProfileName** - -Name of the profile to switch to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentProfile [-ProfileName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentProgramScene.md b/docs/obs.powershell.websocket.SetCurrentProgramScene.md deleted file mode 100644 index 709400d67..000000000 --- a/docs/obs.powershell.websocket.SetCurrentProgramScene.md +++ /dev/null @@ -1,92 +0,0 @@ -Set-OBSCurrentProgramScene --------------------------- - - - - -### Synopsis -Set-OBSCurrentProgramScene : SetCurrentProgramScene - - - ---- - - -### Description - -Sets the current program scene. - - -Set-OBSCurrentProgramScene calls the OBS WebSocket with a request of type SetCurrentProgramScene. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprogramscene](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprogramscene) - - - - - ---- - - -### Parameters -#### **SceneName** - -Scene to set as the current program scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentProgramScene [-SceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentSceneCollection.md b/docs/obs.powershell.websocket.SetCurrentSceneCollection.md deleted file mode 100644 index 80801e062..000000000 --- a/docs/obs.powershell.websocket.SetCurrentSceneCollection.md +++ /dev/null @@ -1,94 +0,0 @@ -Set-OBSCurrentSceneCollection ------------------------------ - - - - -### Synopsis -Set-OBSCurrentSceneCollection : SetCurrentSceneCollection - - - ---- - - -### Description - -Switches to a scene collection. - -Note: This will block until the collection has finished changing. - - -Set-OBSCurrentSceneCollection calls the OBS WebSocket with a request of type SetCurrentSceneCollection. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenecollection](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenecollection) - - - - - ---- - - -### Parameters -#### **SceneCollectionName** - -Name of the scene collection to switch to - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentSceneCollection [-SceneCollectionName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentSceneTransition.md b/docs/obs.powershell.websocket.SetCurrentSceneTransition.md deleted file mode 100644 index ba9b67115..000000000 --- a/docs/obs.powershell.websocket.SetCurrentSceneTransition.md +++ /dev/null @@ -1,94 +0,0 @@ -Set-OBSCurrentSceneTransition ------------------------------ - - - - -### Synopsis -Set-OBSCurrentSceneTransition : SetCurrentSceneTransition - - - ---- - - -### Description - -Sets the current scene transition. - -Small note: While the namespace of scene transitions is generally unique, that uniqueness is not a guarantee as it is with other resources like inputs. - - -Set-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type SetCurrentSceneTransition. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransition](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransition) - - - - - ---- - - -### Parameters -#### **TransitionName** - -Name of the transition to make active - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentSceneTransition [-TransitionName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentSceneTransitionDuration.md b/docs/obs.powershell.websocket.SetCurrentSceneTransitionDuration.md deleted file mode 100644 index 65932b4ad..000000000 --- a/docs/obs.powershell.websocket.SetCurrentSceneTransitionDuration.md +++ /dev/null @@ -1,92 +0,0 @@ -Set-OBSCurrentSceneTransitionDuration -------------------------------------- - - - - -### Synopsis -Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration - - - ---- - - -### Description - -Sets the duration of the current scene transition, if it is not fixed. - - -Set-OBSCurrentSceneTransitionDuration calls the OBS WebSocket with a request of type SetCurrentSceneTransitionDuration. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionduration](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionduration) - - - - - ---- - - -### Parameters -#### **TransitionDuration** - -Duration in milliseconds - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentSceneTransitionDuration [-TransitionDuration] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetCurrentSceneTransitionSettings.md b/docs/obs.powershell.websocket.SetCurrentSceneTransitionSettings.md deleted file mode 100644 index 8a8732108..000000000 --- a/docs/obs.powershell.websocket.SetCurrentSceneTransitionSettings.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSCurrentSceneTransitionSettings -------------------------------------- - - - - -### Synopsis -Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings - - - ---- - - -### Description - -Sets the settings of the current scene transition. - - -Set-OBSCurrentSceneTransitionSettings calls the OBS WebSocket with a request of type SetCurrentSceneTransitionSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionsettings) - - - - - ---- - - -### Parameters -#### **TransitionSettings** - -Settings object to apply to the transition. Can be `{}` - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |1 |true (ByPropertyName)| - - - -#### **Overlay** - -Whether to overlay over the current settings or replace them - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSCurrentSceneTransitionSettings [-TransitionSettings] [-Overlay] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputAudioBalance.md b/docs/obs.powershell.websocket.SetInputAudioBalance.md deleted file mode 100644 index 774fa2cd8..000000000 --- a/docs/obs.powershell.websocket.SetInputAudioBalance.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSInputAudioBalance ------------------------- - - - - -### Synopsis -Set-OBSInputAudioBalance : SetInputAudioBalance - - - ---- - - -### Description - -Sets the audio balance of an input. - - -Set-OBSInputAudioBalance calls the OBS WebSocket with a request of type SetInputAudioBalance. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiobalance](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiobalance) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to set the audio balance of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputAudioBalance** - -New audio balance value - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputAudioBalance [-InputName] [-InputAudioBalance] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputAudioMonitorType.md b/docs/obs.powershell.websocket.SetInputAudioMonitorType.md deleted file mode 100644 index 3278ac6bb..000000000 --- a/docs/obs.powershell.websocket.SetInputAudioMonitorType.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSInputAudioMonitorType ----------------------------- - - - - -### Synopsis -Set-OBSInputAudioMonitorType : SetInputAudioMonitorType - - - ---- - - -### Description - -Sets the audio monitor type of an input. - - -Set-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type SetInputAudioMonitorType. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiomonitortype](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiomonitortype) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to set the audio monitor type of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **MonitorType** - -Audio monitor type - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputAudioMonitorType [-InputName] [-MonitorType] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputAudioSyncOffset.md b/docs/obs.powershell.websocket.SetInputAudioSyncOffset.md deleted file mode 100644 index 373f69323..000000000 --- a/docs/obs.powershell.websocket.SetInputAudioSyncOffset.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSInputAudioSyncOffset ---------------------------- - - - - -### Synopsis -Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset - - - ---- - - -### Description - -Sets the audio sync offset of an input. - - -Set-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type SetInputAudioSyncOffset. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiosyncoffset](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiosyncoffset) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to set the audio sync offset of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputAudioSyncOffset** - -New audio sync offset in milliseconds - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputAudioSyncOffset [-InputName] [-InputAudioSyncOffset] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputAudioTracks.md b/docs/obs.powershell.websocket.SetInputAudioTracks.md deleted file mode 100644 index 54b2e1384..000000000 --- a/docs/obs.powershell.websocket.SetInputAudioTracks.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSInputAudioTracks ------------------------ - - - - -### Synopsis -Set-OBSInputAudioTracks : SetInputAudioTracks - - - ---- - - -### Description - -Sets the enable state of audio tracks of an input. - - -Set-OBSInputAudioTracks calls the OBS WebSocket with a request of type SetInputAudioTracks. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiotracks](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiotracks) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputAudioTracks** - -Track settings to apply - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputAudioTracks [-InputName] [-InputAudioTracks] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputMute.md b/docs/obs.powershell.websocket.SetInputMute.md deleted file mode 100644 index 9391b3dd9..000000000 --- a/docs/obs.powershell.websocket.SetInputMute.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSInputMute ----------------- - - - - -### Synopsis -Set-OBSInputMute : SetInputMute - - - ---- - - -### Description - -Sets the audio mute state of an input. - - -Set-OBSInputMute calls the OBS WebSocket with a request of type SetInputMute. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputmute](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputmute) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to set the mute state of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputMuted** - -Whether to mute the input or not - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|true |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputMute [-InputName] -InputMuted [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputName.md b/docs/obs.powershell.websocket.SetInputName.md deleted file mode 100644 index b2beaa7db..000000000 --- a/docs/obs.powershell.websocket.SetInputName.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSInputName ----------------- - - - - -### Synopsis -Set-OBSInputName : SetInputName - - - ---- - - -### Description - -Sets the name of an input (rename). - - -Set-OBSInputName calls the OBS WebSocket with a request of type SetInputName. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputname](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputname) - - - - - ---- - - -### Parameters -#### **InputName** - -Current input name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **NewInputName** - -New name for the input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputName [-InputName] [-NewInputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputSettings.md b/docs/obs.powershell.websocket.SetInputSettings.md deleted file mode 100644 index b8987bd37..000000000 --- a/docs/obs.powershell.websocket.SetInputSettings.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSInputSettings --------------------- - - - - -### Synopsis -Set-OBSInputSettings : SetInputSettings - - - ---- - - -### Description - -Sets the settings of an input. - - -Set-OBSInputSettings calls the OBS WebSocket with a request of type SetInputSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputsettings) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to set the settings of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputSettings** - -Object of settings to apply - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |2 |true (ByPropertyName)| - - - -#### **Overlay** - -True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputSettings [-InputName] [-InputSettings] [-Overlay] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetInputVolume.md b/docs/obs.powershell.websocket.SetInputVolume.md deleted file mode 100644 index 84c7233d2..000000000 --- a/docs/obs.powershell.websocket.SetInputVolume.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSInputVolume ------------------- - - - - -### Synopsis -Set-OBSInputVolume : SetInputVolume - - - ---- - - -### Description - -Sets the volume setting of an input. - - -Set-OBSInputVolume calls the OBS WebSocket with a request of type SetInputVolume. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputvolume](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputvolume) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to set the volume of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **InputVolumeMul** - -Volume setting in mul - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |2 |true (ByPropertyName)| - - - -#### **InputVolumeDb** - -Volume setting in dB - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSInputVolume [-InputName] [[-InputVolumeMul] ] [[-InputVolumeDb] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetMediaInputCursor.md b/docs/obs.powershell.websocket.SetMediaInputCursor.md deleted file mode 100644 index 0e2ee72e2..000000000 --- a/docs/obs.powershell.websocket.SetMediaInputCursor.md +++ /dev/null @@ -1,109 +0,0 @@ -Set-OBSMediaInputCursor ------------------------ - - - - -### Synopsis -Set-OBSMediaInputCursor : SetMediaInputCursor - - - ---- - - -### Description - -Sets the cursor position of a media input. - -This request does not perform bounds checking of the cursor position. - - -Set-OBSMediaInputCursor calls the OBS WebSocket with a request of type SetMediaInputCursor. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setmediainputcursor](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setmediainputcursor) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the media input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **MediaCursor** - -New cursor position to set - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSMediaInputCursor [-InputName] [-MediaCursor] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetOutputSettings.md b/docs/obs.powershell.websocket.SetOutputSettings.md deleted file mode 100644 index 45aa3e84c..000000000 --- a/docs/obs.powershell.websocket.SetOutputSettings.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSOutputSettings ---------------------- - - - - -### Synopsis -Set-OBSOutputSettings : SetOutputSettings - - - ---- - - -### Description - -Sets the settings of an output. - - -Set-OBSOutputSettings calls the OBS WebSocket with a request of type SetOutputSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setoutputsettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setoutputsettings) - - - - - ---- - - -### Parameters -#### **OutputName** - -Output name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **OutputSettings** - -Output settings - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSOutputSettings [-OutputName] [-OutputSettings] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetPersistentData.md b/docs/obs.powershell.websocket.SetPersistentData.md deleted file mode 100644 index 63d86aa88..000000000 --- a/docs/obs.powershell.websocket.SetPersistentData.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSPersistentData ---------------------- - - - - -### Synopsis -Set-OBSPersistentData : SetPersistentData - - - ---- - - -### Description - -Sets the value of a "slot" from the selected persistent data realm. - - -Set-OBSPersistentData calls the OBS WebSocket with a request of type SetPersistentData. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setpersistentdata](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setpersistentdata) - - - - - ---- - - -### Parameters -#### **Realm** - -The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SlotName** - -The name of the slot to retrieve data from - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **SlotValue** - -The value to apply to the slot - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSPersistentData [-Realm] [-SlotName] [-SlotValue] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetProfileParameter.md b/docs/obs.powershell.websocket.SetProfileParameter.md deleted file mode 100644 index b01f12191..000000000 --- a/docs/obs.powershell.websocket.SetProfileParameter.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSProfileParameter ------------------------ - - - - -### Synopsis -Set-OBSProfileParameter : SetProfileParameter - - - ---- - - -### Description - -Sets the value of a parameter in the current profile's configuration. - - -Set-OBSProfileParameter calls the OBS WebSocket with a request of type SetProfileParameter. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setprofileparameter](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setprofileparameter) - - - - - ---- - - -### Parameters -#### **ParameterCategory** - -Category of the parameter to set - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **ParameterName** - -Name of the parameter to set - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **ParameterValue** - -Value of the parameter to set. Use `null` to delete - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSProfileParameter [-ParameterCategory] [-ParameterName] [-ParameterValue] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetRecordDirectory.md b/docs/obs.powershell.websocket.SetRecordDirectory.md deleted file mode 100644 index ac5a0365c..000000000 --- a/docs/obs.powershell.websocket.SetRecordDirectory.md +++ /dev/null @@ -1,92 +0,0 @@ -Set-OBSRecordDirectory ----------------------- - - - - -### Synopsis -Set-OBSRecordDirectory : SetRecordDirectory - - - ---- - - -### Description - -Sets the current directory that the record output writes files to. - - -Set-OBSRecordDirectory calls the OBS WebSocket with a request of type SetRecordDirectory. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setrecorddirectory](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setrecorddirectory) - - - - - ---- - - -### Parameters -#### **RecordDirectory** - -Output directory - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSRecordDirectory [-RecordDirectory] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneItemBlendMode.md b/docs/obs.powershell.websocket.SetSceneItemBlendMode.md deleted file mode 100644 index 1b70e4a30..000000000 --- a/docs/obs.powershell.websocket.SetSceneItemBlendMode.md +++ /dev/null @@ -1,124 +0,0 @@ -Set-OBSSceneItemBlendMode -------------------------- - - - - -### Synopsis -Set-OBSSceneItemBlendMode : SetSceneItemBlendMode - - - ---- - - -### Description - -Sets the blend mode of a scene item. - -Scenes and Groups - - -Set-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type SetSceneItemBlendMode. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemblendmode](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemblendmode) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **SceneItemBlendMode** - -New blend mode - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneItemBlendMode [-SceneName] [-SceneItemId] [-SceneItemBlendMode] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneItemEnabled.md b/docs/obs.powershell.websocket.SetSceneItemEnabled.md deleted file mode 100644 index 697e6d04b..000000000 --- a/docs/obs.powershell.websocket.SetSceneItemEnabled.md +++ /dev/null @@ -1,124 +0,0 @@ -Set-OBSSceneItemEnabled ------------------------ - - - - -### Synopsis -Set-OBSSceneItemEnabled : SetSceneItemEnabled - - - ---- - - -### Description - -Sets the enable state of a scene item. - -Scenes and Groups - - -Set-OBSSceneItemEnabled calls the OBS WebSocket with a request of type SetSceneItemEnabled. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemenabled](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemenabled) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **SceneItemEnabled** - -New enable state of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|true |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneItemEnabled [-SceneName] [-SceneItemId] -SceneItemEnabled [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneItemIndex.md b/docs/obs.powershell.websocket.SetSceneItemIndex.md deleted file mode 100644 index 87843f495..000000000 --- a/docs/obs.powershell.websocket.SetSceneItemIndex.md +++ /dev/null @@ -1,124 +0,0 @@ -Set-OBSSceneItemIndex ---------------------- - - - - -### Synopsis -Set-OBSSceneItemIndex : SetSceneItemIndex - - - ---- - - -### Description - -Sets the index position of a scene item in a scene. - -Scenes and Groups - - -Set-OBSSceneItemIndex calls the OBS WebSocket with a request of type SetSceneItemIndex. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemindex](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemindex) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **SceneItemIndex** - -New index position of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneItemIndex [-SceneName] [-SceneItemId] [-SceneItemIndex] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneItemLocked.md b/docs/obs.powershell.websocket.SetSceneItemLocked.md deleted file mode 100644 index 387d1c01d..000000000 --- a/docs/obs.powershell.websocket.SetSceneItemLocked.md +++ /dev/null @@ -1,124 +0,0 @@ -Set-OBSSceneItemLocked ----------------------- - - - - -### Synopsis -Set-OBSSceneItemLocked : SetSceneItemLocked - - - ---- - - -### Description - -Sets the lock state of a scene item. - -Scenes and Group - - -Set-OBSSceneItemLocked calls the OBS WebSocket with a request of type SetSceneItemLocked. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemlocked](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemlocked) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **SceneItemLocked** - -New lock state of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|true |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneItemLocked [-SceneName] [-SceneItemId] -SceneItemLocked [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneItemTransform.md b/docs/obs.powershell.websocket.SetSceneItemTransform.md deleted file mode 100644 index fe924a00d..000000000 --- a/docs/obs.powershell.websocket.SetSceneItemTransform.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSSceneItemTransform -------------------------- - - - - -### Synopsis -Set-OBSSceneItemTransform : SetSceneItemTransform - - - ---- - - -### Description - -Sets the transform and crop info of a scene item. - - -Set-OBSSceneItemTransform calls the OBS WebSocket with a request of type SetSceneItemTransform. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemtransform](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemtransform) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene the item is in - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **SceneItemId** - -Numeric ID of the scene item - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |2 |true (ByPropertyName)| - - - -#### **SceneItemTransform** - -Object containing scene item transform info to update - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneItemTransform [-SceneName] [-SceneItemId] [-SceneItemTransform] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneName.md b/docs/obs.powershell.websocket.SetSceneName.md deleted file mode 100644 index efe616894..000000000 --- a/docs/obs.powershell.websocket.SetSceneName.md +++ /dev/null @@ -1,107 +0,0 @@ -Set-OBSSceneName ----------------- - - - - -### Synopsis -Set-OBSSceneName : SetSceneName - - - ---- - - -### Description - -Sets the name of a scene (rename). - - -Set-OBSSceneName calls the OBS WebSocket with a request of type SetSceneName. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenename](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenename) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene to be renamed - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **NewSceneName** - -New name for the scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneName [-SceneName] [-NewSceneName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md b/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md deleted file mode 100644 index 19dbb9101..000000000 --- a/docs/obs.powershell.websocket.SetSceneSceneTransitionOverride.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSSceneSceneTransitionOverride ------------------------------------ - - - - -### Synopsis -Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride - - - ---- - - -### Description - -Sets the scene transition overridden for a scene. - - -Set-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenescenetransitionoverride](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenescenetransitionoverride) - - - - - ---- - - -### Parameters -#### **SceneName** - -Name of the scene - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **TransitionName** - -Name of the scene transition to use as override. Specify `null` to remove - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |2 |true (ByPropertyName)| - - - -#### **TransitionDuration** - -Duration to use for any overridden transition. Specify `null` to remove - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSceneSceneTransitionOverride [-SceneName] [[-TransitionName] ] [[-TransitionDuration] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSourceFilterEnabled.md b/docs/obs.powershell.websocket.SetSourceFilterEnabled.md deleted file mode 100644 index 88cce3794..000000000 --- a/docs/obs.powershell.websocket.SetSourceFilterEnabled.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSSourceFilterEnabled --------------------------- - - - - -### Synopsis -Set-OBSSourceFilterEnabled : SetSourceFilterEnabled - - - ---- - - -### Description - -Sets the enable state of a source filter. - - -Set-OBSSourceFilterEnabled calls the OBS WebSocket with a request of type SetSourceFilterEnabled. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterenabled](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterenabled) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source the filter is on - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Name of the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **FilterEnabled** - -New enable state of the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|true |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSourceFilterEnabled [-SourceName] [-FilterName] -FilterEnabled [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSourceFilterIndex.md b/docs/obs.powershell.websocket.SetSourceFilterIndex.md deleted file mode 100644 index b1a89a7a6..000000000 --- a/docs/obs.powershell.websocket.SetSourceFilterIndex.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSSourceFilterIndex ------------------------- - - - - -### Synopsis -Set-OBSSourceFilterIndex : SetSourceFilterIndex - - - ---- - - -### Description - -Sets the index position of a filter on a source. - - -Set-OBSSourceFilterIndex calls the OBS WebSocket with a request of type SetSourceFilterIndex. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterindex](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterindex) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source the filter is on - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Name of the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **FilterIndex** - -New index position of the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSourceFilterIndex [-SourceName] [-FilterName] [-FilterIndex] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSourceFilterName.md b/docs/obs.powershell.websocket.SetSourceFilterName.md deleted file mode 100644 index ad99f9cb4..000000000 --- a/docs/obs.powershell.websocket.SetSourceFilterName.md +++ /dev/null @@ -1,122 +0,0 @@ -Set-OBSSourceFilterName ------------------------ - - - - -### Synopsis -Set-OBSSourceFilterName : SetSourceFilterName - - - ---- - - -### Description - -Sets the name of a source filter (rename). - - -Set-OBSSourceFilterName calls the OBS WebSocket with a request of type SetSourceFilterName. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltername](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltername) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source the filter is on - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Current name of the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **NewFilterName** - -New name for the filter - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |3 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSourceFilterName [-SourceName] [-FilterName] [-NewFilterName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetSourceFilterSettings.md b/docs/obs.powershell.websocket.SetSourceFilterSettings.md deleted file mode 100644 index df2aca9c6..000000000 --- a/docs/obs.powershell.websocket.SetSourceFilterSettings.md +++ /dev/null @@ -1,137 +0,0 @@ -Set-OBSSourceFilterSettings ---------------------------- - - - - -### Synopsis -Set-OBSSourceFilterSettings : SetSourceFilterSettings - - - ---- - - -### Description - -Sets the settings of a source filter. - - -Set-OBSSourceFilterSettings calls the OBS WebSocket with a request of type SetSourceFilterSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltersettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltersettings) - - - - - ---- - - -### Parameters -#### **SourceName** - -Name of the source the filter is on - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **FilterName** - -Name of the filter to set the settings of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **FilterSettings** - -Object of settings to apply - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |3 |true (ByPropertyName)| - - - -#### **Overlay** - -True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSSourceFilterSettings [-SourceName] [-FilterName] [-FilterSettings] [-Overlay] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetStreamServiceSettings.md b/docs/obs.powershell.websocket.SetStreamServiceSettings.md deleted file mode 100644 index 30231c684..000000000 --- a/docs/obs.powershell.websocket.SetStreamServiceSettings.md +++ /dev/null @@ -1,109 +0,0 @@ -Set-OBSStreamServiceSettings ----------------------------- - - - - -### Synopsis -Set-OBSStreamServiceSettings : SetStreamServiceSettings - - - ---- - - -### Description - -Sets the current stream service settings (stream destination). - -Note: Simple RTMP settings can be set with type `rtmp_custom` and the settings fields `server` and `key`. - - -Set-OBSStreamServiceSettings calls the OBS WebSocket with a request of type SetStreamServiceSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstreamservicesettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstreamservicesettings) - - - - - ---- - - -### Parameters -#### **StreamServiceType** - -Type of stream service to apply. Example: `rtmp_common` or `rtmp_custom` - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **StreamServiceSettings** - -Settings to apply to the service - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSStreamServiceSettings [-StreamServiceType] [-StreamServiceSettings] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetStudioModeEnabled.md b/docs/obs.powershell.websocket.SetStudioModeEnabled.md deleted file mode 100644 index 313672e51..000000000 --- a/docs/obs.powershell.websocket.SetStudioModeEnabled.md +++ /dev/null @@ -1,92 +0,0 @@ -Set-OBSStudioModeEnabled ------------------------- - - - - -### Synopsis -Set-OBSStudioModeEnabled : SetStudioModeEnabled - - - ---- - - -### Description - -Enables or disables studio mode - - -Set-OBSStudioModeEnabled calls the OBS WebSocket with a request of type SetStudioModeEnabled. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstudiomodeenabled](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstudiomodeenabled) - - - - - ---- - - -### Parameters -#### **StudioModeEnabled** - -True == Enabled, False == Disabled - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|true |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSStudioModeEnabled -StudioModeEnabled [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetTBarPosition.md b/docs/obs.powershell.websocket.SetTBarPosition.md deleted file mode 100644 index 0f03db0ba..000000000 --- a/docs/obs.powershell.websocket.SetTBarPosition.md +++ /dev/null @@ -1,109 +0,0 @@ -Set-OBSTBarPosition -------------------- - - - - -### Synopsis -Set-OBSTBarPosition : SetTBarPosition - - - ---- - - -### Description - -Sets the position of the TBar. - -**Very important note**: This will be deprecated and replaced in a future version of obs-websocket. - - -Set-OBSTBarPosition calls the OBS WebSocket with a request of type SetTBarPosition. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#settbarposition](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#settbarposition) - - - - - ---- - - -### Parameters -#### **Position** - -New position - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|true |1 |true (ByPropertyName)| - - - -#### **Release** - -Whether to release the TBar. Only set `false` if you know that you will be sending another position update - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSTBarPosition [-Position] [-Release] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.SetVideoSettings.md b/docs/obs.powershell.websocket.SetVideoSettings.md deleted file mode 100644 index f478f403d..000000000 --- a/docs/obs.powershell.websocket.SetVideoSettings.md +++ /dev/null @@ -1,169 +0,0 @@ -Set-OBSVideoSettings --------------------- - - - - -### Synopsis -Set-OBSVideoSettings : SetVideoSettings - - - ---- - - -### Description - -Sets the current video settings. - -Note: Fields must be specified in pairs. For example, you cannot set only `baseWidth` without needing to specify `baseHeight`. - - -Set-OBSVideoSettings calls the OBS WebSocket with a request of type SetVideoSettings. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setvideosettings](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setvideosettings) - - - - - ---- - - -### Parameters -#### **FpsNumerator** - -Numerator of the fractional FPS value - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |1 |true (ByPropertyName)| - - - -#### **FpsDenominator** - -Denominator of the fractional FPS value - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |2 |true (ByPropertyName)| - - - -#### **BaseWidth** - -Width of the base (canvas) resolution in pixels - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |3 |true (ByPropertyName)| - - - -#### **BaseHeight** - -Height of the base (canvas) resolution in pixels - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |4 |true (ByPropertyName)| - - - -#### **OutputWidth** - -Width of the output resolution in pixels - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |5 |true (ByPropertyName)| - - - -#### **OutputHeight** - -Height of the output resolution in pixels - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |6 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Set-OBSVideoSettings [[-FpsNumerator] ] [[-FpsDenominator] ] [[-BaseWidth] ] [[-BaseHeight] ] [[-OutputWidth] ] [[-OutputHeight] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.Sleep.md b/docs/obs.powershell.websocket.Sleep.md deleted file mode 100644 index 1a6166d3d..000000000 --- a/docs/obs.powershell.websocket.Sleep.md +++ /dev/null @@ -1,107 +0,0 @@ -Send-OBSSleep -------------- - - - - -### Synopsis -Send-OBSSleep : Sleep - - - ---- - - -### Description - -Sleeps for a time duration or number of frames. Only available in request batches with types `SERIAL_REALTIME` or `SERIAL_FRAME`. - - -Send-OBSSleep calls the OBS WebSocket with a request of type Sleep. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sleep](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sleep) - - - - - ---- - - -### Parameters -#### **SleepMillis** - -Number of milliseconds to sleep for (if `SERIAL_REALTIME` mode) - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |1 |true (ByPropertyName)| - - - -#### **SleepFrames** - -Number of frames to sleep for (if `SERIAL_FRAME` mode) - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Double]`|false |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSSleep [[-SleepMillis] ] [[-SleepFrames] ] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StartOutput.md b/docs/obs.powershell.websocket.StartOutput.md deleted file mode 100644 index cd52dfb0d..000000000 --- a/docs/obs.powershell.websocket.StartOutput.md +++ /dev/null @@ -1,92 +0,0 @@ -Start-OBSOutput ---------------- - - - - -### Synopsis -Start-OBSOutput : StartOutput - - - ---- - - -### Description - -Starts an output. - - -Start-OBSOutput calls the OBS WebSocket with a request of type StartOutput. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startoutput](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startoutput) - - - - - ---- - - -### Parameters -#### **OutputName** - -Output name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Start-OBSOutput [-OutputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StartRecord.md b/docs/obs.powershell.websocket.StartRecord.md deleted file mode 100644 index d3dcefe26..000000000 --- a/docs/obs.powershell.websocket.StartRecord.md +++ /dev/null @@ -1,88 +0,0 @@ -Start-OBSRecord ---------------- - - - - -### Synopsis -Start-OBSRecord : StartRecord - - - ---- - - -### Description - -Starts the record output. - - -Start-OBSRecord calls the OBS WebSocket with a request of type StartRecord. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startrecord](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startrecord) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Start-OBSRecord -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Start-OBSRecord [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StartReplayBuffer.md b/docs/obs.powershell.websocket.StartReplayBuffer.md deleted file mode 100644 index d4010d202..000000000 --- a/docs/obs.powershell.websocket.StartReplayBuffer.md +++ /dev/null @@ -1,88 +0,0 @@ -Start-OBSReplayBuffer ---------------------- - - - - -### Synopsis -Start-OBSReplayBuffer : StartReplayBuffer - - - ---- - - -### Description - -Starts the replay buffer output. - - -Start-OBSReplayBuffer calls the OBS WebSocket with a request of type StartReplayBuffer. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startreplaybuffer](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startreplaybuffer) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Start-OBSReplayBuffer -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Start-OBSReplayBuffer [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StartStream.md b/docs/obs.powershell.websocket.StartStream.md deleted file mode 100644 index 5dc6e683c..000000000 --- a/docs/obs.powershell.websocket.StartStream.md +++ /dev/null @@ -1,88 +0,0 @@ -Start-OBSStream ---------------- - - - - -### Synopsis -Start-OBSStream : StartStream - - - ---- - - -### Description - -Starts the stream output. - - -Start-OBSStream calls the OBS WebSocket with a request of type StartStream. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startstream](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startstream) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Start-OBSStream -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Start-OBSStream [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StartVirtualCam.md b/docs/obs.powershell.websocket.StartVirtualCam.md deleted file mode 100644 index 20036275e..000000000 --- a/docs/obs.powershell.websocket.StartVirtualCam.md +++ /dev/null @@ -1,88 +0,0 @@ -Start-OBSVirtualCam -------------------- - - - - -### Synopsis -Start-OBSVirtualCam : StartVirtualCam - - - ---- - - -### Description - -Starts the virtualcam output. - - -Start-OBSVirtualCam calls the OBS WebSocket with a request of type StartVirtualCam. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startvirtualcam](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startvirtualcam) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Start-OBSVirtualCam -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Start-OBSVirtualCam [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StopOutput.md b/docs/obs.powershell.websocket.StopOutput.md deleted file mode 100644 index f19cf0381..000000000 --- a/docs/obs.powershell.websocket.StopOutput.md +++ /dev/null @@ -1,92 +0,0 @@ -Stop-OBSOutput --------------- - - - - -### Synopsis -Stop-OBSOutput : StopOutput - - - ---- - - -### Description - -Stops an output. - - -Stop-OBSOutput calls the OBS WebSocket with a request of type StopOutput. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopoutput](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopoutput) - - - - - ---- - - -### Parameters -#### **OutputName** - -Output name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Stop-OBSOutput [-OutputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StopRecord.md b/docs/obs.powershell.websocket.StopRecord.md deleted file mode 100644 index a9379ed9d..000000000 --- a/docs/obs.powershell.websocket.StopRecord.md +++ /dev/null @@ -1,88 +0,0 @@ -Stop-OBSRecord --------------- - - - - -### Synopsis -Stop-OBSRecord : StopRecord - - - ---- - - -### Description - -Stops the record output. - - -Stop-OBSRecord calls the OBS WebSocket with a request of type StopRecord. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stoprecord](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stoprecord) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Stop-OBSRecord -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Stop-OBSRecord [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StopReplayBuffer.md b/docs/obs.powershell.websocket.StopReplayBuffer.md deleted file mode 100644 index 23577ff8c..000000000 --- a/docs/obs.powershell.websocket.StopReplayBuffer.md +++ /dev/null @@ -1,88 +0,0 @@ -Stop-OBSReplayBuffer --------------------- - - - - -### Synopsis -Stop-OBSReplayBuffer : StopReplayBuffer - - - ---- - - -### Description - -Stops the replay buffer output. - - -Stop-OBSReplayBuffer calls the OBS WebSocket with a request of type StopReplayBuffer. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopreplaybuffer](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopreplaybuffer) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Stop-OBSReplayBuffer -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Stop-OBSReplayBuffer [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StopStream.md b/docs/obs.powershell.websocket.StopStream.md deleted file mode 100644 index 03af55d3a..000000000 --- a/docs/obs.powershell.websocket.StopStream.md +++ /dev/null @@ -1,88 +0,0 @@ -Stop-OBSStream --------------- - - - - -### Synopsis -Stop-OBSStream : StopStream - - - ---- - - -### Description - -Stops the stream output. - - -Stop-OBSStream calls the OBS WebSocket with a request of type StopStream. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopstream](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopstream) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Stop-OBSStream -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Stop-OBSStream [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.StopVirtualCam.md b/docs/obs.powershell.websocket.StopVirtualCam.md deleted file mode 100644 index 182a457b7..000000000 --- a/docs/obs.powershell.websocket.StopVirtualCam.md +++ /dev/null @@ -1,88 +0,0 @@ -Stop-OBSVirtualCam ------------------- - - - - -### Synopsis -Stop-OBSVirtualCam : StopVirtualCam - - - ---- - - -### Description - -Stops the virtualcam output. - - -Stop-OBSVirtualCam calls the OBS WebSocket with a request of type StopVirtualCam. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopvirtualcam](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopvirtualcam) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Stop-OBSVirtualCam -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Stop-OBSVirtualCam [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleInputMute.md b/docs/obs.powershell.websocket.ToggleInputMute.md deleted file mode 100644 index 6ebc3a2a8..000000000 --- a/docs/obs.powershell.websocket.ToggleInputMute.md +++ /dev/null @@ -1,92 +0,0 @@ -Switch-OBSInputMute -------------------- - - - - -### Synopsis -Switch-OBSInputMute : ToggleInputMute - - - ---- - - -### Description - -Toggles the audio mute state of an input. - - -Switch-OBSInputMute calls the OBS WebSocket with a request of type ToggleInputMute. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleinputmute](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleinputmute) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the input to toggle the mute state of - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSInputMute [-InputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleOutput.md b/docs/obs.powershell.websocket.ToggleOutput.md deleted file mode 100644 index 36e097aeb..000000000 --- a/docs/obs.powershell.websocket.ToggleOutput.md +++ /dev/null @@ -1,92 +0,0 @@ -Switch-OBSOutput ----------------- - - - - -### Synopsis -Switch-OBSOutput : ToggleOutput - - - ---- - - -### Description - -Toggles the status of an output. - - -Switch-OBSOutput calls the OBS WebSocket with a request of type ToggleOutput. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleoutput](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleoutput) - - - - - ---- - - -### Parameters -#### **OutputName** - -Output name - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSOutput [-OutputName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleRecord.md b/docs/obs.powershell.websocket.ToggleRecord.md deleted file mode 100644 index 48470acac..000000000 --- a/docs/obs.powershell.websocket.ToggleRecord.md +++ /dev/null @@ -1,88 +0,0 @@ -Switch-OBSRecord ----------------- - - - - -### Synopsis -Switch-OBSRecord : ToggleRecord - - - ---- - - -### Description - -Toggles the status of the record output. - - -Switch-OBSRecord calls the OBS WebSocket with a request of type ToggleRecord. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecord](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecord) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Switch-OBSRecord -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSRecord [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleRecordPause.md b/docs/obs.powershell.websocket.ToggleRecordPause.md deleted file mode 100644 index 6baff9673..000000000 --- a/docs/obs.powershell.websocket.ToggleRecordPause.md +++ /dev/null @@ -1,88 +0,0 @@ -Switch-OBSRecordPause ---------------------- - - - - -### Synopsis -Switch-OBSRecordPause : ToggleRecordPause - - - ---- - - -### Description - -Toggles pause on the record output. - - -Switch-OBSRecordPause calls the OBS WebSocket with a request of type ToggleRecordPause. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecordpause](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecordpause) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Switch-OBSRecordPause -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSRecordPause [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleReplayBuffer.md b/docs/obs.powershell.websocket.ToggleReplayBuffer.md deleted file mode 100644 index b331182b5..000000000 --- a/docs/obs.powershell.websocket.ToggleReplayBuffer.md +++ /dev/null @@ -1,88 +0,0 @@ -Switch-OBSReplayBuffer ----------------------- - - - - -### Synopsis -Switch-OBSReplayBuffer : ToggleReplayBuffer - - - ---- - - -### Description - -Toggles the state of the replay buffer output. - - -Switch-OBSReplayBuffer calls the OBS WebSocket with a request of type ToggleReplayBuffer. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglereplaybuffer](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglereplaybuffer) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Switch-OBSReplayBuffer -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSReplayBuffer [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleStream.md b/docs/obs.powershell.websocket.ToggleStream.md deleted file mode 100644 index 9072b3c8d..000000000 --- a/docs/obs.powershell.websocket.ToggleStream.md +++ /dev/null @@ -1,88 +0,0 @@ -Switch-OBSStream ----------------- - - - - -### Synopsis -Switch-OBSStream : ToggleStream - - - ---- - - -### Description - -Toggles the status of the stream output. - - -Switch-OBSStream calls the OBS WebSocket with a request of type ToggleStream. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglestream](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglestream) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Switch-OBSStream -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSStream [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.ToggleVirtualCam.md b/docs/obs.powershell.websocket.ToggleVirtualCam.md deleted file mode 100644 index 93fa66c5c..000000000 --- a/docs/obs.powershell.websocket.ToggleVirtualCam.md +++ /dev/null @@ -1,88 +0,0 @@ -Switch-OBSVirtualCam --------------------- - - - - -### Synopsis -Switch-OBSVirtualCam : ToggleVirtualCam - - - ---- - - -### Description - -Toggles the state of the virtualcam output. - - -Switch-OBSVirtualCam calls the OBS WebSocket with a request of type ToggleVirtualCam. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglevirtualcam](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglevirtualcam) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Switch-OBSVirtualCam -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Switch-OBSVirtualCam [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.TriggerHotkeyByKeySequence.md b/docs/obs.powershell.websocket.TriggerHotkeyByKeySequence.md deleted file mode 100644 index 130507925..000000000 --- a/docs/obs.powershell.websocket.TriggerHotkeyByKeySequence.md +++ /dev/null @@ -1,167 +0,0 @@ -Send-OBSTriggerHotkeyByKeySequence ----------------------------------- - - - - -### Synopsis -Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence - - - ---- - - -### Description - -Triggers a hotkey using a sequence of keys. - - -Send-OBSTriggerHotkeyByKeySequence calls the OBS WebSocket with a request of type TriggerHotkeyByKeySequence. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybykeysequence](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybykeysequence) - - - - - ---- - - -### Parameters -#### **KeyId** - -The OBS key ID to use. See https://github.com/obsproject/obs-studio/blob/master/libobs/obs-hotkeys.h - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |1 |true (ByPropertyName)| - - - -#### **KeyModifiers** - -Object containing key modifiers to apply - - - - - - -|Type |Required|Position|PipelineInput | -|------------|--------|--------|---------------------| -|`[PSObject]`|false |2 |true (ByPropertyName)| - - - -#### **KeyModifiersshift** - -Press Shift - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **KeyModifierscontrol** - -Press CTRL - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **KeyModifiersalt** - -Press ALT - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **KeyModifierscommand** - -Press CMD (Mac) - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[Switch]`|false |named |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSTriggerHotkeyByKeySequence [[-KeyId] ] [[-KeyModifiers] ] [-KeyModifiersshift] [-KeyModifierscontrol] [-KeyModifiersalt] [-KeyModifierscommand] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.TriggerHotkeyByName.md b/docs/obs.powershell.websocket.TriggerHotkeyByName.md deleted file mode 100644 index f34099e28..000000000 --- a/docs/obs.powershell.websocket.TriggerHotkeyByName.md +++ /dev/null @@ -1,92 +0,0 @@ -Send-OBSTriggerHotkeyByName ---------------------------- - - - - -### Synopsis -Send-OBSTriggerHotkeyByName : TriggerHotkeyByName - - - ---- - - -### Description - -Triggers a hotkey using its name. See `GetHotkeyList` - - -Send-OBSTriggerHotkeyByName calls the OBS WebSocket with a request of type TriggerHotkeyByName. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybyname](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybyname) - - - - - ---- - - -### Parameters -#### **HotkeyName** - -Name of the hotkey to trigger - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSTriggerHotkeyByName [-HotkeyName] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.TriggerMediaInputAction.md b/docs/obs.powershell.websocket.TriggerMediaInputAction.md deleted file mode 100644 index ed2d74dfd..000000000 --- a/docs/obs.powershell.websocket.TriggerMediaInputAction.md +++ /dev/null @@ -1,107 +0,0 @@ -Send-OBSTriggerMediaInputAction -------------------------------- - - - - -### Synopsis -Send-OBSTriggerMediaInputAction : TriggerMediaInputAction - - - ---- - - -### Description - -Triggers an action on a media input. - - -Send-OBSTriggerMediaInputAction calls the OBS WebSocket with a request of type TriggerMediaInputAction. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggermediainputaction](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggermediainputaction) - - - - - ---- - - -### Parameters -#### **InputName** - -Name of the media input - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |1 |true (ByPropertyName)| - - - -#### **MediaAction** - -Identifier of the `ObsMediaInputAction` enum - - - - - - -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|true |2 |true (ByPropertyName)| - - - -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSTriggerMediaInputAction [-InputName] [-MediaAction] [-PassThru] [-NoResponse] [] -``` diff --git a/docs/obs.powershell.websocket.TriggerStudioModeTransition.md b/docs/obs.powershell.websocket.TriggerStudioModeTransition.md deleted file mode 100644 index e16570db1..000000000 --- a/docs/obs.powershell.websocket.TriggerStudioModeTransition.md +++ /dev/null @@ -1,88 +0,0 @@ -Send-OBSTriggerStudioModeTransition ------------------------------------ - - - - -### Synopsis -Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition - - - ---- - - -### Description - -Triggers the current scene transition. Same functionality as the `Transition` button in studio mode. - - -Send-OBSTriggerStudioModeTransition calls the OBS WebSocket with a request of type TriggerStudioModeTransition. - - - ---- - - -### Related Links -* [https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerstudiomodetransition](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerstudiomodetransition) - - - - - ---- - - -### Examples -#### EXAMPLE 1 -```PowerShell -Send-OBSTriggerStudioModeTransition -``` - - - ---- - - -### Parameters -#### **PassThru** - -If set, will return the information that would otherwise be sent to OBS. - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|OutputRequest
OutputInput| - - - -#### **NoResponse** - -If set, will not attempt to receive a response from OBS. -This can increase performance, and also silently ignore critical errors - - - - - - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-----------------------------------------------------------------------| -|`[Switch]`|false |named |true (ByPropertyName)|NoReceive
IgnoreResponse
IgnoreReceive
DoNotReceiveResponse| - - - - - ---- - - -### Syntax -```PowerShell -Send-OBSTriggerStudioModeTransition [-PassThru] [-NoResponse] [] -``` From 1200994416686f720e4f9504e50553deca4008e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 23 Sep 2023 22:35:40 +0000 Subject: [PATCH 0069/4768] Regenerating obs-powershell type documentation. --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index bca117b71..b1529a35d 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 351 commands -(170 functions and 181 aliases) +obs-powershell exports 354 commands +(171 functions and 183 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -134,6 +134,7 @@ Functions |[Set-OBSInputName](docs/Set-OBSInputName.md) |Set-OBSInputName : SetInputName | |[Set-OBSInputSettings](docs/Set-OBSInputSettings.md) |Set-OBSInputSettings : SetInputSettings | |[Set-OBSInputVolume](docs/Set-OBSInputVolume.md) |Set-OBSInputVolume : SetInputVolume | +|[Set-OBSMarkdownSource](docs/Set-OBSMarkdownSource.md) |Sets a markdown source | |[Set-OBSMediaInputCursor](docs/Set-OBSMediaInputCursor.md) |Set-OBSMediaInputCursor : SetMediaInputCursor | |[Set-OBSMediaSource](docs/Set-OBSMediaSource.md) |Adds a media source | |[Set-OBSOutputSettings](docs/Set-OBSOutputSettings.md) |Set-OBSOutputSettings : SetOutputSettings | @@ -313,6 +314,7 @@ Aliases |[Set-OBSInputName](docs/Set-OBSInputName.md) | |[Set-OBSInputSettings](docs/Set-OBSInputSettings.md) | |[Set-OBSInputVolume](docs/Set-OBSInputVolume.md) | +|[Set-OBSMarkdownSource](docs/Set-OBSMarkdownSource.md) | |[Set-OBSMediaInputCursor](docs/Set-OBSMediaInputCursor.md) | |[Set-OBSMediaSource](docs/Set-OBSMediaSource.md) | |[Set-OBSOutputSettings](docs/Set-OBSOutputSettings.md) | From 1abc734620bfc4055cd2256d68466c38dde65eee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 23 Sep 2023 22:35:45 +0000 Subject: [PATCH 0070/4768] Regenerating obs-powershell type documentation. --- obs-powershell.types.ps1xml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 07d946533..847bcde18 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1237,7 +1237,13 @@ $this | SetColor + + Center + + Crop + + Stretch + + Unlock + + + Enable + + + + Remove + + + + Set + + + + Enabled + + return $this.filterEnabled + + + + Index + + return $this.filterIndex + + + + Kind + + return $this.filterKind + + + + Settings + + ,$this.filterSettings + + + + + + OBS.GetSourceFilter.Response + + + Disable + + + + Enable + + + + Remove + + + + Set + + + + Enabled + + return $this.filterEnabled + + + + Index + + return $this.filterIndex + + + + Kind + + return $this.filterKind + + + + Settings + + ,$this.filterSettings + + + + + + OBS.Input.Color.Source.V3 + + + SetColor + + + + + + OBS.PowerShell + + + Commands + + <# +.SYNOPSIS + Gets obs-powershell commands +.DESCRIPTION + Gets the commands in obs-powershell. +.EXAMPLE + (Get-OBS).Commands +#> +if (-not $this.'.Commands') { + $this | Add-Member NoteProperty '.Commands' (Get-Command -Module obs-powershell) +} + +$this.'.Commands' + + + + Connection + + & $this { $script:OBSConnections } + + + + CurrentScene + + <# +.SYNOPSIS + Gets the current scene +.DESCRIPTION + Gets the current scene in OBS. +.EXAMPLE + Get-OBS | Select-Object -ExpandProperty CurrentScene +#> +Get-OBSCurrentProgramScene + + + + Inputs + + <# +.SYNOPSIS + Gets the loaded OBS inputs. +.DESCRIPTION + Gets the currently loaded inputs in OBS. +.LINK + Get-OBSInput +#> +Get-OBSInput + + + + OBSPowerShellVersion + + <# +.SYNOPSIS + Gets the obs-powershell version. +.DESCRIPTION + Gets the version of obs-powershell. +.EXAMPLE + Get-OBS | Select-Object -ExpandProperty OBSPowerShellVersion +#> +Get-Module obs-powershell | Select-Object -ExpandProperty Version + + + + OBSVersion + + <# +.SYNOPSIS + Gets the obs version. +.DESCRIPTION + Gets the version of obs. +.EXAMPLE + Get-OBS | Select-Object -ExpandProperty OBSVersion +#> +if (-not $this.'.OBSVersionInfo') { + $this | Add-Member NoteProperty '.OBSVersionInfo' (Get-OBSVersion) -Force +} + +$this.'.OBSVersionInfo'.OBSVersion -as [version] + + + + OBSWebSocketVersion + + <# +.SYNOPSIS + Gets the obs version. +.DESCRIPTION + Gets the version of obs. +.EXAMPLE + Get-OBS | Select-Object -ExpandProperty OBSVersion +#> +if (-not $this.'.OBSVersionInfo') { + $this | Add-Member NoteProperty '.OBSVersionInfo' (Get-OBSVersion) -Force +} + +$this.'.OBSVersionInfo'.OBSWebSocketVersion -as [version] + + + + Outputs + + <# +.SYNOPSIS + Gets the loaded OBS outputs. +.DESCRIPTION + Gets the currently loaded outputs in OBS. +.LINK + Get-OBSOutput +#> +Get-OBSOutput + + + + Process + + Get-Process obs* | + Sort-Object { $_.Name -in 'obs', 'obs64', 'obs32' } | + Where-Object Name -in 'obs', 'obs64', 'obs32' + + + + + RandomExample + + <# +.SYNOPSIS + +.DESCRIPTION + +#> +$foundAnExample = $false +do { + $helpObject = $this.Commands | Get-Random | Get-Help + if (-not $helpObject.Examples) { continue } + $foundAnExample = $helpObject.Examples[0] | Get-Random | Select-Object -ExpandProperty Example +} until ($foundAnExample) + +$foundAnExample + + + + + RecordStatus + + <# +.SYNOPSIS + Gets OBS record status. +.DESCRIPTION + Gets the record status of OBS. +.LINK + Get-OBSRecordStatus +#> +Get-OBSRecordStatus + + + + SceneItems + + <# +.SYNOPSIS + Gets all obs scene items. +.DESCRIPTION + Gets every item in every scene in OBS. +.LINK + Get-OBSScene +.LINK + Get-OBSSceneItem +#> +$this.Scenes | Get-OBSSceneItem + + + + + Scenes + + <# +.SYNOPSIS + Gets the loaded OBS scenes. +.DESCRIPTION + Gets the currently loaded scenes in OBS. +.LINK + Get-OBSScene +#> +(Get-OBSScene).Scenes + + + + + Stats + + <# +.SYNOPSIS + Gets OBS stats. +.DESCRIPTION + Gets OBS statistics +.LINK + Get-OBSStats +#> +Get-OBSStats + + + + StreamStatus + + <# +.SYNOPSIS + Gets OBS stream status. +.DESCRIPTION + Gets the stream status of OBS. +.LINK + Get-OBSStreamStatus +#> +Get-OBSStreamStatus + + + + + + OBS.PowerShell.Effect + + + Play + Start + + + Reverse + + + + Start + + + + Step + + + + Stop + + + + Changes + + <# +.SYNOPSIS + Gets the Effect's Changes +.DESCRIPTION + Gets the changes the effect will make, without a timespan. +#> +,@(if ($this.Messages) { + + foreach ($msg in $this.Messages) { + if ($msg.RequestType -eq 'Sleep') { + continue + } + $msg + } +}) + + + + Duration + + <# +.SYNOPSIS + Gets an Effect's Duration +.DESCRIPTION + Gets the total time the effect will sleep. +#> + +$totalMS = [double]0 +foreach ($msg in $this.Messages) { + if ($msg.RequestType -eq 'Sleep') { + $totalMS += $msg.RequestData.sleepMillis + } +} +[timespan]::FromMilliseconds($totalMS) + + + + EffectType + + <# +.SYNOPSIS + Gets an obs-powershell effect's type +.DESCRIPTION + Gets the type of an obs-powershell effect. + + Current can be either 'Command' or 'Messages' +#> +if ($this.pstypenames -like 'OBS.PowerShell.Effect.Command*') { + 'Command' +} else { + 'Messages' +} + + + + Index + + <# +.SYNOPSIS + Gets the index of the effect +.DESCRIPTION + Gets the current index of the effect. This is only used for to .Step thru an effect. +#> +if (-not $this.'.Index') { + Add-Member -MemberType NoteProperty -Name '.Index' -Value 0 -InputObject $this -Force +} + +$this.'.Index' + + + + + <# +.SYNOPSIS + Updates the Effect's Index +.DESCRIPTION + Updates an effect's index. This is only used to .Step() +#> +Add-Member -MemberType NoteProperty -Name '.Index' -Value ($args[0] -as [int]) -InputObject $this -Force + + + + + + + Reversed + + <# +.SYNOPSIS + Gets if an effect is reversed. +.DESCRIPTION + Gets if an effect is currently set to Reverse. + + Whenever reverse is set, effect messages will be reversed before being sent. +#> +if (-not $this.'.Reversed') { + $this | Add-Member NoteProperty '.Reversed' $false -Force +} + +$this.'.Reversed' + + + <# +.SYNOPSIS + Sets if an effect should be reversed. +.DESCRIPTION + Sets if an effect should be played in reverse. +#> +$this | Add-Member NoteProperty '.Reversed' ($args[0] -as [bool]) -Force + + + + + + + OBS.Powershell.Effect.Command + + + EffectName + + <# +.SYNOPSIS + Gets the Effect Name +.DESCRIPTION + Gets the name of an Effect. +#> +$obsEffectsPattern = [Regex]::new(' +(?> + ^OBS.(?>fx|effects?)\p{P} + | + [\p{P}-[-]]OBS\.(?>fx|effects?)$ + | + \p{P}OBS.(?>fx|effects?)\.(?>ps1|json) +) +','IgnoreCase,IgnorePatternWhitespace') + +$this.Name -replace $obsEffectsPattern + + + + + + OBS.GetSceneItemList.Response + + + Hide + Disable + + + Show + Enable + + + Animate + + + + Blend + + + + Center + + + + Crop + + + + Delete + + + + Disable + + + + Enable + + + + FitToScreen + + + + Lock + + + + Move + + + + Remove + + + + Rotate + + + + Scale + + + + SetZIndex + + + + Stretch + + + + Unlock + + + + BlendMode + + $this.sceneItemBlendMode -replace '^OBS_BLEND_' + + + + + Enabled + + return $this.sceneItemEnabled + + + + + Filters + + <# +.SYNOPSIS + Gets a Scene Item's filters +.DESCRIPTION + Gets the filters related to an OBS input. +.EXAMPLE + $obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg + $obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 + $obsPowerShellIcon.Filters +.LINK + Get-OBSSourceFilterList +#> +Get-OBSSourceFilterList -SourceName $this.SourceName + + + + ImageHeight + + $this.sceneItemTransform.sourceHeight + + + + + ImageWidth + + $this.sceneItemTransform.sourceWidth + + + + + Input + + <# +.SYNOPSIS + Gets a Scene Item's Input +.DESCRIPTION + Gets the OBS Input related to the current scene item. + + This value is cached upon first request, as it will never change as long as the source item exists. +.EXAMPLE + $stars = Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg + $stars.Input +#> +if (-not $this.'.Input') { + $this | Add-Member NoteProperty '.Input' ( + $this | Get-OBSInput | Where-Object InputName -eq $this.SourceName + ) -Force +} + +$this.'.Input' + + + + + Layer + + return $this.sceneItemIndex + + + + + ZIndex + + $indexInfo = $this | Get-OBSSceneItemIndex +if ($indexInfo.SceneItemIndex) { + $indexInfo.SceneItemIndex +} +elseif ($indexInfo -is [int]) { + $indexInfo +} + + + + + + OBS.GetSceneItemId.Response + + + Hide + Disable + + + Show + Enable + + + Animate + - - - Enable - - - - Remove - - - - Set - - - - Enabled - - return $this.filterEnabled - - - - Index - - return $this.filterIndex + ) -Force +} + +$this.'.Input' + - Kind + Layer - return $this.filterKind + return $this.sceneItemIndex + - Settings + ZIndex - ,$this.filterSettings + $indexInfo = $this | Get-OBSSceneItemIndex +if ($indexInfo.SceneItemIndex) { + $indexInfo.SceneItemIndex +} +elseif ($indexInfo -is [int]) { + $indexInfo +} - OBS.GetSourceFilter.Response + OBS.SceneItem + + Hide + Disable + + + Show + Enable + - Disable + Animate - - - Enable - - - - Remove - - - - Set - - - - Enabled - - return $this.filterEnabled - - - - Index - - return $this.filterIndex - - - - Kind - - return $this.filterKind - - - - Settings - - ,$this.filterSettings - - - - - - OBS.Input.Color.Source.V3 - - - SetColor - - - - - - OBS.PowerShell - - - Commands - - <# -.SYNOPSIS - Gets obs-powershell commands -.DESCRIPTION - Gets the commands in obs-powershell. -.EXAMPLE - (Get-OBS).Commands -#> -if (-not $this.'.Commands') { - $this | Add-Member NoteProperty '.Commands' (Get-Command -Module obs-powershell) + $IsFirstArg = $false } +) -$this.'.Commands' - - - - Connection - - & $this { $script:OBSConnections } - - - - CurrentScene - - <# -.SYNOPSIS - Gets the current scene -.DESCRIPTION - Gets the current scene in OBS. -.EXAMPLE - Get-OBS | Select-Object -ExpandProperty CurrentScene -#> -Get-OBSCurrentProgramScene - - - - Inputs - - <# -.SYNOPSIS - Gets the loaded OBS inputs. -.DESCRIPTION - Gets the currently loaded inputs in OBS. -.LINK - Get-OBSInput -#> -Get-OBSInput - - - - OBSPowerShellVersion - - <# -.SYNOPSIS - Gets the obs-powershell version. -.DESCRIPTION - Gets the version of obs-powershell. -.EXAMPLE - Get-OBS | Select-Object -ExpandProperty OBSPowerShellVersion -#> -Get-Module obs-powershell | Select-Object -ExpandProperty Version - - - - OBSVersion - - <# -.SYNOPSIS - Gets the obs version. -.DESCRIPTION - Gets the version of obs. -.EXAMPLE - Get-OBS | Select-Object -ExpandProperty OBSVersion -#> -if (-not $this.'.OBSVersionInfo') { - $this | Add-Member NoteProperty '.OBSVersionInfo' (Get-OBSVersion) -Force +if ($allSteps) { + # If any boolean true was in the arguments, we're passing thru + if ($PassThru) { + $allSteps + } else { + # Send all of the steps to OBS. + $allSteps | Send-OBS + } } -$this.'.OBSVersionInfo'.OBSVersion -as [version] - - - - OBSWebSocketVersion - - <# -.SYNOPSIS - Gets the obs version. -.DESCRIPTION - Gets the version of obs. -.EXAMPLE - Get-OBS | Select-Object -ExpandProperty OBSVersion -#> -if (-not $this.'.OBSVersionInfo') { - $this | Add-Member NoteProperty '.OBSVersionInfo' (Get-OBSVersion) -Force + + + + Blend + + + + Center + + - Reverse + Crop + + + + Delete + + + + Disable + + + + Enable + + + + FitToScreen - Start + Lock + + + + Move + + + Remove + + + + Rotate + + + + Scale + - Step + SetZIndex + + + + Stretch - Stop + Unlock - Changes + BlendMode - <# -.SYNOPSIS - Gets the Effect's Changes -.DESCRIPTION - Gets the changes the effect will make, without a timespan. -#> -,@(if ($this.Messages) { - - foreach ($msg in $this.Messages) { - if ($msg.RequestType -eq 'Sleep') { - continue - } - $msg - } -}) + $this.sceneItemBlendMode -replace '^OBS_BLEND_' + - Duration + Enabled - <# -.SYNOPSIS - Gets an Effect's Duration -.DESCRIPTION - Gets the total time the effect will sleep. -#> + return $this.sceneItemEnabled -$totalMS = [double]0 -foreach ($msg in $this.Messages) { - if ($msg.RequestType -eq 'Sleep') { - $totalMS += $msg.RequestData.sleepMillis - } -} -[timespan]::FromMilliseconds($totalMS) - EffectType + Filters <# .SYNOPSIS - Gets an obs-powershell effect's type + Gets a Scene Item's filters .DESCRIPTION - Gets the type of an obs-powershell effect. - - Current can be either 'Command' or 'Messages' + Gets the filters related to an OBS input. +.EXAMPLE + $obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg + $obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 + $obsPowerShellIcon.Filters +.LINK + Get-OBSSourceFilterList #> -if ($this.pstypenames -like 'OBS.PowerShell.Effect.Command*') { - 'Command' -} else { - 'Messages' -} +Get-OBSSourceFilterList -SourceName $this.SourceName - Index + ImageHeight - <# -.SYNOPSIS - Gets the index of the effect -.DESCRIPTION - Gets the current index of the effect. This is only used for to .Step thru an effect. -#> -if (-not $this.'.Index') { - Add-Member -MemberType NoteProperty -Name '.Index' -Value 0 -InputObject $this -Force -} - -$this.'.Index' - + $this.sceneItemTransform.sourceHeight - - <# -.SYNOPSIS - Updates the Effect's Index -.DESCRIPTION - Updates an effect's index. This is only used to .Step() -#> -Add-Member -MemberType NoteProperty -Name '.Index' -Value ($args[0] -as [int]) -InputObject $this -Force - - + + + ImageWidth + + $this.sceneItemTransform.sourceWidth - + - Reversed + Input <# .SYNOPSIS - Gets if an effect is reversed. + Gets a Scene Item's Input .DESCRIPTION - Gets if an effect is currently set to Reverse. + Gets the OBS Input related to the current scene item. - Whenever reverse is set, effect messages will be reversed before being sent. + This value is cached upon first request, as it will never change as long as the source item exists. +.EXAMPLE + $stars = Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg + $stars.Input #> -if (-not $this.'.Reversed') { - $this | Add-Member NoteProperty '.Reversed' $false -Force +if (-not $this.'.Input') { + $this | Add-Member NoteProperty '.Input' ( + $this | Get-OBSInput | Where-Object InputName -eq $this.SourceName + ) -Force } -$this.'.Reversed' - - - <# -.SYNOPSIS - Sets if an effect should be reversed. -.DESCRIPTION - Sets if an effect should be played in reverse. -#> -$this | Add-Member NoteProperty '.Reversed' ($args[0] -as [bool]) -Force +$this.'.Input' - + - - - - OBS.Powershell.Effect.Command - - EffectName + Layer - <# -.SYNOPSIS - Gets the Effect Name -.DESCRIPTION - Gets the name of an Effect. -#> -$obsEffectsPattern = [Regex]::new(' -(?> - ^OBS.(?>fx|effects?)\p{P} - | - [\p{P}-[-]]OBS\.(?>fx|effects?)$ - | - \p{P}OBS.(?>fx|effects?)\.(?>ps1|json) -) -','IgnoreCase,IgnorePatternWhitespace') + return $this.sceneItemIndex -$this.Name -replace $obsEffectsPattern + + + + ZIndex + + $indexInfo = $this | Get-OBSSceneItemIndex +if ($indexInfo.SceneItemIndex) { + $indexInfo.SceneItemIndex +} +elseif ($indexInfo -is [int]) { + $indexInfo +} From a016ed7c25b02a72da70d7f68217dac22c28571d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1006/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/GetSceneItemId/Response/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/README.md diff --git a/docs/OBS/GetSceneItemId/Response/README.md b/docs/OBS/GetSceneItemId/Response/README.md new file mode 100644 index 000000000..dbd606267 --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/README.md @@ -0,0 +1,13 @@ +## OBS.GetSceneItemId.Response + + +### Script Methods + + +* [Animate](Animate.md) +* [Center](Center.md) +* [FitToScreen](FitToScreen.md) +* [Move](Move.md) +* [Stretch](Stretch.md) +* [get_Filters](get_Filters.md) +* [get_Input](get_Input.md) From 87e0d02cd2a303246b295dde5515ba3c94c3966b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1007/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/GetSceneItemId/Response/Animate.md | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/Animate.md diff --git a/docs/OBS/GetSceneItemId/Response/Animate.md b/docs/OBS/GetSceneItemId/Response/Animate.md new file mode 100644 index 000000000..8529813bb --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/Animate.md @@ -0,0 +1,26 @@ +OBS.GetSceneItemId.Response.Animate() +------------------------------------- + +### Synopsis +Animates scene items + +--- + +### Description + +Animates the motion of scene items within a frame. + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$stars = Add-OBSBrowserSource -URI https://pssvg.start-automating.com/Examples/Stars.svg +$stars.FitToScreen() +$stars.Animate(@{ + scale = 0.1 +},"00:00:01") +``` + +--- From f2323e0df11b1ba30bf7c27b46c00c165152f24f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1008/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/GetSceneItemId/Response/Center.md | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/Center.md diff --git a/docs/OBS/GetSceneItemId/Response/Center.md b/docs/OBS/GetSceneItemId/Response/Center.md new file mode 100644 index 000000000..6872abedd --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/Center.md @@ -0,0 +1,24 @@ +OBS.GetSceneItemId.Response.Center() +------------------------------------ + +### Synopsis +Centers a scene item + +--- + +### Description + +Sets the scene item alignment to center + +--- + +### Notes +Also corrects the position so that the image does not only appear in a quadrant. + +If a boolean argument is passed, and it is true, then this will PassThru instead of run. +(this can be used for animations) + +If an explicit null argument is passed, then the command will not wait for an OBS response. +(this will be slightly faster) + +--- From 2c4b69862008f4ec9174db80a475551bd20d2550 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1009/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- .../GetSceneItemId/Response/FitToScreen.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/FitToScreen.md diff --git a/docs/OBS/GetSceneItemId/Response/FitToScreen.md b/docs/OBS/GetSceneItemId/Response/FitToScreen.md new file mode 100644 index 000000000..5dea3d29a --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/FitToScreen.md @@ -0,0 +1,22 @@ +OBS.GetSceneItemId.Response.FitToScreen() +----------------------------------------- + +### Synopsis +Fits an item to the screen + +--- + +### Description + +Centers an item and makes it fit to the screen. + +--- + +### Related Links +* Get-OBSVideoSettings + +* Get-OBSSceneItemTransform + +* Set-OBSSceneItemTransform + +--- From 1d147ff6fbbbb944f1dfa6af28df13e66caea83d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1010/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/GetSceneItemId/Response/Move.md | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/Move.md diff --git a/docs/OBS/GetSceneItemId/Response/Move.md b/docs/OBS/GetSceneItemId/Response/Move.md new file mode 100644 index 000000000..82d1dbc02 --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/Move.md @@ -0,0 +1,33 @@ +OBS.GetSceneItemId.Response.Move() +---------------------------------- + +### Synopsis +Moves a scene item + +--- + +### Description + +Moves a scene item throughout the screen. + +This converts it's arguments to .Animate arguments. Any single values will be assumed to be positionX/positionY + +--- + +### Related Links +* OBS.GetSceneItemList.Response.Animate + +--- + +### Examples +Load a source + +```PowerShell +$stars = Add-OBSBrowserSource -URI https://pssvg.start-automating.com/Examples/Stars.svg +# fit it to the screen +$stars.FitToScreen() +# Move it diagonally across the screen +$stars.Move("-50%","150%", "00:00:05") +``` + +--- From 9f9d6b22267155e648846a3da5acaa9648ff518b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1011/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/GetSceneItemId/Response/Stretch.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/Stretch.md diff --git a/docs/OBS/GetSceneItemId/Response/Stretch.md b/docs/OBS/GetSceneItemId/Response/Stretch.md new file mode 100644 index 000000000..949bba383 --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/Stretch.md @@ -0,0 +1,13 @@ +OBS.GetSceneItemId.Response.Stretch() +------------------------------------- + +### Synopsis +Stretches a scene item + +--- + +### Description + +Stretches a scene item by changing it's bounds. + +--- From ea53c358f5d6605d89b479d82a300f182c85a98b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1012/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- .../GetSceneItemId/Response/get_Filters.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/get_Filters.md diff --git a/docs/OBS/GetSceneItemId/Response/get_Filters.md b/docs/OBS/GetSceneItemId/Response/get_Filters.md new file mode 100644 index 000000000..18512d59b --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/get_Filters.md @@ -0,0 +1,29 @@ +OBS.GetSceneItemId.Response.get_Filters() +----------------------------------------- + +### Synopsis +Gets a Scene Item's filters + +--- + +### Description + +Gets the filters related to an OBS input. + +--- + +### Related Links +* Get-OBSSourceFilterList + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg +$obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 +$obsPowerShellIcon.Filters +``` + +--- From 393c51bb42a895a6cd1d991399654067f39d4450 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1013/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/GetSceneItemId/Response/get_Input.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/OBS/GetSceneItemId/Response/get_Input.md diff --git a/docs/OBS/GetSceneItemId/Response/get_Input.md b/docs/OBS/GetSceneItemId/Response/get_Input.md new file mode 100644 index 000000000..1b0f3bb56 --- /dev/null +++ b/docs/OBS/GetSceneItemId/Response/get_Input.md @@ -0,0 +1,25 @@ +OBS.GetSceneItemId.Response.get_Input() +--------------------------------------- + +### Synopsis +Gets a Scene Item's Input + +--- + +### Description + +Gets the OBS Input related to the current scene item. + +This value is cached upon first request, as it will never change as long as the source item exists. + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$stars = Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg +$stars.Input +``` + +--- From 612a3be217b714a1dac735976ff8ba9ab49178f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1014/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/OBS/SceneItem/README.md diff --git a/docs/OBS/SceneItem/README.md b/docs/OBS/SceneItem/README.md new file mode 100644 index 000000000..4dddd75da --- /dev/null +++ b/docs/OBS/SceneItem/README.md @@ -0,0 +1,13 @@ +## OBS.SceneItem + + +### Script Methods + + +* [Animate](Animate.md) +* [Center](Center.md) +* [FitToScreen](FitToScreen.md) +* [Move](Move.md) +* [Stretch](Stretch.md) +* [get_Filters](get_Filters.md) +* [get_Input](get_Input.md) From a7909c73f3b0c74ca3e0262be00070c5f73218a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1015/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/Animate.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/OBS/SceneItem/Animate.md diff --git a/docs/OBS/SceneItem/Animate.md b/docs/OBS/SceneItem/Animate.md new file mode 100644 index 000000000..9a7c76bc6 --- /dev/null +++ b/docs/OBS/SceneItem/Animate.md @@ -0,0 +1,26 @@ +OBS.SceneItem.Animate() +----------------------- + +### Synopsis +Animates scene items + +--- + +### Description + +Animates the motion of scene items within a frame. + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$stars = Add-OBSBrowserSource -URI https://pssvg.start-automating.com/Examples/Stars.svg +$stars.FitToScreen() +$stars.Animate(@{ + scale = 0.1 +},"00:00:01") +``` + +--- From 12842c68212f645cb035e0bacebdc06224b77b74 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1016/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/Center.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/OBS/SceneItem/Center.md diff --git a/docs/OBS/SceneItem/Center.md b/docs/OBS/SceneItem/Center.md new file mode 100644 index 000000000..338667ebb --- /dev/null +++ b/docs/OBS/SceneItem/Center.md @@ -0,0 +1,24 @@ +OBS.SceneItem.Center() +---------------------- + +### Synopsis +Centers a scene item + +--- + +### Description + +Sets the scene item alignment to center + +--- + +### Notes +Also corrects the position so that the image does not only appear in a quadrant. + +If a boolean argument is passed, and it is true, then this will PassThru instead of run. +(this can be used for animations) + +If an explicit null argument is passed, then the command will not wait for an OBS response. +(this will be slightly faster) + +--- From 717d585f171cf94d3c79b116ed79baff06aa91c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1017/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/FitToScreen.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/OBS/SceneItem/FitToScreen.md diff --git a/docs/OBS/SceneItem/FitToScreen.md b/docs/OBS/SceneItem/FitToScreen.md new file mode 100644 index 000000000..25ff20afe --- /dev/null +++ b/docs/OBS/SceneItem/FitToScreen.md @@ -0,0 +1,22 @@ +OBS.SceneItem.FitToScreen() +--------------------------- + +### Synopsis +Fits an item to the screen + +--- + +### Description + +Centers an item and makes it fit to the screen. + +--- + +### Related Links +* Get-OBSVideoSettings + +* Get-OBSSceneItemTransform + +* Set-OBSSceneItemTransform + +--- From 81666fafd70b413f52115abdb604a5dc8e57bb89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1018/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/Move.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/OBS/SceneItem/Move.md diff --git a/docs/OBS/SceneItem/Move.md b/docs/OBS/SceneItem/Move.md new file mode 100644 index 000000000..e74fd1ea9 --- /dev/null +++ b/docs/OBS/SceneItem/Move.md @@ -0,0 +1,33 @@ +OBS.SceneItem.Move() +-------------------- + +### Synopsis +Moves a scene item + +--- + +### Description + +Moves a scene item throughout the screen. + +This converts it's arguments to .Animate arguments. Any single values will be assumed to be positionX/positionY + +--- + +### Related Links +* OBS.GetSceneItemList.Response.Animate + +--- + +### Examples +Load a source + +```PowerShell +$stars = Add-OBSBrowserSource -URI https://pssvg.start-automating.com/Examples/Stars.svg +# fit it to the screen +$stars.FitToScreen() +# Move it diagonally across the screen +$stars.Move("-50%","150%", "00:00:05") +``` + +--- From 78fe134bbfce6e387f656a09906010c235de2dd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1019/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/Stretch.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/OBS/SceneItem/Stretch.md diff --git a/docs/OBS/SceneItem/Stretch.md b/docs/OBS/SceneItem/Stretch.md new file mode 100644 index 000000000..8d18566af --- /dev/null +++ b/docs/OBS/SceneItem/Stretch.md @@ -0,0 +1,13 @@ +OBS.SceneItem.Stretch() +----------------------- + +### Synopsis +Stretches a scene item + +--- + +### Description + +Stretches a scene item by changing it's bounds. + +--- From 61e02a3929ca2e8d2fe6c775c3978dbc1664ff61 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1020/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/get_Filters.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/OBS/SceneItem/get_Filters.md diff --git a/docs/OBS/SceneItem/get_Filters.md b/docs/OBS/SceneItem/get_Filters.md new file mode 100644 index 000000000..0406d1d90 --- /dev/null +++ b/docs/OBS/SceneItem/get_Filters.md @@ -0,0 +1,29 @@ +OBS.SceneItem.get_Filters() +--------------------------- + +### Synopsis +Gets a Scene Item's filters + +--- + +### Description + +Gets the filters related to an OBS input. + +--- + +### Related Links +* Get-OBSSourceFilterList + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg +$obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 +$obsPowerShellIcon.Filters +``` + +--- From 2e2c69d7faf957923073fe5a7425e33ad9662dbe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:26:56 +0000 Subject: [PATCH 1021/4768] feat: Adding OBS.SceneItem ( Fixes #173 ) --- docs/OBS/SceneItem/get_Input.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/OBS/SceneItem/get_Input.md diff --git a/docs/OBS/SceneItem/get_Input.md b/docs/OBS/SceneItem/get_Input.md new file mode 100644 index 000000000..3875a5265 --- /dev/null +++ b/docs/OBS/SceneItem/get_Input.md @@ -0,0 +1,25 @@ +OBS.SceneItem.get_Input() +------------------------- + +### Synopsis +Gets a Scene Item's Input + +--- + +### Description + +Gets the OBS Input related to the current scene item. + +This value is cached upon first request, as it will never change as long as the source item exists. + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$stars = Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg +$stars.Input +``` + +--- From efb91930f46b66aa850ee495e4812755a0251d6a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 8 Feb 2024 22:30:50 -0800 Subject: [PATCH 1022/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- .../Disable.ps1 | 0 .../Enable.ps1 | 0 Types/OBS.Filter/PSTypeName.txt | 3 +++ .../Remove.ps1 | 0 Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/Set.ps1 | 0 .../get_Enabled.ps1 | 0 .../get_Index.ps1 | 0 .../get_Kind.ps1 | 0 .../get_Settings.ps1 | 0 Types/OBS.GetSourceFilterList.Response/PSTypeName.txt | 2 -- 10 files changed, 3 insertions(+), 2 deletions(-) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/Disable.ps1 (100%) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/Enable.ps1 (100%) create mode 100644 Types/OBS.Filter/PSTypeName.txt rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/Remove.ps1 (100%) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/Set.ps1 (100%) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/get_Enabled.ps1 (100%) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/get_Index.ps1 (100%) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/get_Kind.ps1 (100%) rename Types/{OBS.GetSourceFilterList.Response => OBS.Filter}/get_Settings.ps1 (100%) delete mode 100644 Types/OBS.GetSourceFilterList.Response/PSTypeName.txt diff --git a/Types/OBS.GetSourceFilterList.Response/Disable.ps1 b/Types/OBS.Filter/Disable.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/Disable.ps1 rename to Types/OBS.Filter/Disable.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/Enable.ps1 b/Types/OBS.Filter/Enable.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/Enable.ps1 rename to Types/OBS.Filter/Enable.ps1 diff --git a/Types/OBS.Filter/PSTypeName.txt b/Types/OBS.Filter/PSTypeName.txt new file mode 100644 index 000000000..4cb9b58d7 --- /dev/null +++ b/Types/OBS.Filter/PSTypeName.txt @@ -0,0 +1,3 @@ +OBS.GetSourceFilterList.Response +OBS.GetSourceFilter.Response +OBS.Filter \ No newline at end of file diff --git a/Types/OBS.GetSourceFilterList.Response/Remove.ps1 b/Types/OBS.Filter/Remove.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/Remove.ps1 rename to Types/OBS.Filter/Remove.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/Set.ps1 b/Types/OBS.Filter/Set.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/Set.ps1 rename to Types/OBS.Filter/Set.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/get_Enabled.ps1 b/Types/OBS.Filter/get_Enabled.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/get_Enabled.ps1 rename to Types/OBS.Filter/get_Enabled.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/get_Index.ps1 b/Types/OBS.Filter/get_Index.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/get_Index.ps1 rename to Types/OBS.Filter/get_Index.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/get_Kind.ps1 b/Types/OBS.Filter/get_Kind.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/get_Kind.ps1 rename to Types/OBS.Filter/get_Kind.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/get_Settings.ps1 b/Types/OBS.Filter/get_Settings.ps1 similarity index 100% rename from Types/OBS.GetSourceFilterList.Response/get_Settings.ps1 rename to Types/OBS.Filter/get_Settings.ps1 diff --git a/Types/OBS.GetSourceFilterList.Response/PSTypeName.txt b/Types/OBS.GetSourceFilterList.Response/PSTypeName.txt deleted file mode 100644 index 0075bbb17..000000000 --- a/Types/OBS.GetSourceFilterList.Response/PSTypeName.txt +++ /dev/null @@ -1,2 +0,0 @@ -OBS.GetSourceFilterList.Response -OBS.GetSourceFilter.Response \ No newline at end of file From f05cffba899237ce14dae52253286b47a725a2ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:35:51 +0000 Subject: [PATCH 1023/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- obs-powershell.types.ps1xml | 565 +++++++++++++++++++++--------------- 1 file changed, 339 insertions(+), 226 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 7aa99c500..91e69d735 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1,6 +1,345 @@ + + OBS.GetSourceFilterList.Response + + + Disable + + + + Enable + + + + Remove + + + + Set + + + + Enabled + + return $this.filterEnabled + + + + Index + + return $this.filterIndex + + + + Kind + + return $this.filterKind + + + + Settings + + ,$this.filterSettings + + + + + + OBS.GetSourceFilter.Response + + + Disable + + + + Enable + + + + Remove + + + + Set + + + + Enabled + + return $this.filterEnabled + + + + Index + + return $this.filterIndex + + + + Kind + + return $this.filterKind + + + + Settings + + ,$this.filterSettings + + + + + + OBS.Filter + + + Disable + + + + Enable + + + + Remove + + + + Set + + + + Enabled + + return $this.filterEnabled + + + + Index + + return $this.filterIndex + + + + Kind + + return $this.filterKind + + + + Settings + + ,$this.filterSettings + + + + OBS.GetInputList.Response @@ -377,232 +716,6 @@ $this | Set-OBSInputVolume -InputVolumeMul $Multiple - - OBS.GetSourceFilterList.Response - - - Disable - - - - Enable - - - - Remove - - - - Set - - - - Enabled - - return $this.filterEnabled - - - - Index - - return $this.filterIndex - - - - Kind - - return $this.filterKind - - - - Settings - - ,$this.filterSettings - - - - - - OBS.GetSourceFilter.Response - - - Disable - - - - Enable - - - - Remove - - - - Set - - - - Enabled - - return $this.filterEnabled - - - - Index - - return $this.filterIndex - - - - Kind - - return $this.filterKind - - - - Settings - - ,$this.filterSettings - - - - OBS.Input.Color.Source.V3 From f16faf4aefd6c13b203adafd7d7563764fca4325 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:36:32 +0000 Subject: [PATCH 1024/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- docs/OBS/Filter/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/OBS/Filter/README.md diff --git a/docs/OBS/Filter/README.md b/docs/OBS/Filter/README.md new file mode 100644 index 000000000..1e87383dd --- /dev/null +++ b/docs/OBS/Filter/README.md @@ -0,0 +1,10 @@ +## OBS.Filter + + +### Script Methods + + +* [Disable](Disable.md) +* [Enable](Enable.md) +* [Remove](Remove.md) +* [Set](Set.md) From 4cee78253b6b7178be96bc7df7ca7db046b64b5b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:36:32 +0000 Subject: [PATCH 1025/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- docs/OBS/Filter/Disable.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Filter/Disable.md diff --git a/docs/OBS/Filter/Disable.md b/docs/OBS/Filter/Disable.md new file mode 100644 index 000000000..55dce7417 --- /dev/null +++ b/docs/OBS/Filter/Disable.md @@ -0,0 +1,28 @@ +OBS.Filter.Disable() +-------------------- + +### Synopsis +Disables a filter + +--- + +### Description + +Disables an OBS filter. + +--- + +### Related Links +* Set-OBSSourceFilterEnabled + +--- + +### Parameters +#### **PassThru** +If set, will return the request that would enable a filter. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From e8b109ca61d792ecb0ec14b9c27c3d0e2f56a6e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:36:32 +0000 Subject: [PATCH 1026/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- docs/OBS/Filter/Enable.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Filter/Enable.md diff --git a/docs/OBS/Filter/Enable.md b/docs/OBS/Filter/Enable.md new file mode 100644 index 000000000..51f304ba8 --- /dev/null +++ b/docs/OBS/Filter/Enable.md @@ -0,0 +1,28 @@ +OBS.Filter.Enable() +------------------- + +### Synopsis +Enables a filter + +--- + +### Description + +Enables an OBS filter. + +--- + +### Related Links +* Set-OBSSourceFilterEnabled + +--- + +### Parameters +#### **PassThru** +If set, will return the request that would enable a filter. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From ff09f94a7b7d9e3e7acdb87d52bd4cf9147a2260 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:36:32 +0000 Subject: [PATCH 1027/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- docs/OBS/Filter/Remove.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/OBS/Filter/Remove.md diff --git a/docs/OBS/Filter/Remove.md b/docs/OBS/Filter/Remove.md new file mode 100644 index 000000000..64406534c --- /dev/null +++ b/docs/OBS/Filter/Remove.md @@ -0,0 +1,20 @@ +OBS.Filter.Remove() +------------------- + +### Synopsis +Removes a filter + +--- + +### Description + +Removes a filter from an OBS source. + +--- + +### Related Links +* Remove-OBSSourceFilter + +* Get-OBSSourceFilterList + +--- From 650f684a4f58e30e96485ceae9d9aa8f54f71bef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 06:36:32 +0000 Subject: [PATCH 1028/4768] feat: Adding OBS.Filter ( Fixes #175 ) --- docs/OBS/Filter/Set.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docs/OBS/Filter/Set.md diff --git a/docs/OBS/Filter/Set.md b/docs/OBS/Filter/Set.md new file mode 100644 index 000000000..a31d755c8 --- /dev/null +++ b/docs/OBS/Filter/Set.md @@ -0,0 +1,30 @@ +OBS.Filter.Set() +---------------- + +### Synopsis +Sets a filter + +--- + +### Description + +Changes a filter's settings. + +--- + +### Parameters +#### **Settings** +The settings that can be changed. + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[Object]`|false |1 |false |Setting| + +#### **PassThru** +Return the message that would be sent to OBS, rather than changing the filter settings. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From b281a703dce3ca57d9a3701b2bc25b42d50da2ed Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Thu, 8 Feb 2024 23:03:04 -0800 Subject: [PATCH 1029/4768] feat: Adding OBS.Input ( Fixes #174 ) --- Types/{OBS.GetInputList.Response => OBS.Input}/Alias.psd1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Mute.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Next.ps1 | 0 Types/OBS.Input/PSTypeName.txt | 2 ++ Types/{OBS.GetInputList.Response => OBS.Input}/Pause.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Play.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Previous.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Remove.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Restart.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Stop.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/Unmute.ps1 | 0 .../get_CurrentTime.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/get_Filters.ps1 | 0 .../get_MonitorType.ps1 | 0 .../{OBS.GetInputList.Response => OBS.Input}/get_SceneItem.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/get_Settings.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/get_Status.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/get_Volume.ps1 | 0 .../set_CurrentTime.ps1 | 0 .../set_MonitorType.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/set_Settings.ps1 | 0 Types/{OBS.GetInputList.Response => OBS.Input}/set_Volume.ps1 | 0 22 files changed, 2 insertions(+) rename Types/{OBS.GetInputList.Response => OBS.Input}/Alias.psd1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Mute.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Next.ps1 (100%) create mode 100644 Types/OBS.Input/PSTypeName.txt rename Types/{OBS.GetInputList.Response => OBS.Input}/Pause.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Play.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Previous.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Remove.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Restart.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Stop.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/Unmute.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_CurrentTime.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_Filters.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_MonitorType.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_SceneItem.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_Settings.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_Status.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/get_Volume.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/set_CurrentTime.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/set_MonitorType.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/set_Settings.ps1 (100%) rename Types/{OBS.GetInputList.Response => OBS.Input}/set_Volume.ps1 (100%) diff --git a/Types/OBS.GetInputList.Response/Alias.psd1 b/Types/OBS.Input/Alias.psd1 similarity index 100% rename from Types/OBS.GetInputList.Response/Alias.psd1 rename to Types/OBS.Input/Alias.psd1 diff --git a/Types/OBS.GetInputList.Response/Mute.ps1 b/Types/OBS.Input/Mute.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Mute.ps1 rename to Types/OBS.Input/Mute.ps1 diff --git a/Types/OBS.GetInputList.Response/Next.ps1 b/Types/OBS.Input/Next.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Next.ps1 rename to Types/OBS.Input/Next.ps1 diff --git a/Types/OBS.Input/PSTypeName.txt b/Types/OBS.Input/PSTypeName.txt new file mode 100644 index 000000000..f39e8e3a2 --- /dev/null +++ b/Types/OBS.Input/PSTypeName.txt @@ -0,0 +1,2 @@ +OBS.GetInputList.Response +OBS.Input diff --git a/Types/OBS.GetInputList.Response/Pause.ps1 b/Types/OBS.Input/Pause.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Pause.ps1 rename to Types/OBS.Input/Pause.ps1 diff --git a/Types/OBS.GetInputList.Response/Play.ps1 b/Types/OBS.Input/Play.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Play.ps1 rename to Types/OBS.Input/Play.ps1 diff --git a/Types/OBS.GetInputList.Response/Previous.ps1 b/Types/OBS.Input/Previous.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Previous.ps1 rename to Types/OBS.Input/Previous.ps1 diff --git a/Types/OBS.GetInputList.Response/Remove.ps1 b/Types/OBS.Input/Remove.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Remove.ps1 rename to Types/OBS.Input/Remove.ps1 diff --git a/Types/OBS.GetInputList.Response/Restart.ps1 b/Types/OBS.Input/Restart.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Restart.ps1 rename to Types/OBS.Input/Restart.ps1 diff --git a/Types/OBS.GetInputList.Response/Stop.ps1 b/Types/OBS.Input/Stop.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Stop.ps1 rename to Types/OBS.Input/Stop.ps1 diff --git a/Types/OBS.GetInputList.Response/Unmute.ps1 b/Types/OBS.Input/Unmute.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/Unmute.ps1 rename to Types/OBS.Input/Unmute.ps1 diff --git a/Types/OBS.GetInputList.Response/get_CurrentTime.ps1 b/Types/OBS.Input/get_CurrentTime.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_CurrentTime.ps1 rename to Types/OBS.Input/get_CurrentTime.ps1 diff --git a/Types/OBS.GetInputList.Response/get_Filters.ps1 b/Types/OBS.Input/get_Filters.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_Filters.ps1 rename to Types/OBS.Input/get_Filters.ps1 diff --git a/Types/OBS.GetInputList.Response/get_MonitorType.ps1 b/Types/OBS.Input/get_MonitorType.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_MonitorType.ps1 rename to Types/OBS.Input/get_MonitorType.ps1 diff --git a/Types/OBS.GetInputList.Response/get_SceneItem.ps1 b/Types/OBS.Input/get_SceneItem.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_SceneItem.ps1 rename to Types/OBS.Input/get_SceneItem.ps1 diff --git a/Types/OBS.GetInputList.Response/get_Settings.ps1 b/Types/OBS.Input/get_Settings.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_Settings.ps1 rename to Types/OBS.Input/get_Settings.ps1 diff --git a/Types/OBS.GetInputList.Response/get_Status.ps1 b/Types/OBS.Input/get_Status.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_Status.ps1 rename to Types/OBS.Input/get_Status.ps1 diff --git a/Types/OBS.GetInputList.Response/get_Volume.ps1 b/Types/OBS.Input/get_Volume.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/get_Volume.ps1 rename to Types/OBS.Input/get_Volume.ps1 diff --git a/Types/OBS.GetInputList.Response/set_CurrentTime.ps1 b/Types/OBS.Input/set_CurrentTime.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/set_CurrentTime.ps1 rename to Types/OBS.Input/set_CurrentTime.ps1 diff --git a/Types/OBS.GetInputList.Response/set_MonitorType.ps1 b/Types/OBS.Input/set_MonitorType.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/set_MonitorType.ps1 rename to Types/OBS.Input/set_MonitorType.ps1 diff --git a/Types/OBS.GetInputList.Response/set_Settings.ps1 b/Types/OBS.Input/set_Settings.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/set_Settings.ps1 rename to Types/OBS.Input/set_Settings.ps1 diff --git a/Types/OBS.GetInputList.Response/set_Volume.ps1 b/Types/OBS.Input/set_Volume.ps1 similarity index 100% rename from Types/OBS.GetInputList.Response/set_Volume.ps1 rename to Types/OBS.Input/set_Volume.ps1 From a6d9f84755b166e9cf2e40cd713f2e71ed5f2c6f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:08 +0000 Subject: [PATCH 1030/4768] feat: Adding OBS.Input ( Fixes #174 ) --- obs-powershell.types.ps1xml | 376 ++++++++++++++++++++++++++++++++++++ 1 file changed, 376 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 91e69d735..fd419d19d 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -711,6 +711,382 @@ if ($Multiple -lt 0) { $Multiple = 0} # If multiple is greater than 20, claim it to avoid errors (and check your hearing) if ($Multiple -gt 20) { $Multiple = 20} +$this | Set-OBSInputVolume -InputVolumeMul $Multiple + + + + + + OBS.Input + + + SourceName + inputName + + + Mute + + + + Next + + + + Pause + + + + Play + + + + Previous + + + + Remove + + + + Restart + + + + Stop + + + + Unmute + + + + CurrentTime + + <# +.SYNOPSIS + Gets an input's current time +.DESCRIPTION + Gets an input's current time, if applicable +.LINK + Get-OBSMediaInputStatus +#> +param() + +$mediaCursor = ($this | Get-OBSMediaInputStatus).mediaCursor -as [double] +if (-not $mediaCursor) { $mediaCursor = [double]0} +[timespan]::FromMilliseconds($mediaCursor) + + + <# +.SYNOPSIS + Sets an input's current time +.DESCRIPTION + Sets an input's current time. +.LINK + Send-OBSMediaInputCursor +#> +param() + +$mediaCursor = 0 + +$PassThru = $false +foreach ($arg in $args) { + if ($arg -is [double]) { + $mediaCursor = $arg + } + elseif ($arg -as [timespan]) { + $mediaCursor = $arg -as [timespan].TotalMilliseconds + } + if ($arg -is [bool]) { + $PassThru = $true + } +} +$this | Set-OBSMediaInputCursor -MediaCursor $mediaCursor -PassThru:$PassThru + + + + Filters + + <# +.SYNOPSIS + Gets an input's filters +.DESCRIPTION + Gets the filters related to an OBS input. +.EXAMPLE + $obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg + $obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 + $obsPowerShellIcon.Input.Filters +.LINK + Get-OBSSourceFilterList +#> +Get-OBSSourceFilterList -SourceName $this.InputName + + + + MonitorType + + $this | Get-OBSInputAudioMonitorType + + + param( +[string] +$MonitorType +) +$validValues = "Monitor", "MonitorAndOutput", "None","Off","OBS_MONITORING_TYPE_MONITOR_ONLY","OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT","OBS_MONITORING_TYPE_MONITOR_ONLY" + +if ($MonitorType -notin $validValues) { + throw "Invalid Value: '$MonitorType' is not in '$($validValues -join "','")'" +} + +$realMonitorType = if ($MonitorType -like 'obs*') { + $MonitorType.ToUpper() +} elseif ($MonitorType -eq 'Monitor') { + "OBS_MONITORING_TYPE_MONITOR_ONLY" +} elseif ($MonitorType -eq 'MonitorAndOutput') { + "OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT" +} else { + "OBS_MONITORING_TYPE_NONE" +} + +$this | Set-OBSInputAudioMonitorType -MonitorType $realMonitorType + + + + SceneItem + + <# +.SYNOPSIS + Gets an input's scene items +.DESCRIPTION + Gets the scene items associated with an input. +#> +Get-obsscene | + Select-Object -ExpandProperty Scenes | + Get-OBSSceneItem | + Where-Object SourceName -EQ $this.InputName | + Where-Object InputKind -EQ $this.InputKind + + + + Settings + + <# +.SYNOPSIS + Gets an input's settings +.DESCRIPTION + Gets the current settings for an OBS input. +.EXAMPLE + $obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg + $obsPowerShellIcon.Input.Settings +.LINK + Get-OBSInputSettings +#> +(Get-OBSInputSettings -InputName $this.InputName).inputSettings + + + <# +.SYNOPSIS + Sets an input's settings +.DESCRIPTION + Changes the settings for an OBS input. +.LINK + Set-OBSInputSettings +#> +param() +Set-OBSInputSettings -InputName $this.InputName -InputSettings $args[0] + + + + Status + + <# +.SYNOPSIS + Gets an input's status +.DESCRIPTION + Gets the media status of an OBS input. +.LINK + Get-OBSMediaInputStatus +#> +param() +$this | Get-OBSMediaInputStatus + + + + Volume + + <# +.SYNOPSIS + Gets an input's volume +.DESCRIPTION + Gets an OBS input's volume mulitplier +.LINK + Get-OBSInputVolume +#> +($this | Get-OBSInputVolume).inputVolumeMul + + + <# +.SYNOPSIS + Sets an input's volume +.DESCRIPTION + Sets an OBS input's volume mulitplier. + + This is normally between 0 (no sound) and 1 (normal levels). + + A source can be made up to 20 times the original volume. +.LINK + Set-OBSInputVolume +#> +param( +[double] +$Multiple +) + +# If multiple is less than zero, clamp it to avoid errors +if ($Multiple -lt 0) { $Multiple = 0} +# If multiple is greater than 20, claim it to avoid errors (and check your hearing) +if ($Multiple -gt 20) { $Multiple = 20} + $this | Set-OBSInputVolume -InputVolumeMul $Multiple From 5e0c25a51c08053674f98aa6efc5d27c10dd1b82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1031/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/OBS/Input/README.md diff --git a/docs/OBS/Input/README.md b/docs/OBS/Input/README.md new file mode 100644 index 000000000..11024c52b --- /dev/null +++ b/docs/OBS/Input/README.md @@ -0,0 +1,24 @@ +## OBS.Input + + +### Script Methods + + +* [Mute](Mute.md) +* [Next](Next.md) +* [Pause](Pause.md) +* [Play](Play.md) +* [Previous](Previous.md) +* [Remove](Remove.md) +* [Restart](Restart.md) +* [Stop](Stop.md) +* [Unmute](Unmute.md) +* [get_CurrentTime](get_CurrentTime.md) +* [set_CurrentTime](set_CurrentTime.md) +* [get_Filters](get_Filters.md) +* [get_SceneItem](get_SceneItem.md) +* [get_Settings](get_Settings.md) +* [set_Settings](set_Settings.md) +* [get_Status](get_Status.md) +* [get_Volume](get_Volume.md) +* [set_Volume](set_Volume.md) From 63f69adaae20cf745e7b1998250214b2d40b3922 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1032/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Mute.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Mute.md diff --git a/docs/OBS/Input/Mute.md b/docs/OBS/Input/Mute.md new file mode 100644 index 000000000..0e9038838 --- /dev/null +++ b/docs/OBS/Input/Mute.md @@ -0,0 +1,28 @@ +OBS.Input.Mute() +---------------- + +### Synopsis +Mutes an input + +--- + +### Description + +Mutes the audio of an OBS Input + +--- + +### Related Links +* Set-OBSInputMute + +--- + +### Parameters +#### **PassThru** +If set, returns the message used to mute + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From f52ccd4c378a6d51108f1bbcbd7f327e013fdc75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1033/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Next.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Next.md diff --git a/docs/OBS/Input/Next.md b/docs/OBS/Input/Next.md new file mode 100644 index 000000000..d7e12079f --- /dev/null +++ b/docs/OBS/Input/Next.md @@ -0,0 +1,28 @@ +OBS.Input.Next() +---------------- + +### Synopsis +Nexts an input + +--- + +### Description + +Sends a "Next" message to an input. + +--- + +### Related Links +* Send-OBSTriggerMediaInputAction + +--- + +### Parameters +#### **PassThru** +If set, will return the message instead of sending it now. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From bf7a766e42f50a3fe50f72eb08d8852515e4ef06 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1034/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Pause.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Pause.md diff --git a/docs/OBS/Input/Pause.md b/docs/OBS/Input/Pause.md new file mode 100644 index 000000000..4c0f61935 --- /dev/null +++ b/docs/OBS/Input/Pause.md @@ -0,0 +1,28 @@ +OBS.Input.Pause() +----------------- + +### Synopsis +Pauses an input + +--- + +### Description + +Sends a "Pause" message to an input. + +--- + +### Related Links +* Send-OBSTriggerMediaInputAction + +--- + +### Parameters +#### **PassThru** +If set, will return the message instead of sending it now. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From d68ea6df3af61c92a388d0d9ef96b3b9e7d2f1cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1035/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Play.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Play.md diff --git a/docs/OBS/Input/Play.md b/docs/OBS/Input/Play.md new file mode 100644 index 000000000..67e527cff --- /dev/null +++ b/docs/OBS/Input/Play.md @@ -0,0 +1,28 @@ +OBS.Input.Play() +---------------- + +### Synopsis +Plays an input + +--- + +### Description + +Sends a "Play" message to an input. + +--- + +### Related Links +* Send-OBSTriggerMediaInputAction + +--- + +### Parameters +#### **PassThru** +If set, will return the message instead of sending it now. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From 9664164c0fea791d200609197a4253a537bf5641 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1036/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Previous.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Previous.md diff --git a/docs/OBS/Input/Previous.md b/docs/OBS/Input/Previous.md new file mode 100644 index 000000000..93ef2cf1d --- /dev/null +++ b/docs/OBS/Input/Previous.md @@ -0,0 +1,28 @@ +OBS.Input.Previous() +-------------------- + +### Synopsis +Previouss an input + +--- + +### Description + +Sends a "Previous" message to an input. + +--- + +### Related Links +* Send-OBSTriggerMediaInputAction + +--- + +### Parameters +#### **PassThru** +If set, will return the message instead of sending it now. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From 42c053a0810d8c44844932e84ff995b06ab67a7a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1037/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Remove.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Input/Remove.md diff --git a/docs/OBS/Input/Remove.md b/docs/OBS/Input/Remove.md new file mode 100644 index 000000000..fb9aa6a6f --- /dev/null +++ b/docs/OBS/Input/Remove.md @@ -0,0 +1,18 @@ +OBS.Input.Remove() +------------------ + +### Synopsis +Removes an input + +--- + +### Description + +Removes an OBS Input + +--- + +### Related Links +* Remove-OBSInput + +--- From 06bbcd1f32dac0dc4e123eb0be93d7e96125d20b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1038/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Restart.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Restart.md diff --git a/docs/OBS/Input/Restart.md b/docs/OBS/Input/Restart.md new file mode 100644 index 000000000..de4250482 --- /dev/null +++ b/docs/OBS/Input/Restart.md @@ -0,0 +1,28 @@ +OBS.Input.Restart() +------------------- + +### Synopsis +Restarts an input + +--- + +### Description + +Sends a "Restart" message to an input. + +--- + +### Related Links +* Send-OBSTriggerMediaInputAction + +--- + +### Parameters +#### **PassThru** +If set, will return the message instead of sending it now. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From 255144bc6539af328feb9f17e4ad9eaaacb056d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:50 +0000 Subject: [PATCH 1039/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Stop.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Stop.md diff --git a/docs/OBS/Input/Stop.md b/docs/OBS/Input/Stop.md new file mode 100644 index 000000000..365d87d37 --- /dev/null +++ b/docs/OBS/Input/Stop.md @@ -0,0 +1,28 @@ +OBS.Input.Stop() +---------------- + +### Synopsis +Stops an input + +--- + +### Description + +Sends a "Stop" message to an input. + +--- + +### Related Links +* Send-OBSTriggerMediaInputAction + +--- + +### Parameters +#### **PassThru** +If set, will return the message instead of sending it now. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From 245bbceb398d0ea990b94260d530f71fcf3411ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1040/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/Unmute.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/Unmute.md diff --git a/docs/OBS/Input/Unmute.md b/docs/OBS/Input/Unmute.md new file mode 100644 index 000000000..9ab3b795d --- /dev/null +++ b/docs/OBS/Input/Unmute.md @@ -0,0 +1,28 @@ +OBS.Input.Unmute() +------------------ + +### Synopsis +Mutes an input + +--- + +### Description + +Mutes the audio of an OBS Input + +--- + +### Related Links +* Set-OBSInputMute + +--- + +### Parameters +#### **PassThru** +If set, returns the message used to unmute. + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |false | + +--- From dd5839d31ccf00d22fec51f12302430ab3394db3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1041/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/get_CurrentTime.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Input/get_CurrentTime.md diff --git a/docs/OBS/Input/get_CurrentTime.md b/docs/OBS/Input/get_CurrentTime.md new file mode 100644 index 000000000..6ba463bf0 --- /dev/null +++ b/docs/OBS/Input/get_CurrentTime.md @@ -0,0 +1,18 @@ +OBS.Input.get_CurrentTime() +--------------------------- + +### Synopsis +Gets an input's current time + +--- + +### Description + +Gets an input's current time, if applicable + +--- + +### Related Links +* Get-OBSMediaInputStatus + +--- From b7cb75b654a704e838c258d1036eb6d47dfc2d7e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1042/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/set_CurrentTime.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Input/set_CurrentTime.md diff --git a/docs/OBS/Input/set_CurrentTime.md b/docs/OBS/Input/set_CurrentTime.md new file mode 100644 index 000000000..70cca6c2f --- /dev/null +++ b/docs/OBS/Input/set_CurrentTime.md @@ -0,0 +1,18 @@ +OBS.Input.set_CurrentTime() +--------------------------- + +### Synopsis +Sets an input's current time + +--- + +### Description + +Sets an input's current time. + +--- + +### Related Links +* Send-OBSMediaInputCursor + +--- From 92b6c101c7e05b1edc5ba1f8db8f7d01b2a21fbd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1043/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/get_Filters.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/OBS/Input/get_Filters.md diff --git a/docs/OBS/Input/get_Filters.md b/docs/OBS/Input/get_Filters.md new file mode 100644 index 000000000..8e51dd31a --- /dev/null +++ b/docs/OBS/Input/get_Filters.md @@ -0,0 +1,29 @@ +OBS.Input.get_Filters() +----------------------- + +### Synopsis +Gets an input's filters + +--- + +### Description + +Gets the filters related to an OBS input. + +--- + +### Related Links +* Get-OBSSourceFilterList + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg +$obsPowerShellIcon | Set-OBSColorFilter -Opacity .5 +$obsPowerShellIcon.Input.Filters +``` + +--- From 76b2607c5bbd2cd6893208481f4e8a84b4b3d497 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1044/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/get_SceneItem.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/OBS/Input/get_SceneItem.md diff --git a/docs/OBS/Input/get_SceneItem.md b/docs/OBS/Input/get_SceneItem.md new file mode 100644 index 000000000..b96eea832 --- /dev/null +++ b/docs/OBS/Input/get_SceneItem.md @@ -0,0 +1,13 @@ +OBS.Input.get_SceneItem() +------------------------- + +### Synopsis +Gets an input's scene items + +--- + +### Description + +Gets the scene items associated with an input. + +--- From 9fbc7c3aeec63bb747a62ebe13d3ef1b24c70442 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1045/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/get_Settings.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/OBS/Input/get_Settings.md diff --git a/docs/OBS/Input/get_Settings.md b/docs/OBS/Input/get_Settings.md new file mode 100644 index 000000000..1447ace4d --- /dev/null +++ b/docs/OBS/Input/get_Settings.md @@ -0,0 +1,28 @@ +OBS.Input.get_Settings() +------------------------ + +### Synopsis +Gets an input's settings + +--- + +### Description + +Gets the current settings for an OBS input. + +--- + +### Related Links +* Get-OBSInputSettings + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$obsPowerShellIcon = Show-OBS -Uri https://obs-powershell.start-automating.com/Assets/obs-powershell-animated-icon.svg +$obsPowerShellIcon.Input.Settings +``` + +--- From d99805512523c8a84225cf820bd65e03a9ee9c92 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1046/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/set_Settings.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Input/set_Settings.md diff --git a/docs/OBS/Input/set_Settings.md b/docs/OBS/Input/set_Settings.md new file mode 100644 index 000000000..f581add74 --- /dev/null +++ b/docs/OBS/Input/set_Settings.md @@ -0,0 +1,18 @@ +OBS.Input.set_Settings() +------------------------ + +### Synopsis +Sets an input's settings + +--- + +### Description + +Changes the settings for an OBS input. + +--- + +### Related Links +* Set-OBSInputSettings + +--- From 41cf5e4258b491a398ce153402562b6c753c8994 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1047/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/get_Status.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Input/get_Status.md diff --git a/docs/OBS/Input/get_Status.md b/docs/OBS/Input/get_Status.md new file mode 100644 index 000000000..9fc8474cb --- /dev/null +++ b/docs/OBS/Input/get_Status.md @@ -0,0 +1,18 @@ +OBS.Input.get_Status() +---------------------- + +### Synopsis +Gets an input's status + +--- + +### Description + +Gets the media status of an OBS input. + +--- + +### Related Links +* Get-OBSMediaInputStatus + +--- From 46d24f917f43b767fd56d5a1442048fc22e8f4d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1048/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/get_Volume.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Input/get_Volume.md diff --git a/docs/OBS/Input/get_Volume.md b/docs/OBS/Input/get_Volume.md new file mode 100644 index 000000000..403adc070 --- /dev/null +++ b/docs/OBS/Input/get_Volume.md @@ -0,0 +1,18 @@ +OBS.Input.get_Volume() +---------------------- + +### Synopsis +Gets an input's volume + +--- + +### Description + +Gets an OBS input's volume mulitplier + +--- + +### Related Links +* Get-OBSInputVolume + +--- From d2a5bc5cb7ecfb68d678260691ba6b3a62b807cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 9 Feb 2024 07:08:51 +0000 Subject: [PATCH 1049/4768] feat: Adding OBS.Input ( Fixes #174 ) --- docs/OBS/Input/set_Volume.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/OBS/Input/set_Volume.md diff --git a/docs/OBS/Input/set_Volume.md b/docs/OBS/Input/set_Volume.md new file mode 100644 index 000000000..2d1e35927 --- /dev/null +++ b/docs/OBS/Input/set_Volume.md @@ -0,0 +1,31 @@ +OBS.Input.set_Volume() +---------------------- + +### Synopsis +Sets an input's volume + +--- + +### Description + +Sets an OBS input's volume mulitplier. + +This is normally between 0 (no sound) and 1 (normal levels). + +A source can be made up to 20 times the original volume. + +--- + +### Related Links +* Set-OBSInputVolume + +--- + +### Parameters +#### **Multiple** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Double]`|false |1 |false | + +--- From c86d3bc07f16ef46ec4996bf1093dd425a481895 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Sat, 10 Feb 2024 16:30:41 -0800 Subject: [PATCH 1050/4768] feat: OBS.Statistics ( Fixes #178 ) --- Types/OBS.PowerShell/Alias.psd1 | 3 +++ Types/OBS.PowerShell/{get_Stats.ps1 => get_Statistics.ps1} | 0 2 files changed, 3 insertions(+) create mode 100644 Types/OBS.PowerShell/Alias.psd1 rename Types/OBS.PowerShell/{get_Stats.ps1 => get_Statistics.ps1} (100%) diff --git a/Types/OBS.PowerShell/Alias.psd1 b/Types/OBS.PowerShell/Alias.psd1 new file mode 100644 index 000000000..41cb2f23e --- /dev/null +++ b/Types/OBS.PowerShell/Alias.psd1 @@ -0,0 +1,3 @@ +@{ + Stats = 'Statistics' +} \ No newline at end of file diff --git a/Types/OBS.PowerShell/get_Stats.ps1 b/Types/OBS.PowerShell/get_Statistics.ps1 similarity index 100% rename from Types/OBS.PowerShell/get_Stats.ps1 rename to Types/OBS.PowerShell/get_Statistics.ps1 From 7654a20e2273f1cd0eea9dc5020299b850ea8d8b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sun, 11 Feb 2024 00:35:43 +0000 Subject: [PATCH 1051/4768] feat: OBS.Statistics ( Fixes #178 ) --- obs-powershell.types.ps1xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index fd419d19d..9731cf954 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1167,6 +1167,10 @@ $this | Set-OBSInputSettings -InputSettings ([Ordered]@{color=$realColor}) OBS.PowerShell + + Stats + Statistics + Commands @@ -1359,7 +1363,7 @@ $this.Scenes | Get-OBSSceneItem - Stats + Statistics <# .SYNOPSIS From 2f1e16233d6c30944f06e78244671613038d7a4c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sun, 11 Feb 2024 00:36:24 +0000 Subject: [PATCH 1052/4768] feat: OBS.Statistics ( Fixes #178 ) --- docs/OBS/PowerShell/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OBS/PowerShell/README.md b/docs/OBS/PowerShell/README.md index cee2c2860..92a405378 100644 --- a/docs/OBS/PowerShell/README.md +++ b/docs/OBS/PowerShell/README.md @@ -15,5 +15,5 @@ * [get_RecordStatus](get_RecordStatus.md) * [get_SceneItems](get_SceneItems.md) * [get_Scenes](get_Scenes.md) -* [get_Stats](get_Stats.md) +* [get_Statistics](get_Statistics.md) * [get_StreamStatus](get_StreamStatus.md) From 28f5abeb1624f36b398ad336f2d4b4b1f33bdbdd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sun, 11 Feb 2024 00:36:25 +0000 Subject: [PATCH 1053/4768] feat: OBS.Statistics ( Fixes #178 ) --- docs/OBS/PowerShell/get_Statistics.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/PowerShell/get_Statistics.md diff --git a/docs/OBS/PowerShell/get_Statistics.md b/docs/OBS/PowerShell/get_Statistics.md new file mode 100644 index 000000000..a59387abb --- /dev/null +++ b/docs/OBS/PowerShell/get_Statistics.md @@ -0,0 +1,18 @@ +OBS.PowerShell.get_Statistics() +------------------------------- + +### Synopsis +Gets OBS stats. + +--- + +### Description + +Gets OBS statistics + +--- + +### Related Links +* Get-OBSStats + +--- From f967ea0d9a14d1a60541875946e43ebc9cc00bf0 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 12:36:11 -0800 Subject: [PATCH 1054/4768] feat: obs-powershell now mounts itself ( Fixes #180 ) --- obs-powershell.ps.psm1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/obs-powershell.ps.psm1 b/obs-powershell.ps.psm1 index 48f9b92d7..6385b036d 100644 --- a/obs-powershell.ps.psm1 +++ b/obs-powershell.ps.psm1 @@ -6,6 +6,14 @@ $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { Disconnect-OBS } +$myModule = $MyInvocation.MyCommand.ScriptBlock.Module +$NewDriveSplat = @{PSProvider='FileSystem';ErrorAction='Ignore';Scope='Global'} +New-PSDrive -Name $myModule.Name -Root $PSScriptRoot -Description "$MyModule" @NewDriveSplat + +if ($home) { + New-PSDrive -Name "my-$($MyModule.Name)" -Root (Join-Path $home $myModule.Name) -Description "My $MyModule" @NewDriveSplat +} + foreach ($noun in 'Streaming','Recording') { foreach ($verb in 'Start', 'Stop') { Set-Alias "$verb-$noun" "$verb-OBS$($noun -replace 'ing')" From a4f2060c74fadffe932d24582a2743594a4814f7 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 12:40:54 -0800 Subject: [PATCH 1055/4768] feat: obs-powershell now mounts itself ( Fixes #180 ) Fixing my-obs-powershell mount point --- obs-powershell.ps.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-powershell.ps.psm1 b/obs-powershell.ps.psm1 index 6385b036d..1354f7f21 100644 --- a/obs-powershell.ps.psm1 +++ b/obs-powershell.ps.psm1 @@ -11,7 +11,7 @@ $NewDriveSplat = @{PSProvider='FileSystem';ErrorAction='Ignore';Scope='Global'} New-PSDrive -Name $myModule.Name -Root $PSScriptRoot -Description "$MyModule" @NewDriveSplat if ($home) { - New-PSDrive -Name "my-$($MyModule.Name)" -Root (Join-Path $home $myModule.Name) -Description "My $MyModule" @NewDriveSplat + New-PSDrive -Name "my-$($MyModule.Name)" -Root (Join-Path $home ".$($myModule.Name)") -Description "My $MyModule" @NewDriveSplat } foreach ($noun in 'Streaming','Recording') { From 5104cad4e1956036936f0b5e1828ff7dd6300638 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Mon, 12 Feb 2024 20:45:48 +0000 Subject: [PATCH 1056/4768] feat: obs-powershell now mounts itself ( Fixes #180 ) Fixing my-obs-powershell mount point --- obs-powershell.psm1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/obs-powershell.psm1 b/obs-powershell.psm1 index 9e1ac8780..0981da098 100644 --- a/obs-powershell.psm1 +++ b/obs-powershell.psm1 @@ -15,6 +15,14 @@ $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { Disconnect-OBS } +$myModule = $MyInvocation.MyCommand.ScriptBlock.Module +$NewDriveSplat = @{PSProvider='FileSystem';ErrorAction='Ignore';Scope='Global'} +New-PSDrive -Name $myModule.Name -Root $PSScriptRoot -Description "$MyModule" @NewDriveSplat + +if ($home) { + New-PSDrive -Name "my-$($MyModule.Name)" -Root (Join-Path $home ".$($myModule.Name)") -Description "My $MyModule" @NewDriveSplat +} + foreach ($noun in 'Streaming','Recording') { foreach ($verb in 'Start', 'Stop') { Set-Alias "$verb-$noun" "$verb-OBS$($noun -replace 'ing')" From 5930284e0e0f4c338b6937840a6b6993fa714838 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 17:26:27 -0800 Subject: [PATCH 1057/4768] fix: OBS.Filter.Disable PassThru support ( Fixes #181 ) --- Types/OBS.Filter/Disable.ps1 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Types/OBS.Filter/Disable.ps1 b/Types/OBS.Filter/Disable.ps1 index 17cc99a61..fbc689c47 100644 --- a/Types/OBS.Filter/Disable.ps1 +++ b/Types/OBS.Filter/Disable.ps1 @@ -11,7 +11,6 @@ param( [switch] $PassThru ) -$this | Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru $PassThru -if (-not $PassThru) { - $this | Add-Member filterEnabled $false -Force -PassThru -} \ No newline at end of file +$this | + Add-Member filterEnabled $false -Force -PassThru | + Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru:$PassThru From 209275cc2ba830379a4ead774c28b18b7807bfca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 01:31:38 +0000 Subject: [PATCH 1058/4768] fix: OBS.Filter.Disable PassThru support ( Fixes #181 ) --- obs-powershell.types.ps1xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 9731cf954..ff6ff4e5b 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -20,10 +20,10 @@ param( [switch] $PassThru ) -$this | Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru $PassThru -if (-not $PassThru) { - $this | Add-Member filterEnabled $false -Force -PassThru -} +$this | + Add-Member filterEnabled $false -Force -PassThru | + Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru:$PassThru + @@ -133,10 +133,10 @@ param( [switch] $PassThru ) -$this | Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru $PassThru -if (-not $PassThru) { - $this | Add-Member filterEnabled $false -Force -PassThru -} +$this | + Add-Member filterEnabled $false -Force -PassThru | + Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru:$PassThru + @@ -246,10 +246,10 @@ param( [switch] $PassThru ) -$this | Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru $PassThru -if (-not $PassThru) { - $this | Add-Member filterEnabled $false -Force -PassThru -} +$this | + Add-Member filterEnabled $false -Force -PassThru | + Set-OBSSourceFilterEnabled -FilterEnabled:$false -PassThru:$PassThru + From 6a285ae995e47ba75dec44ba6a042a9eed47475f Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 17:48:59 -0800 Subject: [PATCH 1059/4768] fix: OBS.SceneItem.Animate Permissiveness ( Fixes #182 ) --- Types/OBS.SceneItem/Animate.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Types/OBS.SceneItem/Animate.ps1 b/Types/OBS.SceneItem/Animate.ps1 index cff209ce8..491eb2554 100644 --- a/Types/OBS.SceneItem/Animate.ps1 +++ b/Types/OBS.SceneItem/Animate.ps1 @@ -72,7 +72,7 @@ filter ToScale { $nextTimeSpan = [timespan]0 -$keyNames = 'positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' +$keyNames = 'boundsWidth','boundsHeight','positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' $keyAliases = [Ordered]@{'Rotate'='rotation'} $duplicatedKeyAliases = [Ordered]@{ 'position' = 'positionX', 'positionY' From bd22e9543d978d57994b330339907243139ba06e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 01:54:04 +0000 Subject: [PATCH 1060/4768] fix: OBS.SceneItem.Animate Permissiveness ( Fixes #182 ) --- obs-powershell.psd1 | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 0d91e28c0..55b0b5932 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -175,30 +175,6 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', 'Add-OBSInput', 'Add-OBSProfile', 'Add-OBSScene', @@ -338,6 +314,30 @@ Initial Release of obs-powershell 'Switch-OBSRecordPause', 'Switch-OBSReplayBuffer', 'Switch-OBSStream', -'Switch-OBSVirtualCam' +'Switch-OBSVirtualCam', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource' } From cfd73306fee20fb09e9af44441d4d6d741b93c51 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 01:54:08 +0000 Subject: [PATCH 1061/4768] fix: OBS.SceneItem.Animate Permissiveness ( Fixes #182 ) --- obs-powershell.types.ps1xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index ff6ff4e5b..dd547bf42 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1830,7 +1830,7 @@ filter ToScale { $nextTimeSpan = [timespan]0 -$keyNames = 'positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' +$keyNames = 'boundsWidth','boundsHeight','positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' $keyAliases = [Ordered]@{'Rotate'='rotation'} $duplicatedKeyAliases = [Ordered]@{ 'position' = 'positionX', 'positionY' @@ -2578,7 +2578,7 @@ filter ToScale { $nextTimeSpan = [timespan]0 -$keyNames = 'positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' +$keyNames = 'boundsWidth','boundsHeight','positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' $keyAliases = [Ordered]@{'Rotate'='rotation'} $duplicatedKeyAliases = [Ordered]@{ 'position' = 'positionX', 'positionY' @@ -3326,7 +3326,7 @@ filter ToScale { $nextTimeSpan = [timespan]0 -$keyNames = 'positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' +$keyNames = 'boundsWidth','boundsHeight','positionX', 'positionY', 'scaleX','scaleY', 'cropBottom', 'cropLeft', 'cropRight', 'cropTop', 'rotation' $keyAliases = [Ordered]@{'Rotate'='rotation'} $duplicatedKeyAliases = [Ordered]@{ 'position' = 'positionX', 'positionY' From 993a2f1684ac0026542921a03e239d2c128fb157 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 18:02:52 -0800 Subject: [PATCH 1062/4768] fix: OBS.Input.Disable/EnableAllFilter(s) ( Fixes #183 ) --- Types/OBS.Input/Alias.psd1 | 2 ++ Types/OBS.Input/DisableAllFilter.ps1 | 16 ++++++++++++++++ Types/OBS.Input/EnableAllFilter.ps1 | 16 ++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 Types/OBS.Input/DisableAllFilter.ps1 create mode 100644 Types/OBS.Input/EnableAllFilter.ps1 diff --git a/Types/OBS.Input/Alias.psd1 b/Types/OBS.Input/Alias.psd1 index 132b9e72c..d46333b63 100644 --- a/Types/OBS.Input/Alias.psd1 +++ b/Types/OBS.Input/Alias.psd1 @@ -1,3 +1,5 @@ @{ SourceName = 'inputName' + EnableAllFilters = 'EnableAllFilter' + DisableAllFilters = 'DisableAllFilter' } \ No newline at end of file diff --git a/Types/OBS.Input/DisableAllFilter.ps1 b/Types/OBS.Input/DisableAllFilter.ps1 new file mode 100644 index 000000000..c9a030add --- /dev/null +++ b/Types/OBS.Input/DisableAllFilter.ps1 @@ -0,0 +1,16 @@ +<# +.SYNOPSIS + Quickly disables all filters +.DESCRIPTION + Quickly disables all filters, except for a list of provided names +#> +param( +# A list of filter names to leave disabled. +[string[]] +$ExceptFilterName +) + +$this.Filters | + Where-Object FilterName -NotIn $ExceptFilterName | + Foreach-Object { $_.Enable($true) } | + Send-OBS diff --git a/Types/OBS.Input/EnableAllFilter.ps1 b/Types/OBS.Input/EnableAllFilter.ps1 new file mode 100644 index 000000000..b3037ec19 --- /dev/null +++ b/Types/OBS.Input/EnableAllFilter.ps1 @@ -0,0 +1,16 @@ +<# +.SYNOPSIS + Quickly enables all filters +.DESCRIPTION + Quickly enables all filters, except for a list of provided names +#> +param( +# A list of filter names to leave disabled. +[string[]] +$ExceptFilterName +) + +$this.Filters | + Where-Object FilterName -NotIn $ExceptFilterName | + Foreach-Object { $_.Enable($true) } | + Send-OBS From 0667de96e0ad0889077fac80df081fdc4dc99780 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 02:07:42 +0000 Subject: [PATCH 1063/4768] fix: OBS.Input.Disable/EnableAllFilter(s) ( Fixes #183 ) --- obs-powershell.psd1 | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 55b0b5932..0d91e28c0 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -175,6 +175,30 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', 'Add-OBSInput', 'Add-OBSProfile', 'Add-OBSScene', @@ -314,30 +338,6 @@ Initial Release of obs-powershell 'Switch-OBSRecordPause', 'Switch-OBSReplayBuffer', 'Switch-OBSStream', -'Switch-OBSVirtualCam', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource' +'Switch-OBSVirtualCam' } From a2a3fef080bb2a5b9cfe34db84d69e4f613f81bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 02:07:46 +0000 Subject: [PATCH 1064/4768] fix: OBS.Input.Disable/EnableAllFilter(s) ( Fixes #183 ) --- obs-powershell.types.ps1xml | 104 ++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index dd547bf42..b9b42fe13 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -343,10 +343,62 @@ $this | OBS.GetInputList.Response + + DisableAllFilters + DisableAllFilter + + + EnableAllFilters + EnableAllFilter + SourceName inputName + + DisableAllFilter + + + + EnableAllFilter + + Mute + + + EnableAllFilter + + Mute @@ -800,7 +800,7 @@ $ExceptFilterName $this.Filters | Where-Object FilterName -NotIn $ExceptFilterName | - Foreach-Object { $_.Enable($true) } | + Foreach-Object { $_.Disable($true) } | Send-OBS From beb566e346abc79050a037da157123a949da2930 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 19:02:16 -0800 Subject: [PATCH 1073/4768] fix: First Draft of Autogenerated Shader Commands ( Fixes #163 ) --- Build/obs-powershell-pixelshaders.build.ps1 | 269 ++++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 Build/obs-powershell-pixelshaders.build.ps1 diff --git a/Build/obs-powershell-pixelshaders.build.ps1 b/Build/obs-powershell-pixelshaders.build.ps1 new file mode 100644 index 000000000..9802686d4 --- /dev/null +++ b/Build/obs-powershell-pixelshaders.build.ps1 @@ -0,0 +1,269 @@ +<# +.SYNOPSIS + Generates obs-powershell commands for PixelShaders +.DESCRIPTION + +#> +$updatedSubmodules = git submodule update --remote + +$parentPath = $PSScriptRoot | Split-Path + +$ShaderFiles = Get-ChildItem -Path $parentPath -File -Recurse | + Where-Object Extension -in '.shader', '.effect' + +$commandsPath = Join-Path $parentPath Commands +$FilterCommandsPath = Join-Path $commandsPath Filters +$ShaderCommandsPath = Join-Path $FilterCommandsPath Shaders + +if (-not (Test-Path $ShaderCommandsPath)) { + $null = New-Item -ItemType Directory -path $ShaderCommandsPath +} + +$FindShaderParameters = 'uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' + +$ShaderParameters = $ShaderFiles | + Select-String $FindShaderParameters | + Group-Object Path + +$importedModule = Import-Module $parentPath -Global -PassThru + +if (-not $importedModule) { + Write-Error "Could not import module" + return +} + + +$underscoreWord = "[\w-[_]]+_?" +$capitalizeNames = { + param($match) + $matchAsString = "$match" + $matchAsString.Substring(0,1).ToUpper() + $matchAsString.Substring(1) -replace "_" +} + +$FindAnnotations = [Regex]::new("$FindShaderParameters\<[\s\S]+?>") +$generatingJobs = @() + +foreach ($shaderParameterSet in $ShaderParameters) { + + $shaderName = @($shaderParameterSet.Name.Split([IO.Path]::DirectorySeparatorChar))[-1] -replace '\.(?>effect|shader)$' + $ShaderNoun = "OBS" + ([Regex]::Replace($shaderName, $underscoreWord,$capitalizeNames) -replace '[\p{P}_\+]') + "Shader" + + $ShaderContent = [IO.File]::ReadAllText($shaderParameterSet.Name) + $ShaderAnnotations = [Ordered]@{} + foreach ($shaderAnnotation in $FindAnnotations.Matches($ShaderContent)) { + $null = $shaderAnnotation -match $FindAnnotations + $shaderAnnotations[$matches.'ParameterName'] = [Ordered]@{} + $matches + } + + $ShaderParameters = [Ordered]@{} + + foreach ($shaderParameterInSet in $shaderParameterSet.Group) { + $shaderMatch = $shaderParameterInSet -match $FindShaderParameters + $shaderMatch = [Ordered]@{} + $matches + $shaderParameterSystemName = $shaderMatch.ParameterName + + + $shaderParameterName = [Regex]::Replace($shaderParameterSystemName, $underscoreWord,$capitalizeNames) + + $ShaderParameterHelp = "Set the $shaderParameterSystemName of $ShaderNoun" + $ShaderParameterAttributes = @() + + # If there were annotations, pick them out. + if ($shaderParameterInSet -like '*<') { + $annotationsForThisShader = $ShaderAnnotations[$shaderParameterSystemName] + $annotationList = + $ShaderAnnotations[$shaderParameterSystemName].0 -split '[\<\>\;]' -notmatch '^\s{0,}$' | + Select-Object -Skip 1 + + $ShaderMin, $ShaderMax = $null, $null + + foreach ($annotationItem in $annotationList) { + $annotationItems = @($annotationItem -split '\s+' -ne '') + $afterEquals = @($annotationItems | Select-Object -Skip 3) -join ' ' -replace '"' + switch ($annotationItems[1]) { + label { + $null = $null + $ShaderParameterHelp = $afterEquals + } + maximum { + $null = $null + $ShaderMax = $afterEquals -as [float] + } + minumum { + $ShaderMin = $afterEquals -as [float] + } + } + } + + if ($null -ne $ShaderMax -and $null -ne $ShaderMin) { + $ShaderParameterAttributes += "[ValidateRange($ShaderMin, $ShaderMax)]" + } + } + + + $shaderParameterType = $shaderMatch.Type + + $ShaderPowerShellParameterType = + switch ($shaderParameterType) { + int { [int] } + bool { [switch] } + + string { [string] } + texture2d { [string] } + + float { [float] } + float2 { [float[]] } + float3 { [float[]] } + float4 { [float[]] } + float4x4 { [float[][]]} + + default { + [PSObject] + } + } + + $ShaderParameters[$shaderParameterName] = [Ordered]@{ + ParameterName = $shaderParameterName + ParameterType = $ShaderPowerShellParameterType + Attribute = "[ComponentModel.DefaultBindingProperty('$ShaderParameterSystemName')]" + Help = $ShaderParameterHelp + } + + if ($shaderParameterSystemName -ne $shaderParameterName) { + $ShaderParameters[$shaderParameterName].Alias = $shaderParameterSystemName + } + } + + $ShaderParameters["SourceName"] = [Ordered]@{ + Attribute = 'ValueFromPipelineByPropertyName' + Alias = 'SceneItemName' + ParameterType = [string] + Help = "The name of the source. This must be provided when adding an item for the first time" + } + + $ShaderParameters["FilterName"] = [Ordered]@{ + Attribute = 'ValueFromPipelineByPropertyName' + ParameterType = [string] + Help = "The name of the filter. If this is not provided, this will default to the shader name." + } + + $ShaderParameters["ShaderText"] = [Ordered]@{ + ParameterName = "ShaderText" + ParameterType = [string] + Alias = "ShaderContent" + Help = "The inline value of the shader. This will normally be provided as a default parameter, based off of the name." + } + + $ShaderParameters["PassThru"] = [Ordered]@{ + ParameterName = "PassThru" + ParameterType = [switch] + Help = "If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS)" + } + + $ShaderParameters["NoResponse"] = [Ordered]@{ + ParameterName = "NoResponse" + ParameterType = [switch] + Help = "If set, will not wait for a response from OBS (this will be faster, but will not return anything)" + } + + + $ShaderProcess = [scriptblock]::Create(@" +if (-not `$psBoundParameters['ShaderText']) { + `$shaderName = `$shaderName + `$ShaderNoun = '$ShaderNoun' + `$psBoundParameters['ShaderText'] = `$ShaderText = ' +$($ShaderContent -replace "'","''") +' +} +"@ + { +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} +}) + + + + $NewPipeScriptSplat = [Ordered]@{} + $NewPipeScriptSplat.FunctionName = "Get-$ShaderNoun" + $NewPipeScriptSplat.Parameter = $ShaderParameters + $NewPipeScriptSplat.Alias = "Set-$ShaderNoun", "Add-$ShaderNoun" + $NewPipeScriptSplat.OutputPath = (Join-Path $ShaderCommandsPath "Get-$ShaderNoun.ps1") + $NewPipeScriptSplat.Process = $ShaderProcess + + $generatingJobs += Start-ThreadJob -ScriptBlock { + param($PipeScriptPath, $NewPipeScriptSplat) + + Import-Module $pipeScriptPath + New-PipeScript @NewPipeScriptSplat + } -ArgumentList "$(Get-Module PipeScript | Split-Path | Join-Path -ChildPath PipeScript.psd1)", + $NewPipeScriptSplat + + + <#$generatedFunction = New-PipeScript -FunctionName "Get-$ShaderNoun" -Parameter $ShaderParameters -Alias "Set-$ShaderNoun", + "Add-$ShaderNoun" -outputPath (Join-Path $ShaderCommandsPath "Get-$ShaderNoun.ps1") -Process $ShaderProcess + $generatedFunction + $null = $null #> +} + +do { + $generatingJobs | Receive-Job + $generatingJobStates = @($generatingJobs | Select-Object -ExpandProperty State -Unique | Sort-Object) + Start-Sleep -Seconds 1 +} while (($generatingJobStates -match '(?>NotStarted|Running)')) From e3f0a54efb0c39a152f2b928dbe67288b7b34ae5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 03:07:27 +0000 Subject: [PATCH 1074/4768] fix: First Draft of Autogenerated Shader Commands ( Fixes #163 ) --- obs-powershell.psd1 | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 0d91e28c0..55b0b5932 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -175,30 +175,6 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', 'Add-OBSInput', 'Add-OBSProfile', 'Add-OBSScene', @@ -338,6 +314,30 @@ Initial Release of obs-powershell 'Switch-OBSRecordPause', 'Switch-OBSReplayBuffer', 'Switch-OBSStream', -'Switch-OBSVirtualCam' +'Switch-OBSVirtualCam', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource' } From f0079945857c42cfbaea1969d3efffe930fa6b27 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 19:12:41 -0800 Subject: [PATCH 1075/4768] feat: Renaming Shader Build File ( Fixes #163 ) --- ...shaders.build.ps1 => obs-powershell.ShaderFunctions.build.ps1} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Build/{obs-powershell-pixelshaders.build.ps1 => obs-powershell.ShaderFunctions.build.ps1} (100%) diff --git a/Build/obs-powershell-pixelshaders.build.ps1 b/Build/obs-powershell.ShaderFunctions.build.ps1 similarity index 100% rename from Build/obs-powershell-pixelshaders.build.ps1 rename to Build/obs-powershell.ShaderFunctions.build.ps1 From f98acab8de87f6793a13377361421d45d463471f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 03:17:28 +0000 Subject: [PATCH 1076/4768] feat: Renaming Shader Build File ( Fixes #163 ) --- obs-powershell.psd1 | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 55b0b5932..0d91e28c0 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -175,6 +175,30 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', 'Add-OBSInput', 'Add-OBSProfile', 'Add-OBSScene', @@ -314,30 +338,6 @@ Initial Release of obs-powershell 'Switch-OBSRecordPause', 'Switch-OBSReplayBuffer', 'Switch-OBSStream', -'Switch-OBSVirtualCam', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource' +'Switch-OBSVirtualCam' } From 4ed336b099b8343e000540589f31330db5ff67f6 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 19:19:28 -0800 Subject: [PATCH 1077/4768] feat: Serially Building Shaders ( Fixes #163 ) --- Build/obs-powershell.ShaderFunctions.build.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Build/obs-powershell.ShaderFunctions.build.ps1 b/Build/obs-powershell.ShaderFunctions.build.ps1 index 9802686d4..8f6ce98f4 100644 --- a/Build/obs-powershell.ShaderFunctions.build.ps1 +++ b/Build/obs-powershell.ShaderFunctions.build.ps1 @@ -246,7 +246,7 @@ switch -regex ($myVerb) { $NewPipeScriptSplat.Alias = "Set-$ShaderNoun", "Add-$ShaderNoun" $NewPipeScriptSplat.OutputPath = (Join-Path $ShaderCommandsPath "Get-$ShaderNoun.ps1") $NewPipeScriptSplat.Process = $ShaderProcess - + <# $generatingJobs += Start-ThreadJob -ScriptBlock { param($PipeScriptPath, $NewPipeScriptSplat) @@ -254,16 +254,18 @@ switch -regex ($myVerb) { New-PipeScript @NewPipeScriptSplat } -ArgumentList "$(Get-Module PipeScript | Split-Path | Join-Path -ChildPath PipeScript.psd1)", $NewPipeScriptSplat - - + #> + New-PipeScript @NewPipeScriptSplat <#$generatedFunction = New-PipeScript -FunctionName "Get-$ShaderNoun" -Parameter $ShaderParameters -Alias "Set-$ShaderNoun", "Add-$ShaderNoun" -outputPath (Join-Path $ShaderCommandsPath "Get-$ShaderNoun.ps1") -Process $ShaderProcess $generatedFunction $null = $null #> } +<# do { $generatingJobs | Receive-Job $generatingJobStates = @($generatingJobs | Select-Object -ExpandProperty State -Unique | Sort-Object) Start-Sleep -Seconds 1 } while (($generatingJobStates -match '(?>NotStarted|Running)')) +#> \ No newline at end of file From fa5d6be7ffa2cbe3a9748a4b486da0a5b48be0c2 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 20:16:21 -0800 Subject: [PATCH 1078/4768] feat: Building Shaders First ( Fixes #163 ) Also fixing shader pattern to avoid commented out parameters --- ...hell.ShaderFunctions.build.ps1 => obs--shaders.build.ps1} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename Build/{obs-powershell.ShaderFunctions.build.ps1 => obs--shaders.build.ps1} (98%) diff --git a/Build/obs-powershell.ShaderFunctions.build.ps1 b/Build/obs--shaders.build.ps1 similarity index 98% rename from Build/obs-powershell.ShaderFunctions.build.ps1 rename to Build/obs--shaders.build.ps1 index 8f6ce98f4..bb5424de9 100644 --- a/Build/obs-powershell.ShaderFunctions.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -8,7 +8,8 @@ $updatedSubmodules = git submodule update --remote $parentPath = $PSScriptRoot | Split-Path -$ShaderFiles = Get-ChildItem -Path $parentPath -File -Recurse | +$ShaderFiles = + Get-ChildItem -Path $parentPath -File -Recurse | Where-Object Extension -in '.shader', '.effect' $commandsPath = Join-Path $parentPath Commands @@ -19,7 +20,7 @@ if (-not (Test-Path $ShaderCommandsPath)) { $null = New-Item -ItemType Directory -path $ShaderCommandsPath } -$FindShaderParameters = 'uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' +$FindShaderParameters = '^[^/]{0,}uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' $ShaderParameters = $ShaderFiles | Select-String $FindShaderParameters | From de9695da39f76cbc1d4e40d1b0f16d98af27b7b6 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 20:28:34 -0800 Subject: [PATCH 1079/4768] feat: Building Shaders From Main Build ( Fixes #163 ) --- Build/obs-powershell.build.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index 19a228785..ae3daa2c0 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -402,4 +402,7 @@ $filesBuilt | } } +# Building shaders +. .\obs--shaders.build.ps1 + Pop-Location \ No newline at end of file From 9e1d5a47ae3c234f21d0b12e9cb8bd7c950acc96 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 20:36:44 -0800 Subject: [PATCH 1080/4768] feat: Building Shaders From Main Build ( Fixes #163 ) Importing Using $psScriptRoot --- Build/obs-powershell.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index ae3daa2c0..59e3c30d5 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -403,6 +403,6 @@ $filesBuilt | } # Building shaders -. .\obs--shaders.build.ps1 +. $PSScriptRoot\obs--shaders.build.ps1 Pop-Location \ No newline at end of file From 2326f46d5e836941b0af652049a8a4d886d6b0fb Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 20:53:01 -0800 Subject: [PATCH 1081/4768] feat: Adding Summary Logging to Shaders ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index bb5424de9..c8c71d128 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -4,6 +4,18 @@ .DESCRIPTION #> + +@" +## Shader build + +We are trying to build shaders, from $( + Get-PSCallStack | + Out-Host +) + +There are currently $($Error.Count) errors. +"@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + $updatedSubmodules = git submodule update --remote $parentPath = $PSScriptRoot | Split-Path From d2196fb90df1efde0264796b3af3648e263652ff Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 21:12:54 -0800 Subject: [PATCH 1082/4768] feat: Adding Mode Shader Build Logging ( Fixes #163 ) Also removing extra call --- Build/obs--shaders.build.ps1 | 54 +++++++++++++++++++++++++++++----- Build/obs-powershell.build.ps1 | 2 -- 2 files changed, 47 insertions(+), 9 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index c8c71d128..443e9d81a 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -5,16 +5,18 @@ #> +if ($env:GITHUB_STEP_SUMMARY) { @" ## Shader build We are trying to build shaders, from $( Get-PSCallStack | - Out-Host + Out-String ) There are currently $($Error.Count) errors. "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append +} $updatedSubmodules = git submodule update --remote @@ -24,6 +26,12 @@ $ShaderFiles = Get-ChildItem -Path $parentPath -File -Recurse | Where-Object Extension -in '.shader', '.effect' +if ($env:GITHUB_STEP_SUMMARY) { +"* [x] Found $($shaderFiles.Length) Shaders to Build" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append +} + + $commandsPath = Join-Path $parentPath Commands $FilterCommandsPath = Join-Path $commandsPath Filters $ShaderCommandsPath = Join-Path $FilterCommandsPath Shaders @@ -34,13 +42,25 @@ if (-not (Test-Path $ShaderCommandsPath)) { $FindShaderParameters = '^[^/]{0,}uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' -$ShaderParameters = $ShaderFiles | - Select-String $FindShaderParameters | +$AllShaderParameters = $ShaderFiles | + Select-String $FindShaderParameters +$ShaderParameters = $AllShaderParameters | Group-Object Path +if ($env:GITHUB_STEP_SUMMARY) { + "* [x] Found $($AllShaderParameters.Length) Shader Parameters in $($ShaderParameters.Count) files" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append +} + $importedModule = Import-Module $parentPath -Global -PassThru if (-not $importedModule) { + if ($env:GITHUB_STEP_SUMMARY) { +@" +**Could Not Import Module from $parentPath** +"@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + Write-Error "Could not import module" return } @@ -57,10 +77,13 @@ $FindAnnotations = [Regex]::new("$FindShaderParameters\<[\s\S]+?>") $generatingJobs = @() foreach ($shaderParameterSet in $ShaderParameters) { - - $shaderName = @($shaderParameterSet.Name.Split([IO.Path]::DirectorySeparatorChar))[-1] -replace '\.(?>effect|shader)$' + $shaderFileName = @($shaderParameterSet.Name.Split([IO.Path]::DirectorySeparatorChar))[-1] + $shaderName = $shaderFileName -replace '\.(?>effect|shader)$' $ShaderNoun = "OBS" + ([Regex]::Replace($shaderName, $underscoreWord,$capitalizeNames) -replace '[\p{P}_\+]') + "Shader" - + if ($env:GITHUB_STEP_SUMMARY) { + " * [x] Generating Shader from $shaderFileName ( $ShaderNoun )" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } $ShaderContent = [IO.File]::ReadAllText($shaderParameterSet.Name) $ShaderAnnotations = [Ordered]@{} foreach ($shaderAnnotation in $FindAnnotations.Matches($ShaderContent)) { @@ -281,4 +304,21 @@ do { $generatingJobStates = @($generatingJobs | Select-Object -ExpandProperty State -Unique | Sort-Object) Start-Sleep -Seconds 1 } while (($generatingJobStates -match '(?>NotStarted|Running)')) -#> \ No newline at end of file +#> + +trap { +if ($env:GITHUB_STEP_SUMMARY) { +@" +### Trapped Error! + +We are trying to build shaders, from $( + Get-PSCallStack | + Out-String +) + +There are currently $($Error.Count) errors. +"@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append +} + $_ + break +} \ No newline at end of file diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index 59e3c30d5..8e53c2ea2 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -402,7 +402,5 @@ $filesBuilt | } } -# Building shaders -. $PSScriptRoot\obs--shaders.build.ps1 Pop-Location \ No newline at end of file From fe9198ef07fef8d0a492c1739d758fe68c18a12d Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 22:19:46 -0800 Subject: [PATCH 1083/4768] feat: Adding Sparsely Cloning Shaders Instead ( Fixes #163 ) And more clever logging. --- Build/obs--shaders.build.ps1 | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 443e9d81a..8eb814cf8 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -7,24 +7,36 @@ if ($env:GITHUB_STEP_SUMMARY) { @" -## Shader build +### Shader build +"@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append +} -We are trying to build shaders, from $( - Get-PSCallStack | - Out-String -) +#region Sparse cloning https://github.com/Exeldro/obs-shaderfilter.git +$CloneAndGetShaders = { + @( + git clone --sparse --no-checkout "--filter=tree:0" https://github.com/Exeldro/obs-shaderfilter.git + Push-Location $pwd "obs-shaderfilter" + git sparse-checkout set --no-cone '**.shader' '**.effect' + git checkout + Get-ChildItem -Recurse -File | Where-Object { $_.Directory.Name -notin 'internal' } + Pop-Location + ) +} -There are currently $($Error.Count) errors. -"@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append +if ($env:GITHUB_STEP_SUMMARY) { + "* [x] Cloning Shaders with +~~~PowerShell +$CloneAndGetShaders +~~~ +" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } -$updatedSubmodules = git submodule update --remote +$SparselyClonedShaders =. $CloneAndGetShaders +#endregion Sparse cloning https://github.com/Exeldro/obs-shaderfilter.git $parentPath = $PSScriptRoot | Split-Path -$ShaderFiles = - Get-ChildItem -Path $parentPath -File -Recurse | - Where-Object Extension -in '.shader', '.effect' +$ShaderFiles = $SparselyClonedShaders if ($env:GITHUB_STEP_SUMMARY) { "* [x] Found $($shaderFiles.Length) Shaders to Build" | From f38442faecbbbaa396f1a8d027c24f5a30eeb63b Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 22:30:36 -0800 Subject: [PATCH 1084/4768] feat: Improving Shader Build Trapping ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 8eb814cf8..915d8be57 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -14,7 +14,8 @@ if ($env:GITHUB_STEP_SUMMARY) { #region Sparse cloning https://github.com/Exeldro/obs-shaderfilter.git $CloneAndGetShaders = { @( - git clone --sparse --no-checkout "--filter=tree:0" https://github.com/Exeldro/obs-shaderfilter.git + $cloneArgs = @("--sparse","--no-checkout","--filter=tree:0", "https://github.com/Exeldro/obs-shaderfilter.git") + git clone --sparse --no-checkout "--filter=tree:0" "https://github.com/Exeldro/obs-shaderfilter.git" Push-Location $pwd "obs-shaderfilter" git sparse-checkout set --no-cone '**.shader' '**.effect' git checkout @@ -318,17 +319,14 @@ do { } while (($generatingJobStates -match '(?>NotStarted|Running)')) #> -trap { +trap [Exception] { if ($env:GITHUB_STEP_SUMMARY) { @" ### Trapped Error! -We are trying to build shaders, from $( - Get-PSCallStack | - Out-String -) - -There are currently $($Error.Count) errors. +~~~ +$($_ | Out-String) +~~~ "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $_ From e688355a7bf9cb5c66483356cf4d404afdac5ace Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 22:34:11 -0800 Subject: [PATCH 1085/4768] feat: Using Splatting to sparsely clone ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 915d8be57..95ca0385a 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -15,8 +15,8 @@ if ($env:GITHUB_STEP_SUMMARY) { $CloneAndGetShaders = { @( $cloneArgs = @("--sparse","--no-checkout","--filter=tree:0", "https://github.com/Exeldro/obs-shaderfilter.git") - git clone --sparse --no-checkout "--filter=tree:0" "https://github.com/Exeldro/obs-shaderfilter.git" - Push-Location $pwd "obs-shaderfilter" + $cloneOut = git clone @cloneArgs *>&1 + Push-Location (Join-Path $pwd "obs-shaderfilter") git sparse-checkout set --no-cone '**.shader' '**.effect' git checkout Get-ChildItem -Recurse -File | Where-Object { $_.Directory.Name -notin 'internal' } From 5911aed7e609ccbcad760932009bd1de60c74f32 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 22:49:27 -0800 Subject: [PATCH 1086/4768] feat: Improving Shader Build Error Trap ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 95ca0385a..2bfba0dc4 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -25,7 +25,7 @@ $CloneAndGetShaders = { } if ($env:GITHUB_STEP_SUMMARY) { - "* [x] Cloning Shaders with + "* Cloning Shaders with: ~~~PowerShell $CloneAndGetShaders ~~~ @@ -322,13 +322,13 @@ do { trap [Exception] { if ($env:GITHUB_STEP_SUMMARY) { @" -### Trapped Error! +❗❗ Trapped Error! +ShaderName: ``$ShaderName`` ~~~ $($_ | Out-String) ~~~ "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append -} - $_ - break +} + continue } \ No newline at end of file From 14bf7a479a0051ea048cd4c0b221ff9479ec5266 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 23:02:46 -0800 Subject: [PATCH 1087/4768] feat: More logging ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 2bfba0dc4..89f980057 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -105,6 +105,11 @@ foreach ($shaderParameterSet in $ShaderParameters) { } $ShaderParameters = [Ordered]@{} + + if ($env:GITHUB_STEP_SUMMARY) { + " * [x] Found $(@($shaderParameterSet.Group).Length) Shader Parameters in $($shaderName)" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } foreach ($shaderParameterInSet in $shaderParameterSet.Group) { $shaderMatch = $shaderParameterInSet -match $FindShaderParameters @@ -328,7 +333,10 @@ ShaderName: ``$ShaderName`` ~~~ $($_ | Out-String) ~~~ +~~~ +$($NewPipeScriptSplat | ConvertTo-Json) +~~~ "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - continue + continue OutOfBuild } \ No newline at end of file From 5e54206964cefc3bae6d14dc9e693a3b5831d086 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 23:03:55 -0800 Subject: [PATCH 1088/4768] feat: JSON Logging Shader Build Splat ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 89f980057..bff9259dd 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -333,8 +333,9 @@ ShaderName: ``$ShaderName`` ~~~ $($_ | Out-String) ~~~ -~~~ -$($NewPipeScriptSplat | ConvertTo-Json) + +~~~json +$($NewPipeScriptSplat | ConvertTo-Json -Depth 10) ~~~ "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } From 1c162d63061ad11e7da2953e935596f7a4c48c91 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 23:15:52 -0800 Subject: [PATCH 1089/4768] feat: Using Case Insensitive Pattern for Shader Annotations ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index bff9259dd..6b244d6b7 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -18,7 +18,7 @@ $CloneAndGetShaders = { $cloneOut = git clone @cloneArgs *>&1 Push-Location (Join-Path $pwd "obs-shaderfilter") git sparse-checkout set --no-cone '**.shader' '**.effect' - git checkout + $checkoutOut = git checkout Get-ChildItem -Recurse -File | Where-Object { $_.Directory.Name -notin 'internal' } Pop-Location ) @@ -32,7 +32,7 @@ $CloneAndGetShaders " | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } -$SparselyClonedShaders =. $CloneAndGetShaders +$SparselyClonedShaders = . $CloneAndGetShaders #endregion Sparse cloning https://github.com/Exeldro/obs-shaderfilter.git $parentPath = $PSScriptRoot | Split-Path @@ -86,7 +86,7 @@ $capitalizeNames = { $matchAsString.Substring(0,1).ToUpper() + $matchAsString.Substring(1) -replace "_" } -$FindAnnotations = [Regex]::new("$FindShaderParameters\<[\s\S]+?>") +$FindAnnotations = [Regex]::new("$FindShaderParameters\<[\s\S]+?>",'IgnoreCase') $generatingJobs = @() foreach ($shaderParameterSet in $ShaderParameters) { @@ -107,7 +107,9 @@ foreach ($shaderParameterSet in $ShaderParameters) { $ShaderParameters = [Ordered]@{} if ($env:GITHUB_STEP_SUMMARY) { - " * [x] Found $(@($shaderParameterSet.Group).Length) Shader Parameters in $($shaderName)" | + " * [x] Found $(@($shaderParameterSet.Group).Length) Shader Parameters in $($shaderName) +$($shaderParameterSet.Group | Out-String) +" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } From f9a9f6e615f6e711352dd54b6b3ea375e897ab7e Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 23:21:28 -0800 Subject: [PATCH 1090/4768] feat: More Shallow JSON Logging ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 6b244d6b7..5caa1f44f 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -108,6 +108,7 @@ foreach ($shaderParameterSet in $ShaderParameters) { if ($env:GITHUB_STEP_SUMMARY) { " * [x] Found $(@($shaderParameterSet.Group).Length) Shader Parameters in $($shaderName) + $($shaderParameterSet.Group | Out-String) " | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append @@ -337,9 +338,11 @@ $($_ | Out-String) ~~~ ~~~json -$($NewPipeScriptSplat | ConvertTo-Json -Depth 10) +$( + $NewPipeScriptSplat | ConvertTo-Json -Depth 5 +) ~~~ "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - continue OutOfBuild + continue } \ No newline at end of file From 862762e20d89fed676a0845a0769c772868516fc Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Mon, 12 Feb 2024 23:43:34 -0800 Subject: [PATCH 1091/4768] feat: No JSON Logging ( Fixes #163 ) GitHub Summaries do not like it --- Build/obs--shaders.build.ps1 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 5caa1f44f..53483a195 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -99,8 +99,13 @@ foreach ($shaderParameterSet in $ShaderParameters) { } $ShaderContent = [IO.File]::ReadAllText($shaderParameterSet.Name) $ShaderAnnotations = [Ordered]@{} + $foundShaderAnnotations = @($FindAnnotations.Matches($ShaderContent)) + if ($env:GITHUB_STEP_SUMMARY) { + " * [x] Found $($foundShaderAnnotations.Length) Shader annotations in $shaderFileName ( $ShaderNoun )" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } foreach ($shaderAnnotation in $FindAnnotations.Matches($ShaderContent)) { - $null = $shaderAnnotation -match $FindAnnotations + $null = $shaderAnnotation -match $FindAnnotations $shaderAnnotations[$matches.'ParameterName'] = [Ordered]@{} + $matches } @@ -336,12 +341,6 @@ ShaderName: ``$ShaderName`` ~~~ $($_ | Out-String) ~~~ - -~~~json -$( - $NewPipeScriptSplat | ConvertTo-Json -Depth 5 -) -~~~ "@ | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } continue From 5f6be176167c9d9450367ac52c9ad10701c0944f Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 00:03:30 -0800 Subject: [PATCH 1092/4768] feat: More Detailed Step Logging ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 53483a195..dec4393fd 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -126,6 +126,10 @@ $($shaderParameterSet.Group | Out-String) $shaderParameterName = [Regex]::Replace($shaderParameterSystemName, $underscoreWord,$capitalizeNames) + if ($env:GITHUB_STEP_SUMMARY) { + " * [x] Shader Parameter $shaderParameterSystemName will become $ShaderParameterName" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } $ShaderParameterHelp = "Set the $shaderParameterSystemName of $ShaderNoun" $ShaderParameterAttributes = @() From e4ba7f09c0b38fe3dd546119f2cdbb7cc305056a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 00:13:06 -0800 Subject: [PATCH 1093/4768] feat: Stringifying matches with extreme prejudice ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index dec4393fd..377582d90 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -120,7 +120,14 @@ $($shaderParameterSet.Group | Out-String) } foreach ($shaderParameterInSet in $shaderParameterSet.Group) { - $shaderMatch = $shaderParameterInSet -match $FindShaderParameters + if ($env:GITHUB_STEP_SUMMARY) { + " +Processing $($shaderParameterInSet | Out-String) + " | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + + $shaderMatch = "$(@($shaderParameterInSet.Matches()))" -match $FindShaderParameters $shaderMatch = [Ordered]@{} + $matches $shaderParameterSystemName = $shaderMatch.ParameterName From ed42395b7f5ffaf92dc9661fe9b6cab3f9e68e4a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 00:28:03 -0800 Subject: [PATCH 1094/4768] feat: Updating patterns and stringification ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 377582d90..7788384f1 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -53,7 +53,7 @@ if (-not (Test-Path $ShaderCommandsPath)) { $null = New-Item -ItemType Directory -path $ShaderCommandsPath } -$FindShaderParameters = '^[^/]{0,}uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' +$FindShaderParameters = '[^/]{0,}uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' $AllShaderParameters = $ShaderFiles | Select-String $FindShaderParameters @@ -127,7 +127,7 @@ Processing $($shaderParameterInSet | Out-String) Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - $shaderMatch = "$(@($shaderParameterInSet.Matches()))" -match $FindShaderParameters + $shaderMatch = "$(@("$($shaderParameterInSet)") -join '')" -match $FindShaderParameters $shaderMatch = [Ordered]@{} + $matches $shaderParameterSystemName = $shaderMatch.ParameterName From 82b4a7418648a35cc5062c295f6f704ff945e14f Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 00:41:11 -0800 Subject: [PATCH 1095/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Commented out Shader Parameters. --- Build/obs--shaders.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 7788384f1..df2fe16a8 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -53,7 +53,7 @@ if (-not (Test-Path $ShaderCommandsPath)) { $null = New-Item -ItemType Directory -path $ShaderCommandsPath } -$FindShaderParameters = '[^/]{0,}uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' +$FindShaderParameters = '(?\S+)\s{1,}(?[\S-[\<\;]]+)' $AllShaderParameters = $ShaderFiles | Select-String $FindShaderParameters From f3e44a29d288a3c6821509071a33705df230da29 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 00:50:43 -0800 Subject: [PATCH 1096/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- Build/obs--shaders.build.ps1 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index df2fe16a8..ddecdf307 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -53,10 +53,11 @@ if (-not (Test-Path $ShaderCommandsPath)) { $null = New-Item -ItemType Directory -path $ShaderCommandsPath } -$FindShaderParameters = '(?\S+)\s{1,}(?[\S-[\<\;]]+)' +$FindShaderParameters = '[^/]{0,}uniform\s{1,}(?\S+)\s{1,}(?[\S-[\<\;]]+)' $AllShaderParameters = $ShaderFiles | - Select-String $FindShaderParameters + Select-String $FindShaderParameters | + Where-Object { "$_" -notlike "*//*"} $ShaderParameters = $AllShaderParameters | Group-Object Path @@ -131,7 +132,13 @@ Processing $($shaderParameterInSet | Out-String) $shaderMatch = [Ordered]@{} + $matches $shaderParameterSystemName = $shaderMatch.ParameterName - + if ($shaderParameterSystemName -match '[^\w_]') { + if ($env:GITHUB_STEP_SUMMARY) { + " * [ ] Shader Parameter $shaderParameterSystemName will be skipped due to improper naming" | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + continue + } $shaderParameterName = [Regex]::Replace($shaderParameterSystemName, $underscoreWord,$capitalizeNames) if ($env:GITHUB_STEP_SUMMARY) { " * [x] Shader Parameter $shaderParameterSystemName will become $ShaderParameterName" | From 259ba1e9b865283b6b6c93f00bbcacb1268cc596 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1097/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- Commands/Filters/Shaders/Get-OBSAddShader.ps1 | 113 ++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAddShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAddShader.ps1 b/Commands/Filters/Shaders/Get-OBSAddShader.ps1 new file mode 100644 index 000000000..bc69e12f9 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAddShader.ps1 @@ -0,0 +1,113 @@ +function Get-OBSAddShader { + +[Alias('Set-OBSAddShader','Add-OBSAddShader')] +param( +# Set the other_image of OBSAddShader +[Alias('other_image')] +[ComponentModel.DefaultBindingProperty('other_image')] +[String] +$OtherImage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAddShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d other_image; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 other = other_image.Sample(textureSampler, v_in.uv); + float4 base = image.Sample(textureSampler, v_in.uv); + return clamp(base + other, 0.0, 1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From d593cea9f12c72adb9c952b654e70bcc92ae4529 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1098/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSAlphaBorderShader.ps1 | 148 ++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 b/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 new file mode 100644 index 000000000..f5eb3925f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 @@ -0,0 +1,148 @@ +function Get-OBSAlphaBorderShader { + +[Alias('Set-OBSAlphaBorderShader','Add-OBSAlphaBorderShader')] +param( +# Set the border_color of OBSAlphaBorderShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# Set the border_thickness of OBSAlphaBorderShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the alpha_cut_off of OBSAlphaBorderShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAlphaBorderShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4 border_color< + string label = "Border color"; +> = {0.0,0.0,0.0,1.0}; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform float alpha_cut_off< + string label = "Alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pix = image.Sample(textureSampler, v_in.uv); + if (pix.a > alpha_cut_off) + return pix; + [loop] for(int x = -border_thickness;x alpha_cut_off) + return border_color; + } + } + } + return pix; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4b9594871f17a2aadcfb6a5f2c3694b6afd0b40f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1099/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSAlphaGamingBentCameraShader.ps1 | 266 ++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 b/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 new file mode 100644 index 000000000..f9f709ab9 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 @@ -0,0 +1,266 @@ +function Get-OBSAlphaGamingBentCameraShader { + +[Alias('Set-OBSAlphaGamingBentCameraShader','Add-OBSAlphaGamingBentCameraShader')] +param( +# Set the left_side_width of OBSAlphaGamingBentCameraShader +[Alias('left_side_width')] +[ComponentModel.DefaultBindingProperty('left_side_width')] +[Single] +$LeftSideWidth, +# Set the left_side_size of OBSAlphaGamingBentCameraShader +[Alias('left_side_size')] +[ComponentModel.DefaultBindingProperty('left_side_size')] +[Single] +$LeftSideSize, +# Set the left_side_shadow of OBSAlphaGamingBentCameraShader +[Alias('left_side_shadow')] +[ComponentModel.DefaultBindingProperty('left_side_shadow')] +[Single] +$LeftSideShadow, +# Set the left_flip_width of OBSAlphaGamingBentCameraShader +[Alias('left_flip_width')] +[ComponentModel.DefaultBindingProperty('left_flip_width')] +[Single] +$LeftFlipWidth, +# Set the left_flip_shadow of OBSAlphaGamingBentCameraShader +[Alias('left_flip_shadow')] +[ComponentModel.DefaultBindingProperty('left_flip_shadow')] +[Single] +$LeftFlipShadow, +# Set the right_side_width of OBSAlphaGamingBentCameraShader +[Alias('right_side_width')] +[ComponentModel.DefaultBindingProperty('right_side_width')] +[Single] +$RightSideWidth, +# Set the right_side_size of OBSAlphaGamingBentCameraShader +[Alias('right_side_size')] +[ComponentModel.DefaultBindingProperty('right_side_size')] +[Single] +$RightSideSize, +# Set the right_side_shadow of OBSAlphaGamingBentCameraShader +[Alias('right_side_shadow')] +[ComponentModel.DefaultBindingProperty('right_side_shadow')] +[Single] +$RightSideShadow, +# Set the right_flip_width of OBSAlphaGamingBentCameraShader +[Alias('right_flip_width')] +[ComponentModel.DefaultBindingProperty('right_flip_width')] +[Single] +$RightFlipWidth, +# Set the right_flip_shadow of OBSAlphaGamingBentCameraShader +[Alias('right_flip_shadow')] +[ComponentModel.DefaultBindingProperty('right_flip_shadow')] +[Single] +$RightFlipShadow, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAlphaGamingBentCameraShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float left_side_width< + string label = "Left side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float left_side_size< + string label = "Left side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float left_side_shadow< + string label = "Left side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float left_flip_width< + string label = "Left flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float left_flip_shadow< + string label = "Left flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +uniform float right_side_width< + string label = "Right side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float right_side_size< + string label = "Right side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float right_side_shadow< + string label = "Right side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float right_flip_width< + string label = "Right flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float right_flip_shadow< + string label = "Right flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos=v_in.uv; + float shadow = 1.0; + if(pos.x < left_side_width){ + pos.y -= 0.5; + pos.y /= left_side_size; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width; + pos.x /= left_side_size; + pos.x += left_side_width + left_flip_width; + shadow = left_side_shadow; + }else if(pos.x < left_side_width + left_flip_width){ + float factor = 1.0 - ((left_side_width + left_flip_width)-pos.x)/left_flip_width*(1.0 - left_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width; + pos.x /= factor; + pos.x += left_side_width + left_flip_width; + shadow = left_flip_shadow; + } + + if(1.0 - pos.x < right_side_width){ + pos.y -= 0.5; + pos.y /= right_side_size; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width); + pos.x /= right_side_size; + pos.x += 1.0 - (right_side_width + right_flip_width); + shadow = right_side_shadow; + }else if(1.0 - pos.x < right_side_width + right_flip_width){ + float factor = 1.0 - ((right_side_width + right_flip_width) - (1.0 - pos.x))/right_flip_width*(1.0 - right_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width); + pos.x /= factor; + pos.x += 1.0 -(right_side_width + right_flip_width); + shadow = right_flip_shadow; + } + float4 p_color = image.Sample(textureSampler, pos); + p_color.rgb *= shadow; + return p_color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From fad46730824642636d143ba089feddeb5a61b9cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1100/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSAnimatedPathShader.ps1 | 236 ++++++++++++++++++ 1 file changed, 236 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 b/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 new file mode 100644 index 000000000..097c5ca95 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 @@ -0,0 +1,236 @@ +function Get-OBSAnimatedPathShader { + +[Alias('Set-OBSAnimatedPathShader','Add-OBSAnimatedPathShader')] +param( +# Set the ViewProj of OBSAnimatedPathShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSAnimatedPathShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSAnimatedPathShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSAnimatedPathShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSAnimatedPathShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSAnimatedPathShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSAnimatedPathShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the speed_percent of OBSAnimatedPathShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the path_map of OBSAnimatedPathShader +[Alias('path_map')] +[ComponentModel.DefaultBindingProperty('path_map')] +[String] +$PathMap, +# Set the reverse of OBSAnimatedPathShader +[ComponentModel.DefaultBindingProperty('reverse')] +[Management.Automation.SwitchParameter] +$Reverse, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAnimatedPathShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Path effect By Charles Fettinger (https://github.com/Oncorporation) 3/2019 +//Converted to OpenGL by Q-mii & Exeldro February 24, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; + +uniform int speed_percent = 100; +uniform texture2d path_map; +uniform bool reverse = false; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float4 convert_pmalpha(float4 c) +{ + float4 ret = c; + if (c.a >= 0.001) + ret.xyz /= c.a; + else + ret = float4(0.0, 0.0, 0.0, 0.0); + return ret; +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + float3 pos = v_in.pos.xyz; + float3 current_pos; + float speed = speed_percent * 0.01; + //vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + float t = 1.0 + sin(elapsed_time * speed) ; + // combine luma texture and user defined shine color + float luma = path_map.Sample(textureSampler, v_in.uv).x; + if (reverse) + { + luma = 1.0 - luma; + } + + float time = lerp(0.0f, 1.0f , t - 1.0); + + // set current position in time + current_pos.x = 0; + current_pos.y = 0; + + + float2 offset = uv_offset; + if (speed == 0.0f) + { + offset.x = 0.0f; + offset.y = 0.0f; + } + else + { + offset.x = uv_offset.x + time * luma; + offset.y = uv_offset.y + time * luma; + } + + vert_out.pos = mul(float4(current_pos, 1), ViewProj); + vert_out.uv = v_in.uv * uv_scale + offset; + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From d516031a27beb1f9c870f0fd5e8f5854c2b7a9da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1101/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSAnimatedTextureShader.ps1 | 369 ++++++++++++++++++ 1 file changed, 369 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 b/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 new file mode 100644 index 000000000..19f4a12d2 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 @@ -0,0 +1,369 @@ +function Get-OBSAnimatedTextureShader { + +[Alias('Set-OBSAnimatedTextureShader','Add-OBSAnimatedTextureShader')] +param( +# Set the ViewProj of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSAnimatedTextureShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSAnimatedTextureShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSAnimatedTextureShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSAnimatedTextureShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSAnimatedTextureShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSAnimatedTextureShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the notes of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the Animation_Image of OBSAnimatedTextureShader +[Alias('Animation_Image')] +[ComponentModel.DefaultBindingProperty('Animation_Image')] +[String] +$AnimationImage, +# Set the Colorization_Image of OBSAnimatedTextureShader +[Alias('Colorization_Image')] +[ComponentModel.DefaultBindingProperty('Colorization_Image')] +[String] +$ColorizationImage, +# Set the reverse of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('reverse')] +[Management.Automation.SwitchParameter] +$Reverse, +# Set the bounce of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('bounce')] +[Management.Automation.SwitchParameter] +$Bounce, +# Set the center_animation of OBSAnimatedTextureShader +[Alias('center_animation')] +[ComponentModel.DefaultBindingProperty('center_animation')] +[Management.Automation.SwitchParameter] +$CenterAnimation, +# Set the polar_animation of OBSAnimatedTextureShader +[Alias('polar_animation')] +[ComponentModel.DefaultBindingProperty('polar_animation')] +[Management.Automation.SwitchParameter] +$PolarAnimation, +# Set the polar_angle of OBSAnimatedTextureShader +[Alias('polar_angle')] +[ComponentModel.DefaultBindingProperty('polar_angle')] +[Single] +$PolarAngle, +# Set the polar_height of OBSAnimatedTextureShader +[Alias('polar_height')] +[ComponentModel.DefaultBindingProperty('polar_height')] +[Single] +$PolarHeight, +# Set the speed_horizontal_percent of OBSAnimatedTextureShader +[Alias('speed_horizontal_percent')] +[ComponentModel.DefaultBindingProperty('speed_horizontal_percent')] +[Single] +$SpeedHorizontalPercent, +# Set the speed_vertical_percent of OBSAnimatedTextureShader +[Alias('speed_vertical_percent')] +[ComponentModel.DefaultBindingProperty('speed_vertical_percent')] +[Single] +$SpeedVerticalPercent, +# Set the tint_speed_horizontal_percent of OBSAnimatedTextureShader +[Alias('tint_speed_horizontal_percent')] +[ComponentModel.DefaultBindingProperty('tint_speed_horizontal_percent')] +[Single] +$TintSpeedHorizontalPercent, +# Set the tint_speed_vertical_percent of OBSAnimatedTextureShader +[Alias('tint_speed_vertical_percent')] +[ComponentModel.DefaultBindingProperty('tint_speed_vertical_percent')] +[Single] +$TintSpeedVerticalPercent, +# Set the Alpha of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('Alpha')] +[Single] +$Alpha, +# Set the Use_Animation_Image_Color of OBSAnimatedTextureShader +[Alias('Use_Animation_Image_Color')] +[ComponentModel.DefaultBindingProperty('Use_Animation_Image_Color')] +[Management.Automation.SwitchParameter] +$UseAnimationImageColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAnimatedTextureShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Animated Texture By Charles Fettinger (https://github.com/Oncorporation) 3/2020 +// Animates a texture with polar sizing and color options +// for use with obs-shaderfilter 1.0 +//Converted to OpenGL by Q-mii & Exeldro February 24, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform string notes; + +uniform texture2d Animation_Image; +uniform texture2d Colorization_Image; +uniform bool reverse = false; +uniform bool bounce = false; +uniform bool center_animation = true; +uniform bool polar_animation = true; +uniform float polar_angle = 90.0; +uniform float polar_height = 1.0; +uniform float speed_horizontal_percent = 50; +uniform float speed_vertical_percent = 5; +uniform float tint_speed_horizontal_percent = 50; +uniform float tint_speed_vertical_percent = 5; +uniform float Alpha = 1.0; +uniform bool Use_Animation_Image_Color = true; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float4 convert_pmalpha(float4 color) +{ + float4 ret = color; + if (color.a >= 0.001) + ret.xyz /= color.a; + else + ret = float4(0.0, 0.0, 0.0, 0.0); + return ret; +} + +float2 time(float2 speed_dir) +{ + float PI = 3.1415926535897932384626433832795; //acos(-1); + + float2 t = (elapsed_time * speed_dir) ; + if (bounce) + { + // coordinates moved from -1.0 to 1.0 to 0.0 to 2.0 then modified to fit screen + t.x = sin(elapsed_time * speed_dir.x * PI * 0.6667) + 1.0; + t.y = cos(elapsed_time * speed_dir.y * PI) + 1.0; + t *= -0.5; + } + + if (reverse) + t = t * -1; + return t; +} + +VertData mainTransform(VertData v_in) +{ + float2 speed_dir = float2(speed_horizontal_percent * 0.01, speed_vertical_percent * 0.01); + + VertData vert_out; + //float2 direction = abs(sin((elapsed_time - 0.001) * speed_dir)); + + float2 offset = uv_offset; + + if (center_animation) + { + vert_out.uv = v_in.uv - 0.5f; + } + else + { + offset += time(speed_dir); + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + offset; + } + + return vert_out; +} + + +float4 mainImage(VertData v_in) : TARGET +{ + float PI = 3.1415926535897932384626433832795; //acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + + float2 speed_dir = float2(speed_horizontal_percent * 0.01, speed_vertical_percent * 0.01); + float2 tint_speed_dir = float2(tint_speed_horizontal_percent * 0.01, tint_speed_vertical_percent * 0.01); + + //compensate for background vertex shader values + float2 background_offset = float2(-.5,-.5); + if (!center_animation) + background_offset = time(speed_dir); + float4 rgba = image.Sample(textureSampler, v_in.uv - background_offset); //float4(0.0,0.0,0.0,0.01); + + // Convert our texture coordinates to polar form: + if (polar_animation) { + + float2 polar = float2( + atan2(v_in.uv.y, v_in.uv.x) / (polar_angle * PI180th * 4), // angle + log(dot(v_in.uv, v_in.uv)) * -1 * (polar_height * PI180th * PI) // log-radius + ); + + // Check how much our texture sampling point changes between + // neighbouring pixels to the sides (ddx) and above/below (ddy) + ///float4 gradient = float4(ddx(polar), ddy(polar)); + + // If our angle wraps around between adjacent samples, + // discard one full rotation from its value and keep the fraction. + ///gradient.xz = frac(gradient.xz + 1.5f) - 0.5f; + + float2 tintUVs = polar * 4; + tintUVs += time(tint_speed_dir); + + // Apply texture scale + polar *= 4; + // Scroll the texture over time. + polar += time(speed_dir); + float4 animation = Animation_Image.Sample(textureSampler, frac(polar)); + + + float keyAmount = distance(animation.rgb,float3(0.0,0.0,0.0)); + float intensity = dot(animation.rgb ,float3(0.299,0.587,0.114)); + //animation.a = clamp((intensity),0.0,1.0); + if (Use_Animation_Image_Color) + { + animation.rgb *= Colorization_Image.Sample(textureSampler, frac(tintUVs)).rgb; + } + else + { + animation.rgb = Colorization_Image.Sample(textureSampler, frac(tintUVs)).rgb; + } + //if (keyAmount > 0.5f) + rgba = lerp(rgba, animation, animation.a * Alpha); + } + + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 9edffbdcfdc1d96cdb20d67e22bea85c63fbf672 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1102/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSAsciiShader.ps1 | 222 ++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 b/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 new file mode 100644 index 000000000..3fff871f7 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 @@ -0,0 +1,222 @@ +function Get-OBSAsciiShader { + +[Alias('Set-OBSAsciiShader','Add-OBSAsciiShader')] +param( +# Set the scale of OBSAsciiShader +[ComponentModel.DefaultBindingProperty('scale')] +[Int32] +$Scale, +# Set the base_color of OBSAsciiShader +[Alias('base_color')] +[ComponentModel.DefaultBindingProperty('base_color')] +[Single[]] +$BaseColor, +# Set the monochrome of OBSAsciiShader +[ComponentModel.DefaultBindingProperty('monochrome')] +[Management.Automation.SwitchParameter] +$Monochrome, +# Set the character_set of OBSAsciiShader +[Alias('character_set')] +[ComponentModel.DefaultBindingProperty('character_set')] +[Int32] +$CharacterSet, +# Set the note of OBSAsciiShader +[ComponentModel.DefaultBindingProperty('note')] +[String] +$Note, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAsciiShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// ASCII shader for use with obs-shaderfilter 7/2020 v1.0 +// https://github.com/Oncorporation/obs-shaderfilter +// Based on the following shaders: +// https://www.shadertoy.com/view/3dtXD8 - Created by DSWebber in 2019-10-24 +// https://www.shadertoy.com/view/lssGDj - Created by movAX13h in 2013-09-22 + +// Modifications of original shaders include: +// - Porting from GLSL to HLSL +// - Combining characters sets from both source shaders +// - Adding support for parameters from OBS for monochrome rendering, scaling and dynamic character set +// +// Add Additional Characters with this tool: http://thrill-project.com/archiv/coding/bitmap/ +// converts a bitmap into int then decodes it to look like text + +uniform int scale< + string label = "Scale"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; // Size of characters +uniform float4 base_color< + string label = "Base color"; +> = {0.0,1.0,0.0,1.0}; // Monochrome base color +uniform bool monochrome< + string label = "Monochrome"; +> = false; +uniform int character_set< + string label = "Character set"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Large set of non-letters"; + int option_1_value = 1; + string option_1_label = "Small set of capital letters"; +> = 0; +uniform string note< + string widget_type = "info"; +> = "Base color is used as monochrome base color."; + +float character(int n, float2 p) +{ + p = floor(p*float2(4.0, 4.0) + 2.5); + if (clamp(p.x, 0.0, 4.0) == p.x) + { + if (clamp(p.y, 0.0, 4.0) == p.y) + { + int a = int(round(p.x) + 5.0 * round(p.y)); + if (((n >> a) & 1) == 1) return 1.0; + } + } + return 0.0; +} + +float2 mod(float2 x, float2 y) +{ + return x - y * floor(x/y); +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 iResolution = uv_size*uv_scale; + float2 pix = v_in.pos.xy; + float4 c = image.Sample(textureSampler, floor(pix/float2(scale*8.0,scale*8.0))*float2(scale*8.0,scale*8.0)/iResolution.xy); + + float gray = 0.3 * c.r + 0.59 * c.g + 0.11 * c.b; + + int n; + int charset = clamp(character_set, 0, 1); + + if (charset==0) + { + if (gray <= 0.2) n = 4096; // . + if (gray > 0.2) n = 65600; // : + if (gray > 0.3) n = 332772; // * + if (gray > 0.4) n = 15255086; // o + if (gray > 0.5) n = 23385164; // & + if (gray > 0.6) n = 15252014; // 8 + if (gray > 0.7) n = 13199452; // @ + if (gray > 0.8) n = 11512810; // # + } + else if (charset==1) + { + if (gray <= 0.1) n = 0; + if (gray > 0.1) n = 9616687; // R + if (gray > 0.3) n = 32012382; // S + if (gray > 0.5) n = 16303663; // D + if (gray > 0.7) n = 15255086; // O + if (gray > 0.8) n = 16301615; // B + } + + float2 p = mod(pix/float2(scale*4.0,scale*4.0),float2(2.0,2.0)) - float2(1.0,1.0); + + if (monochrome) + { + c.rgb = base_color.rgb; + } + c = c*character(n, p); + + return c; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 02da7ac4c07c21ffd8cbd3530599a9169704945b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1103/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSAspectRatioShader.ps1 | 238 ++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 b/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 new file mode 100644 index 000000000..7a7f2aa4e --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 @@ -0,0 +1,238 @@ +function Get-OBSAspectRatioShader { + +[Alias('Set-OBSAspectRatioShader','Add-OBSAspectRatioShader')] +param( +# Set the ViewProj of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSAspectRatioShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSAspectRatioShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSAspectRatioShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSAspectRatioShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSAspectRatioShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSAspectRatioShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the borderColor of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('borderColor')] +[Single[]] +$BorderColor, +# Set the notes of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSAspectRatioShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 - DO NOT USE THIS IT WAS NEVER COMPLETED +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + + +// variables +uniform float4 borderColor = {0,0,0,0}; +float targetaspect = 1.7777777777777777777777f; //16.0f / 9.0f; +uniform string notes; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + + float2 hw = uv_scale; + // determine the game window''s current aspect ratio + float windowaspect = hw.x / hw.y; + + // current viewport height should be scaled by this amount + float scaleheight = windowaspect / targetaspect; + + + // if scaled height is less than current height, add letterbox + if (scaleheight < 1.0f) + { + Rect rect = camera.rect; + + rect.width = 1.0f; + rect.height = scaleheight; + rect.x = 0; + rect.y = (1.0f - scaleheight) / 2.0f; + + camera.rect = rect; + } + else // add pillarbox + { + float scalewidth = 1.0f / scaleheight; + + Rect rect = camera.rect; + + rect.width = scalewidth; + rect.height = 1.0f; + rect.x = (1.0f - scalewidth) / 2.0f; + rect.y = 0; + + camera.rect = rect; + } + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + if (v_in.uv.x < 0 || v_in.uv.x > 1 || v_in.uv.y < 0 || v_in.uv.y > 1) + { + return borderColor; + } + else + { + return image.Sample(textureSampler, v_in.uv); + } +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 95cf9f74df813e05757d4c2c0e2df1d718e9fee3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1104/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSBackgroundRemovalShader.ps1 | 281 ++++++++++++++++++ 1 file changed, 281 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 b/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 new file mode 100644 index 000000000..ef9ec3a8b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 @@ -0,0 +1,281 @@ +function Get-OBSBackgroundRemovalShader { + +[Alias('Set-OBSBackgroundRemovalShader','Add-OBSBackgroundRemovalShader')] +param( +# Set the ViewProj of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSBackgroundRemovalShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSBackgroundRemovalShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSBackgroundRemovalShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSBackgroundRemovalShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSBackgroundRemovalShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSBackgroundRemovalShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the notes of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the target of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('target')] +[String] +$Target, +# Set the color of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('color')] +[Single[]] +$Color, +# Set the opacity of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('opacity')] +[Single] +$Opacity, +# Set the invert of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('invert')] +[Management.Automation.SwitchParameter] +$Invert, +# Set the Convert_709to601 of OBSBackgroundRemovalShader +[Alias('Convert_709to601')] +[ComponentModel.DefaultBindingProperty('Convert_709to601')] +[Management.Automation.SwitchParameter] +$Convert709to601, +# Set the Convert_601to709 of OBSBackgroundRemovalShader +[Alias('Convert_601to709')] +[ComponentModel.DefaultBindingProperty('Convert_601to709')] +[Management.Automation.SwitchParameter] +$Convert601to709, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBackgroundRemovalShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// background removal effect By Charles Fettinger (https://github.com/Oncorporation) 4/2019 +//Converted to OpenGL by Exeldro February 19, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform string notes = "Opacity between 10 and 20 works. Adjust `Color` from white to fix environmental changes.\r\r\nUsage:\r\n1) Disable `Auto` settings like focus, white balance, etc.\r\n2) Take a video of just the background. \r\n3) Take a frame and use it as the background image. Windows Snipping Tool (%windir%\\system32\\SnippingTool.exe). \r\r\nThis eliminates differences based upon camera/video settings."; + +uniform texture2d target; +uniform float4 color; +uniform float opacity = 15.0; +uniform bool invert; +uniform bool Convert_709to601; +uniform bool Convert_601to709; + + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertDataIn { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct VertDataOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; + float2 uv2 : TEXCOORD1; +}; + +float dot(float3 a,float3 b){ + return a.x*b.x+a.y*b.y+a.z*b.z; +} + +//BT.601 to BT.709 +// Correct video colorspace BT.601 [SD] to BT.709 [HD] for HD video input +// Use this shader only if BT.709 [HD] encoded video is incorrectly matrixed to full range RGB with the BT.601 [SD] colorspace. +float4 Convert601to709(float4 rgba) +{ + float3 s1 = rgba.rgb; + s1 = s1.rrr * float3(0.299, -0.1495 / 0.886, 0.5) + s1.ggg * float3(0.587, -0.2935 / 0.886, -0.2935 / 0.701) + s1.bbb * float3(0.114, 0.5, -0.057 / 0.701); // RGB to Y''CbCr, BT.601 [SD] colorspace + return (s1.rrr + float3(0, -0.1674679 / 0.894, 1.8556) * s1.ggg + float3(1.5748, -0.4185031 / 0.894, 0) * s1.bbb).rgbb; // Y''CbCr to RGB output, BT.709 [HD] colorspace +} + +//BT.709 to BT.601 +float4 Convert709to601(float4 rgba) +{ + float3 s1 = rgba.rgb; + s1 = float3(dot(float3(.2126, .7152, .0722), s1), dot(float3(-.1063 / .9278, -.3576 / .9278, .5), s1), dot(float3(.5, -.3576 / .7874, -.0361 / .7874), s1)); + return float3(s1.x + 1.402*s1.z, dot(s1, float3(1, -.202008 / .587, -.419198 / .587)), s1.x + 1.772*s1.y).rgbb; +} + +VertDataOut VSDefault(VertDataIn v_in) +{ + VertDataOut vert_out; + vert_out.pos = mul(float4(v_in.pos.x, v_in.pos.y, v_in.pos.z, 1.0), ViewProj); + vert_out.uv = v_in.uv; + vert_out.uv2 = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +float4 PSColorMaskRGBA(VertDataOut v_in) : TARGET +{ + float Tolerance = opacity * 0.01; + float4 rgba = image.Sample(textureSampler, v_in.uv); + + float4 targetRGB = target.Sample(textureSampler, v_in.uv2) * color; + if (invert){ + targetRGB.rgb = 1.0 - targetRGB.rgb; + } + if (Convert_709to601) + { + rgba.rgb = Convert709to601(rgba).rgb; + targetRGB.rgb = Convert709to601(targetRGB).rgb; + } + + if (Convert_601to709) + { + rgba.rgb = Convert601to709(rgba).rgb; + targetRGB.rbg = Convert601to709(targetRGB).rgb; + } + + float4 shadowRGB = targetRGB * targetRGB; + + if ((abs(targetRGB.r - rgba.r) <= Tolerance && + abs(targetRGB.g - rgba.g) <= Tolerance && + abs(targetRGB.b - rgba.b) <= Tolerance) + || (abs(shadowRGB.r - rgba.r) <= Tolerance && + abs(shadowRGB.g - rgba.g) <= Tolerance && + abs(shadowRGB.b - rgba.b) <= Tolerance)) + { + rgba.rgba = float4(0,0,0,0); + } + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(v_in); + pixel_shader = PSColorMaskRGBA(v_in); + } +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 8d871168d7bd9fcb76b041a146969373013b1c0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1105/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSBlendOpacityShader.ps1 | 221 ++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 b/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 new file mode 100644 index 000000000..fc9ed82ca --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 @@ -0,0 +1,221 @@ +function Get-OBSBlendOpacityShader { + +[Alias('Set-OBSBlendOpacityShader','Add-OBSBlendOpacityShader')] +param( +# Set the Vertical of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the Rotational of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Rotational')] +[Management.Automation.SwitchParameter] +$Rotational, +# Set the Rotation_Offset of OBSBlendOpacityShader +[Alias('Rotation_Offset')] +[ComponentModel.DefaultBindingProperty('Rotation_Offset')] +[Single] +$RotationOffset, +# Set the Opacity_Start_Percent of OBSBlendOpacityShader +[Alias('Opacity_Start_Percent')] +[ComponentModel.DefaultBindingProperty('Opacity_Start_Percent')] +[Single] +$OpacityStartPercent, +# Set the Opacity_End_Percent of OBSBlendOpacityShader +[Alias('Opacity_End_Percent')] +[ComponentModel.DefaultBindingProperty('Opacity_End_Percent')] +[Single] +$OpacityEndPercent, +# Set the Spread of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Spread')] +[Single] +$Spread, +# Set the Speed of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Apply_To_Alpha_Layer of OBSBlendOpacityShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Notes of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBlendOpacityShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// opacity blend shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 14, 2022 +uniform bool Vertical; +uniform bool Rotational; +uniform float Rotation_Offset< + string label = "Rotation Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 6.28318531; + float step = 0.01; +> = 0.0; +uniform float Opacity_Start_Percent< + string label = "Opacity Start Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 0.0; +uniform float Opacity_End_Percent< + string label = "Opacity End Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; +uniform float Spread< + string label = "Spread"; + string widget_type = "slider"; + float minimum = 0.25; + float maximum = 10.0; + float step = 0.01; +> = 0.5; +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.0; +uniform bool Apply_To_Alpha_Layer = true; +uniform string Notes< + string widget_type = "info"; +> = "Spread is wideness of opacity blend and is limited between .25 and 10. Edit at your own risk. Invert Start and End to Reverse effect."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 point_color = image.Sample(textureSampler, v_in.uv); + float luminance = 0.299*point_color.r+0.587*point_color.g+0.114*point_color.b; + float4 gray = float4(luminance,luminance,luminance, 1); + + float2 lPos = (v_in.uv * uv_scale + uv_offset) / clamp(Spread, 0.25, 10.0); + float time = (elapsed_time * clamp(Speed, -5.0, 5.0)) / clamp(Spread, 0.25, 10.0); + float dist = distance(v_in.uv , (float2(0.99, 0.99) * uv_scale + uv_offset)); + + if (point_color.a > 0.0 || Apply_To_Alpha_Layer == false) + { + //set opacity and direction + float opacity = (-1 * lPos.x) * 0.5; + + if (Rotational && (Vertical == false)) + { + float timeWithOffset = time + Rotation_Offset; + float sine = sin(timeWithOffset); + float cosine = cos(timeWithOffset); + opacity = (lPos.x * cosine + lPos.y * sine) * 0.5; + } + + if (Vertical && (Rotational == false)) + { + opacity = (-1 * lPos.y) * 0.5; + } + + opacity += time; + opacity = frac(opacity); + point_color.a = lerp(Opacity_Start_Percent * 0.01, Opacity_End_Percent * 0.01, clamp(opacity, 0.0, 1.0)); + } + return point_color; +} + + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 6a1f63a0ed49c06ba5352034fc186e53ea8812cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1106/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSBlinkShader.ps1 | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 b/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 new file mode 100644 index 000000000..0c5a60b4b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 @@ -0,0 +1,118 @@ +function Get-OBSBlinkShader { + +[Alias('Set-OBSBlinkShader','Add-OBSBlinkShader')] +param( +# Set the speed of OBSBlinkShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBlinkShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 color = image.Sample(textureSampler, v_in.uv); + float t = elapsed_time * speed; + return float4(color.r, color.g, color.b, color.a * (1 + sin(t)) / 2); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From e7eb999ab0e1508ce2cdc978d94f505ada88bcb9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1107/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSBloomShader.ps1 | 184 ++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBloomShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 b/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 new file mode 100644 index 000000000..c6935754e --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 @@ -0,0 +1,184 @@ +function Get-OBSBloomShader { + +[Alias('Set-OBSBloomShader','Add-OBSBloomShader')] +param( +# Set the Angle_Steps of OBSBloomShader +[Alias('Angle_Steps')] +[ComponentModel.DefaultBindingProperty('Angle_Steps')] +[Int32] +$AngleSteps, +# Set the Radius_Steps of OBSBloomShader +[Alias('Radius_Steps')] +[ComponentModel.DefaultBindingProperty('Radius_Steps')] +[Int32] +$RadiusSteps, +# Set the ampFactor of OBSBloomShader +[ComponentModel.DefaultBindingProperty('ampFactor')] +[Single] +$AmpFactor, +# Set the notes of OBSBloomShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBloomShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Bloom shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 15, 2022 +uniform int Angle_Steps< + string label = "Angle Steps"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 5; // +uniform int Radius_Steps< + string label = "Radius Steps"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 9; // +uniform float ampFactor< + string label = "amp Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 2.0; +uniform string notes< + string widget_type = "info"; +> = "Steps limited in range from 0 to 20. Edit bloom.shader to remove limits at your own risk."; + +float4 mainImage(VertData v_in) : TARGET +{ + int radiusSteps = clamp(Radius_Steps, 0, 20); + int angleSteps = clamp(Angle_Steps, 1, 20); + float PI = 3.1415926535897932384626433832795;//acos(-1); + float minRadius = (0.0 * uv_pixel_interval.y); + float maxRadius = (10.0 * uv_pixel_interval.y); + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float4 outputPixel = c0; + float4 accumulatedColor = float4(0,0,0,0); + + int totalSteps = radiusSteps * angleSteps; + float angleDelta = (2.0 * PI) / float(angleSteps); + float radiusDelta = (maxRadius - minRadius) / float(radiusSteps); + + for (int radiusStep = 0; radiusStep < radiusSteps; radiusStep++) { + float radius = minRadius + float(radiusStep) * radiusDelta; + + for (float angle=0.0; angle <(2.0*PI); angle += angleDelta) { + float2 currentCoord; + + float xDiff = radius * cos(angle); + float yDiff = radius * sin(angle); + + currentCoord = v_in.uv + float2(xDiff, yDiff); + float4 currentColor =image.Sample(textureSampler, currentCoord); + float currentFraction = float(radiusSteps+1 - radiusStep) / float(radiusSteps + 1); + + accumulatedColor += currentFraction * currentColor / float(totalSteps); + + } + } + + outputPixel += accumulatedColor * ampFactor; + + return outputPixel; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1e3664de0f5ac42916982c73724abe37f7f08971 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1108/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSBorderShader.ps1 | 117 ++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBorderShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 b/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 new file mode 100644 index 000000000..88b41a273 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 @@ -0,0 +1,117 @@ +function Get-OBSBorderShader { + +[Alias('Set-OBSBorderShader','Add-OBSBorderShader')] +param( +# Set the borderColor of OBSBorderShader +[ComponentModel.DefaultBindingProperty('borderColor')] +[Single[]] +$BorderColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBorderShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4 borderColor; + +float4 mainImage(VertData v_in) : TARGET +{ + if (v_in.uv.x < 0 || v_in.uv.x > 1 || v_in.uv.y < 0 || v_in.uv.y > 1) + { + return borderColor; + } + else + { + return image.Sample(textureSampler, v_in.uv); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 3a5aef5370062100d7c8fe17060f75c08277a6be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1109/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSBoxBlurShader.ps1 | 203 ++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 b/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 new file mode 100644 index 000000000..938861d22 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 @@ -0,0 +1,203 @@ +function Get-OBSBoxBlurShader { + +[Alias('Set-OBSBoxBlurShader','Add-OBSBoxBlurShader')] +param( +# Set the Strength of OBSBoxBlurShader +[ComponentModel.DefaultBindingProperty('Strength')] +[Int32] +$Strength, +# Set the Mask_Left of OBSBoxBlurShader +[Alias('Mask_Left')] +[ComponentModel.DefaultBindingProperty('Mask_Left')] +[Single] +$MaskLeft, +# Set the Mask_Right of OBSBoxBlurShader +[Alias('Mask_Right')] +[ComponentModel.DefaultBindingProperty('Mask_Right')] +[Single] +$MaskRight, +# Set the Mask_Top of OBSBoxBlurShader +[Alias('Mask_Top')] +[ComponentModel.DefaultBindingProperty('Mask_Top')] +[Single] +$MaskTop, +# Set the Mask_Bottom of OBSBoxBlurShader +[Alias('Mask_Bottom')] +[ComponentModel.DefaultBindingProperty('Mask_Bottom')] +[Single] +$MaskBottom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBoxBlurShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int Strength< + string label = "Strength (1)"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 25; + int step = 1; +> = 1; +uniform float Mask_Left< + string label = "Mask left (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Right< + string label = "Mask right (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Top< + string label = "Mask top (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Bottom< + string label = "Mask bottom (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + if(Strength <= 0) + return image.Sample(textureSampler, v_in.uv); + + if(Mask_Left + Mask_Right > 1.0){ + if(v_in.uv.x > Mask_Left || 1.0 - v_in.uv.x > Mask_Right ){ + return image.Sample(textureSampler, v_in.uv); + } + }else{ + if((v_in.uv.x > Mask_Left) && (1.0-v_in.uv.x > Mask_Right)){ + return image.Sample(textureSampler, v_in.uv); + } + } + if(Mask_Top + Mask_Bottom > 1.0){ + if(v_in.uv.y > Mask_Top || 1.0 - v_in.uv.y > Mask_Bottom){ + return image.Sample(textureSampler, v_in.uv); + } + }else { + if((v_in.uv.y > Mask_Top) && (1.0-v_in.uv.y > Mask_Bottom)){ + return image.Sample(textureSampler, v_in.uv); + } + } + float transparent = 0.0; + int count = 1; + float samples = 0.0; + float4 c = float4(0.0, 0.0, 0.0, 0.0); + float Steps = float(Strength); + + [loop] for (int i = -Strength; i <= Strength; i++) { + [loop] for (int k = -Strength; k <= Strength; k++) { + float4 sc = image.Sample(textureSampler, v_in.uv+float2(float(i), float(k))/uv_size*Steps); + transparent += sc.a; + count++; + c += sc * sc.a; + samples += sc.a; + } + } + if(samples > 0.0) + c /= samples; + + c.a = transparent / float(count); + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4b247ae4d5b3b703aa14b8becc94ff671f655138 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1110/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSBulgePinchShader.ps1 | 193 ++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 b/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 new file mode 100644 index 000000000..d62e4efb0 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 @@ -0,0 +1,193 @@ +function Get-OBSBulgePinchShader { + +[Alias('Set-OBSBulgePinchShader','Add-OBSBulgePinchShader')] +param( +# Set the radius of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('radius')] +[Single] +$Radius, +# Set the magnitude of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('magnitude')] +[Single] +$Magnitude, +# Set the center_x of OBSBulgePinchShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSBulgePinchShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the animate of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the notes of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBulgePinchShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Created by Radegast Stravinsky for obs-shaderfilter 9/2020 +uniform float radius< + string label = "Radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 0.0; +uniform float magnitude< + string label = "Magnitude"; + string widget_type = "slider"; + float minimum = -1.3333; + float maximum = 1.3333; + float step = 0.01; +> = 0.0; +uniform float center_x< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.01; +> = 0.25; +uniform float center_y< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.01; +> = 0.25; +uniform bool animate = false; + +uniform string notes< + string widget_type = "info"; +> = "Distorts the screen, expanding or drawing in pixels around a point." + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center = float2(center_x, center_y); + VertData v_out; + v_out.pos = v_in.pos; + float2 hw = uv_size; + float ar = 1. * hw.y/hw.x; + v_out.uv = 1. * v_in.uv - center; + + center.x /= ar; + v_out.uv.x /= ar; + + float dist = distance(v_out.uv, center); + if (dist < radius) + { + float anim_mag = (animate ? magnitude * sin(radians(elapsed_time * 20)) : magnitude); + float percent = dist/radius; + if(anim_mag > 0) + v_out.uv = (v_out.uv - center) * lerp(1.0, smoothstep(0.0, radius/dist, percent), anim_mag * 0.75); + else + v_out.uv = (v_out.uv-center) * lerp(1.0, pow(percent, 1.0 + anim_mag * 0.75) * radius/dist, 1.0 - percent); + + v_out.uv += (2 * center); + v_out.uv.x *= ar; + + return image.Sample(textureSampler, v_out.uv); + } + else + { + return image.Sample(textureSampler, v_in.uv); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 7f667bbb5375625548542d36df93ca5fcea74ffe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:39 +0000 Subject: [PATCH 1111/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSBurnShader.ps1 | 309 ++++++++++++++++++ 1 file changed, 309 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSBurnShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 b/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 new file mode 100644 index 000000000..15d0d03b4 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 @@ -0,0 +1,309 @@ +function Get-OBSBurnShader { + +[Alias('Set-OBSBurnShader','Add-OBSBurnShader')] +param( +# Set the Burn_Gradient of OBSBurnShader +[Alias('Burn_Gradient')] +[ComponentModel.DefaultBindingProperty('Burn_Gradient')] +[String] +$BurnGradient, +# Set the Speed of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Gradient_Adjust of OBSBurnShader +[Alias('Gradient_Adjust')] +[ComponentModel.DefaultBindingProperty('Gradient_Adjust')] +[Single] +$GradientAdjust, +# Set the Dissolve_Value of OBSBurnShader +[Alias('Dissolve_Value')] +[ComponentModel.DefaultBindingProperty('Dissolve_Value')] +[Single] +$DissolveValue, +# Set the Animated of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Animated')] +[Management.Automation.SwitchParameter] +$Animated, +# Set the Apply_to_Channel of OBSBurnShader +[Alias('Apply_to_Channel')] +[ComponentModel.DefaultBindingProperty('Apply_to_Channel')] +[Management.Automation.SwitchParameter] +$ApplyToChannel, +# Set the Apply_Smoke of OBSBurnShader +[Alias('Apply_Smoke')] +[ComponentModel.DefaultBindingProperty('Apply_Smoke')] +[Management.Automation.SwitchParameter] +$ApplySmoke, +# Set the Smoke_Horizonal_Speed of OBSBurnShader +[Alias('Smoke_Horizonal_Speed')] +[ComponentModel.DefaultBindingProperty('Smoke_Horizonal_Speed')] +[Single] +$SmokeHorizonalSpeed, +# Set the Smoke_Vertical_Speed of OBSBurnShader +[Alias('Smoke_Vertical_Speed')] +[ComponentModel.DefaultBindingProperty('Smoke_Vertical_Speed')] +[Single] +$SmokeVerticalSpeed, +# Set the Iterations of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Iterations')] +[Int32] +$Iterations, +# Set the Notes of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSBurnShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Burn shader by Charles Fettinger (https://github.com/Oncorporation) 4/2019 +//for use with obs-shaderfilter 1.0 +//Converted to OpenGL by Exeldro February 17, 2022 +float4 mod(float4 x, float4 y) +{ + return x - y * floor(x / y); +} +float4 mod289(float4 x) +{ + return x - floor(x / 289.0) * 289.0; +} +float4 permute(float4 x) +{ + return mod289(((x * 34.0) + 1.0) * x); +} +float4 taylorInvSqrt(float4 r) +{ + return 1.79284291400159 - r * 0.85373472095314; +} +float2 fade(float2 t) { + return t * t* t* (t * (t * 6.0 - 15.0) + 10.0); +} + +float dot(float2 a,float2 b){ + return a.x*b.x+a.y*b.y; +} + +// Classic Perlin noise +float cnoise(float2 P) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac(P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0; + float4 gy = abs(gx) - 0.5; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x, gy.x); + float2 g10 = float2(gx.y, gy.y); + float2 g01 = float2(gx.z, gy.z); + float2 g11 = float2(gx.w, gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} +// Classic Perlin noise, periodic variant +float pnoise(float2 P, float2 rep) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac(P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod(Pi, rep.xyxy); // To create noise with explicit period + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0; + float4 gy = abs(gx) - 0.5; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x, gy.x); + float2 g10 = float2(gx.y, gy.y); + float2 g01 = float2(gx.z, gy.z); + float2 g11 = float2(gx.w, gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} + +uniform texture2d Burn_Gradient = "burngradient.png"; +uniform float Speed = 0.33; +uniform float Gradient_Adjust = 0.85; +uniform float Dissolve_Value = 1.43; +uniform bool Animated; +uniform bool Apply_to_Channel; +uniform bool Apply_Smoke = true; +uniform float Smoke_Horizonal_Speed = 0.3; +uniform float Smoke_Vertical_Speed = 0.17; +uniform int Iterations = 4; +uniform string Notes< + string widget_type = "info"; +> = "Animate refers to the burn effect. Speed is general and is reversed with negative numbers. Gradient Adjust is the width of the burn gradient. Use the burngradient.png. Dissolve Value is important. Apply Smoke adds the scrolling smoke."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + float4 smoke = float4(1.0,1.0,1.0,1.0); + float4 result = smoke; + float t = elapsed_time * Speed; + float cycle = 1 - max((sin(t) * 2) - 1, 0); //create a negative cycle time as a delay + float2 dir = float2(Smoke_Horizonal_Speed, Smoke_Vertical_Speed); + //float largestDistance = sqrt(pow(uv_size.x, 2) + pow(uv_size.y, 2)); + + float perlin = 0.5; + float smoke_perlin = 0; + float scale = 1; + float w = 0.5; + + for (int i = 0; i < Iterations; i++) { + //float2 coord = v_in.uv * scale;// (v_in.uv + t * dir)* scale; + float2 coord = (v_in.uv + t * (dir * .1)) * scale; + float2 period = scale * dir; + perlin += pnoise(coord, period) * w; + if (Apply_Smoke) + smoke_perlin += cnoise((v_in.uv + t * dir) * scale) * w * .5; + + scale *= 2.0; + w *= 0.5; + } + + //float toPoint = abs(length(v_in.uv - (v_in.uv * .5)) / ((1.0001 - t) * largestDistance)); + if (!Animated) + cycle = 1; + float d = clamp(((Dissolve_Value * cycle + perlin) ) - 1.0, -.01, 0.99); + float overOne = saturate(d * Gradient_Adjust); + float4 burn = Burn_Gradient.Sample(textureSampler, float2(overOne, 0.5)); + + if (Apply_to_Channel) { + result = c * burn; + } + else { + result = float4(perlin, perlin, perlin, 1.0) * burn; + } + + if (smoke_perlin > 0) { + smoke *= smoke_perlin; + if (result.a <= 0.04) + result = float4(smoke.rgb, smoke_perlin); + result += smoke; + } + + return result; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 6566415df4e4d05514c518451ac9764f1e845b1a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1112/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSCartoonShader.ps1 | 252 ++++++++++++++++++ 1 file changed, 252 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 b/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 new file mode 100644 index 000000000..d5e777824 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 @@ -0,0 +1,252 @@ +function Get-OBSCartoonShader { + +[Alias('Set-OBSCartoonShader','Add-OBSCartoonShader')] +param( +# Set the ViewProj of OBSCartoonShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSCartoonShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSCartoonShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSCartoonShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSCartoonShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSCartoonShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSCartoonShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSCartoonShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the notes of OBSCartoonShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the hue_steps of OBSCartoonShader +[Alias('hue_steps')] +[ComponentModel.DefaultBindingProperty('hue_steps')] +[Int32] +$HueSteps, +# Set the value_steps of OBSCartoonShader +[Alias('value_steps')] +[ComponentModel.DefaultBindingProperty('value_steps')] +[Int32] +$ValueSteps, +# Set the Apply_To_Alpha_Layer of OBSCartoonShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCartoonShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Darklink''s shader modified to by Charles ''Surn'' Fettinger for use with obs-shaderfilter 3/2019 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform string notes = "5/2 seems reasonable"; + +uniform int hue_steps = 5; +uniform int value_steps = 2; +uniform bool Apply_To_Alpha_Layer = true; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertDataIn { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct VertDataOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertDataOut VSDefault(VertDataIn v_in) +{ + VertDataOut vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv; + return vert_out; +} + +float3 rgb2hsv(float3 c) +{ + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp(float4(c.bg, K.wz), float4(c.gb, K.xy), step(c.b, c.g)); + float4 q = lerp(float4(p.xyw, c.r), float4(c.r, p.yzx), step(p.x, c.r)); + + float d = q.x - min(q.w, q.y); + float e = 1.0e-10; + return float3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); +} + +float3 hsv2rgb(float3 c) +{ + float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * lerp(K.xxx, saturate(p - K.xxx), c.y); +} + +float fit(float v, int factor) +{ + return round(v * factor) / factor; +} + +float hue_wrap(float h) +{ + return fmod(h + 1, 2) - 1; + if(h > 1) + return h - 2; + if(h < -1) + return h + 2; + return h; +} + +float4 PassThrough(VertDataOut v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv); + if (rgba.a > 0.0 || Apply_To_Alpha_Layer == false) + { + float3 hsv = rgb2hsv(rgba.rgb); + hsv = float3(fit(hsv.x, hue_steps), hsv.y, fit(hsv.z, value_steps)); + //hsv = float3(hue_wrap(hsv.x + 0.5), 1, hsv.z); + rgba = float4(hsv2rgb(hsv), rgba.a); + //return float4(fit(rgba.r), fit(rgba.g), fit(rgba.b), rgba.a); + } + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(v_in); + pixel_shader = PassThrough(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1b262e2b5747ee4f048ad6b590ba026b2477a40b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1113/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSCellShadedShader.ps1 | 183 ++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 b/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 new file mode 100644 index 000000000..375785a76 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 @@ -0,0 +1,183 @@ +function Get-OBSCellShadedShader { + +[Alias('Set-OBSCellShadedShader','Add-OBSCellShadedShader')] +param( +# Set the Angle_Steps of OBSCellShadedShader +[Alias('Angle_Steps')] +[ComponentModel.DefaultBindingProperty('Angle_Steps')] +[Int32] +$AngleSteps, +# Set the Radius_Steps of OBSCellShadedShader +[Alias('Radius_Steps')] +[ComponentModel.DefaultBindingProperty('Radius_Steps')] +[Int32] +$RadiusSteps, +# Set the ampFactor of OBSCellShadedShader +[ComponentModel.DefaultBindingProperty('ampFactor')] +[Single] +$AmpFactor, +# Set the notes of OBSCellShadedShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCellShadedShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Cell Shaded shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int Angle_Steps< + string label = "Angle Steps"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 5; +uniform int Radius_Steps< + string label = "Radius Steps"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 9; +uniform float ampFactor< + string label = "amp Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 2.0; +uniform string notes< + string widget_type = "info"; +> = "Steps limited in range from 0 to 20. Edit cell_shaded.shader to remove limits at your own risk."; + +float4 mainImage(VertData v_in) : TARGET +{ + float radiusSteps = clamp(Radius_Steps, 0, 20); + float angleSteps = clamp(Angle_Steps, 1, 20); + float PI = 3.1415926535897932384626433832795;//acos(-1); + int totalSteps = int(radiusSteps * angleSteps); + float minRadius = (3 * uv_pixel_interval.y); + float maxRadius = (24 * uv_pixel_interval.y); + + float angleDelta = ((2 * PI) / angleSteps); + float radiusDelta = ((maxRadius - minRadius) / radiusSteps); + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float4 origColor = c0; + float4 accumulatedColor = float4(0,0,0,0); + + for (int radiusStep = 0; radiusStep < radiusSteps; radiusStep++) { + float radius = minRadius + radiusStep * radiusDelta; + + for (float angle=0; angle <(2*PI); angle += angleDelta) { + float2 currentCoord; + + float xDiff = radius * cos(angle); + float yDiff = radius * sin(angle); + + currentCoord = v_in.uv + float2(xDiff, yDiff); + float4 currentColor = image.Sample(textureSampler, currentCoord); + float4 colorDiff = abs(c0 - currentColor); + float currentFraction = (radiusSteps + 1 - radiusStep) / (radiusSteps + 1); + accumulatedColor += currentFraction * colorDiff / totalSteps; + + } + } + accumulatedColor *= ampFactor; + + return c0 - accumulatedColor; // Cell shaded style +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From a7561cbfc8d3965a6902a4d96c9f4454870f5c83 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1114/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSChromaUVDistortionShader.ps1 | 171 ++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 b/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 new file mode 100644 index 000000000..ca3ab4e6b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 @@ -0,0 +1,171 @@ +function Get-OBSChromaUVDistortionShader { + +[Alias('Set-OBSChromaUVDistortionShader','Add-OBSChromaUVDistortionShader')] +param( +# Set the distortion of OBSChromaUVDistortionShader +[ComponentModel.DefaultBindingProperty('distortion')] +[Single] +$Distortion, +# Set the amplitude of OBSChromaUVDistortionShader +[ComponentModel.DefaultBindingProperty('amplitude')] +[Single] +$Amplitude, +# Set the chroma of OBSChromaUVDistortionShader +[ComponentModel.DefaultBindingProperty('chroma')] +[Single] +$Chroma, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSChromaUVDistortionShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/WsdyRN + +//Higher values = less distortion +uniform float distortion< + string label = "Distortion"; + string widget_type = "slider"; + float minimum = 5.0; + float maximum = 1000.0; + float step = 0.01; +> = 75.; +//Higher values = tighter distortion +uniform float amplitude< + string label = "Amplitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 10.; +//Higher values = more color distortion +uniform float chroma< + string label = "Chroma"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 6.28318531; + float step = 0.01; +> = .5; + +float2 zoomUv(float2 uv, float zoom) { + float2 uv1 = uv; + uv1 += .5; + uv1 += zoom/2.-1.; + uv1 /= zoom; + return uv1; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uvt = v_in.uv; + + float2 uvtR = uvt; + float2 uvtG = uvt; + float2 uvtB = uvt; + + //Uncomment the following line to get varying chroma distortion + //chroma = sin(elapsed_time)/2.+.5; + + uvtR += float2(sin(uvt.y*amplitude+elapsed_time)/distortion, cos(uvt.x*amplitude+elapsed_time)/distortion); + uvtG += float2(sin(uvt.y*amplitude+elapsed_time+chroma)/distortion, cos(uvt.x*amplitude+elapsed_time+chroma)/distortion); + uvtB += float2(sin(uvt.y*amplitude+elapsed_time+(chroma*2.))/distortion, cos(uvt.x*amplitude+elapsed_time+(chroma*2.))/distortion); + + float2 uvR = zoomUv(uvtR, 1.1); + float2 uvG = zoomUv(uvtG, 1.1); + float2 uvB = zoomUv(uvtB, 1.1); + + float4 colR = image.Sample(textureSampler, uvR); + float4 colG = image.Sample(textureSampler, uvG); + float4 colB = image.Sample(textureSampler, uvB); + + return float4(colR.r, colG.g, colB.b, (colR.a + colG.a + colB.a) / 3.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From ccc0cf6e34a2cb94940b3abbd06a8e52e0e077bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1115/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSChromaticAberrationShader.ps1 | 342 ++++++++++++++++++ 1 file changed, 342 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 b/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 new file mode 100644 index 000000000..eed166688 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 @@ -0,0 +1,342 @@ +function Get-OBSChromaticAberrationShader { + +[Alias('Set-OBSChromaticAberrationShader','Add-OBSChromaticAberrationShader')] +param( +# Set the power of OBSChromaticAberrationShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# Set the gamma of OBSChromaticAberrationShader +[ComponentModel.DefaultBindingProperty('gamma')] +[Single] +$Gamma, +# Set the num_iter of OBSChromaticAberrationShader +[Alias('num_iter')] +[ComponentModel.DefaultBindingProperty('num_iter')] +[Int32] +$NumIter, +# Set the distort_radial of OBSChromaticAberrationShader +[Alias('distort_radial')] +[ComponentModel.DefaultBindingProperty('distort_radial')] +[Management.Automation.SwitchParameter] +$DistortRadial, +# Set the distort_barrel of OBSChromaticAberrationShader +[Alias('distort_barrel')] +[ComponentModel.DefaultBindingProperty('distort_barrel')] +[Management.Automation.SwitchParameter] +$DistortBarrel, +# Set the offset_spectrum_ycgco of OBSChromaticAberrationShader +[Alias('offset_spectrum_ycgco')] +[ComponentModel.DefaultBindingProperty('offset_spectrum_ycgco')] +[Management.Automation.SwitchParameter] +$OffsetSpectrumYcgco, +# Set the offset_spectrum_yuv of OBSChromaticAberrationShader +[Alias('offset_spectrum_yuv')] +[ComponentModel.DefaultBindingProperty('offset_spectrum_yuv')] +[Management.Automation.SwitchParameter] +$OffsetSpectrumYuv, +# Set the use_random of OBSChromaticAberrationShader +[Alias('use_random')] +[ComponentModel.DefaultBindingProperty('use_random')] +[Management.Automation.SwitchParameter] +$UseRandom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSChromaticAberrationShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/XssGz8 +//Converted to OpenGL by Exeldro February 14, 2022 + black background removed February 23, 2022 +uniform float power< + string label = "Power"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 0.01; +uniform float gamma< + string label = "Gamma"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 3.0; + float step = 0.01; +> = 2.2; +uniform int num_iter< + string label = "Number iterations"; + string widget_type = "slider"; + int minimum = 3; + int maximum = 25; + int step = 1; +> = 7; +uniform bool distort_radial = false; +uniform bool distort_barrel = false; +uniform bool offset_spectrum_ycgco = false; +uniform bool offset_spectrum_yuv = false; +uniform bool use_random = true; + +float2 remap( float2 t, float2 a, float2 b ) { + return clamp( (t - a) / (b - a), 0.0, 1.0 ); +} + +float3 spectrum_offset_rgb( float t ) +{ + float t0 = 3.0 * t - 1.5; + float3 ret = clamp( float3( -t0, 1.0-abs(t0), t0), 0.0, 1.0); + return ret; +} + + +float3 lin2srgb( float3 c ) +{ + return pow( c, float3(gamma, gamma, gamma) ); +} +float3 srgb2lin( float3 c ) +{ + return pow( c, float3(1.0/gamma, 1.0/gamma, 1.0/gamma)); +} + +float3 yCgCo2rgb(float3 ycc) +{ + float R = ycc.x - ycc.y + ycc.z; + float G = ycc.x + ycc.y; + float B = ycc.x - ycc.y - ycc.z; + return float3(R,G,B); +} + +float3 spectrum_offset_ycgco( float t ) +{ + //float3 ygo = float3( 1.0, 1.5*t, 0.0 ); //green-pink + //float3 ygo = float3( 1.0, -1.5*t, 0.0 ); //green-purple + float3 ygo = float3( 1.0, 0.0, -1.25*t ); //cyan-orange + //float3 ygo = float3( 1.0, 0.0, 1.5*t ); //brownyello-blue + return yCgCo2rgb( ygo ); +} + +float3 yuv2rgb( float3 yuv ) +{ + float3 rgb; + rgb.r = yuv.x + yuv.z * 1.13983; + rgb.g = yuv.x + dot( float2(-0.39465, -0.58060), yuv.yz ); + rgb.b = yuv.x + yuv.y * 2.03211; + return rgb; +} + +float2 radialdistort(float2 coord, float2 amt) +{ + float2 cc = coord - 0.5; + return coord + 2.0 * cc * amt; +} + +float2 barrelDistortion( float2 p, float2 amt ) +{ + p = 2.0 * p - 1.0; + + /* + const float maxBarrelPower = 5.0; + //note: http://glsl.heroku.com/e#3290.7 , copied from Little Grasshopper + float theta = atan(p.y, p.x); + float2 radius = float2( length(p) ); + radius = pow(radius, 1.0 + maxBarrelPower * amt); + p.x = radius.x * cos(theta); + p.y = radius.y * sin(theta); + + /*/ + // much faster version + //const float maxBarrelPower = 5.0; + //float radius = length(p); + float maxBarrelPower = sqrt(5.0); + float radius = dot(p,p); //faster but doesn''t match above accurately + p *= pow(float2(radius, radius), maxBarrelPower * amt); + /* */ + + return p * 0.5 + 0.5; +} + +float2 brownConradyDistortion(float2 uv, float dist) +{ + uv = uv * 2.0 - 1.0; + // positive values of K1 give barrel distortion, negative give pincushion + float barrelDistortion1 = 0.1 * dist; // K1 in text books + float barrelDistortion2 = -0.025 * dist; // K2 in text books + + float r2 = dot(uv,uv); + uv *= 1.0 + barrelDistortion1 * r2 + barrelDistortion2 * r2 * r2; + //uv *= 1.0 + barrelDistortion1 * r2; + + // tangential distortion (due to off center lens elements) + // is not modeled in this function, but if it was, the terms would go here + return uv * 0.5 + 0.5; +} + +float2 distort( float2 uv, float t, float2 min_distort, float2 max_distort ) +{ + float2 dist = float2(min_distort.x * (1.0-t) +max_distort.x * t, min_distort.y * (1.0-t) +max_distort.y * t); + //float2 dist = mix( min_distort, max_distort, t ); + if (distort_radial) + return radialdistort( uv, 2.0 * dist ); + + if(distort_barrel) + return barrelDistortion( uv, 1.75 * dist ); //distortion at center + return brownConradyDistortion( uv, 75.0 * dist.x ); +} + +// ==== + +float3 spectrum_offset_yuv( float t ) +{ + //float3 yuv = float3( 1.0, 3.0*t, 0.0 ); //purple-green + //float3 yuv = float3( 1.0, 0.0, 2.0*t ); //purple-green + float3 yuv = float3( 1.0, 0.0, -1.0*t ); //cyan-orange + //float3 yuv = float3( 1.0, -0.75*t, 0.0 ); //brownyello-blue + return yuv2rgb( yuv ); +} + +float3 spectrum_offset( float t ) +{ + if(offset_spectrum_ycgco) + return spectrum_offset_ycgco( t ); + if(offset_spectrum_yuv) + return spectrum_offset_yuv( t ); + return spectrum_offset_rgb( t ); + //return srgb2lin( spectrum_offset_rgb( t ) ); + //return lin2srgb( spectrum_offset_rgb( t ) ); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 max_distort = float2(power, power); + float2 min_distort = 0.5 * max_distort; + + float2 oversiz = distort(float2(1.0, 1.0), 1.0, min_distort, max_distort); + + float2 uv = remap( v_in.uv, 1.0-oversiz, oversiz ); + + //debug oversiz + //float2 distuv = distort( uv, 1.0, max_distort ); + //if ( abs(distuv.x-0.5)>0.5 || abs(distuv.y-0.5)>0.5) + //{ + // fragColor = float4( 1.0, 0.0, 0.0, 1.0 ); return; + //} + + + float stepsiz = 1.0 / (float(num_iter)-1.0); + float rnd = 0.0; + if(use_random) + rnd = rand_f; + + float t = rnd * stepsiz; + + float3 sumcol = float3(0.0, 0.0, 0.0); + float3 sumw = float3(0.0, 0.0, 0.0); + float colA = 0.0; + + for ( int i=0; iAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 36610ccff605458f4312aba73a63eb66f11aee67 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1116/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSCircleMaskFilterShader.ps1 | 204 ++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 b/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 new file mode 100644 index 000000000..559b9ea90 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 @@ -0,0 +1,204 @@ +function Get-OBSCircleMaskFilterShader { + +[Alias('Set-OBSCircleMaskFilterShader','Add-OBSCircleMaskFilterShader')] +param( +# Set the Radius of OBSCircleMaskFilterShader +[ComponentModel.DefaultBindingProperty('Radius')] +[Single] +$Radius, +# Set the Circle_Offset_X of OBSCircleMaskFilterShader +[Alias('Circle_Offset_X')] +[ComponentModel.DefaultBindingProperty('Circle_Offset_X')] +[Int32] +$CircleOffsetX, +# Set the Circle_Offset_Y of OBSCircleMaskFilterShader +[Alias('Circle_Offset_Y')] +[ComponentModel.DefaultBindingProperty('Circle_Offset_Y')] +[Int32] +$CircleOffsetY, +# Set the Source_Offset_X of OBSCircleMaskFilterShader +[Alias('Source_Offset_X')] +[ComponentModel.DefaultBindingProperty('Source_Offset_X')] +[Int32] +$SourceOffsetX, +# Set the Source_Offset_Y of OBSCircleMaskFilterShader +[Alias('Source_Offset_Y')] +[ComponentModel.DefaultBindingProperty('Source_Offset_Y')] +[Int32] +$SourceOffsetY, +# Set the Antialiasing of OBSCircleMaskFilterShader +[ComponentModel.DefaultBindingProperty('Antialiasing')] +[Management.Automation.SwitchParameter] +$Antialiasing, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCircleMaskFilterShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Circle Mask Filter version 1.01, for OBS Shaderfilter +// Copyright 2022 by SkeletonBow +// Twitter: +// Twitch: +// License: GNU GPLv2 +// +// Changelog: +// 1.01 - Don''t saturate() Radius parameter to allow oversizing to cover entire input texture. +// 1.0 - Initial release + +uniform float Radius< + string label = "Radius"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform int Circle_Offset_X< + string label = "Circle Offset X"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0; +uniform int Circle_Offset_Y< + string label = "Circle Offset X"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0; +uniform int Source_Offset_X< + string label = "Source Offset X"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0.0; +uniform int Source_Offset_Y< + string label = "Source Offset Y"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0.0; + +uniform bool Antialiasing = true; +#define Smoothness 100.00 +#define AAwidth 4 + +#define uv_pi uv_pixel_interval + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float2 coffset = float2(Circle_Offset_X, Circle_Offset_Y)/uv_size; + float2 soffset = float2( Source_Offset_X, Source_Offset_Y )/uv_size; + + float radius = Radius * 0.01; + float smwidth = radius * Smoothness * 0.01; + + float4 obstex = image.Sample( textureSampler, uv - soffset); + float4 color = obstex; + // Account for aspect ratio + uv.x = (uv.x - 0.5) * uv_size.x / uv_size.y + 0.5; + float2 cuv = 0.5 + coffset; + float dist = distance(cuv,uv); + // Anti-aliased or pixelated edge + if( Antialiasing ) { + color.a = smoothstep( radius, (radius+(uv_pi.x)) - (uv_pi.x * AAwidth), dist); + } else { + color.a = step( dist, radius ); + } + + return float4(color.rgb, color.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 189c8e9956e33afefebd5f5f7427f8a20dcafa61 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1117/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSColorGradeFilterShader.ps1 | 191 ++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 b/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 new file mode 100644 index 000000000..015d38688 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 @@ -0,0 +1,191 @@ +function Get-OBSColorGradeFilterShader { + +[Alias('Set-OBSColorGradeFilterShader','Add-OBSColorGradeFilterShader')] +param( +# Set the notes of OBSColorGradeFilterShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the lut of OBSColorGradeFilterShader +[ComponentModel.DefaultBindingProperty('lut')] +[String] +$Lut, +# Set the lut_amount_percent of OBSColorGradeFilterShader +[Alias('lut_amount_percent')] +[ComponentModel.DefaultBindingProperty('lut_amount_percent')] +[Int32] +$LutAmountPercent, +# Set the lut_scale_percent of OBSColorGradeFilterShader +[Alias('lut_scale_percent')] +[ComponentModel.DefaultBindingProperty('lut_scale_percent')] +[Int32] +$LutScalePercent, +# Set the lut_offset_percent of OBSColorGradeFilterShader +[Alias('lut_offset_percent')] +[ComponentModel.DefaultBindingProperty('lut_offset_percent')] +[Int32] +$LutOffsetPercent, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSColorGradeFilterShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Color Grade Filter by Charles Fettinger for obs-shaderfilter plugin 4/2020 +//https://github.com/Oncorporation/obs-shaderfilter +//OBS messed up the LUT system, this is basically the old LUT system +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform string notes< + string widget_type = "info"; +> = "Choose LUT, Default LUT amount is 100, scale = 100, offset = 0. Valid values: -200 to 200"; + +uniform texture2d lut< + string label = "LUT"; +>; +uniform int lut_amount_percent< + string label = "LUT amount percentage"; + string widget_type = "slider"; + int minimum = -200; + int maximum = 200; + int step = 1; +> = 100; +uniform int lut_scale_percent< + string label = "LUT scale percentage"; + string widget_type = "slider"; + int minimum = -200; + int maximum = 200; + int step = 1; +> = 100; +uniform int lut_offset_percent< + string label = "LUT offset percentage"; + string widget_type = "slider"; + int minimum = -200; + int maximum = 200; + int step = 1; +> = 0; + + +float4 mainImage(VertData v_in) : TARGET +{ + float lut_amount = clamp(lut_amount_percent *.01, -2.0, 2.0); + float lut_scale = clamp(lut_scale_percent *.01,-2.0, 2.0); + float lut_offset = clamp(lut_offset_percent *.01,-2.0, 2.0); + + float4 textureColor = image.Sample(textureSampler, v_in.uv); + float lumaLevel = textureColor.r * 0.2126 + textureColor.g * 0.7152 + textureColor.b * 0.0722; + float blueColor = float(lumaLevel);//textureColor.b * 63.0 + + float2 quad1; + quad1.y = floor(floor(float(blueColor)) / 8.0); + quad1.x = floor(float(blueColor)) - (quad1.y * 8.0); + + float2 quad2; + quad2.y = floor(ceil(float(blueColor)) / 8.0); + quad2.x = ceil(float(blueColor)) - (quad2.y * 8.0); + + float2 texPos1; + texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.r); + texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.g); + + float2 texPos2; + texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.r); + texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.g); + + float4 newColor1 = lut.Sample(textureSampler, texPos1); + newColor1.rgb = newColor1.rgb * lut_scale + lut_offset; + float4 newColor2 = lut.Sample(textureSampler, texPos2); + newColor2.rgb = newColor2.rgb * lut_scale + lut_offset; + float4 luttedColor = lerp(newColor1, newColor2, frac(float(blueColor))); + + float4 final_color = lerp(textureColor, luttedColor, lut_amount); + return float4(final_color.rgb, textureColor.a); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From f9612ba2ddff67a5234bddc279a33c92a5a52e59 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1118/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSColorDepthShader.ps1 | 138 ++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 b/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 new file mode 100644 index 000000000..1b8eca55a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 @@ -0,0 +1,138 @@ +function Get-OBSColorDepthShader { + +[Alias('Set-OBSColorDepthShader','Add-OBSColorDepthShader')] +param( +# Set the colorDepth of OBSColorDepthShader +[ComponentModel.DefaultBindingProperty('colorDepth')] +[Single] +$ColorDepth, +# Set the pixelSize of OBSColorDepthShader +[ComponentModel.DefaultBindingProperty('pixelSize')] +[Single] +$PixelSize, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSColorDepthShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/tscfWM +uniform float colorDepth< + string label = "Color depth"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 100.0; + float step = 0.01; +> = 5.0; + +uniform float pixelSize< + string label = "Pixel Size"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 0.01; +> = 5.0; + + +float4 mainImage(VertData v_in) : TARGET +{ + // Change these to change results + float2 size = uv_size / pixelSize; + float2 uv = v_in.uv; + // Maps UV onto grid of variable size to pixilate the image + uv = round(uv*size)/size; + float4 col = image.Sample(textureSampler, uv); + // Maps color onto the specified color depth + return float4(round(col.r * colorDepth) / colorDepth, + round(col.g * colorDepth) / colorDepth, + round(col.b * colorDepth) / colorDepth, 1.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c03153dccb3121ed894d62d4a7b5035cc62a2a9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1119/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSCornerPinShader.ps1 | 324 ++++++++++++++++++ 1 file changed, 324 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 b/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 new file mode 100644 index 000000000..08295077d --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 @@ -0,0 +1,324 @@ +function Get-OBSCornerPinShader { + +[Alias('Set-OBSCornerPinShader','Add-OBSCornerPinShader')] +param( +# Set the Antialias_Edges of OBSCornerPinShader +[Alias('Antialias_Edges')] +[ComponentModel.DefaultBindingProperty('Antialias_Edges')] +[Management.Automation.SwitchParameter] +$AntialiasEdges, +# Set the Top_Left_X of OBSCornerPinShader +[Alias('Top_Left_X')] +[ComponentModel.DefaultBindingProperty('Top_Left_X')] +[Single] +$TopLeftX, +# Set the Top_Left_Y of OBSCornerPinShader +[Alias('Top_Left_Y')] +[ComponentModel.DefaultBindingProperty('Top_Left_Y')] +[Single] +$TopLeftY, +# Set the Top_Right_X of OBSCornerPinShader +[Alias('Top_Right_X')] +[ComponentModel.DefaultBindingProperty('Top_Right_X')] +[Single] +$TopRightX, +# Set the Top_Right_Y of OBSCornerPinShader +[Alias('Top_Right_Y')] +[ComponentModel.DefaultBindingProperty('Top_Right_Y')] +[Single] +$TopRightY, +# Set the Bottom_Left_X of OBSCornerPinShader +[Alias('Bottom_Left_X')] +[ComponentModel.DefaultBindingProperty('Bottom_Left_X')] +[Single] +$BottomLeftX, +# Set the Bottom_Left_Y of OBSCornerPinShader +[Alias('Bottom_Left_Y')] +[ComponentModel.DefaultBindingProperty('Bottom_Left_Y')] +[Single] +$BottomLeftY, +# Set the Bottom_Right_X of OBSCornerPinShader +[Alias('Bottom_Right_X')] +[ComponentModel.DefaultBindingProperty('Bottom_Right_X')] +[Single] +$BottomRightX, +# Set the Bottom_Right_Y of OBSCornerPinShader +[Alias('Bottom_Right_Y')] +[ComponentModel.DefaultBindingProperty('Bottom_Right_Y')] +[Single] +$BottomRightY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCornerPinShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Corner Pin, Version 0.1, for OBS Shaderfilter +// Copyright ©️ 2022 by SkeletonBow +// License: GNU General Public License, version 2 +// Contact info: +// Twitter: +// Twitch: +// +// Based on: +// Original work by Inigo Quilez: https://www.iquilezles.org/www/articles/ibilinear/ibilinear.htm +// https://www.youtube.com/c/InigoQuilez +// https://iquilezles.org/ +// and the derivative StreamFX Corner Pin effect by Xaymar +// https://github.com/Xaymar/obs-StreamFX +// +// Description: +// Corner Pin allows you to pin the corners of an image onto the corners of an arbitrarily +// angled picture frame, TV screen or other rectangular surface in 3D space in an underlying +// image with proper perspective without distortion. +// +// TODO: +// - Add feature to automatically quantize corners to pixel centers +// +// Changelog: +// 0.1 - Initial release based on the StreamFX Corner Pin effect, as well as the original work by +// Inigo Quilez that it was based upon. + +uniform bool Antialias_Edges = true; + +uniform float Top_Left_X< + string label = "Top left x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Top_Left_Y< + string label = "Top left y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Top_Right_X< + string label = "Top right x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; +uniform float Top_Right_Y< + string label = "Top right y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Bottom_Left_X< + string label = "Bottom left x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Bottom_Left_Y< + string label = "Bottom left y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; +uniform float Bottom_Right_X< + string label = "Bottom right x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; +uniform float Bottom_Right_Y< + string label = "Bottom right y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; + +// DEVELOPMENTAL DEBUGGING OPTIONS +//uniform float AAstrength = 1.0; +//uniform float AAdist = 1.0; +//uniform float debug_psmult = 1.0; +//#define PIXEL_SIZE_MULT 2.0 + +float cross2d(in float2 a, in float2 b) +{ + return (a.x * b.y) - (a.y * b.x); +} + +float2 inverse_bilinear(in float2 p, in float2 a, in float2 b, in float2 c, in float2 d) +{ + float2 result = float2(-1., -1.); + + float2 e = b - a; + float2 f = d - a; + float2 g = a-b+c-d; + float2 h = p-a; + + float k2 = cross2d(g, f); + float k1 = cross2d(e, f) + cross2d(h, g); + float k0 = cross2d(h, e); + + if (abs(k2) < .001) { // Edges are likely parallel, so this is a linear equation. + result = float2( + (h.x * k1 + f.x * k0) / (e.x * k1 - g.x * k0), + -k0 / k1 + ); + } else { // It''s a quadratic equation. + float w = k1 * k1 - 4.0 * k0 * k2; + if (w < 0.0) { // Prevent GPUs from going insane. + return result; + } + w = sqrt(w); + + float ik2 = 0.5/k2; + float v = (-k1 - w) * ik2; + float u = (h.x - f.x * v) / (e.x + g.x * v); + + if (u < 0.0 || u > 1.0 || v < 0.0 || v > 1.0) { + v = (-k1 + w) * ik2; + u = (h.x - f.x * v) / (e.x + g.x * v); + } + + result = float2(u, v); + } + + return result; +} + +// distance to a line segment +float sdSegment( in float2 p, in float2 a, in float2 b ) +{ + p -= a; b -= a; + return length( p-b*saturate(dot(p,b)/dot(b,b)) ); +} + +// Anti-alias edges - EXPERIMENTAL - (SkeletonBow) +float aastepEdgeAlpha(in float alpha, in float2 p, in float2 a, in float2 b) +{ + //float ps = 2.0 * (2.0/uv_size.y); // Original +// float ps = debug_psmult * (2.0/uv_size.y); + float ps = (2.0/uv_size.y); +// float ps = fwidth(p)*2.; // Try using fwidth() - goes haywire on AMD Radeon HD7850 at least, disable for now + return lerp( alpha, 0.0, 1.0 - smoothstep(0.0,ps,sdSegment(p,a,b))); +} + +float4 mainImage( VertData v_in ) : TARGET { + float2 p = 2.* v_in.uv - 1.; + + float2 Top_Left = float2(Top_Left_X, Top_Left_Y) * .01; + float2 Top_Right = float2(Top_Right_X, Top_Right_Y) * .01; + float2 Bottom_Left = float2(Bottom_Left_X, Bottom_Left_Y) * .01; + float2 Bottom_Right = float2(Bottom_Right_X, Bottom_Right_Y) * .01; + + // Convert from screen coords to potential Quad UV coordinates + float2 uv = inverse_bilinear(p, Top_Left, Top_Right, Bottom_Right, Bottom_Left); + + if (max(abs(uv.x - .5), abs(uv.y - .5)) >= .5) { + return float4(0.0, 0.0, 0.0, 0.0); + } + + float4 texel = image.Sample(textureSampler, uv); + + if ( Antialias_Edges ) { + // Anti-alias edges of texture + texel.a = aastepEdgeAlpha(texel.a, p, Top_Left, Top_Right); + texel.a = aastepEdgeAlpha(texel.a, p, Top_Right, Bottom_Right); + texel.a = aastepEdgeAlpha(texel.a, p, Bottom_Right, Bottom_Left); + texel.a = aastepEdgeAlpha(texel.a, p, Bottom_Left, Top_Left); + } + return texel; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c231455bdd1c22c50017d54f8979ed201e9e0d21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1120/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSCrtCurvatureShader.ps1 | 151 ++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 b/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 new file mode 100644 index 000000000..0092153f8 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 @@ -0,0 +1,151 @@ +function Get-OBSCrtCurvatureShader { + +[Alias('Set-OBSCrtCurvatureShader','Add-OBSCrtCurvatureShader')] +param( +# Set the strength of OBSCrtCurvatureShader +[ComponentModel.DefaultBindingProperty('strength')] +[Single] +$Strength, +# Set the border of OBSCrtCurvatureShader +[ComponentModel.DefaultBindingProperty('border')] +[Single[]] +$Border, +# Set the feathering of OBSCrtCurvatureShader +[ComponentModel.DefaultBindingProperty('feathering')] +[Single] +$Feathering, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCrtCurvatureShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = 0.; + float maximum = 200.; + float step = 0.01; +> = 33.33; + +uniform float4 border< + string label = "Border Color"; +> = {0., 0., 0., 1.}; + +uniform float feathering< + string label = "Feathering"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 33.33; + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 cc = v_in.uv - float2(0.5, 0.5); + float dist = dot(cc, cc) * strength / 100.0; + float2 bent = v_in.uv + cc * (1.0 + dist) * dist; + if ((bent.x <= 0.0 || bent.x >= 1.0) || (bent.y <= 0.0 || bent.y >= 1.0)) { + return border; + } + if (feathering >= .01) { + float2 borderArea = float2(0.5, 0.5) * feathering / 100.0; + float2 borderDistance = (float2(0.5, 0.5) - abs(bent - float2(0.5, 0.5))) / float2(0.5, 0.5); + borderDistance = (min(borderDistance - float2(0.5, 0.5) * feathering / 100.0, 0) + borderArea) / borderArea; + float borderFade = sin(borderDistance.x * 1.570796326) * sin(borderDistance.y * 1.570796326); + return lerp(border, image.Sample(textureSampler, bent), borderFade); + } + + return image.Sample(textureSampler, bent); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 0f6b08e75002adef9cd6ea872c69240a3898854d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1121/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSCutRectPerCornerShader.ps1 | 320 ++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 b/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 new file mode 100644 index 000000000..a703491a7 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 @@ -0,0 +1,320 @@ +function Get-OBSCutRectPerCornerShader { + +[Alias('Set-OBSCutRectPerCornerShader','Add-OBSCutRectPerCornerShader')] +param( +# Set the corner_tl of OBSCutRectPerCornerShader +[Alias('corner_tl')] +[ComponentModel.DefaultBindingProperty('corner_tl')] +[Int32] +$CornerTl, +# Set the corner_tr of OBSCutRectPerCornerShader +[Alias('corner_tr')] +[ComponentModel.DefaultBindingProperty('corner_tr')] +[Int32] +$CornerTr, +# Set the corner_br of OBSCutRectPerCornerShader +[Alias('corner_br')] +[ComponentModel.DefaultBindingProperty('corner_br')] +[Int32] +$CornerBr, +# Set the corner_bl of OBSCutRectPerCornerShader +[Alias('corner_bl')] +[ComponentModel.DefaultBindingProperty('corner_bl')] +[Int32] +$CornerBl, +# Set the border_thickness of OBSCutRectPerCornerShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSCutRectPerCornerShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# Set the border_alpha_start of OBSCutRectPerCornerShader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSCutRectPerCornerShader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSCutRectPerCornerShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCutRectPerCornerShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int corner_tl< + string label = "Corner top left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int corner_tr< + string label = "Corner top right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int corner_br< + string label = "Corner bottom right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int corner_bl< + string label = "Corner bottom left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "Border aplha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float border_alpha_end< + string label = "Border aplha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; +uniform float alpha_cut_off< + string label = "Alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pixel = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(pixel.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + int corner_top = corner_tl>corner_tr?corner_tl:corner_tr; + int corner_right = corner_tr>corner_br?corner_tr:corner_br; + int corner_bottom = corner_bl>corner_br?corner_bl:corner_br; + int corner_left = corner_tl>corner_bl?corner_tl:corner_bl; + + if(image.Sample(textureSampler, v_in.uv + float2(corner_right*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = corner_right; + }else if(image.Sample(textureSampler, v_in.uv + float2(-corner_left*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = -corner_left; + } + if(image.Sample(textureSampler, v_in.uv + float2(0,corner_bottom*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = corner_bottom; + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-corner_top*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = -corner_top; + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return pixel; + } + if(closedEdgeX != 0){ + [loop] for(int x = 1;x 0 && closedEdgeY < 0){ + corner_radius = corner_tr; + }else if(closedEdgeX > 0 && closedEdgeY > 0){ + corner_radius = corner_br; + }else if(closedEdgeX < 0 && closedEdgeY > 0){ + corner_radius = corner_bl; + } + if(closedEdgeXabs > corner_radius && closedEdgeYabs > corner_radius){ + return pixel; + } + if(closedEdgeXabs == 0){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeYabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs == 0){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeXabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeXabs > corner_radius){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeYabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs > corner_radius){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeXabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + float d = closedEdgeXabs+closedEdgeYabs; + if(d>corner_radius){ + if(d-corner_radius <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + ((d-corner_radius)/ float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + return float4(0.0,0.0,0.0,0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c8fd410735bd54ef5a3d9ccf761d03720c133cca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1122/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSCylinderShader.ps1 | 158 ++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 b/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 new file mode 100644 index 000000000..535bdd5f1 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 @@ -0,0 +1,158 @@ +function Get-OBSCylinderShader { + +[Alias('Set-OBSCylinderShader','Add-OBSCylinderShader')] +param( +# Set the cylinder_factor of OBSCylinderShader +[Alias('cylinder_factor')] +[ComponentModel.DefaultBindingProperty('cylinder_factor')] +[Single] +$CylinderFactor, +# Set the background_cut of OBSCylinderShader +[Alias('background_cut')] +[ComponentModel.DefaultBindingProperty('background_cut')] +[Single] +$BackgroundCut, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSCylinderShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float cylinder_factor< + string label = "Cylinder factor"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.2; +uniform float background_cut< + string label = "Background cut"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.1; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv.x -= 0.5; + float bend = sqrt(1.0 - uv.x*uv.x*4); + uv.y = uv.y/(1.0 - cylinder_factor)-bend*cylinder_factor; + uv.y-=cylinder_factor/2; + uv.x /= 2; + uv.x += 0.5; + float4 front_color = image.Sample(textureSampler, uv); + front_color.rgb *= bend/2+0.5; + if(front_color.a >= 1.0) + return front_color; + + uv = v_in.uv; + uv.x -= 0.5; + if(abs(uv.x) < background_cut) + return front_color; + uv.y = uv.y/(1.0 - cylinder_factor)+bend*cylinder_factor; + uv.y-=cylinder_factor/2; + uv.x /= 2; + if(uv.x > 0){ + uv.x = 1.0 - uv.x; + }else{ + uv.x = 0 - uv.x; + } + + float4 back_color = image.Sample(textureSampler, uv); + back_color.rgb *= 0.5-bend/2; + front_color.rgb *= front_color.a; + front_color.rgb += back_color.rgb * (1.0 - front_color.a) * back_color.a; + front_color.a = back_color.a * (1.0 - front_color.a) + front_color.a; + return front_color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 51945a70f1a466009aa030370b9b14b8f0c6e0bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1123/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSDarkenShader.ps1 | 127 ++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 b/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 new file mode 100644 index 000000000..a109f8561 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 @@ -0,0 +1,127 @@ +function Get-OBSDarkenShader { + +[Alias('Set-OBSDarkenShader','Add-OBSDarkenShader')] +param( +# Set the Opacity_Percentage of OBSDarkenShader +[Alias('Opacity_Percentage')] +[ComponentModel.DefaultBindingProperty('Opacity_Percentage')] +[Single] +$OpacityPercentage, +# Set the Fill_Percentage of OBSDarkenShader +[Alias('Fill_Percentage')] +[ComponentModel.DefaultBindingProperty('Fill_Percentage')] +[Single] +$FillPercentage, +# Set the Notes of OBSDarkenShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDarkenShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Opacity_Percentage = 100.0; +uniform float Fill_Percentage = 100.0; +uniform string Notes = "Simulates a photo editing darken layer blending mode. Fill percentage is the interior alpha and Opacity is the layer alpha."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 other = float4(1.0, 1.0, 1.0, 1.0); + float4 base = image.Sample(textureSampler, v_in.uv); + float luminance = dot(base.rgb, float3(0.299, 0.587, 0.114)); + float4 gray = float4(luminance,luminance,luminance, 1.0); + + return min(base,other); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 370559227aaac351a04f7d7efd610c03ec88dc85 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1124/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSDeadPixelFixerShader.ps1 | 164 ++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 b/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 new file mode 100644 index 000000000..252d6ec37 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 @@ -0,0 +1,164 @@ +function Get-OBSDeadPixelFixerShader { + +[Alias('Set-OBSDeadPixelFixerShader','Add-OBSDeadPixelFixerShader')] +param( +# Set the Dead_Pixel_X of OBSDeadPixelFixerShader +[Alias('Dead_Pixel_X')] +[ComponentModel.DefaultBindingProperty('Dead_Pixel_X')] +[Int32] +$DeadPixelX, +# Set the Dead_Pixel_Y of OBSDeadPixelFixerShader +[Alias('Dead_Pixel_Y')] +[ComponentModel.DefaultBindingProperty('Dead_Pixel_Y')] +[Int32] +$DeadPixelY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDeadPixelFixerShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Dead Pixel Fixer, Version 0.01, for OBS Shaderfilter +// Copyright ©️ 2022 by SkeletonBow +// License: GNU General Public License, version 2 +// Contact info: +// Twitter: +// Twitch: +// +// Description: Intended for use with an input source that has a dead pixel on its sensor such as a webcam. +// The pixel located at the user configured offset will have its color overridden by taking the average of the +// color of the 8 pixels immediately surrounding it, effectively hiding the dead pixel. +// +// Changelog: +// 0.01 - Initial release + +uniform int Dead_Pixel_X< + string label = "Dead Pixel X"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 2000; + int step = 1; +> = 0; +uniform int Dead_Pixel_Y< + string label = "Dead Pixel Y"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 2000; + int step = 1; +> = 0; + +float3 blur_dead_pixel(in float2 pos) +{ + float3 color; + color = image.Sample(textureSampler, (pos + float2(-1.0, -0.5))/uv_size).rgb; + color += image.Sample(textureSampler, (pos + float2(0.5, -1.0))/uv_size).rgb; + color += image.Sample(textureSampler, (pos + float2(1.0, 0.5))/uv_size).rgb; + color += image.Sample(textureSampler, (pos + float2(-0.5, 1.0))/uv_size).rgb; + return color * 0.25; +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float2 pos = v_in.pos.xy; + float2 dp_pos = clamp( float2(Dead_Pixel_X, Dead_Pixel_Y), float2(0.0,0.0), uv_size - 1); + float4 obstex = image.Sample(textureSampler, uv); + float3 color; + + if(floor(pos.x) == floor(dp_pos.x) && floor(pos.y) == floor(dp_pos.y) ) { + color = blur_dead_pixel(pos); + } else { + color.rgb = obstex.rgb; + } + return float4( color, obstex.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 6b94489f896a61696a6f4a0e4ef85f60cee49b95 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1125/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSDivideRotateShader.ps1 | 202 ++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 b/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 new file mode 100644 index 000000000..115f0b924 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 @@ -0,0 +1,202 @@ +function Get-OBSDivideRotateShader { + +[Alias('Set-OBSDivideRotateShader','Add-OBSDivideRotateShader')] +param( +# Set the iChannel0 of OBSDivideRotateShader +[ComponentModel.DefaultBindingProperty('iChannel0')] +[String] +$IChannel0, +# Set the speed_percentage of OBSDivideRotateShader +[Alias('speed_percentage')] +[ComponentModel.DefaultBindingProperty('speed_percentage')] +[Int32] +$SpeedPercentage, +# Set the alpha_percentage of OBSDivideRotateShader +[Alias('alpha_percentage')] +[ComponentModel.DefaultBindingProperty('alpha_percentage')] +[Int32] +$AlphaPercentage, +# Set the Apply_To_Alpha_Layer of OBSDivideRotateShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the notes of OBSDivideRotateShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDivideRotateShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// divide and rotate shader for OBS Studio shaderfilter plugin +// originally from shadertoy (https://www.shadertoy.com/view/3sy3Dh) +// Modified by Charles Fettinger (https://github.com/Oncorporation) 10/2019 +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform texture2d iChannel0; +uniform int speed_percentage< + string label = "Speed"; + string widget_type = "slider"; + int minimum = -10; + int maximum = 10; + int step = 1; +> = 5; +uniform int alpha_percentage< + string label = "Opacity Percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform bool Apply_To_Alpha_Layer = true; + +uniform string notes< + string widget_type = "info"; +> = "add rotation and speed"; + + +float2 cm(float2 a, float2 b) { + return float2(a.x * b.x - a.y * b.y, a.x * b.y + a.y * b.x); +} + +float2 iter(float2 uv, float2 rot, float scale) { + float2 gv = frac(cm(uv, rot) * scale); + float boundDist = 1. - max(abs(gv.x), abs(gv.y)); + float mask = step(.03, boundDist); + gv *= mask; + return gv; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float alpha = clamp(alpha_percentage * 0.01, 0.0, 1.0); + float speed = clamp(speed_percentage * 0.01, -10.0, 10.0); + + // Normalize coords + //float2 uv = (v_in.uv * uv_scale + uv_offset); + float2 uv = (float2(v_in.uv.x, (1 - v_in.uv.y)) * uv_scale + uv_offset) - .5 * (v_in.uv * uv_scale + uv_offset);// / v_in.uv.y; + float2 mouse = (v_in.uv.xy - .5 * v_in.uv.xy) / v_in.uv.y; + + // Add some time rotation and offset + float t = elapsed_time * speed; + float2 time = float2(sin(t), cos(t)); + uv += time; + + // Imaginary component has to be mirrored for natural feeling rotation + mouse.y *= -1.0; + + // Draw few layers of this to bend space + float2 rot = cm(mouse, time); + for (float i=1.0; i<=3.0; i++) { + uv = iter(uv, rot, 1.5); + } + + // Combine background with new image + float4 background_color = image.Sample(textureSampler, v_in.uv); + float4 col = iChannel0.Sample(textureSampler, uv); + + // Border + if (uv.x == 0.0 && uv.y == 0.0) { + col = float4(0,0,0,alpha); + } + + // if not appling to alpha layer, set output alpha + if (Apply_To_Alpha_Layer == false) + col.a = alpha; + + //output color is combined with background image + col.rgb = lerp(background_color.rgb,col.rgb,clamp(alpha, 0.0, 1.0)); + + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From fddd507c822ef5188c8150bf92cf6471e5154b8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1126/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSDoodleShader.ps1 | 237 ++++++++++++++++++ 1 file changed, 237 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 b/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 new file mode 100644 index 000000000..e529c1523 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 @@ -0,0 +1,237 @@ +function Get-OBSDoodleShader { + +[Alias('Set-OBSDoodleShader','Add-OBSDoodleShader')] +param( +# Set the ViewProj of OBSDoodleShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSDoodleShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSDoodleShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSDoodleShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSDoodleShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSDoodleShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSDoodleShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSDoodleShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the Doodle_Scale_Percent of OBSDoodleShader +[Alias('Doodle_Scale_Percent')] +[ComponentModel.DefaultBindingProperty('Doodle_Scale_Percent')] +[Single] +$DoodleScalePercent, +# Set the Snap_Percent of OBSDoodleShader +[Alias('Snap_Percent')] +[ComponentModel.DefaultBindingProperty('Snap_Percent')] +[Single] +$SnapPercent, +# Set the Notes of OBSDoodleShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDoodleShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// doodle effect by Charles Fettinger (https://github.com/Oncorporation) 5/2019 +// for use with obs-shaderfilter 1.0 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform float Doodle_Scale_Percent< + string label = "Doodle Scale Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 2.5; +uniform float Snap_Percent< + string label = "Snap Percent"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 0.1; +> = 7.5; +uniform string Notes< + string widget_type = "info"; +> = "Doodle skews the image by the Scale Percent, Snap Percent controls the number of doodles per second."; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float3 rand3(float3 co) +{ + float j = 4096.0*sin(dot(co, float3(17.0, 59.4, 15.0))); + float3 result; + result.z = frac(512.0*j); + j *= .125; + result.x = frac(512.0*j); + j *= .125; + result.y = frac(512.0*j); + return result - 0.5; +} + +float snap(float x, float snap) +{ + return snap * round(x / max(0.01,snap)); +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + float time = snap((1 + sin(elapsed_time)) * 0.5, Snap_Percent * .01); + float rand = snap(rand_f, Snap_Percent *.01); + float2 noise = rand3(v_in.pos.xyz + float3(time,0.0,0.0)).xy * (Doodle_Scale_Percent * .01); + vert_out.uv.xy += noise; + + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass p0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c2361933d7c6c76a4627dbaa6ea6d20cdbd54e75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1127/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSDrawingsShader.ps1 | 241 ++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 b/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 new file mode 100644 index 000000000..dff8473a8 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 @@ -0,0 +1,241 @@ +function Get-OBSDrawingsShader { + +[Alias('Set-OBSDrawingsShader','Add-OBSDrawingsShader')] +param( +# Set the AngleNum of OBSDrawingsShader +[ComponentModel.DefaultBindingProperty('AngleNum')] +[Int32] +$AngleNum, +# Set the SampNum of OBSDrawingsShader +[ComponentModel.DefaultBindingProperty('SampNum')] +[Int32] +$SampNum, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDrawingsShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/ldlcWs + +uniform int AngleNum< + string label = "Number of angles"; + string widget_type = "slider"; + int minimum = 0.0; + int maximum = 25; + int step = 1; +> = 3; +uniform int SampNum< + string label = "Number of samples"; + string widget_type = "slider"; + int minimum = 0.0; + int maximum = 25; + int step = 1; +> = 9; + +float4 getCol(float2 pos) +{ + // take aspect ratio into account + float2 uv=pos; + float4 c1=image.Sample(textureSampler, uv); + float4 e=smoothstep(float4(-0.05,-0.05,-0.05,-0.05),float4(-0.0,-0.0,-0.0,-0.0),float4(uv,float2(1,1)-uv)); + c1=lerp(float4(1,1,1,0),c1,e.x*e.y*e.z*e.w); + float d=clamp(dot(c1.xyz,float3(-.5,1.,-.5)),0.0,1.0); + float4 c2=float4(.7,.7,.7,.7); + return min(lerp(c1,c2,1.8*d),.7); +} + +float4 getColHT(float2 pos) +{ + return smoothstep(0.795,1.05,getCol(pos)*.8+.2+1.0); +} + +float getVal(float2 pos) +{ + float4 c=getCol(pos); + return pow(dot(c.xyz,float3(.333,.333,.333)),1.)*1.; +} + +float2 getGrad(float2 pos, float eps) +{ + float2 d=float2(eps,0.); + return float2( + getVal(pos+d.xy)-getVal(pos-d.xy), + getVal(pos+d.yx)-getVal(pos-d.yx) + )/eps/2.; +} + + + float lum( float3 c) { + return dot(c, float3(0.3, 0.59, 0.11)); + } + + + float3 clipcolor( float3 c) { + float l = lum(c); + float n = min(min(c.r, c.g), c.b); + float x = max(max(c.r, c.g), c.b); + + if (n < 0.0) { + c.r = l + ((c.r - l) * l) / (l - n); + c.g = l + ((c.g - l) * l) / (l - n); + c.b = l + ((c.b - l) * l) / (l - n); + } + if (x > 1.25) { + c.r = l + ((c.r - l) * (1.0 - l)) / (x - l); + c.g = l + ((c.g - l) * (1.0 - l)) / (x - l); + c.b = l + ((c.b - l) * (1.0 - l)) / (x - l); + } + return c; + } + + float3 setlum( float3 c, float l) { + float d = l - lum(c); + c = c + float3(d,d,d); + return clipcolor(0.85*c); + } + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + float3 col = float3(0,0,0); + float3 col2 = float3(0,0,0); + float sum=0.; + + for(int i=0;iAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 613ea89f034b6af400a82c34a35029004c412ddf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1128/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSDropShadowShader.ps1 | 184 ++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 b/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 new file mode 100644 index 000000000..307b5d23f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 @@ -0,0 +1,184 @@ +function Get-OBSDropShadowShader { + +[Alias('Set-OBSDropShadowShader','Add-OBSDropShadowShader')] +param( +# Set the shadow_offset_x of OBSDropShadowShader +[Alias('shadow_offset_x')] +[ComponentModel.DefaultBindingProperty('shadow_offset_x')] +[Int32] +$ShadowOffsetX, +# Set the shadow_offset_y of OBSDropShadowShader +[Alias('shadow_offset_y')] +[ComponentModel.DefaultBindingProperty('shadow_offset_y')] +[Int32] +$ShadowOffsetY, +# Set the shadow_blur_size of OBSDropShadowShader +[Alias('shadow_blur_size')] +[ComponentModel.DefaultBindingProperty('shadow_blur_size')] +[Int32] +$ShadowBlurSize, +# Set the notes of OBSDropShadowShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the shadow_color of OBSDropShadowShader +[Alias('shadow_color')] +[ComponentModel.DefaultBindingProperty('shadow_color')] +[Single[]] +$ShadowColor, +# Set the is_alpha_premultiplied of OBSDropShadowShader +[Alias('is_alpha_premultiplied')] +[ComponentModel.DefaultBindingProperty('is_alpha_premultiplied')] +[Management.Automation.SwitchParameter] +$IsAlphaPremultiplied, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDropShadowShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Drop Shadow shader modified by Charles Fettinger +// impose a limiter to keep from crashing the system +//Converted to OpenGL by Exeldro February 19, 2022 +uniform int shadow_offset_x< + string label = "Shadow offset x"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 5; +uniform int shadow_offset_y< + string label = "Shadow offset y"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 5; +uniform int shadow_blur_size< + string label = "Shadow blur size"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 15; + int step = 1; +> = 3; +uniform string notes< + string widget_type = "info"; +> = "blur size is limited to a max of 15 to ensure GPU"; + +uniform float4 shadow_color; + +uniform bool is_alpha_premultiplied; + +float4 mainImage(VertData v_in) : TARGET +{ + int shadow_blur_size_limited = max(0, min(15, shadow_blur_size)); + int shadow_blur_samples = int(pow(float(shadow_blur_size_limited * 2 + 1), 2.0)); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * float(shadow_offset_x), + v_in.uv.y - uv_pixel_interval.y * float(shadow_offset_y)); + + float sampled_shadow_alpha = 0.0; + + for (int blur_x = -shadow_blur_size_limited; blur_x <= shadow_blur_size_limited; blur_x++) + { + for (int blur_y = -shadow_blur_size_limited; blur_y <= shadow_blur_size_limited; blur_y++) + { + float2 blur_uv = shadow_uv + float2(uv_pixel_interval.x * float(blur_x), uv_pixel_interval.y * float(blur_y)); + sampled_shadow_alpha += image.Sample(textureSampler, blur_uv).a / float(shadow_blur_samples); + } + } + + float4 final_shadow_color = float4(shadow_color.r, shadow_color.g, shadow_color.b, shadow_color.a * sampled_shadow_alpha); + return final_shadow_color * (1.0-color.a) + color * (is_alpha_premultiplied?color.a:1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 14bfa910bf4f9d1cc9ec8b76f28e1f323b091eee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1129/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSDrunkShader.ps1 | 302 ++++++++++++++++++ 1 file changed, 302 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 b/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 new file mode 100644 index 000000000..6cd62bcc6 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 @@ -0,0 +1,302 @@ +function Get-OBSDrunkShader { + +[Alias('Set-OBSDrunkShader','Add-OBSDrunkShader')] +param( +# Set the color_matrix of OBSDrunkShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the glow_percent of OBSDrunkShader +[Alias('glow_percent')] +[ComponentModel.DefaultBindingProperty('glow_percent')] +[Int32] +$GlowPercent, +# Set the blur of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('blur')] +[Int32] +$Blur, +# Set the min_brightness of OBSDrunkShader +[Alias('min_brightness')] +[ComponentModel.DefaultBindingProperty('min_brightness')] +[Int32] +$MinBrightness, +# Set the max_brightness of OBSDrunkShader +[Alias('max_brightness')] +[ComponentModel.DefaultBindingProperty('max_brightness')] +[Int32] +$MaxBrightness, +# Set the pulse_speed_percent of OBSDrunkShader +[Alias('pulse_speed_percent')] +[ComponentModel.DefaultBindingProperty('pulse_speed_percent')] +[Int32] +$PulseSpeedPercent, +# Set the Apply_To_Alpha_Layer of OBSDrunkShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the glow_color of OBSDrunkShader +[Alias('glow_color')] +[ComponentModel.DefaultBindingProperty('glow_color')] +[Single[]] +$GlowColor, +# Set the ease of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the glitch of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the notes of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDrunkShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Drunk shader by Charles Fettinger (https://github.com/Oncorporation) 2/2019 +//Converted to OpenGL by Q-mii & Exeldro March 11, 2022 +uniform float4x4 color_matrix; + + +uniform int glow_percent< + string label = "Glow percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 10; +uniform int blur< + string label = "Blur"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 1; +uniform int min_brightness< + string label = "Min brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 27; +uniform int max_brightness< + string label = "Max brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform int pulse_speed_percent< + string label = "Pulse speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool Apply_To_Alpha_Layer = true; +uniform float4 glow_color; +uniform bool ease; +uniform bool glitch; +uniform string notes< + string widget_type = "info"; +> ="''drunk refers to the bad blur effect of using 4 coordinates to blur. ''blur'' - the distance between the 4 copies (recommend 1-4)"; + + +// Gaussian Blur +float Gaussian(float x, float o) { + const float pivalue = 3.1415926535897932384626433832795; + return (1.0 / (o * sqrt(2.0 * pivalue))) * exp((-(x * x)) / (2 * (o * o))); +} + + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2; + if (t < 1) return -c/2 * (sqrt(1 - t*t) - 1) + b; + t -= 2; + return c/2 * (sqrt(1 - t*t) + 1) + b; +} + +float BlurStyler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0,c,d); + return t; +} + +float4 InternalGaussianPrecalculated(float2 p_uv, float2 p_uvStep, int p_radius, + texture2d p_image, float2 p_imageTexel, + texture2d p_kernel, float2 p_kernelTexel) { + float4 l_value = image.Sample(pointClampSampler, p_uv) + * kernel.Sample(pointClampSampler, float2(0, 0)).r; + float2 l_uvoffset = float2(0, 0); + for (int k = 1; k <= p_radius; k++) { + l_uvoffset += p_uvStep; + float l_g = kernel.Sample(pointClampSampler, p_kernelTexel * k).r; + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + } + return l_value; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 offsets[4]; + offsets[0] = float2(-0.05, 0.066); + offsets[1] = float2(-0.05, -0.066); + offsets[2] = float2(0.05, -0.066); + offsets[3] = float2(0.05, 0.066); + + // convert input for vector math + float blur_amount = float(blur) /100; + float glow_amount = float(glow_percent) * 0.1; + float speed = float(pulse_speed_percent) * 0.01; + float luminance_floor = float(min_brightness) * 0.01; + float luminance_ceiling = float(max_brightness) * 0.01; + + float4 color = image.Sample(textureSampler, v_in.uv); + float4 temp_color = color; + bool glitch_on = glitch; + + //circular easing variable + float t = 1 + sin(elapsed_time * speed); + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + //if(color.a <= 0.0) color.rgb = float3(0.0,0.0,0.0); + float4 glitch_color = glow_color; + + for (int n = 0; n < 4; n++){ + //blur sample + b = BlurStyler(t,0,c,d,ease); + float4 ncolor = image.Sample(textureSampler, v_in.uv + (blur_amount * b) * offsets[n]) ; + + //test for rand_f color + if (glitch) { + glitch_color = float4(glow_color.rgb * rand_f,glow_color.a); + if ((color.r == rand_f) || (color.g == rand_f) || (color.b == rand_f)) + { + glitch_on = true; + } + } + + float intensity = ncolor.r * 0.299 + ncolor.g * 0.587 + ncolor.b * 0.114; + if (((intensity >= luminance_floor) && (intensity <= luminance_ceiling)) || // test luminance + ((color.r == glow_color.r) && (color.g == glow_color.g) && (color.b == glow_color.b)) || //test for chosen color + glitch_on) //test for rand color + { + //glow calc + if (ncolor.a > 0.0 || Apply_To_Alpha_Layer == false) + { + ncolor.a = clamp(ncolor.a * glow_amount, 0.0, 1.0); + //temp_color = max(temp_color,ncolor) * glow_color ;//* ((1-ncolor.a) + color * ncolor.a); + //temp_color += (ncolor * float4(glow_color.rbg, glow_amount)); + + // use temp_color as floor, add glow, use highest alpha of blur pixels, then multiply by glow color + // max is used to simulate addition of vector texture color + temp_color = float4(max(temp_color.rgb, ncolor.rgb * (glow_amount * (b / 2))), // color effected by glow over time + max(temp_color.a, (glow_amount * (b / 2)))) // alpha affected by glow over time + * (glitch_color * (b / 2)); // glow color affected by glow over time + } + } + } + // grab lighter color + return max(color,temp_color); +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From ce05c926434487f8fbb8dbab7cbcb51ca15aa6ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1130/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSDynamicMaskShader.ps1 | 436 ++++++++++++++++++ 1 file changed, 436 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 b/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 new file mode 100644 index 000000000..11691b761 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 @@ -0,0 +1,436 @@ +function Get-OBSDynamicMaskShader { + +[Alias('Set-OBSDynamicMaskShader','Add-OBSDynamicMaskShader')] +param( +# Set the input_source of OBSDynamicMaskShader +[Alias('input_source')] +[ComponentModel.DefaultBindingProperty('input_source')] +[String] +$InputSource, +# Set the red_base_value of OBSDynamicMaskShader +[Alias('red_base_value')] +[ComponentModel.DefaultBindingProperty('red_base_value')] +[Single] +$RedBaseValue, +# Set the red_red_input_value of OBSDynamicMaskShader +[Alias('red_red_input_value')] +[ComponentModel.DefaultBindingProperty('red_red_input_value')] +[Single] +$RedRedInputValue, +# Set the red_green_input_value of OBSDynamicMaskShader +[Alias('red_green_input_value')] +[ComponentModel.DefaultBindingProperty('red_green_input_value')] +[Single] +$RedGreenInputValue, +# Set the red_blue_input_value of OBSDynamicMaskShader +[Alias('red_blue_input_value')] +[ComponentModel.DefaultBindingProperty('red_blue_input_value')] +[Single] +$RedBlueInputValue, +# Set the red_alpha_input_value of OBSDynamicMaskShader +[Alias('red_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('red_alpha_input_value')] +[Single] +$RedAlphaInputValue, +# Set the red_multiplier of OBSDynamicMaskShader +[Alias('red_multiplier')] +[ComponentModel.DefaultBindingProperty('red_multiplier')] +[Single] +$RedMultiplier, +# Set the green_base_value of OBSDynamicMaskShader +[Alias('green_base_value')] +[ComponentModel.DefaultBindingProperty('green_base_value')] +[Single] +$GreenBaseValue, +# Set the green_red_input_value of OBSDynamicMaskShader +[Alias('green_red_input_value')] +[ComponentModel.DefaultBindingProperty('green_red_input_value')] +[Single] +$GreenRedInputValue, +# Set the green_green_input_value of OBSDynamicMaskShader +[Alias('green_green_input_value')] +[ComponentModel.DefaultBindingProperty('green_green_input_value')] +[Single] +$GreenGreenInputValue, +# Set the green_blue_input_value of OBSDynamicMaskShader +[Alias('green_blue_input_value')] +[ComponentModel.DefaultBindingProperty('green_blue_input_value')] +[Single] +$GreenBlueInputValue, +# Set the green_alpha_input_value of OBSDynamicMaskShader +[Alias('green_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('green_alpha_input_value')] +[Single] +$GreenAlphaInputValue, +# Set the green_multiplier of OBSDynamicMaskShader +[Alias('green_multiplier')] +[ComponentModel.DefaultBindingProperty('green_multiplier')] +[Single] +$GreenMultiplier, +# Set the blue_base_value of OBSDynamicMaskShader +[Alias('blue_base_value')] +[ComponentModel.DefaultBindingProperty('blue_base_value')] +[Single] +$BlueBaseValue, +# Set the blue_red_input_value of OBSDynamicMaskShader +[Alias('blue_red_input_value')] +[ComponentModel.DefaultBindingProperty('blue_red_input_value')] +[Single] +$BlueRedInputValue, +# Set the blue_green_input_value of OBSDynamicMaskShader +[Alias('blue_green_input_value')] +[ComponentModel.DefaultBindingProperty('blue_green_input_value')] +[Single] +$BlueGreenInputValue, +# Set the blue_blue_input_value of OBSDynamicMaskShader +[Alias('blue_blue_input_value')] +[ComponentModel.DefaultBindingProperty('blue_blue_input_value')] +[Single] +$BlueBlueInputValue, +# Set the blue_alpha_input_value of OBSDynamicMaskShader +[Alias('blue_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('blue_alpha_input_value')] +[Single] +$BlueAlphaInputValue, +# Set the blue_multiplier of OBSDynamicMaskShader +[Alias('blue_multiplier')] +[ComponentModel.DefaultBindingProperty('blue_multiplier')] +[Single] +$BlueMultiplier, +# Set the alpha_base_value of OBSDynamicMaskShader +[Alias('alpha_base_value')] +[ComponentModel.DefaultBindingProperty('alpha_base_value')] +[Single] +$AlphaBaseValue, +# Set the alpha_red_input_value of OBSDynamicMaskShader +[Alias('alpha_red_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_red_input_value')] +[Single] +$AlphaRedInputValue, +# Set the alpha_green_input_value of OBSDynamicMaskShader +[Alias('alpha_green_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_green_input_value')] +[Single] +$AlphaGreenInputValue, +# Set the alpha_blue_input_value of OBSDynamicMaskShader +[Alias('alpha_blue_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_blue_input_value')] +[Single] +$AlphaBlueInputValue, +# Set the alpha_alpha_input_value of OBSDynamicMaskShader +[Alias('alpha_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_alpha_input_value')] +[Single] +$AlphaAlphaInputValue, +# Set the alpha_multiplier of OBSDynamicMaskShader +[Alias('alpha_multiplier')] +[ComponentModel.DefaultBindingProperty('alpha_multiplier')] +[Single] +$AlphaMultiplier, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSDynamicMaskShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d input_source< + string label = "Input Source"; +>; + +uniform float red_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float red_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +uniform float green_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float green_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +uniform float blue_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float blue_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +uniform float alpha_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float alpha_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 input_color = input_source.Sample(textureSampler, v_in.uv); + float4 mask; + mask.r = (red_base_value + red_red_input_value * input_color.r + red_green_input_value * input_color.g + red_blue_input_value * input_color.b + red_alpha_input_value * input_color.a) * red_multiplier; + mask.g = (green_base_value + green_red_input_value * input_color.r + green_green_input_value * input_color.g + green_blue_input_value * input_color.b + green_alpha_input_value * input_color.a) * green_multiplier; + mask.b = (blue_base_value + blue_red_input_value * input_color.r + blue_green_input_value * input_color.g + blue_blue_input_value * input_color.b + blue_alpha_input_value * input_color.a) * blue_multiplier; + mask.a = (alpha_base_value + alpha_red_input_value * input_color.r + alpha_green_input_value * input_color.g + alpha_blue_input_value * input_color.b + alpha_alpha_input_value * input_color.a) * alpha_multiplier; + float4 base = image.Sample(textureSampler, v_in.uv); + return base * mask; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 99474bf059892f0e641beaf4a177065e2527073f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:40 +0000 Subject: [PATCH 1131/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSEdgeDetectionShader.ps1 | 244 ++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 b/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 new file mode 100644 index 000000000..5b2968ece --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 @@ -0,0 +1,244 @@ +function Get-OBSEdgeDetectionShader { + +[Alias('Set-OBSEdgeDetectionShader','Add-OBSEdgeDetectionShader')] +param( +# Set the sensitivity of OBSEdgeDetectionShader +[ComponentModel.DefaultBindingProperty('sensitivity')] +[Single] +$Sensitivity, +# Set the invert_edge of OBSEdgeDetectionShader +[Alias('invert_edge')] +[ComponentModel.DefaultBindingProperty('invert_edge')] +[Management.Automation.SwitchParameter] +$InvertEdge, +# Set the edge_color of OBSEdgeDetectionShader +[Alias('edge_color')] +[ComponentModel.DefaultBindingProperty('edge_color')] +[Single[]] +$EdgeColor, +# Set the edge_multiply of OBSEdgeDetectionShader +[Alias('edge_multiply')] +[ComponentModel.DefaultBindingProperty('edge_multiply')] +[Management.Automation.SwitchParameter] +$EdgeMultiply, +# Set the non_edge_color of OBSEdgeDetectionShader +[Alias('non_edge_color')] +[ComponentModel.DefaultBindingProperty('non_edge_color')] +[Single[]] +$NonEdgeColor, +# Set the non_edge_multiply of OBSEdgeDetectionShader +[Alias('non_edge_multiply')] +[ComponentModel.DefaultBindingProperty('non_edge_multiply')] +[Management.Automation.SwitchParameter] +$NonEdgeMultiply, +# Set the alpha_channel of OBSEdgeDetectionShader +[Alias('alpha_channel')] +[ComponentModel.DefaultBindingProperty('alpha_channel')] +[Management.Automation.SwitchParameter] +$AlphaChannel, +# Set the alpha_level of OBSEdgeDetectionShader +[Alias('alpha_level')] +[ComponentModel.DefaultBindingProperty('alpha_level')] +[Single] +$AlphaLevel, +# Set the alpha_invert of OBSEdgeDetectionShader +[Alias('alpha_invert')] +[ComponentModel.DefaultBindingProperty('alpha_invert')] +[Management.Automation.SwitchParameter] +$AlphaInvert, +# Set the rand_f of OBSEdgeDetectionShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the notes of OBSEdgeDetectionShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSEdgeDetectionShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Edge Detection for OBS Studio +// originally from Andersama (https://github.com/Andersama) +// Modified and improved my Charles Fettinger (https://github.com/Oncorporation) 1/2019 +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 +uniform float sensitivity< + string label = "Sensitivity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.05; +uniform bool invert_edge; +uniform float4 edge_color = {1.0,1.0,1.0,1.0}; +uniform bool edge_multiply; +uniform float4 non_edge_color = {0.0,0.0,0.0,0.0}; +uniform bool non_edge_multiply; +uniform bool alpha_channel; +uniform float alpha_level< + string label = "Alpha level"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; +uniform bool alpha_invert; +uniform float rand_f; + +uniform string notes< + string widget_type = "info"; +> = "''sensitivity'' - 0.01 is max and will create the most edges. Increasing this value decreases the number of edges detected. ''edge non edge color'' - the color to recolor vs the original image. ''edge or non edge multiply'' - multiplies the color against the original color giving it a tint instead of replacing the color. White represents no tint. ''invert edge'' - flips the sensativity and is great for testing and fine tuning. ''alpha channel'' - use an alpha channel to replace original color with transparency. ''alpha_level'' - transparency amount modifier where 1.0 = base luminance (recommend 0.00 - 2.00). ''alpha_invert'' - flip what is transparent from darks (default) to lights"; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + + float s = 3; + float hstep = uv_pixel_interval.x; + float vstep = uv_pixel_interval.y; + + float offsetx = (hstep * s) / 2.0; + float offsety = (vstep * s) / 2.0; + + float4 lum = float4(0.30, 0.59, 0.11, 1 ); + float samples[9]; + + int index = 0; + for(int i = 0; i < s; i++){ + for(int j = 0; j < s; j++){ + samples[index] = dot(image.Sample(textureSampler, float2(v_in.uv.x + (i * hstep) - offsetx, v_in.uv.y + (j * vstep) - offsety )), lum); + index++; + } + } + + float vert = samples[2] + samples[8] + (2 * samples[5]) - samples[0] - (2 * samples[3]) - samples[6]; + float hori = samples[6] + (2 * samples[7]) + samples[8] - samples[0] - (2 * samples[1]) - samples[2]; + float4 col; + + float o = ((vert * vert) + (hori * hori)); + bool isEdge = o > sensitivity; + if(invert_edge){ + isEdge = !isEdge; + } + if(isEdge) { + col = edge_color; + if(edge_multiply){ + col *= c; + } + } else { + col = non_edge_color; + if(non_edge_multiply){ + col *= c; + } + } + + if (alpha_invert) { + lum = 1.0 - lum; + } + + if(alpha_channel){ + if (edge_multiply && isEdge) { + return clamp(lerp(c, col, alpha_level), 0.0, 1.0); + } + else { + // use max instead of multiply + return clamp(lerp(c, float4(max(c.r, col.r), max(c.g, col.g), max(c.b, col.b), 1.0), alpha_level), 0.0, 1.0); + } + } else { + // col.a = col.a * alpha_level; + return col; + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 54caa92a31ae56089ee668d1d4423da93a30a413 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1132/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSEmbersShader.ps1 | 565 ++++++++++++++++++ 1 file changed, 565 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 b/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 new file mode 100644 index 000000000..d6605f837 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 @@ -0,0 +1,565 @@ +function Get-OBSEmbersShader { + +[Alias('Set-OBSEmbersShader','Add-OBSEmbersShader')] +param( +# Set the ViewProj of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSEmbersShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSEmbersShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSEmbersShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_size of OBSEmbersShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the uv_pixel_interval of OBSEmbersShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSEmbersShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSEmbersShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSEmbersShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSEmbersShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the notes of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the Animation_Speed of OBSEmbersShader +[Alias('Animation_Speed')] +[ComponentModel.DefaultBindingProperty('Animation_Speed')] +[Single] +$AnimationSpeed, +# Set the Movement_Direction_Horizontal of OBSEmbersShader +[Alias('Movement_Direction_Horizontal')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Horizontal')] +[Single] +$MovementDirectionHorizontal, +# Set the Movement_Direction_Vertical of OBSEmbersShader +[Alias('Movement_Direction_Vertical')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Vertical')] +[Single] +$MovementDirectionVertical, +# Set the Movement_Speed_Percent of OBSEmbersShader +[Alias('Movement_Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Movement_Speed_Percent')] +[Int32] +$MovementSpeedPercent, +# Set the Layers_Count of OBSEmbersShader +[Alias('Layers_Count')] +[ComponentModel.DefaultBindingProperty('Layers_Count')] +[Int32] +$LayersCount, +# Set the lumaMin of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Alpha_Percentage of OBSEmbersShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Alpha_Layer of OBSEmbersShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSEmbersShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Embers effect by Charles Fettinger for obs-shaderfilter plugin 8/2020 v.1 +// https://github.com/Oncorporation/obs-shaderfilter +// https://www.shadertoy.com/view/wl2Gzc - coverted from and updated + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_size; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; +uniform string notes< + string widget_type = "info"; +> = "luma is applied with Apply to Alpha Layer. Movement Speed and Direction can be negatives"; + +#ifndef OPENGL +#define mat2 float2x2 +#define fract frac +#define mix lerp +#endif + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +uniform float Animation_Speed < + string label = "Animation Speed"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; + float scale = 1.; +> = 1.5; + +uniform float Movement_Direction_Horizontal< + string label = "Movement Direction Horizontal"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 1.0; +> = 5.0; +uniform float Movement_Direction_Vertical< + string label = "Movement Direction Vertical"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 1.0; +> = 10.0; + +uniform int Movement_Speed_Percent< + string label = "Movement Speed Percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 5; + +uniform int Layers_Count < + string label = "Layers"; + string widget_type = "slider"; + int minimum = 1.0; + int maximum = 100.0; + int step = 1; +> = 15; +/* ps start +*/ + + +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.01; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; +uniform bool Apply_To_Alpha_Layer = true; + +#define PI 3.1415927 +#define TWO_PI 6.283185 + +#define PARTICLE_SIZE 0.009 + +#define PARTICLE_SCALE float2(0.5, 1.6) +#define PARTICLE_SCALE_VAR float2(0.25, 0.2) + +#define PARTICLE_BLOOM_SCALE float2(0.5, 0.8) +#define PARTICLE_BLOOM_SCALE_VAR float2(0.3, 0.1) + +#define SPARK_COLOR float3(1.0, 0.4, 0.05) * 1.5 +#define BLOOM_COLOR float3(1.0, 0.4, 0.05) * 0.8 +#define SMOKE_COLOR float3(1.0, 0.43, 0.1) * 0.8 + +#define SIZE_MOD 1.05 +#define ALPHA_MOD 0.9 +#define Movement_Direction float2(Movement_Direction_Horizontal, Movement_Direction_Vertical) +#define Movement_Speed Movement_Speed_Percent * 0.01 +#define UV float2(fragCoord.xy / uv_size) + +float hash1_2(float2 x) +{ + return fract(sin(dot(x, float2(52.127, 61.2871))) * 521.582); +} + +float2 hash2_2(float2 x) +{ + mat2 m = mat2(20.52, 24.1994, 70.291, 80.171); + float2 y = mul(x, m); + return fract(sin(y) * 492.194); +} + +//Simple interpolated noise +float2 noise2_2(float2 uv) +{ + //float2 f = fract(uv); + float2 f = smoothstep(0.0, 1.0, fract(uv)); + + float2 uv00 = floor(uv); + float2 uv01 = uv00 + float2(0, 1); + float2 uv10 = uv00 + float2(1, 0); + float2 uv11 = uv00 + 1.0; + float2 v00 = hash2_2(uv00); + float2 v01 = hash2_2(uv01); + float2 v10 = hash2_2(uv10); + float2 v11 = hash2_2(uv11); + + float2 v0 = mix(v00, v01, f.y); + float2 v1 = mix(v10, v11, f.y); + float2 v = mix(v0, v1, f.x); + + return v; +} + +//Simple interpolated noise +float noise1_2(float2 uv) +{ + float2 f = fract(uv); + + float2 uv00 = floor(uv); + float2 uv01 = uv00 + float2(0, 1); + float2 uv10 = uv00 + float2(1, 0); + float2 uv11 = uv00 + 1.0; + + float v00 = hash1_2(uv00); + float v01 = hash1_2(uv01); + float v10 = hash1_2(uv10); + float v11 = hash1_2(uv11); + + float v0 = mix(v00, v01, f.y); + float v1 = mix(v10, v11, f.y); + float v = mix(v0, v1, f.x); + + return v; +} + +float layeredNoise1_2(float2 uv, float sizeMod, float alphaMod, int layers, float animation) +{ + float noise = 0.0; + float alpha = 1.0; + float size = 1.0; + float2 offset; + for (int i = 0; i < layers; i++) + { + offset += hash2_2(float2(alpha, size)) * 10.0; + + //Adding noise with movement + noise += noise1_2(uv * size + elapsed_time * animation * 8.0 * Movement_Direction * Movement_Speed + offset) * alpha; + alpha *= alphaMod; + size *= sizeMod; + } + + noise *= (1.0 - alphaMod) / (1.0 - pow(alphaMod, float(layers))); + return noise; +} + +//Rotates point around 0,0 +float2 rotate(float2 vpoint, float deg) +{ + float s = sin(deg); + float c = cos(deg); + mat2 m = mat2(s, c, -c, s); + return mul(vpoint, m); +} + +//Cell center from point on the grid +float2 voronoiPointFromRoot(float2 root, float deg) +{ + float2 vpoint = hash2_2(root) - 0.5; + float s = sin(deg); + float c = cos(deg); + mat2 m = mat2(s, c, -c, s); + vpoint = mul(vpoint, m) * 0.66; + vpoint += root + 0.5; + return vpoint; +} + +//Voronoi cell point rotation degrees +float degFromRootUV(in float2 uv) +{ + return elapsed_time * Animation_Speed * (hash1_2(uv) - 0.5) * 2.0; +} + +float2 randomAround2_2(in float2 vpoint, in float2 range, in float2 uv) +{ + return vpoint + (hash2_2(uv) - 0.5) * range; +} + + +float3 fireParticles(in float2 uv, in float2 originalUV) +{ + float3 particles = float3(0.0, 0.0, 0.0); + float2 rootUV = floor(uv); + float deg = degFromRootUV(rootUV); + float2 pointUV = voronoiPointFromRoot(rootUV, deg); + float dist = 2.0; + float distBloom = 0.0; + + //UV manipulation for the faster particle movement + float2 tempUV = uv + (noise2_2(uv * 2.0) - 0.5) * 0.1; + tempUV += -(noise2_2(uv * 3.0 + elapsed_time) - 0.5) * 0.07; + + //Sparks sdf + dist = length(rotate(tempUV - pointUV, 0.7) * randomAround2_2(PARTICLE_SCALE, PARTICLE_SCALE_VAR, rootUV)); + + //Bloom sdf + distBloom = length(rotate(tempUV - pointUV, 0.7) * randomAround2_2(PARTICLE_BLOOM_SCALE, PARTICLE_BLOOM_SCALE_VAR, rootUV)); + + //Add sparks + particles += (1.0 - smoothstep(PARTICLE_SIZE * 0.6, PARTICLE_SIZE * 3.0, dist)) * SPARK_COLOR; + + //Add bloom + particles += pow((1.0 - smoothstep(0.0, PARTICLE_SIZE * 6.0, distBloom)) * 1.0, 3.0) * BLOOM_COLOR; + + //Upper disappear curve randomization + float border = (hash1_2(rootUV) - 0.5) * 2.0; + float disappear = 1.0 - smoothstep(border, border + 0.5, originalUV.y); + + //Lower appear curve randomization + border = (hash1_2(rootUV + 0.214) - 1.8) * 0.7; + float appear = smoothstep(border, border + 0.4, originalUV.y); + + return particles * disappear * appear; +} + + +//Layering particles to imitate 3D view +float3 layeredParticles(in float2 uv, in float sizeMod, in float alphaMod, in int layers, in float smoke) +{ + float3 particles = float3(0.0, 0.0, 0.0); + float size = 1.0; + float alpha = 1.0; + float2 offset = float2(0.0, 0.0); + float2 noiseOffset; + float2 bokehUV; + + for (int i = 0; i < layers; i++) + { + //Particle noise movement + noiseOffset = (noise2_2(uv * size * 2.0 + 0.5) - 0.5) * 0.15; + + //UV with applied movement + bokehUV = (uv * size + elapsed_time * Movement_Direction * Movement_Speed) + offset + noiseOffset; + + //Adding particles if there is more smoke, remove smaller particles + particles += fireParticles(bokehUV, uv) * alpha * (1.0 - smoothstep(0.0, 1.0, smoke) * (float(i) / float(layers))); + + //Moving uv origin to avoid generating the same particles + offset += hash2_2(float2(alpha, alpha)) * 10.0; + + alpha *= alphaMod; + size *= sizeMod; + } + + return particles; +} + + +void mainImage(out float4 fragColor, in float2 fragCoord) +{ + float2 uv = (2.0 * fragCoord - uv_size.xy) / uv_size.x; + float vignette = 1.0 - smoothstep(0.4, 1.4, length(uv + float2(0.0, 0.3))); + + uv *= 1.8; + float alpha = clamp(Alpha_Percentage * .01, 0, 1.0); + + float smokeIntensity = layeredNoise1_2(uv * 10.0 + elapsed_time * 4.0 * Movement_Direction * Movement_Speed, 1.7, 0.7, 6, 0.2); + smokeIntensity *= pow(1.0 - smoothstep(-1.0, 1.6, uv.y), 2.0); + float3 smoke = smokeIntensity * SMOKE_COLOR * 0.8 * vignette; + + //Cutting holes in smoke + smoke *= pow(layeredNoise1_2(uv * 4.0 + elapsed_time * 0.5 * Movement_Direction * Movement_Speed, 1.8, 0.5, 3, 0.2), + 2.0) * 1.5; + + float3 particles = layeredParticles(uv, SIZE_MOD, ALPHA_MOD, Layers_Count, smokeIntensity); + + float4 col = float4(particles + smoke + SMOKE_COLOR * 0.02, alpha); + col.rgb *= vignette; + col.rgb = smoothstep(-0.08, 1.0, col.rgb); + + if (Apply_To_Alpha_Layer) + { + float4 original_color = image.Sample(textureSampler, UV); + + float luma = dot(col.rgb, float3(0.299, 0.587, 0.114)); + float luma_min = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma); + col.a = clamp(luma_min, 0.0, 1.0); + + col.rgb = lerp(original_color.rgb, col.rgb, alpha); //apply alpha slider + col = lerp(original_color, col, col.a); //remove black background color + } + + fragColor = col; +} + +/*ps end*/ + +struct VertFragData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertFragData VSDefault(VertFragData vtx) { + vtx.pos = mul(float4(vtx.pos.xyz, 1.0), ViewProj); + return vtx; +} + +float4 PSDefault(VertFragData vtx) : TARGET { + float4 col = float4(1., 1., 1., 1.); + mainImage(col, vtx.uv * uv_size); + return col; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vtx); + pixel_shader = PSDefault(vtx); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1be1b7e0b590440aff421ecda97adfead978dff3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1133/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSEmbossColorShader.ps1 | 208 ++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 b/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 new file mode 100644 index 000000000..01c3a66ff --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 @@ -0,0 +1,208 @@ +function Get-OBSEmbossColorShader { + +[Alias('Set-OBSEmbossColorShader','Add-OBSEmbossColorShader')] +param( +# Set the Angle_Steps of OBSEmbossColorShader +[Alias('Angle_Steps')] +[ComponentModel.DefaultBindingProperty('Angle_Steps')] +[Int32] +$AngleSteps, +# Set the Radius_Steps of OBSEmbossColorShader +[Alias('Radius_Steps')] +[ComponentModel.DefaultBindingProperty('Radius_Steps')] +[Int32] +$RadiusSteps, +# Set the ampFactor of OBSEmbossColorShader +[ComponentModel.DefaultBindingProperty('ampFactor')] +[Single] +$AmpFactor, +# Set the Up_Down_Percent of OBSEmbossColorShader +[Alias('Up_Down_Percent')] +[ComponentModel.DefaultBindingProperty('Up_Down_Percent')] +[Int32] +$UpDownPercent, +# Set the Apply_To_Alpha_Layer of OBSEmbossColorShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the notes of OBSEmbossColorShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSEmbossColorShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Color Emboss shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int Angle_Steps< + string label = "Angle Steps"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 9; // +uniform int Radius_Steps< + string label = "Radius Steps"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 4; // +uniform float ampFactor< + string label = "amp Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 12.0; +uniform int Up_Down_Percent< + string label = "Up Down Percent"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 0; +uniform bool Apply_To_Alpha_Layer = true; +uniform string notes< + string widget_type = "info"; +> = "Steps limited in range from 0 to 20. Edit shader to remove limits at your own risk."; + +float4 mainImage(VertData v_in) : TARGET +{ + float radiusSteps = clamp(Radius_Steps, 0, 20); + float angleSteps = clamp(Angle_Steps, 1, 20); + float PI = 3.1415926535897932384626433832795;//acos(-1); + int totalSteps = int(radiusSteps * angleSteps); + float minRadius = (1 * uv_pixel_interval.y); + float maxRadius = (6 * uv_pixel_interval.y); + + float angleDelta = ((2 * PI) / angleSteps); + float radiusDelta = ((maxRadius - minRadius) / radiusSteps); + float embossAngle = 0.25 * PI; + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float4 origColor = c0; + float4 accumulatedColor = float4(0,0,0,0); + + if (c0.a > 0.0 || Apply_To_Alpha_Layer == false) + { + for (int radiusStep = 0; radiusStep < radiusSteps; radiusStep++) { + float radius = minRadius + radiusStep * radiusDelta; + + for (float angle = 0; angle < (2 * PI); angle += angleDelta) { + float2 currentCoord; + + float xDiff = radius * cos(angle); + float yDiff = radius * sin(angle); + + currentCoord = v_in.uv + float2(xDiff, yDiff); + float4 currentColor = image.Sample(textureSampler, currentCoord); + float4 colorDiff = abs(c0 - currentColor); + float currentFraction = ((radiusSteps + 1 - radiusStep)) / (radiusSteps + 1); + accumulatedColor += currentFraction * colorDiff / totalSteps * sign(angle - PI);; + + } + } + accumulatedColor *= ampFactor; + + c0 = lerp(c0 + accumulatedColor, c0 - accumulatedColor, (Up_Down_Percent * 0.01)); + } + //return c0 + accumulatedColor; // down; + //return c0 - accumulatedColor; // up + return c0; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From ef293fecfe82d0ffd3e65dd68faf25c254b39c4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1134/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSEmbossShader.ps1 | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 b/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 new file mode 100644 index 000000000..ca2328d2a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 @@ -0,0 +1,143 @@ +function Get-OBSEmbossShader { + +[Alias('Set-OBSEmbossShader','Add-OBSEmbossShader')] +param( +# Set the Use_Color of OBSEmbossShader +[Alias('Use_Color')] +[ComponentModel.DefaultBindingProperty('Use_Color')] +[Management.Automation.SwitchParameter] +$UseColor, +# Set the Apply_To_Alpha_Layer of OBSEmbossShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSEmbossShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Spotlight By Charles Fettinger (https://github.com/Oncorporation) 4/2019 +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 +uniform bool Use_Color; +uniform bool Apply_To_Alpha_Layer = true; + +float4 mainImage(VertData v_in) : TARGET +{ + + float dx = 1 / uv_size.x; + float dy = 1 / uv_size.y; + + float4 c0 = image.Sample(textureSampler, v_in.uv); + if (c0.a > 0.0 || Apply_To_Alpha_Layer == false) + { + float4 c1 = image.Sample(textureSampler, v_in.uv + float2(-dx, -dy)); + float4 c2 = image.Sample(textureSampler, v_in.uv + float2(0, -dy)); + float4 c4 = image.Sample(textureSampler, v_in.uv + float2(-dx, 0)); + float4 c6 = image.Sample(textureSampler, v_in.uv + float2(dx, 0)); + float4 c8 = image.Sample(textureSampler, v_in.uv + float2(0, dy)); + float4 c9 = image.Sample(textureSampler, v_in.uv + float2(dx, dy)); + + c0 = (-c1 - c2 - c4 + c6 + c8 + c9); + float c = (c0.r + c0.g + c0.b) / 3 + 0.5; + c0 = float4(c,c,c,c); + + if (Use_Color) + { + float4 rgba = image.Sample(textureSampler, v_in.uv); + return (0.5 * rgba) + c0; + } + } + return c0; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From a8ec0cf9f666d05e871b0ed2f3dc79c5d10b80f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1135/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSExeldroBentCameraShader.ps1 | 266 ++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 b/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 new file mode 100644 index 000000000..251d74d89 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 @@ -0,0 +1,266 @@ +function Get-OBSExeldroBentCameraShader { + +[Alias('Set-OBSExeldroBentCameraShader','Add-OBSExeldroBentCameraShader')] +param( +# Set the left_side_width of OBSExeldroBentCameraShader +[Alias('left_side_width')] +[ComponentModel.DefaultBindingProperty('left_side_width')] +[Single] +$LeftSideWidth, +# Set the left_side_size of OBSExeldroBentCameraShader +[Alias('left_side_size')] +[ComponentModel.DefaultBindingProperty('left_side_size')] +[Single] +$LeftSideSize, +# Set the left_side_shadow of OBSExeldroBentCameraShader +[Alias('left_side_shadow')] +[ComponentModel.DefaultBindingProperty('left_side_shadow')] +[Single] +$LeftSideShadow, +# Set the left_flip_width of OBSExeldroBentCameraShader +[Alias('left_flip_width')] +[ComponentModel.DefaultBindingProperty('left_flip_width')] +[Single] +$LeftFlipWidth, +# Set the left_flip_shadow of OBSExeldroBentCameraShader +[Alias('left_flip_shadow')] +[ComponentModel.DefaultBindingProperty('left_flip_shadow')] +[Single] +$LeftFlipShadow, +# Set the right_side_width of OBSExeldroBentCameraShader +[Alias('right_side_width')] +[ComponentModel.DefaultBindingProperty('right_side_width')] +[Single] +$RightSideWidth, +# Set the right_side_size of OBSExeldroBentCameraShader +[Alias('right_side_size')] +[ComponentModel.DefaultBindingProperty('right_side_size')] +[Single] +$RightSideSize, +# Set the right_side_shadow of OBSExeldroBentCameraShader +[Alias('right_side_shadow')] +[ComponentModel.DefaultBindingProperty('right_side_shadow')] +[Single] +$RightSideShadow, +# Set the right_flip_width of OBSExeldroBentCameraShader +[Alias('right_flip_width')] +[ComponentModel.DefaultBindingProperty('right_flip_width')] +[Single] +$RightFlipWidth, +# Set the right_flip_shadow of OBSExeldroBentCameraShader +[Alias('right_flip_shadow')] +[ComponentModel.DefaultBindingProperty('right_flip_shadow')] +[Single] +$RightFlipShadow, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSExeldroBentCameraShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float left_side_width< + string label = "Left side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float left_side_size< + string label = "Left side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float left_side_shadow< + string label = "Left side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float left_flip_width< + string label = "Left flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float left_flip_shadow< + string label = "Left flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +uniform float right_side_width< + string label = "Right side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float right_side_size< + string label = "Right side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float right_side_shadow< + string label = "Right side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float right_flip_width< + string label = "Right flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float right_flip_shadow< + string label = "Right flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos=v_in.uv; + float shadow = 1.0; + if(pos.x < left_side_width){ + pos.y -= 0.5; + pos.y /= left_side_size; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width / 2.0; + pos.x /= left_side_size; + pos.x += left_side_width + left_flip_width / 2.0; + shadow = left_side_shadow; + }else if(pos.x < left_side_width + left_flip_width){ + float factor = 1.0 - ((left_side_width + left_flip_width)-pos.x)/left_flip_width*(1.0 - left_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width; + pos.x /= factor; + pos.x += left_side_width + left_flip_width; + shadow = left_flip_shadow; + } + + if(1.0 - pos.x < right_side_width){ + pos.y -= 0.5; + pos.y /= right_side_size; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width / 2.0); + pos.x /= right_side_size; + pos.x += 1.0 - (right_side_width + right_flip_width / 2.0); + shadow = right_side_shadow; + }else if(1.0 - pos.x < right_side_width + right_flip_width){ + float factor = 1.0 - ((right_side_width + right_flip_width) - (1.0 - pos.x))/right_flip_width*(1.0 - right_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width); + pos.x /= factor; + pos.x += 1.0 -(right_side_width + right_flip_width); + shadow = right_flip_shadow; + } + float4 p_color = image.Sample(textureSampler, pos); + p_color.rgb *= shadow; + return p_color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5269514ee775d78557e9ba0cf8f4e740c62802f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1136/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSFadeTransitionShader.ps1 | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 b/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 new file mode 100644 index 000000000..f828d7f5f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 @@ -0,0 +1,139 @@ +function Get-OBSFadeTransitionShader { + +[Alias('Set-OBSFadeTransitionShader','Add-OBSFadeTransitionShader')] +param( +# Set the image_a of OBSFadeTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBSFadeTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBSFadeTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSFadeTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFadeTransitionShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time< + string label = "Transittion Time"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform bool convert_linear = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 a_val = image_a.Sample(textureSampler, v_in.uv); + float4 b_val = image_b.Sample(textureSampler, v_in.uv); + float4 rgba = lerp(a_val, b_val, transition_time); + if(convert_linear) + rgba.rgb = srgb_nonlinear_to_linear(rgba.rgb); + return rgba; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From a98439fcd4504822d80d3b22485b63a19609bf96 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1137/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSFilterTemplateShader.ps1 | 225 ++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 b/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 new file mode 100644 index 000000000..79759959c --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 @@ -0,0 +1,225 @@ +function Get-OBSFilterTemplateShader { + +[Alias('Set-OBSFilterTemplateShader','Add-OBSFilterTemplateShader')] +param( +# Set the ViewProj of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSFilterTemplateShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSFilterTemplateShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSFilterTemplateShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSFilterTemplateShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSFilterTemplateShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSFilterTemplateShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSFilterTemplateShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSFilterTemplateShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSFilterTemplateShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the notes of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFilterTemplateShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//My shader modified by Me for use with obs-shaderfilter month/year v.02 + +//Section to converting GLSL to HLSL - can delete if unneeded +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp +#define iTime float +#define iTime elapsed_time +#define iResolution float4(uv_size,uv_pixel_interval) + +/* +**Shaders have these variables pre loaded by the plugin** +**this section can be deleted** + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; +*/ +uniform string notes< + string widget_type = "info"; +> = "add notes here"; + + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +/* +**Shaders use the built in Draw technique** +**this section can be deleted** + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} +*/ + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From bdfa53c0490cc84d29d788c8feafe0f1381f48a6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1138/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSFire3Shader.ps1 | 665 ++++++++++++++++++ 1 file changed, 665 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 b/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 new file mode 100644 index 000000000..630ffdd72 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 @@ -0,0 +1,665 @@ +function Get-OBSFire3Shader { + +[Alias('Set-OBSFire3Shader','Add-OBSFire3Shader')] +param( +# Set the ViewProj of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSFire3Shader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSFire3Shader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSFire3Shader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSFire3Shader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSFire3Shader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSFire3Shader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSFire3Shader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSFire3Shader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSFire3Shader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the Movement_Direction_Horizontal of OBSFire3Shader +[Alias('Movement_Direction_Horizontal')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Horizontal')] +[Single] +$MovementDirectionHorizontal, +# Set the Movement_Direction_Vertical of OBSFire3Shader +[Alias('Movement_Direction_Vertical')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Vertical')] +[Single] +$MovementDirectionVertical, +# Set the Alpha_Percentage of OBSFire3Shader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Int32] +$AlphaPercentage, +# Set the Speed of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('Speed')] +[Int32] +$Speed, +# Set the Invert of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('Invert')] +[Management.Automation.SwitchParameter] +$Invert, +# Set the lumaMin of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Apply_To_Image of OBSFire3Shader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSFire3Shader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Color_To_Replace of OBSFire3Shader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the Apply_To_Specific_Color of OBSFire3Shader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Full_Width of OBSFire3Shader +[Alias('Full_Width')] +[ComponentModel.DefaultBindingProperty('Full_Width')] +[Management.Automation.SwitchParameter] +$FullWidth, +# Set the Flame_Size of OBSFire3Shader +[Alias('Flame_Size')] +[ComponentModel.DefaultBindingProperty('Flame_Size')] +[Single] +$FlameSize, +# Set the Spark_Grid_Height of OBSFire3Shader +[Alias('Spark_Grid_Height')] +[ComponentModel.DefaultBindingProperty('Spark_Grid_Height')] +[Single] +$SparkGridHeight, +# Set the Flame_Modifier of OBSFire3Shader +[Alias('Flame_Modifier')] +[ComponentModel.DefaultBindingProperty('Flame_Modifier')] +[Single] +$FlameModifier, +# Set the Flame_Tongue_Size of OBSFire3Shader +[Alias('Flame_Tongue_Size')] +[ComponentModel.DefaultBindingProperty('Flame_Tongue_Size')] +[Single] +$FlameTongueSize, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFire3Shader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//My effect modified by Me for use with obs-shaderfilter month/year v.02 +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +//Section to converting GLSL to HLSL - can delete +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp + + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; + +uniform float Movement_Direction_Horizontal< + string label = "Movement Direction Horizontal"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float Movement_Direction_Vertical< + string label = "Movement Direction Vertical"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; + +#define iTime elapsed_time +#define iResolution float4(uv_size,uv_pixel_interval) +#define Movement_Direction float2(Movement_Direction_Horizontal, Movement_Direction_Vertical) + +uniform int Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform int Speed< + string label = "Speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 80; +uniform bool Invert = false; +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.04; +uniform bool Apply_To_Image = true; +uniform bool Replace_Image_Color = true; +uniform float4 Color_To_Replace; +uniform bool Apply_To_Specific_Color = false; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + float2 uv = v_in.uv; + if(Invert) + uv = 1.0 - v_in.uv; + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +int2 iMouse() +{ + return int2(Movement_Direction.x * uv_size.x, Movement_Direction.y * uv_size.y); +} + + +float mod(float x, float y) +{ + return x - y * floor(x / y); +} + +float2 mod2(float2 x, float2 y) +{ + return x - y * floor(x / y); +} + +/*ps start*/ +#define PI 3.1415926535897932384626433832795 +uniform bool Full_Width = false; + +uniform float Flame_Size< + string label = "Flame Size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; + +uniform float Spark_Grid_Height< + string label = "Spark Grid Size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; + +uniform float Flame_Modifier< + string label = "Flame Modifier"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float Flame_Tongue_Size< + string label = "Flame Tongue Size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 8.5; + +// +// Description : Array and textureless GLSL 2D/3D/4D simplex +// noise functions. +// Author : Ian McEwan, Ashima Arts. +// Maintainer : ijm +// Lastmod : 20110822 (ijm) +// License : Copyright (C) 2011 Ashima Arts. All rights reserved. +// Distributed under the MIT License. See LICENSE file. +// https://github.com/ashima/webgl-noise +// + +vec3 mod2893(vec3 x) +{ + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 mod289(vec4 x) +{ + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 permute(vec4 x) +{ + return mod289(((x * 34.0) + 1.0) * x); +} + +vec4 taylorInvSqrt(vec4 r) +{ + return 1.79284291400159 - 0.85373472095314 * r; +} + +float snoise(vec3 v) +{ + const vec2 C = vec2(1.0 / 6.0, 1.0 / 3.0); + const vec4 D = vec4(0.0, 0.5, 1.0, 2.0); + +// First corner + vec3 i = floor(v + dot(v, C.yyy)); + vec3 x0 = v - i + dot(i, C.xxx); + +// Other corners + vec3 g = step(x0.yzx, x0.xyz); + vec3 l = 1.0 - g; + vec3 i1 = min(g.xyz, l.zxy); + vec3 i2 = max(g.xyz, l.zxy); + + // x0 = x0 - 0.0 + 0.0 * C.xxx; + // x1 = x0 - i1 + 1.0 * C.xxx; + // x2 = x0 - i2 + 2.0 * C.xxx; + // x3 = x0 - 1.0 + 3.0 * C.xxx; + vec3 x1 = x0 - i1 + C.xxx; + vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y + vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y + +// Permutations + i = mod2893(i); + vec4 p = permute(permute(permute( + i.z + vec4(0.0, i1.z, i2.z, 1.0)) + + i.y + vec4(0.0, i1.y, i2.y, 1.0)) + + i.x + vec4(0.0, i1.x, i2.x, 1.0)); + +// Gradients: 7x7 points over a square, mapped onto an octahedron. +// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294) + float n_ = 0.142857142857; // 1.0/7.0 + vec3 ns = n_ * D.wyz - D.xzx; + + vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7) + + vec4 x_ = floor(j * ns.z); + vec4 y_ = floor(j - 7.0 * x_); // mod(j,N) + + vec4 x = x_ * ns.x + ns.yyyy; + vec4 y = y_ * ns.x + ns.yyyy; + vec4 h = 1.0 - abs(x) - abs(y); + + vec4 b0 = vec4(x.xy, y.xy); + vec4 b1 = vec4(x.zw, y.zw); + + //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0; + //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0; + vec4 s0 = floor(b0) * 2.0 + 1.0; + vec4 s1 = floor(b1) * 2.0 + 1.0; + vec4 sh = -step(h, vec4(0.0, 0.0, 0.0, 0.0)); + + vec4 a0 = b0.xzyw + s0.xzyw * sh.xxyy; + vec4 a1 = b1.xzyw + s1.xzyw * sh.zzww; + + vec3 p0 = vec3(a0.xy, h.x); + vec3 p1 = vec3(a0.zw, h.y); + vec3 p2 = vec3(a1.xy, h.z); + vec3 p3 = vec3(a1.zw, h.w); + +//Normalise gradients + //vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3))); + vec4 norm = rsqrt(vec4(dot(p0, p0), dot(p1, p1), dot(p2, p2), dot(p3, p3))); + p0 *= norm.x; + p1 *= norm.y; + p2 *= norm.z; + p3 *= norm.w; + +// Mix final noise value + vec4 m = max(0.6 - vec4(dot(x0, x0), dot(x1, x1), dot(x2, x2), dot(x3, x3)), 0.0); + m = m * m; + return 42.0 * dot(m * m, vec4(dot(p0, x0), dot(p1, x1), dot(p2, x2), dot(p3, x3))); +} + +////////////////////////////////////////////////////////////// + +// PRNG +// From https://www.shadertoy.com/view/4djSRW +float prng(in vec2 seed) +{ + seed = fract(seed * vec2(5.3983, 5.4427)); + seed += dot(seed.yx, seed.xy + vec2(21.5351, 14.3137)); + return fract(seed.x * seed.y * 95.4337); +} + +////////////////////////////////////////////////////////////// + +float noiseStack(vec3 pos, int octaves, float falloff) +{ + float noise = snoise(vec3(pos)); + float off = 1.0; + if (octaves > 1) + { + pos *= 2.0; + off *= falloff; + noise = (1.0 - off) * noise + off * snoise(vec3(pos)); + } + if (octaves > 2) + { + pos *= 2.0; + off *= falloff; + noise = (1.0 - off) * noise + off * snoise(vec3(pos)); + } + if (octaves > 3) + { + pos *= 2.0; + off *= falloff; + noise = (1.0 - off) * noise + off * snoise(vec3(pos)); + } + return (1.0 + noise) / 2.0; +} + +vec2 noiseStackUV(vec3 pos, int octaves, float falloff, float diff) +{ + float displaceA = noiseStack(pos, octaves, falloff); + float displaceB = noiseStack(pos + vec3(3984.293, 423.21, 5235.19), octaves, falloff); + return vec2(displaceA, displaceB); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 UV = (1.0 - v_in.uv) * uv_scale; + if (Invert) + UV = v_in.uv * uv_scale; + float alpha = saturate(Alpha_Percentage * .01); + float flame_size = clamp(Flame_Size * .01, 0.0, 4.0); + + vec2 resolution = (.25 * uv_scale * UV.xy) + (0.75 * uv_scale); + if (Full_Width) + { + resolution = (2.0 * (UV.xy)) / 1.0; //iResolution.xy; + + } + resolution.x = mul(resolution.x, 1 / 1); + float time = iTime * (Speed * 0.01); + //vec2 drag = iMouse().xy; + vec2 offset = iMouse().xy; + // + float xpart = UV.x / resolution.x; + float ypart = UV.y / resolution.y; + // + + float ypartClip = UV.y / ( flame_size * 75.0); + float ypartClippedFalloff = clamp(2.0 - ypartClip, 0.0, 1.0); + float ypartClipped = min(ypartClip, 1.0); + float ypartClippedn = (1 - ypartClipped); + // + float xfuel = pow(1.0 - abs(2.0 * xpart - 1.0), 0.5); //pow(1.0-abs(2.0*xpart-1.0),0.5); + // + float timeSpeed = 0.5 * (Speed * 0.01); + float realTime = -1.0 * timeSpeed * time; + // + vec2 coordScaled = -1 * Flame_Tongue_Size * UV - 0.1 * offset; + vec3 position = vec3(coordScaled, 0.0); // +vec3(1223.0, 6434.0, 8425.0); + vec3 flow = vec3(4.1 * (0.5 - xpart) * pow(ypartClippedn, 4.0), -2.0 * xfuel * pow(ypartClippedn, 64.0), 0.0); + vec3 timing = realTime * vec3(0.0, -1.7, 1.1) + flow; + // + vec3 displacePos = vec3(1.0, 0.5, 1.0) * 2.4 * position + realTime * vec3(0.01, -0.7, 1.3); + vec3 displace3 = vec3(noiseStackUV(displacePos, 2, 0.4, 0.1), 0.0); + // + vec3 noiseCoord = (vec3(2.0, 1.0, 1.0) * position + timing + 0.4 * displace3) / 1.0; + float noise = noiseStack(noiseCoord, 3, 0.4); + // + float flames = pow(ypartClipped, 0.3 * xfuel) * pow(noise, 0.3 * xfuel); + // + float f = ypartClippedFalloff * pow(Flame_Modifier - flames * flames * flames, 8.0); + float fff = f * f * f; + vec3 fire = 1.5 * vec3(f, fff, fff * fff); + // + // smoke + float smokeNoise = 0.5 + snoise(0.4 * position + timing * vec3(1.0, 1.0, 0.2)) / 2.0; + float smokePart = 0.3 * pow(xfuel, 3.0) * pow(ypart, 2.0) * (smokeNoise + 0.4 * (1.0 - noise)); + vec3 smoke = vec3(smokePart, smokePart, smokePart); + // + // sparks + float sparkGridSize = Spark_Grid_Height; + vec2 sparkCoord = UV *uv_size - vec2(2.0 * offset.x, 190.0 * sin(realTime)); + sparkCoord -= 30.0 * noiseStackUV(0.01 * vec3(sparkCoord, 15.0 * time), 1, 0.4, 0.1); + sparkCoord += 100.0 * flow.xy; + if (mod(sparkCoord.y / sparkGridSize, 2.0) < 1.0) + sparkCoord.x += 0.5 * sparkGridSize; + vec2 sparkGridIndex = vec2(floor(sparkCoord / sparkGridSize)); + float sparkRandom = prng( sparkGridIndex); + float sparkLife = min(10.0 * (1.0 - min((sparkGridIndex.y + (190.0 * realTime / sparkGridSize)) / (24.0 - 20.0 * sparkRandom), 1.0)), 1.0); + vec3 sparks = vec3(0.0, 0.0, 0.0); + if (sparkLife > 0.0) + { + float sparkSize = xfuel * xfuel * sparkRandom * 0.08; + float sparkRadians = 999.0 * sparkRandom * 2.0 * PI + 2.0 * time; + vec2 sparkCircular = vec2(sin(sparkRadians), cos(sparkRadians)); + vec2 sparkOffset = (0.5 - sparkSize) * sparkGridSize * sparkCircular; + vec2 sparkModulus = mod2(sparkCoord + sparkOffset, float2(sparkGridSize, sparkGridSize)) - 0.5 * float2(sparkGridSize, sparkGridSize); + float sparkLength = length(sparkModulus); + float sparksGray = max(0.0, 1.0 - sparkLength / (sparkSize * sparkGridSize)); + sparks = sparkLife * sparksGray * vec3(1.0, 0.3, 0.0); + } + // + float4 rgba = vec4(max(fire, sparks) + smoke, 1.0); + + // remove dark areas per user + float luma_fire = dot(rgba.rgb, float3(0.299, 0.587, 0.114)); + float luma_min_fire = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma_fire); + rgba.a = clamp(luma_min_fire, 0.0, alpha); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + float4 color = image.Sample(textureSampler, v_in.uv); + float4 original_color = color; + if (color.a > 0.0) + { + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, lerp(original_color,rgba * color,rgba.a), alpha); + } + else + { + rgba = color; + } + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, alpha); + } + + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From f2151535d370c076f414ddc907a59bcdef134fa9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1139/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSFireShader.ps1 | 400 ++++++++++++++++++ 1 file changed, 400 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFireShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFireShader.ps1 b/Commands/Filters/Shaders/Get-OBSFireShader.ps1 new file mode 100644 index 000000000..cd3f9c32b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFireShader.ps1 @@ -0,0 +1,400 @@ +function Get-OBSFireShader { + +[Alias('Set-OBSFireShader','Add-OBSFireShader')] +param( +# Set the Alpha_Percentage of OBSFireShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Int32] +$AlphaPercentage, +# Set the Speed of OBSFireShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Int32] +$Speed, +# Set the Flame_Size of OBSFireShader +[Alias('Flame_Size')] +[ComponentModel.DefaultBindingProperty('Flame_Size')] +[Int32] +$FlameSize, +# Set the Fire_Type of OBSFireShader +[Alias('Fire_Type')] +[ComponentModel.DefaultBindingProperty('Fire_Type')] +[Int32] +$FireType, +# Set the Invert of OBSFireShader +[ComponentModel.DefaultBindingProperty('Invert')] +[Management.Automation.SwitchParameter] +$Invert, +# Set the lumaMin of OBSFireShader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSFireShader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Apply_To_Image of OBSFireShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSFireShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSFireShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSFireShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the Notes of OBSFireShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFireShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//fire shader modified by Charles Fettinger for use with obs-shaderfilter 07/20 v.6 +// https://github.com/Oncorporation/obs-shaderfilter plugin +// https://www.shadertoy.com/view/MtcGD7 original version +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +//v.5 +// flicker +// flame type +// apply to image +// replace image color +// speed +// flame size +// alpha +// invert direction/position + + +//Section to converting GLSL to HLSL - can delete +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp + +uniform int Alpha_Percentage< + string label = "Aplha Percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform int Speed< + string label = "Speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +> = 100; +uniform int Flame_Size< + string label = "Flame Size"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +> = 70; +uniform int Fire_Type< + string label = "Fire Type"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Smaller and more whisps"; + int option_1_value = 1; + string option_1_label = "Larger and more volume"; +> = 1; + +uniform bool Invert < + string name = "Invert"; +> = false; +uniform float lumaMin< + string label = "Luma min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma min smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.04; +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string Notes< + string widget_type = "info"; +> = "Luma cuts reveals background, flame size is percentage screen size, Alpha Percentage adjusts color"; + +vec3 rgb2hsv(vec3 c) +{ + vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g)); + vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r)); + + float d = q.x - min(q.w, q.y); + float e = 1.0e-10; + return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); +} + +vec3 hsv2rgb(vec3 c) +{ + vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y); +} + +float rand(vec2 n) +{ + return fract(sin(cos(dot(n, vec2(12.9898, 12.1414)))) * 83758.5453); + //return sin(rand_f, n); +} + +float noise(vec2 n) +{ + const vec2 d = vec2(0.0, 1.0); + vec2 b = floor(n), f = smoothstep(vec2(0.0, 0.0), vec2(1.0, 1.0), fract(n)); + return mix(mix(rand(b), rand(b + d.yx), f.x), mix(rand(b + d.xy), rand(b + d.yy), f.x), f.y); +} + +float fbm(vec2 n) +{ + float total = 0.0, amplitude = 1.0; + for (int i = 0; i < 5; i++) + { + total += noise(n) * amplitude; + n += n * 1.7; + amplitude *= 0.47; + } + return total; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 iResolution = uv_scale; + float flame_size = clamp(Flame_Size * .01,-5,5); + + // inverting direction is logically inverted to allow the bottom up to be normal + float fire_base = (v_in.uv.y / iResolution.y); + float2 fire_pix = v_in.uv.xy + float2(flame_size -1,0); + float direction = -1.0 * clamp(Speed*.01,-5,5); + if (!Invert) + { + direction *= -1.0; + fire_base = 1 - fire_base; + fire_pix = 1 - fire_pix; + } + float iTime = direction * elapsed_time; + + const vec3 c1 = vec3(0.5, 0.0, 0.1); + const vec3 c2 = vec3(0.9, 0.1, 0.0); + const vec3 c3 = vec3(0.2, 0.1, 0.7); + const vec3 c4 = vec3(1.0, 0.9, 0.1); + const vec3 c5 = vec3(0.1, 0.1, 0.1); + const vec3 c6 = vec3(0.9, 0.9, 0.9); + + vec2 speed = vec2(1.2, 0.1) * clamp(Speed*.01,-5,5); + float shift = 1.327 * (1/flame_size) - sin(iTime * 2.0) / 2.4; + float alpha = saturate(Alpha_Percentage * .01); + + //change the constant term for all kinds of cool distance versions, + //make plus/minus to switch between + //ground fire and fire rain! + float dist = 3.5 - sin(iTime * 0.4) / 1.89; + + vec2 p = fire_pix * dist / iResolution.xx; + p.x -= iTime / 1.1; + float3 black = float3(0,0,0); + vec3 fire; + + if (Fire_Type == 1) + { + //fire version 1 larger and more volume + float q = fbm(p - iTime * 0.01 + 1.0 * sin(iTime) / 10.0); + float qb = fbm(p - iTime * 0.002 + 0.1 * cos(iTime) / 5.0); + float q2 = fbm(p - iTime * 0.44 - 5.0 * cos(iTime) / 7.0) -6.0; + float q3 = fbm(p - iTime * 0.9 - 10.0 * cos(iTime) / 30.0) -4.0; + float q4 = fbm(p - iTime * 2.0 - 20.0 * sin(iTime) / 20.0) +2.0; + q = (q + qb - .4 * q2 - 2.0 * q3 + .6 * q4) / 3.8; + + vec2 r = vec2(fbm(p + q / 2.0 - iTime* speed.x - p.x - p.y), + fbm(p - q - iTime* speed.y)) ; + vec3 c = mix(c1, c2, fbm(p + r)) + mix(c3, c4, r.x) - mix(c5, c6, r.y); + fire = vec3(c * max(cos(shift * fire_base) - (rand_f *.05),0.05)); + + fire += .05; + fire.r *= .8; + vec3 hsv = rgb2hsv(fire); + hsv.y *= hsv.z * 1.1; + hsv.z *= hsv.y * 1.13; + hsv.y = (2.2 - hsv.z * .9) * 1.20; + fire = hsv2rgb(hsv); + } + else + { + // fire version 0 - smaller and more whisps + p += (rand_f *.01); + float q = fbm(p - iTime * 0.3+1.0*sin(iTime+0.5)/2.0); + float qb = fbm(p - iTime * 0.4+0.1*cos(iTime)/2.0); + float q2 = fbm(p - iTime * 0.44 - 5.0*cos(iTime)/2.0) - 6.0; + float q3 = fbm(p - iTime * 0.9 - 10.0*cos(iTime)/15.0)-4.0; + float q4 = fbm(p - iTime * 1.4 - 20.0*sin(iTime)/14.0)+2.0; + q = (q + qb - .4 * q2 -2.0*q3 + .6*q4)/3.8; + + vec2 r = vec2(fbm(p + q /2.0 + iTime * speed.x - p.x - p.y), + fbm(p + q - iTime * speed.y)) * shift; + vec3 c = mix(c1, c2, fbm(p + r)) + mix(c3, c4, r.x) - mix(c5, c6, r.y); + //fire = vec3(1.0/(pow(c+1.61,vec3(4.0,4.0,4.0))) * max(cos(shift * fire_base),0)); + + fire = vec3(1.0,.2,.05)/(pow((r.y+r.y)* max(.0,p.y)+0.1, 4.0)) ;//* max(.1,(cos(shift * fire_base))); + fire += (black*0.01*pow((r.y+r.y)*.65,5.0)+0.055)*mix( vec3(.9,.4,.3),vec3(.7,.5,.2), v_in.uv.y); + fire = fire/(1.0+max(black,fire)); + } + float4 rgba = vec4(fire.x, fire.y, fire.z, alpha); + + // remove dark areas per user + float luma_fire = dot(rgba.rgb,float3(0.299,0.587,0.114)); + float luma_min_fire = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma_fire); + rgba.a = clamp(luma_min_fire,0.0,alpha); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + if (color.a > 0.0) + { + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, lerp(original_color,rgba * color,rgba.a), alpha); + } + else + { + rgba = color; + } + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, alpha); + } + return rgba; +} + + + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 9f0d2d97486545644e5f68db4b18ca288ec74be4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1140/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSFireworksShader.ps1 | 279 ++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 b/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 new file mode 100644 index 000000000..8960722f8 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 @@ -0,0 +1,279 @@ +function Get-OBSFireworksShader { + +[Alias('Set-OBSFireworksShader','Add-OBSFireworksShader')] +param( +# Set the show_flash of OBSFireworksShader +[Alias('show_flash')] +[ComponentModel.DefaultBindingProperty('show_flash')] +[Management.Automation.SwitchParameter] +$ShowFlash, +# Set the show_stars of OBSFireworksShader +[Alias('show_stars')] +[ComponentModel.DefaultBindingProperty('show_stars')] +[Management.Automation.SwitchParameter] +$ShowStars, +# Set the use_transparancy of OBSFireworksShader +[Alias('use_transparancy')] +[ComponentModel.DefaultBindingProperty('use_transparancy')] +[Management.Automation.SwitchParameter] +$UseTransparancy, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFireworksShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +#ifndef OPENGL +#define mat2 float2x2 +#define fract frac +#define mix lerp +#endif + +uniform bool show_flash = true; +uniform bool show_stars = true; +uniform bool use_transparancy = true; + +float distLine(float2 p, float2 a, float2 b) { + float2 pa = p - a; + float2 ba = b - a; + float t = clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0); + return length(pa - ba * t); +} + +float linef(float2 uv, float2 a, float2 b, float w) { + //return smoothstep(w, w - 0.01, distLine(uv, a, b)); + return w / distLine(uv, a, b); +} + +float N21(float2 p) { + p = fract(p * float2(233.34, 851.73)); + p += dot(p, p + 23.45); + return fract(p.x * p.y); +} + +float2 N22(float2 p) { + float n = N21(p); + return float2(n, N21(p + n)); +} + +float N11(float n) { + return fract(sin(dot(float2(cos(n), sin(n)) ,float2(27.9898, 38.233))) * 88.5453); +} + +float particle(float2 uv, float2 p, float2 v, float r, float t) { + float g = -9.81; + float x = p.x + v.x * t; + float y = p.y + v.y * t + g / 2.0 * t * t; + float2 j = (float2(x, y) - uv) * 20.0; + float sparkle = 1.0 / dot(j, j); + return sparkle; +} + +float2 p1(float2 p, float h, float t) { + return float2(p.x, p.y + clamp(pow(t, 5.0), 0.0, h)); +} + +float2 p2(float2 p, float h, float t) { + return float2(p.x, p.y + clamp(pow(0.95 * t, 5.0), 0.0, h)); +} + +float endTime(float h) { + return pow(h, 1.0 / 5.0) * 1.1; +} + +float explosion(float2 uv, float2 p, float s, float n, float f, float t) { + + float m = 0.0; + float dt = 0.5; + float seed2 = 0.32; + for(float i = 0.0; i < n; i++) { + seed2 += i; + float2 rand = float2(1.0, 2.0) * (float2(-1.0, 1.0) + 2.0 * N22(float2(seed2, i))); + float2 v = float2(cos(seed2), sin(seed2)) + rand; + m += particle(uv, p, v, s, t) * smoothstep(2.0, 2.0 - dt, t) * smoothstep(0.0, dt, t); + } + return m; +} + +float fireworks(float2 uv, float2 p, float h, float n, float s, float f, float t) { + float2 p1v = p1(p, h, t); + float e = endTime(h); + return explosion(uv, p1v, s, n, f, t - e * 0.9); +} + +float shaft(float2 uv, float2 p, float w, float h, float t) { + float2 p1v = p1(p, h, t) + float2(0.0, 0.3); + float2 p2v = p2(p, h, t); + float e = 1.0 / 0.95 * endTime(h); + float2 j = (p1v - uv) * 15.0; + float sparkle = 1.0 / dot(j, j); + return (linef(uv, p1v, p2v, w) + sparkle) * smoothstep(e, e - 0.5, t) * 0.5; +} + +float3 base(float2 uv) { + return 0.5 + 0.5 * cos(elapsed_time + uv.xyx + float3(0, 2, 4)); +} + +float back(float2 uv, float2 p, float t) { + float dt = 0.3; + float j = length(p - uv); + float m = exp(-0.005 * j * j); + return 0.2 * m * smoothstep(-dt / 4.0, 0.0, t) * smoothstep(dt, 0.0, t); +} + +float stars(float2 uv) { + float r = N21(uv); + return smoothstep(0.001, 0.0, r); +} + +float mod(float x, float y) +{ + return x - y * floor(x / y); +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv - float2(0.5,0.5); + uv.y = uv.y * -1; + float t = elapsed_time / 10.0; + float scale = 10.0; + uv *= scale; + // + float4 col = image.Sample(textureSampler, v_in.uv); + if(show_stars){ + float c = stars(uv); + if(use_transparancy){ + col += float4(c,c,c,c)*(1.0-col.a); + }else{ + col += float4(c,c,c,c);//*(1.0-orig_col.a); + } + + } + + float a = -0.035 * sin(t * 15.0); + float co = cos(a); + float si = sin(a); + mat2 trans1 = mat2(float2(co, si), float2(-si, co)); + float2 trans2 = float2(-15.0 * a, 0.0); +#ifndef OPENGL + uv = mul(uv, trans1); +#else + uv *= trans1; +#endif + uv += trans2; + + for(float i = 0.0; i < 1.0; i += 1.0 / 8.0) { + float ti = mod(t * 9.0 - i * 5.0, 4.0); + float scale = mix(2.0, 0.3, ti / 4.0); + float2 uvs = uv * scale; + float rand = N11(i); + float h = 10.0 + rand * 4.0; + float w = 0.02; + float n = 80.0; + float s = 0.9; + float f = 1.5; + float2 p = float2(mix(-8.0, 8.0, rand), -10.0); + float fw = fireworks(uvs, p, h, n, s, f, ti); + float3 bc = base(uv); + col += float4(bc*fw, fw); + col += shaft(uvs, p, w, h, ti); + if(show_flash){ + if(use_transparancy){ + col += back(uvs, float2(p.x, p.y + h), ti - 1.8)*col.a; + }else{ + col += back(uvs, float2(p.x, p.y + h), ti - 1.8); + } + } + } + + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 45c5ce426007b5efc216bafcaa984c2c451a96c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1141/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSFisheyeXyShader.ps1 | 179 ++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 new file mode 100644 index 000000000..ea0160257 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 @@ -0,0 +1,179 @@ +function Get-OBSFisheyeXyShader { + +[Alias('Set-OBSFisheyeXyShader','Add-OBSFisheyeXyShader')] +param( +# Set the center_x_percent of OBSFisheyeXyShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Single] +$CenterXPercent, +# Set the center_y_percent of OBSFisheyeXyShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Single] +$CenterYPercent, +# Set the power_x of OBSFisheyeXyShader +[Alias('power_x')] +[ComponentModel.DefaultBindingProperty('power_x')] +[Single] +$PowerX, +# Set the power_y of OBSFisheyeXyShader +[Alias('power_y')] +[ComponentModel.DefaultBindingProperty('power_y')] +[Single] +$PowerY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFisheyeXyShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float center_x_percent< + string label = "Center x percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float center_y_percent< + string label = "Center x percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float power_x< + string label = "Power x"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.75; +uniform float power_y< + string label = "Power y"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.75; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + if (power_x >= 0.0001){ + float b = sqrt(dot(center_pos, center_pos)); + uv.x = (center_pos + normalize(v_in.uv - center_pos) * tan(distance(center_pos, v_in.uv) * power_x) * b / tan( b * power_x)).x; + } else if(power_x <= -0.0001){ + float b; + if (uv_pixel_interval.x < uv_pixel_interval.y){ + b = center_pos.x; + } else { + b = center_pos.y; + } + uv.x = (center_pos + normalize(v_in.uv - center_pos) * atan(distance(center_pos, v_in.uv) * -power_x * 10.0) * b / atan(-power_x * b * 10.0)).x; + } + if (power_y >= 0.0001){ + float b = sqrt(dot(center_pos, center_pos)); + uv.y = (center_pos + normalize(v_in.uv - center_pos) * tan(distance(center_pos, v_in.uv) * power_y) * b / tan( b * power_y)).y; + } else if(power_y <= -0.0001){ + float b; + if (uv_pixel_interval.x < uv_pixel_interval.y){ + b = center_pos.x; + } else { + b = center_pos.y; + } + uv.y = (center_pos + normalize(v_in.uv - center_pos) * atan(distance(center_pos, v_in.uv) * -power_y * 10.0) * b / atan(-power_y * b * 10.0)).y; + } + return image.Sample(textureSampler, uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From af193f8ad49096b46a90d7b75198167f012cfc46 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1142/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSFisheyeShader.ps1 | 154 ++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 new file mode 100644 index 000000000..44203a99e --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 @@ -0,0 +1,154 @@ +function Get-OBSFisheyeShader { + +[Alias('Set-OBSFisheyeShader','Add-OBSFisheyeShader')] +param( +# Set the center_x_percent of OBSFisheyeShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Single] +$CenterXPercent, +# Set the center_y_percent of OBSFisheyeShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Single] +$CenterYPercent, +# Set the power of OBSFisheyeShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFisheyeShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float center_x_percent< + string label = "Center x percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float center_y_percent< + string label = "Center x percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float power< + string label = "Power"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.75; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + if (power >= 0.0001){ + float b = sqrt(dot(center_pos, center_pos)); + uv = center_pos + normalize(v_in.uv - center_pos) * tan(distance(center_pos, v_in.uv) * power) * b / tan( b * power); + } else if(power <= -0.0001){ + float b; + if (uv_pixel_interval.x < uv_pixel_interval.y){ + b = center_pos.x; + } else { + b = center_pos.y; + } + uv = center_pos + normalize(v_in.uv - center_pos) * atan(distance(center_pos, v_in.uv) * -power * 10.0) * b / atan(-power * b * 10.0); + } + return image.Sample(textureSampler, uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1d207a9fddb71f15ae735b2c6a17dbc4cb76775c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1143/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSFrostedGlassShader.ps1 | 204 ++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 b/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 new file mode 100644 index 000000000..60e0aafab --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 @@ -0,0 +1,204 @@ +function Get-OBSFrostedGlassShader { + +[Alias('Set-OBSFrostedGlassShader','Add-OBSFrostedGlassShader')] +param( +# Set the Alpha_Percent of OBSFrostedGlassShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Single] +$AlphaPercent, +# Set the Amount of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('Amount')] +[Single] +$Amount, +# Set the Scale of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('Scale')] +[Single] +$Scale, +# Set the Animate of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('Animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the Horizontal_Border of OBSFrostedGlassShader +[Alias('Horizontal_Border')] +[ComponentModel.DefaultBindingProperty('Horizontal_Border')] +[Management.Automation.SwitchParameter] +$HorizontalBorder, +# Set the Border_Offset of OBSFrostedGlassShader +[Alias('Border_Offset')] +[ComponentModel.DefaultBindingProperty('Border_Offset')] +[Single] +$BorderOffset, +# Set the Border_Color of OBSFrostedGlassShader +[Alias('Border_Color')] +[ComponentModel.DefaultBindingProperty('Border_Color')] +[Single[]] +$BorderColor, +# Set the notes of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSFrostedGlassShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Frosted Glass shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter + +uniform float Alpha_Percent< + string label = "Alpha Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; +uniform float Amount< + string label = "Amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.03; +uniform float Scale< + string label = "Scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 5.1; +uniform bool Animate; +uniform bool Horizontal_Border; +uniform float Border_Offset< + string label = "Border Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.1; +uniform float4 Border_Color = {.8,.5,1.0,1.0}; +uniform string notes< + string widget_type = "info"; +> = "Change shader with Scale and Amount, move Border with Border Offset. Alpha is Opacity of overlay."; + +float rand(float2 co) +{ + float scale = Scale; + if (Animate) + scale *= rand_f; + float2 v1 = float2(92.0,80.0); + float2 v2 = float2(41.0,62.0); + return frac(sin(dot(co.xy ,v1)) + cos(dot(co.xy ,v2)) * scale); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv); + float3 tc = rgba.rgb * Border_Color.rgb; + + float uv_compare = v_in.uv.x; + if (Horizontal_Border) + uv_compare = v_in.uv.y; + + if (uv_compare < (Border_Offset - 0.005)) + { + float2 randv = float2(rand(v_in.uv.yx),rand(v_in.uv.yx)); + tc = image.Sample(textureSampler, v_in.uv + (randv*Amount)).rgb; + } + else if (uv_compare >= (Border_Offset + 0.005)) + { + tc = image.Sample(textureSampler, v_in.uv).rgb; + } + return lerp(rgba,float4(tc,1.0),(Alpha_Percent * 0.01)); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From ac8dd54e7a24addb27806f56223fb92b5462aa21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1144/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSGammaCorrectionShader.ps1 | 150 ++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 b/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 new file mode 100644 index 000000000..eeb5f44b8 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 @@ -0,0 +1,150 @@ +function Get-OBSGammaCorrectionShader { + +[Alias('Set-OBSGammaCorrectionShader','Add-OBSGammaCorrectionShader')] +param( +# Set the Red of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('Red')] +[Single] +$Red, +# Set the Green of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('Green')] +[Single] +$Green, +# Set the Blue of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('Blue')] +[Single] +$Blue, +# Set the notes of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGammaCorrectionShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Gamma Correction shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter + +uniform float Red< + string label = "Red"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; +uniform float Green< + string label = "Green"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; +uniform float Blue< + string label = "Blue"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; +uniform string notes< + string widget_type = "info"; +> = "Modify Colors to correct for gamma, use equal values for general correction." + +float4 mainImage(VertData v_in) : TARGET +{ + float3 gammaRGB = float3(clamp(Red,0.1,10.0),clamp(Green,0.1,10.0),clamp(Blue,0.1,10.0)); + float4 c = image.Sample(textureSampler, v_in.uv); + c.rgb = pow(c.rgb, 1.0 / gammaRGB); + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From aaccac7d84e0cd377387772231faaf79370ee403 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1145/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSGaussianBlurAdvancedShader.ps1 | 230 ++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 new file mode 100644 index 000000000..342170ad9 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 @@ -0,0 +1,230 @@ +function Get-OBSGaussianBlurAdvancedShader { + +[Alias('Set-OBSGaussianBlurAdvancedShader','Add-OBSGaussianBlurAdvancedShader')] +param( +# Set the Directions of OBSGaussianBlurAdvancedShader +[ComponentModel.DefaultBindingProperty('Directions')] +[Single] +$Directions, +# Set the Quality of OBSGaussianBlurAdvancedShader +[ComponentModel.DefaultBindingProperty('Quality')] +[Single] +$Quality, +# Set the Size of OBSGaussianBlurAdvancedShader +[ComponentModel.DefaultBindingProperty('Size')] +[Single] +$Size, +# Set the Mask_Left of OBSGaussianBlurAdvancedShader +[Alias('Mask_Left')] +[ComponentModel.DefaultBindingProperty('Mask_Left')] +[Single] +$MaskLeft, +# Set the Mask_Right of OBSGaussianBlurAdvancedShader +[Alias('Mask_Right')] +[ComponentModel.DefaultBindingProperty('Mask_Right')] +[Single] +$MaskRight, +# Set the Mask_Top of OBSGaussianBlurAdvancedShader +[Alias('Mask_Top')] +[ComponentModel.DefaultBindingProperty('Mask_Top')] +[Single] +$MaskTop, +# Set the Mask_Bottom of OBSGaussianBlurAdvancedShader +[Alias('Mask_Bottom')] +[ComponentModel.DefaultBindingProperty('Mask_Bottom')] +[Single] +$MaskBottom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGaussianBlurAdvancedShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Directions< + string label = "Directions (16.0)"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 1.0; +> = 16.0; // BLUR DIRECTIONS (Default 16.0 - More is better but slower) +uniform float Quality< + string label = "Quality (4.0)"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 1.0; +> = 4.0; // BLUR QUALITY (Default 4.0 - More is better but slower) +uniform float Size< + string label = "Size (8.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 8.0; // BLUR SIZE (Radius) +uniform float Mask_Left< + string label = "Mask left (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Right< + string label = "Mask right (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Top< + string label = "Mask top (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Bottom< + string label = "Mask bottom (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + if(Mask_Left + Mask_Right > 1.0){ + if(v_in.uv.x > Mask_Left || 1.0 - v_in.uv.x > Mask_Right ){ + return image.Sample(textureSampler, v_in.uv); + } + }else{ + if((v_in.uv.x > Mask_Left) && (1.0-v_in.uv.x > Mask_Right)){ + return image.Sample(textureSampler, v_in.uv); + } + } + if(Mask_Top + Mask_Bottom > 1.0){ + if(v_in.uv.y > Mask_Top || 1.0 - v_in.uv.y > Mask_Bottom){ + return image.Sample(textureSampler, v_in.uv); + } + }else { + if((v_in.uv.y > Mask_Top) && (1.0-v_in.uv.y > Mask_Bottom)){ + return image.Sample(textureSampler, v_in.uv); + } + } + + float Pi = 6.28318530718; // Pi*2 + + float4 c = image.Sample(textureSampler, v_in.uv); + float4 oc = c; + float transparent = oc.a; + int count = 1; + float samples = oc.a; + + // Blur calculations + [loop] for( float d=0.0; d 0.0) + c /= samples; + + c.a = transparent / count; + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5bbf3292901e86f751980c5a3a14feb015d5f4eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1146/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSGaussianBlurSimpleShader.ps1 | 215 ++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 new file mode 100644 index 000000000..e4625638b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 @@ -0,0 +1,215 @@ +function Get-OBSGaussianBlurSimpleShader { + +[Alias('Set-OBSGaussianBlurSimpleShader','Add-OBSGaussianBlurSimpleShader')] +param( +# Set the Strength of OBSGaussianBlurSimpleShader +[ComponentModel.DefaultBindingProperty('Strength')] +[Int32] +$Strength, +# Set the Mask_Left of OBSGaussianBlurSimpleShader +[Alias('Mask_Left')] +[ComponentModel.DefaultBindingProperty('Mask_Left')] +[Single] +$MaskLeft, +# Set the Mask_Right of OBSGaussianBlurSimpleShader +[Alias('Mask_Right')] +[ComponentModel.DefaultBindingProperty('Mask_Right')] +[Single] +$MaskRight, +# Set the Mask_Top of OBSGaussianBlurSimpleShader +[Alias('Mask_Top')] +[ComponentModel.DefaultBindingProperty('Mask_Top')] +[Single] +$MaskTop, +# Set the Mask_Bottom of OBSGaussianBlurSimpleShader +[Alias('Mask_Bottom')] +[ComponentModel.DefaultBindingProperty('Mask_Bottom')] +[Single] +$MaskBottom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGaussianBlurSimpleShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int Strength< + string label = "Strength (1)"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 25; + int step = 1; +> = 1.0; +uniform float Mask_Left< + string label = "Mask left (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Right< + string label = "Mask right (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Top< + string label = "Mask top (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Bottom< + string label = "Mask bottom (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + if(Strength <= 0) + return image.Sample(textureSampler, v_in.uv); + + if(Mask_Left + Mask_Right > 1.0){ + if(v_in.uv.x > Mask_Left || 1.0 - v_in.uv.x > Mask_Right ){ + return image.Sample(textureSampler, v_in.uv); + } + }else{ + if((v_in.uv.x > Mask_Left) && (1.0-v_in.uv.x > Mask_Right)){ + return image.Sample(textureSampler, v_in.uv); + } + } + if(Mask_Top + Mask_Bottom > 1.0){ + if(v_in.uv.y > Mask_Top || 1.0 - v_in.uv.y > Mask_Bottom){ + return image.Sample(textureSampler, v_in.uv); + } + }else { + if((v_in.uv.y > Mask_Top) && (1.0-v_in.uv.y > Mask_Bottom)){ + return image.Sample(textureSampler, v_in.uv); + } + } + + float Pi = 6.28318530718; // Pi*2 + + float Directions = float(Strength) * 4.0; // BLUR DIRECTIONS (Default 16.0 - More is better but slower) + float Quality = float(Strength); // BLUR QUALITY (Default 4.0 - More is better but slower) + float Size = float(Strength) * float(Strength); // BLUR SIZE (Radius) + + float4 c = image.Sample(textureSampler, v_in.uv); + float4 oc = c; + float transparent = oc.a; + int count = 1; + float samples = oc.a; + + // Blur calculations + [loop] for( float d=0.0; d 0.0) + c /= samples; + + c.a = transparent / count; + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From bcc08ac553a41508a227e722a0ddbba6982e3dfa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1147/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSGaussianBlurShader.ps1 | 308 ++++++++++++++++++ 1 file changed, 308 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 new file mode 100644 index 000000000..1963c9e5d --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 @@ -0,0 +1,308 @@ +function Get-OBSGaussianBlurShader { + +[Alias('Set-OBSGaussianBlurShader','Add-OBSGaussianBlurShader')] +param( +# Set the ViewProj of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the imageSize of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('imageSize')] +[Single[]] +$ImageSize, +# Set the imageTexel of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('imageTexel')] +[Single[]] +$ImageTexel, +# Set the u_radius of OBSGaussianBlurShader +[Alias('u_radius')] +[ComponentModel.DefaultBindingProperty('u_radius')] +[Int32] +$URadius, +# Set the u_diameter of OBSGaussianBlurShader +[Alias('u_diameter')] +[ComponentModel.DefaultBindingProperty('u_diameter')] +[Int32] +$UDiameter, +# Set the u_texelDelta of OBSGaussianBlurShader +[Alias('u_texelDelta')] +[ComponentModel.DefaultBindingProperty('u_texelDelta')] +[Single[]] +$UTexelDelta, +# Set the elapsed_time of OBSGaussianBlurShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSGaussianBlurShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSGaussianBlurShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSGaussianBlurShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the kernel of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('kernel')] +[String] +$Kernel, +# Set the kernelTexel of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('kernelTexel')] +[Single[]] +$KernelTexel, +# Set the pixel_size of OBSGaussianBlurShader +[Alias('pixel_size')] +[ComponentModel.DefaultBindingProperty('pixel_size')] +[Single] +$PixelSize, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGaussianBlurShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro March 11, 2022 +// OBS Default +uniform float4x4 ViewProj; + +// Settings (Shared) +uniform texture2d image; +uniform float2 imageSize; +uniform float2 imageTexel; +uniform int u_radius; +uniform int u_diameter; +uniform float2 u_texelDelta; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; + +// Settings (Private) +//uniform float registerkernel[25]; +uniform texture2d kernel; +uniform float2 kernelTexel; +uniform float pixel_size = 1.0; + +sampler_state pointClampSampler { + Filter = Point; + AddressU = Clamp; + AddressV = Clamp; +}; + +sampler_state bilinearClampSampler { + Filter = Bilinear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float Gaussian(float x, float o) +{ + float pivalue = 3.1415926535897932384626433832795; + return (1.0 / (o * sqrt(2.0 * pivalue))) * exp((-(x * x)) / (2.0 * (o * o))); +} + +VertData VSDefault(VertData vert_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(vert_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = vert_in.uv; + return vert_out; +} + +float4 InternalGaussian(float2 p_uv, float2 p_uvStep, int p_radius, + texture2d p_image, float2 p_imageTexel) + { + float l_gauss = Gaussian(0.0, 1.0); + float4 l_value = image.Sample(pointClampSampler, p_uv) * l_gauss; + float2 l_uvoffset = float2(0, 0); + for (int k = 1; k <= p_radius; k++) { + l_uvoffset += p_uvStep; + float l_g = Gaussian(float(k), uv_pixel_interval.x + uv_pixel_interval.y); + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + l_gauss += l_g; + } + l_value = l_value * (1.0 / l_gauss); + return l_value; +} + +float4 InternalGaussianPrecalculated(float2 p_uv, float2 p_uvStep, int p_radius, + texture2d p_image, float2 p_imageTexel, + texture2d p_kernel, float2 p_kernelTexel) + { + float4 l_value = image.Sample(pointClampSampler, p_uv) + * kernel.Sample(pointClampSampler, float2(0, 0)).r; + float2 l_uvoffset = float2(0, 0); + for (int k = 1; k <= p_radius; k++) { + l_uvoffset += p_uvStep; + float l_g = kernel.Sample(pointClampSampler, p_kernelTexel * k).r; + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + } + return l_value; +} + +/*float4 InternalGaussianPrecalculatedNVOptimized(float2 p_uv, int pixel_size, + texture2d p_image, float2 p_imageTexel, + texture2d p_kernel, float2 p_kernelTexel) + { + if (pixel_size % 2 == 0) { + float4 l_value = image.Sample(pointClampSampler, p_uv) + * kernel.Sample(pointClampSampler, float2(0, 0)).r; + float2 l_uvoffset = p_texel; + float2 l_koffset = p_kernelTexel; + for (int k = 1; k <= pixel_size; k++) { + float l_g = kernel.Sample(pointClampSampler, l_koffset).r; + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + l_uvoffset += p_texel; + l_koffset += p_kernelTexel; + } + return l_value; + } else { + return InternalGaussianPrecalculated(p_uv, p_image, p_texel, pixel_size, p_kernel, p_kerneltexel);) + } +}*/ + +float4 PSGaussian(VertData vert_in) : TARGET +{ + + float4 color = image.Sample(pointClampSampler, vert_in.uv); + + float intensity = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + + return InternalGaussian(vert_in.uv, uv_offset, int(sqrt((uv_pixel_interval.x * uv_pixel_interval.x) + (uv_pixel_interval.y * uv_pixel_interval.y))), image, uv_scale); + + /* + return InternalGaussianPrecalculated( + vert_in.uv, u_texelDelta, u_radius, + image, imageTexel, + kernel, kernelTexel); + */ + + /* + return InternalGaussianPrecalculatedNVOptimize( + vert_in.uv, u_texelDelta, u_radius, + image, imageTexel, + kernel, kernelTexel); + */ +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vert_in); + pixel_shader = PSGaussian(vert_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 9dc0f0de9b2e43ac9a54f40415453fd7d8853545 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1148/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSGaussianExampleShader.ps1 | 344 ++++++++++++++++++ 1 file changed, 344 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 new file mode 100644 index 000000000..9b08f366c --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 @@ -0,0 +1,344 @@ +function Get-OBSGaussianExampleShader { + +[Alias('Set-OBSGaussianExampleShader','Add-OBSGaussianExampleShader')] +param( +# Set the ViewProj of OBSGaussianExampleShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSGaussianExampleShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSGaussianExampleShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSGaussianExampleShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSGaussianExampleShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_size of OBSGaussianExampleShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the uv_pixel_interval of OBSGaussianExampleShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the initial_image of OBSGaussianExampleShader +[Alias('initial_image')] +[ComponentModel.DefaultBindingProperty('initial_image')] +[String] +$InitialImage, +# Set the before_image of OBSGaussianExampleShader +[Alias('before_image')] +[ComponentModel.DefaultBindingProperty('before_image')] +[String] +$BeforeImage, +# Set the after_image of OBSGaussianExampleShader +[Alias('after_image')] +[ComponentModel.DefaultBindingProperty('after_image')] +[String] +$AfterImage, +# Set the text_color of OBSGaussianExampleShader +[Alias('text_color')] +[ComponentModel.DefaultBindingProperty('text_color')] +[Single[]] +$TextColor, +# Set the max_distance of OBSGaussianExampleShader +[Alias('max_distance')] +[ComponentModel.DefaultBindingProperty('max_distance')] +[Single] +$MaxDistance, +# Set the exp of OBSGaussianExampleShader +[ComponentModel.DefaultBindingProperty('exp')] +[Single] +$Exp, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGaussianExampleShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_size; +uniform float2 uv_pixel_interval; + +/*-------------------------. +| :: Texture and sampler:: | +''-------------------------*/ + + +uniform texture2d initial_image; +sampler_state initial_sampler +{ + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; + texture2d = initial_image; +}; + +uniform texture2d before_image; +sampler_state before_sampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; + texture2d = before_image; +}; + +uniform texture2d after_image; +sampler_state after_sampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; + texture2d = after_image; +}; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct ColorData { + float4 initial_color : SV_TARGET0; + float4 before_color: SV_TARGET1; + float4 after_color : SV_TARGET2; +}; + +uniform float4 text_color; +uniform float max_distance; +uniform float exp; + +#define PI 3.141592653589793238462643383279502884197169399375105820974 + +VertData mainTransform(VertData v_in) +{ + VertData vert_out = v_in; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +float4 grayscale(float4 color) +{ + float grayscale = color.r * 0.3 + color.g * 0.59 + color.b * 0.11; + return float4(grayscale, grayscale, grayscale, color.a); +} + +float4 gaussian(VertData v_in, float angle) +{ + float rad = radians(angle); + float2 dir = float2(sin(rad), cos(rad)) * (uv_pixel_interval * max_distance); + float2 dir_2 = dir * 2.0; + float4 ret = image.Sample(textureSampler, v_in.uv) * 0.375; + + float4 px_away = image.Sample(textureSampler, v_in.uv + dir); + px_away += image.Sample(textureSampler, v_in.uv - dir); + px_away *= 0.25; + + float4 px_2_away = image.Sample(textureSampler, v_in.uv + dir_2); + px_2_away += image.Sample(textureSampler, v_in.uv + dir_2); + px_2_away *= 0.0625; + + return ret + px_away + px_2_away; +} + +ColorData setColorData(VertData v_in): SV_TARGET0 +{ + //string RenderTarget0 = "initial_image"; + ColorData cd;// = (ColorData)0; + cd.initial_color = image.Sample(textureSampler, v_in.uv); + cd.before_color = float4(0.0,0.0,1.0,1.0); + cd.after_color = float4(1.0,0.0,0.0,1.0); + return cd; +} + +float4 blurImageH(VertData v_in) : SV_TARGET1 +{ + //string RenderTarget1 = "before_image"; + //ColorData cd = (ColorData)0; + //cd.initial_color = image.Sample(textureSampler, v_in.uv); + //cd.before_color = float4(0.0,0.0,1.0,1.0);//gaussian(v_in, 0); + return float4(0.0,0.0,1.0,1.0); +} + +float4 blurImageV(VertData v_in) : SV_TARGET2 +{ + //string RenderTarget2 = "after_image"; + //ColorData cd = (ColorData)0; + //cd.after_color = float4(1.0,0.0,0.0,1.0); //gaussian(v_in, 90); + return float4(1.0,0.0,0.0,1.0); +} + +float4 mainImage(VertData v_in) : SV_TARGET0 +{ + float4 color; + ColorData cd;// = (ColorData)0; + + //cd.initial_color = initial_image.Sample(initial_sampler, v_in.uv); + //cd.before_color = before_image.Sample(before_sampler, v_in.uv); + cd.after_color = after_image.Sample(before_sampler, v_in.uv); + + if (max_distance <= 5) { + color = cd.before_color; + } + else { + color = cd.after_color;//image.Sample(textureSampler, v_in.uv); + } + + float4 gray = grayscale(color); + float4 gray_text = grayscale(text_color); + float d = distance(gray.rgb, gray_text.rgb); + if (d <= dot(max_distance, uv_pixel_interval.x * max_distance)){ + float d_c = pow(d*2, exp) / pow(2, exp); + d_c = sin(d_c * PI / 2); + d = pow(1.0 - sin(d * PI/4), exp); + + color.rgb = float3(d,d,d); + } + + return color; +} + +technique Draw +{ + pass pre + { + vertex_shader = mainTransform(v_in); + pixel_shader = setColorData(v_in); + } + + pass b0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = blurImageH(v_in); + } + + pass b1 + { + vertex_shader = mainTransform(v_in); + pixel_shader = blurImageV(v_in); + } + + pass p0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4c6e466fbbca84343e8ed141e3c040d3f17619e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1149/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSGaussianSimpleShader.ps1 | 256 ++++++++++++++++++ 1 file changed, 256 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 new file mode 100644 index 000000000..35621bacb --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 @@ -0,0 +1,256 @@ +function Get-OBSGaussianSimpleShader { + +[Alias('Set-OBSGaussianSimpleShader','Add-OBSGaussianSimpleShader')] +param( +# Set the ViewProj of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSGaussianSimpleShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSGaussianSimpleShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSGaussianSimpleShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSGaussianSimpleShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSGaussianSimpleShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSGaussianSimpleShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSGaussianSimpleShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSGaussianSimpleShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSGaussianSimpleShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the samples of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('samples')] +[Int32] +$Samples, +# Set the LOD of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('LOD')] +[Int32] +$LOD, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGaussianSimpleShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Single-pass gaussian blur - fast shader modified by Charles Fettinger for use with obs-shaderfilter 7/2020 v.01 +// https://github.com/Oncorporation/obs-shaderfilter +// https://www.shadertoy.com/view/ltScRG Converted inspiration + +//Section to converting GLSL to HLSL - can delete +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp +#define iTime float + +/* +**Shaders have these variables pre loaded by the plugin** +**this section can be deleted** + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; +*/ + +// 16x acceleration of https://www.shadertoy.com/view/4tSyzy +// by applying gaussian at intermediate MIPmap level. + +uniform int samples< + string label = "Samples"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 25; + int step = 1; +> = 16; +uniform int LOD< + string label = "LOD"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 25; + int step = 1; +> = 2; // gaussian done on MIPmap at scale LOD + +float gaussian(vec2 i) +{ + float sigma = (float(samples) * .25); + return exp(-.5 * dot(i /= sigma, i)) / (6.28 * sigma * sigma); +} + +vec4 blur(vec2 U, vec2 scale) +{ + vec4 O = vec4(0,0,0,0); + int sLOD = (1 << LOD); // tile size = 2^LOD + int s = samples / sLOD; + + for (int i = 0; i < s * s; i++) + { + vec2 d = vec2(i % s, i / s) * float(sLOD) - float(samples) * 0.5; + O += gaussian(d) * image.SampleLevel(textureSampler, U + (scale * gaussian(d)), float(LOD)); + //O += gaussian(d) * image.Sample(textureSampler, U + i * d * float(LOD)); + //O += image.Sample(textureSampler, U + gaussian(d) * float(LOD)); + } + + return O / O.a; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 iResolution = uv_scale;//uv_size * uv_scale + uv_offset; + //float2 iResolution = 1 - v_in.uv + 1.0; + //float4 rgba = image.SampleLevel(textureSampler, v_in.uv * uv_scale + uv_offset,4.0); + return blur(v_in.uv / iResolution, 1.0 / iResolution); + //return rgba; +} + + + + + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 6a7c73e5fcd1c39172b8f978f67f38b7ad9aaf3f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1150/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSGbCameraShader.ps1 | 301 ++++++++++++++++++ 1 file changed, 301 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 b/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 new file mode 100644 index 000000000..4bb9565bd --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 @@ -0,0 +1,301 @@ +function Get-OBSGbCameraShader { + +[Alias('Set-OBSGbCameraShader','Add-OBSGbCameraShader')] +param( +# Set the pixelSize of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('pixelSize')] +[Single] +$PixelSize, +# Set the dither_factor of OBSGbCameraShader +[Alias('dither_factor')] +[ComponentModel.DefaultBindingProperty('dither_factor')] +[Single] +$DitherFactor, +# Set the alternative_bayer of OBSGbCameraShader +[Alias('alternative_bayer')] +[ComponentModel.DefaultBindingProperty('alternative_bayer')] +[Management.Automation.SwitchParameter] +$AlternativeBayer, +# Set the brightness of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('brightness')] +[Single] +$Brightness, +# Set the contrast of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('contrast')] +[Single] +$Contrast, +# Set the gamma of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('gamma')] +[Single] +$Gamma, +# Set the color_1 of OBSGbCameraShader +[Alias('color_1')] +[ComponentModel.DefaultBindingProperty('color_1')] +[Single[]] +$Color1, +# Set the color_2 of OBSGbCameraShader +[Alias('color_2')] +[ComponentModel.DefaultBindingProperty('color_2')] +[Single[]] +$Color2, +# Set the color_3 of OBSGbCameraShader +[Alias('color_3')] +[ComponentModel.DefaultBindingProperty('color_3')] +[Single[]] +$Color3, +# Set the color_4 of OBSGbCameraShader +[Alias('color_4')] +[ComponentModel.DefaultBindingProperty('color_4')] +[Single[]] +$Color4, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGbCameraShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +/* + * ------------------------------------------------------------ + * "THE BEERWARE LICENSE" (Revision 42): + * maple wrote this code. As long as you retain this + * notice, you can do whatever you want with this stuff. If we + * meet someday, and you think this stuff is worth it, you can + * buy me a beer in return. + * ------------------------------------------------------------ + * from https://www.shadertoy.com/view/3tSXRh + * adopted for OBS by Exeldro + * ------------------------------------------------------------ + */ + +uniform float pixelSize< + string label = "Pixel Size"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 50.0; + float step = 0.1; +> = 3.0; + +uniform float dither_factor< + string label = "Dither Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.8; + +uniform bool alternative_bayer; + +uniform float brightness< + string label = "Brightness"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; +uniform float contrast< + string label = "Contrast"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float gamma< + string label = "Gamma"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.6; + +uniform float4 color_1 = {0.18, 0, 0.18, 1.0}; +uniform float4 color_2 = {0.37, 0.15, 0.47, 1.0}; +uniform float4 color_3 = {0.97, 0.56, 0.12, 1.0}; +uniform float4 color_4 = {0.97, 0.94, 0.53, 1.0}; + +// quantize coords to low resolution +float2 pixelize(float2 uv, float2 pixelSize) { + float2 factor = pixelSize / uv_size; + return floor(uv / factor) * factor; +} + +float3 colorLUT(float3 color) { + float gray = color.r*0.3 + color.g*0.59 + color.b*0.11; + if(gray < 0.25) + return color_1.rgb; + if(gray < 0.50) + return color_2.rgb; + if(gray < 0.75) + return color_3.rgb; + return color_4.rgb; +} + +// adjust brightness, contrast and gamma levels of a color +float3 levels(float3 color, float brightness, float contrast, float3 gamma) { + float3 value = (color - 0.5) * contrast + 0.5; + value = clamp(value + brightness, 0.0, 1.0); + return clamp(float3(pow(abs(value.r), gamma.x),pow(abs(value.g), gamma.y),pow(abs(value.b), gamma.z)), 0.0, 1.0); +} +float3 levels(float3 color, float brightness, float contrast, float gamma) { + return levels(color, brightness, contrast, float3(gamma, gamma, gamma)); +} + +// applies the dithering filter to a color map +float3 dither8x8(float2 coord, float3 color, float2 pixelSize) { + // reduces pixel space to the selected pixel size + float2 pixelCoord = floor((coord * uv_size) / pixelSize + float2(0.5, 0.5)); + + // applies the bayer matrix filter to the color map + pixelCoord = pixelCoord - 8.0 * floor(pixelCoord/8.0); + int index = int(pixelCoord.x + (pixelCoord.y * 8.0)); + float bayer; + if (alternative_bayer){ +#ifdef OPENGL + const int[64] bayer8 = int[64]( +#else + const int bayer8[64] = { +#endif + 0, 32, 8, 40, 2, 34, 10, 42, /* 8x8 Bayer ordered dithering */ + 48, 16, 56, 24, 50, 18, 58, 26, /* pattern. Each input pixel */ + 12, 44, 4, 36, 14, 46, 6, 38, /* is scaled to the 0..63 range */ + 60, 28, 52, 20, 62, 30, 54, 22, /* before looking in this table */ + 3, 35, 11, 43, 1, 33, 9, 41, /* to determine the action. */ + 51, 19, 59, 27, 49, 17, 57, 25, + 15, 47, 7, 39, 13, 45, 5, 37, + 63, 31, 55, 23, 61, 29, 53, 21 +#ifdef OPENGL + ); +#else + }; +#endif + bayer = (bayer8[index]-31.0)/32.0; + } else { +#ifdef OPENGL + const int[64] bayer8 = int[64]( +#else + const int bayer8[64] = { +#endif + 0, 48, 12, 60, 3, 51, 15, 63, + 32, 16, 44, 28, 35, 19, 47, 31, + 8, 56, 4, 52, 11, 59, 7, 55, + 40, 24, 36, 20, 43, 27, 39, 23, + 2, 50, 14, 62, 1, 49, 13, 61, + 34, 18, 46, 30, 33, 17, 45, 29, + 10, 58, 6, 54, 9, 57, 5, 53, + 42, 26, 38, 22, 41, 25, 37, 21 +#ifdef OPENGL + ); +#else + }; +#endif + bayer = (bayer8[index]-31.0)/32.0; + } + float3 bayerColor = (color + float3(bayer,bayer,bayer) * (dither_factor / 8.0)); + // limits it to the selected palette + color = colorLUT(bayerColor); + + return color; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 texcoord = pixelize(v_in.uv, float2(pixelSize,pixelSize)); + texcoord = clamp(texcoord, 0.001, 1.0); + float4 c = image.Sample(textureSampler, texcoord); + float3 color = c.rgb; + + color = levels(color, brightness, contrast, float3(gamma, gamma, gamma)); + + color = dither8x8(texcoord, color, float2(pixelSize,pixelSize)); + + return float4(color.r, color.g, color.b, c.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 7fba6c8d8115a814ebda4e34761b27b6bc39eb0b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1151/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSGlassShader.ps1 | 233 ++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGlassShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 new file mode 100644 index 000000000..70db16701 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 @@ -0,0 +1,233 @@ +function Get-OBSGlassShader { + +[Alias('Set-OBSGlassShader','Add-OBSGlassShader')] +param( +# Set the Alpha_Percent of OBSGlassShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Single] +$AlphaPercent, +# Set the Offset_Amount of OBSGlassShader +[Alias('Offset_Amount')] +[ComponentModel.DefaultBindingProperty('Offset_Amount')] +[Single] +$OffsetAmount, +# Set the xSize of OBSGlassShader +[ComponentModel.DefaultBindingProperty('xSize')] +[Int32] +$XSize, +# Set the ySize of OBSGlassShader +[ComponentModel.DefaultBindingProperty('ySize')] +[Int32] +$YSize, +# Set the Reflection_Offset of OBSGlassShader +[Alias('Reflection_Offset')] +[ComponentModel.DefaultBindingProperty('Reflection_Offset')] +[Int32] +$ReflectionOffset, +# Set the Horizontal_Border of OBSGlassShader +[Alias('Horizontal_Border')] +[ComponentModel.DefaultBindingProperty('Horizontal_Border')] +[Management.Automation.SwitchParameter] +$HorizontalBorder, +# Set the Border_Offset of OBSGlassShader +[Alias('Border_Offset')] +[ComponentModel.DefaultBindingProperty('Border_Offset')] +[Single] +$BorderOffset, +# Set the Border_Color of OBSGlassShader +[Alias('Border_Color')] +[ComponentModel.DefaultBindingProperty('Border_Color')] +[Single[]] +$BorderColor, +# Set the Glass_Color of OBSGlassShader +[Alias('Glass_Color')] +[ComponentModel.DefaultBindingProperty('Glass_Color')] +[Single[]] +$GlassColor, +# Set the notes of OBSGlassShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGlassShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Glass shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGl by Q-mii & Exeldro February 25, 2022 +uniform float Alpha_Percent< + string label = "Alpha Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; +uniform float Offset_Amount< + string label = "Offset Amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.8; +uniform int xSize< + string label = "x Size"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 100; + int step = 1; +> = 8; +uniform int ySize< + string label = "y Size"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 100; + int step = 1; +> = 8; +uniform int Reflection_Offset< + string label = "Reflection Offset"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 2; +uniform bool Horizontal_Border; +uniform float Border_Offset< + string label = "Border Offset"; + string widget_type = "slider"; + float minimum = -0.01; + float maximum = 1.01; + float step = 0.01; +> = 0.5; +uniform float4 Border_Color = {.8,.5,1.0,1.0}; +uniform float4 Glass_Color; +uniform string notes< + string widget_type = "info"; +> = "xSize, ySize are for distortion. Offset Amount and Reflection Offset change glass properties. Alpha is Opacity of overlay."; + +float mod(float a, float b){ + float d = a / b; + return (d-floor(d))*b; +} + +float4 mainImage(VertData v_in) : TARGET +{ + + + int xSubPixel = int(mod((v_in.uv.x * uv_size.x) , float(clamp(xSize,1,100)))); + int ySubPixel = int(mod((v_in.uv.y * uv_size.y) , float(clamp(ySize,1,100)))); + float2 offsets = float2(Offset_Amount * xSubPixel / uv_size.x, Offset_Amount * ySubPixel / uv_size.y); + float2 uv = v_in.uv + offsets; + float2 uv2 = float2(uv.x + (Reflection_Offset / uv_size.x),uv.y + (Reflection_Offset / uv_size.y)); + + float4 rgba = image.Sample(textureSampler, v_in.uv); + float4 rgba_output = float4(rgba.rgb * Border_Color.rgb, rgba.a); + rgba = image.Sample(textureSampler, uv); + float4 rgba_glass = image.Sample(textureSampler, uv2); + + float uv_compare = v_in.uv.x; + if (Horizontal_Border) + uv_compare = v_in.uv.y; + + if (uv_compare < (Border_Offset - 0.005)) + { + rgba_output = (rgba + rgba_glass) *.5 * Glass_Color; + } + else if (uv_compare >= (Border_Offset + 0.005)) + { + rgba_output = image.Sample(textureSampler, v_in.uv); + } + return lerp(rgba,rgba_output,(Alpha_Percent * 0.01)); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From bb7a77f41a326fab13f5ea3860054c174b5f309c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:41 +0000 Subject: [PATCH 1152/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSGlitchAnalogShader.ps1 | 318 ++++++++++++++++++ 1 file changed, 318 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 new file mode 100644 index 000000000..f812cbf62 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 @@ -0,0 +1,318 @@ +function Get-OBSGlitchAnalogShader { + +[Alias('Set-OBSGlitchAnalogShader','Add-OBSGlitchAnalogShader')] +param( +# Set the scan_line_jitter_displacement of OBSGlitchAnalogShader +[Alias('scan_line_jitter_displacement')] +[ComponentModel.DefaultBindingProperty('scan_line_jitter_displacement')] +[Single] +$ScanLineJitterDisplacement, +# Set the scan_line_jitter_threshold_percent of OBSGlitchAnalogShader +[Alias('scan_line_jitter_threshold_percent')] +[ComponentModel.DefaultBindingProperty('scan_line_jitter_threshold_percent')] +[Int32] +$ScanLineJitterThresholdPercent, +# Set the vertical_jump_amount of OBSGlitchAnalogShader +[Alias('vertical_jump_amount')] +[ComponentModel.DefaultBindingProperty('vertical_jump_amount')] +[Single] +$VerticalJumpAmount, +# Set the vertical_speed of OBSGlitchAnalogShader +[Alias('vertical_speed')] +[ComponentModel.DefaultBindingProperty('vertical_speed')] +[Single] +$VerticalSpeed, +# Set the horizontal_shake of OBSGlitchAnalogShader +[Alias('horizontal_shake')] +[ComponentModel.DefaultBindingProperty('horizontal_shake')] +[Single] +$HorizontalShake, +# Set the color_drift_amount of OBSGlitchAnalogShader +[Alias('color_drift_amount')] +[ComponentModel.DefaultBindingProperty('color_drift_amount')] +[Single] +$ColorDriftAmount, +# Set the color_drift_speed of OBSGlitchAnalogShader +[Alias('color_drift_speed')] +[ComponentModel.DefaultBindingProperty('color_drift_speed')] +[Single] +$ColorDriftSpeed, +# Set the pulse_speed_percent of OBSGlitchAnalogShader +[Alias('pulse_speed_percent')] +[ComponentModel.DefaultBindingProperty('pulse_speed_percent')] +[Int32] +$PulseSpeedPercent, +# Set the alpha_percent of OBSGlitchAnalogShader +[Alias('alpha_percent')] +[ComponentModel.DefaultBindingProperty('alpha_percent')] +[Int32] +$AlphaPercent, +# Set the rotate_colors of OBSGlitchAnalogShader +[Alias('rotate_colors')] +[ComponentModel.DefaultBindingProperty('rotate_colors')] +[Management.Automation.SwitchParameter] +$RotateColors, +# Set the Apply_To_Alpha_Layer of OBSGlitchAnalogShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Replace_Image_Color of OBSGlitchAnalogShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSGlitchAnalogShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSGlitchAnalogShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the notes of OBSGlitchAnalogShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGlitchAnalogShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// analog glitch shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float scan_line_jitter_displacement< + string label = "Scan line jitter"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 33.0; // (displacement, threshold) +uniform int scan_line_jitter_threshold_percent< + string label = "scan line jitter threshold percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 95; +uniform float vertical_jump_amount< + string label = "Vertical jump amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>; +uniform float vertical_speed< + string label = "Vertical speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>;// (amount, speed) +uniform float horizontal_shake< + string label = "Horizontal shake"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>; +uniform float color_drift_amount< + string label = "Color drift amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>; +uniform float color_drift_speed< + string label = "Color drift speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>;// (amount, speed) +uniform int pulse_speed_percent< + string label = "Pulse speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform int alpha_percent< + string label = "Aplha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform bool rotate_colors; +uniform bool Apply_To_Alpha_Layer = false; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string notes< + string widget_type = "info"; +> ="play with settings!"; + + +float nrand(float x, float y) +{ + float value = dot(float2(x, y), float2(12.9898 , 78.233 )); + return frac(sin(value) * 43758.5453); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float speed = pulse_speed_percent * 0.01; + float alpha = alpha_percent * 0.01; + float scan_line_jitter_threshold = scan_line_jitter_threshold_percent * 0.01; + float u = v_in.uv.x; + float v = v_in.uv.y; + float t = sin(elapsed_time * speed) * 2 - 1; + float4 rgba = image.Sample(textureSampler, v_in.uv); + + // Scan line jitter + float jitter = nrand(v, t) * 2 - 1; + jitter *= step(scan_line_jitter_threshold, abs(jitter)) * scan_line_jitter_displacement; + + // Vertical jump + float jump = lerp(v, frac(v + (t * vertical_speed)), vertical_jump_amount); + + // Horizontal shake + float shake = ((t * (u + rand_f)/2) - 0.5) * horizontal_shake; + + //// Color drift + float drift = sin(jump + color_drift_speed) * color_drift_amount; + + float2 src1 = float2(rgba.x, rgba.z) * clamp(frac(float2(u + jitter + shake, jump)), -10.0, 10.0); + float2 src2 = float2(rgba.y, rgba.w) * frac(float2(u + jitter + shake + drift, jump)); + + if(rotate_colors) + { + // get general time number between 0 and 4 + float tx = (t + 1) * 2; + // 3 steps c1->c2, c2->c3, c3->c1 + //when between 0 - 1 only c1 rises then falls + //(min(tx, 2.0) * 0.5) range between 0-2 converted to 0-1-0 + src1.x = lerp(src1.x, rgba.x, clamp((min(tx, 2.0) * 0.5),0.0,0.5)); + //((min(max(1.0, tx),3.0) - 1) * 0.5) range between 1-3 converted to 0-1-0 + src2.x = lerp(src2.x, rgba.y, clamp(((min(max(1.0, tx),3.0) - 1) * 0.5),0.0,0.5)); + //((min(2.0, tx) -2) * 0.5) range between 2 and 4 converted to 0-1-0 + src1.y = lerp(src1.y, rgba.z, clamp(((min(2.0, tx) -2) * 0.5),0.0,0.5)); + + } + + float4 color = rgba; + float4 original_color = color; + rgba = float4(src1.x, src2.x, src1.y, alpha); + + if (Apply_To_Alpha_Layer) + { + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, rgba * color, alpha); + } + + if (Apply_To_Specific_Color) + { + color = original_color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, alpha); + } + + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5a67009cac71ed2f70da06db4adc817db8810c6d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1153/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSGlitchShader.ps1 | 179 ++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 new file mode 100644 index 000000000..9d199659a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 @@ -0,0 +1,179 @@ +function Get-OBSGlitchShader { + +[Alias('Set-OBSGlitchShader','Add-OBSGlitchShader')] +param( +# Set the AMT of OBSGlitchShader +[ComponentModel.DefaultBindingProperty('AMT')] +[Single] +$AMT, +# Set the SPEED of OBSGlitchShader +[ComponentModel.DefaultBindingProperty('SPEED')] +[Single] +$SPEED, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGlitchShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/MtXBDs +//inputs +uniform float AMT< + string label = "AMT"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.2; //0 - 1 glitch amount +uniform float SPEED< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; //0 - 1 speed + +//2D (returns 0 - 1) +float random2d(float2 n) { + return frac(sin(dot(n, float2(12.9898, 4.1414))) * 43758.5453); +} + +float randomRange (in float2 seed, in float min, in float max) { + return min + random2d(seed) * (max - min); +} + +// return 1 if v inside 1d range +float insideRange(float v, float bottom, float top) { + return step(bottom, v) - step(top, v); +} + + + +float4 mainImage(VertData v_in) : TARGET +{ + + float time = floor(elapsed_time * SPEED * 60.0); + float2 uv = v_in.uv; + + //copy orig + float4 outCol = image.Sample(textureSampler, uv); + + //randomly offset slices horizontally + float maxOffset = AMT/2.0; + for (float i = 0.0; i < 10.0 * AMT; i += 1.0) { + float sliceY = random2d(float2(time , 2345.0 + float(i))); + float sliceH = random2d(float2(time , 9035.0 + float(i))) * 0.25; + float hOffset = randomRange(float2(time , 9625.0 + float(i)), -maxOffset, maxOffset); + float2 uvOff = uv; + uvOff.x += hOffset; + if (insideRange(uv.y, sliceY, frac(sliceY+sliceH)) == 1.0 ){ + outCol = image.Sample(textureSampler, uvOff); + } + } + + //do slight offset on one entire channel + float maxColOffset = AMT/6.0; + float rnd = random2d(float2(time , 9545.0)); + float2 colOffset = float2(randomRange(float2(time , 9545.0),-maxColOffset,maxColOffset), + randomRange(float2(time , 7205.0),-maxColOffset,maxColOffset)); + if (rnd < 0.33){ + outCol.r = image.Sample(textureSampler, uv + colOffset).r; + + }else if (rnd < 0.66){ + outCol.g = image.Sample(textureSampler, uv + colOffset).g; + + } else{ + outCol.b = image.Sample(textureSampler, uv + colOffset).b; + } + + return outCol; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From aacfa1f740482f2eee87c6285b3a57ae5e45403c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1154/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSGlowShader.ps1 | 226 ++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGlowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 new file mode 100644 index 000000000..367b7b31a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 @@ -0,0 +1,226 @@ +function Get-OBSGlowShader { + +[Alias('Set-OBSGlowShader','Add-OBSGlowShader')] +param( +# Set the glow_percent of OBSGlowShader +[Alias('glow_percent')] +[ComponentModel.DefaultBindingProperty('glow_percent')] +[Int32] +$GlowPercent, +# Set the blur of OBSGlowShader +[ComponentModel.DefaultBindingProperty('blur')] +[Int32] +$Blur, +# Set the min_brightness of OBSGlowShader +[Alias('min_brightness')] +[ComponentModel.DefaultBindingProperty('min_brightness')] +[Int32] +$MinBrightness, +# Set the max_brightness of OBSGlowShader +[Alias('max_brightness')] +[ComponentModel.DefaultBindingProperty('max_brightness')] +[Int32] +$MaxBrightness, +# Set the pulse_speed of OBSGlowShader +[Alias('pulse_speed')] +[ComponentModel.DefaultBindingProperty('pulse_speed')] +[Int32] +$PulseSpeed, +# Set the ease of OBSGlowShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the notes of OBSGlowShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGlowShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Exeldro February 21, 2022 +uniform int glow_percent< + string label = "Glow percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 10; +uniform int blur< + string label = "Blur"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 1; +uniform int min_brightness< + string label = "Min brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 27; +uniform int max_brightness< + string label = "Max brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform int pulse_speed< + string label = "Pulse speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool ease; +uniform string notes< + string widget_type = "info"; +> = "''ease'' - makes the animation pause at the begin and end for a moment,''glow_percent'' - how much brightness to add (recommend 0-100). ''blur'' - how far should the glow extend (recommend 1-4).''pulse_speed'' - (0-100). ''min/max brightness'' - floor and ceiling brightness level to target for glows."; + + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2.0; + if (t < 1.0) return -c/2.0 * (sqrt(1.0 - t*t) - 1.0) + b; + t -= 2.0; + return c/2.0 * (sqrt(1.0 - t*t) + 1.0) + b; +} + +float BlurStyler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0.0,c,d); + return t; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 offsets[4]; + offsets[0] = float2(-0.1, 0.125); + offsets[1] = float2(-0.1, -0.125); + offsets[2] = float2(0.1, -0.125); + offsets[3] = float2(0.1, 0.125); + + // convert input for vector math + float4 col = image.Sample(textureSampler, v_in.uv); + float blur_amount = float(blur) /100.0; + float glow_amount = float(glow_percent) * 0.01; + float speed = float(pulse_speed) * 0.01; + float luminance_floor = float(min_brightness) /100.0; + float luminance_ceiling = float(max_brightness) /100.0; + + if (col.a > 0.0) + { + //circular easing variable + float t = 1.0 + sin(elapsed_time * speed); + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + // simple glow calc + for (int n = 0; n < 4; n++) { + b = BlurStyler(t, 0, c, d, ease); + float4 ncolor = image.Sample(textureSampler, v_in.uv + (blur_amount * b) * offsets[n]); + float intensity = ncolor.r * 0.299 + ncolor.g * 0.587 + ncolor.b * 0.114; + if ((intensity >= luminance_floor) && (intensity <= luminance_ceiling)) + { + ncolor.a = clamp(ncolor.a * glow_amount, 0.0, 1.0); + col += (ncolor * (glow_amount * b)); + } + } + } + return col; + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 9516e3ed8747fa943e99a4dcb653f1422f3e9908 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1155/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSGradientShader.ps1 | 384 ++++++++++++++++++ 1 file changed, 384 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 new file mode 100644 index 000000000..c3a9cd5e5 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 @@ -0,0 +1,384 @@ +function Get-OBSGradientShader { + +[Alias('Set-OBSGradientShader','Add-OBSGradientShader')] +param( +# Set the start_color of OBSGradientShader +[Alias('start_color')] +[ComponentModel.DefaultBindingProperty('start_color')] +[Single[]] +$StartColor, +# Set the start_step of OBSGradientShader +[Alias('start_step')] +[ComponentModel.DefaultBindingProperty('start_step')] +[Single] +$StartStep, +# Set the middle_color of OBSGradientShader +[Alias('middle_color')] +[ComponentModel.DefaultBindingProperty('middle_color')] +[Single[]] +$MiddleColor, +# Set the middle_step of OBSGradientShader +[Alias('middle_step')] +[ComponentModel.DefaultBindingProperty('middle_step')] +[Single] +$MiddleStep, +# Set the end_color of OBSGradientShader +[Alias('end_color')] +[ComponentModel.DefaultBindingProperty('end_color')] +[Single[]] +$EndColor, +# Set the end_step of OBSGradientShader +[Alias('end_step')] +[ComponentModel.DefaultBindingProperty('end_step')] +[Single] +$EndStep, +# Set the alpha_percent of OBSGradientShader +[Alias('alpha_percent')] +[ComponentModel.DefaultBindingProperty('alpha_percent')] +[Int32] +$AlphaPercent, +# Set the pulse_speed of OBSGradientShader +[Alias('pulse_speed')] +[ComponentModel.DefaultBindingProperty('pulse_speed')] +[Int32] +$PulseSpeed, +# Set the ease of OBSGradientShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the rotate_colors of OBSGradientShader +[Alias('rotate_colors')] +[ComponentModel.DefaultBindingProperty('rotate_colors')] +[Management.Automation.SwitchParameter] +$RotateColors, +# Set the Apply_To_Alpha_Layer of OBSGradientShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Apply_To_Specific_Color of OBSGradientShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSGradientShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the horizontal of OBSGradientShader +[ComponentModel.DefaultBindingProperty('horizontal')] +[Management.Automation.SwitchParameter] +$Horizontal, +# Set the vertical of OBSGradientShader +[ComponentModel.DefaultBindingProperty('vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the gradient_center_width_percentage of OBSGradientShader +[Alias('gradient_center_width_percentage')] +[ComponentModel.DefaultBindingProperty('gradient_center_width_percentage')] +[Int32] +$GradientCenterWidthPercentage, +# Set the gradient_center_height_percentage of OBSGradientShader +[Alias('gradient_center_height_percentage')] +[ComponentModel.DefaultBindingProperty('gradient_center_height_percentage')] +[Int32] +$GradientCenterHeightPercentage, +# Set the notes of OBSGradientShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSGradientShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// gradient shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform float4 start_color = { 0.1, 0.3, 0.1, 1.0 }; +uniform float start_step< + string label = "Start step"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.15; +uniform float4 middle_color = { 1.0, 1.0, 1.0, 1.0 }; +uniform float middle_step< + string label = "Middle step"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.4; +uniform float4 end_color = { 0.75, 0.75, 0.75, 1.0}; +uniform float end_step< + string label = "End step"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform int alpha_percent< + string label = "Alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform int pulse_speed< + string label = "Pulse speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool ease; +uniform bool rotate_colors; +uniform bool Apply_To_Alpha_Layer = true; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform bool horizontal; +uniform bool vertical; +uniform int gradient_center_width_percentage< + string label = "gradient center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int gradient_center_height_percentage< + string label = "gradient center height percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform string notes< + string widget_type = "info"; +> = "gradient center items will change the center location. Pulse Speed greater than 0 will animate. Easing seem to be too fast."; + +float EaseInOutCircTimer(float t, float b, float c, float d) { + t /= d / 2; + if (t < 1) return -c / 2 * (sqrt(1 - t * t) - 1) + b; + t -= 2; + return c / 2 * (sqrt(1 - t * t) + 1) + b; +} + +float BlurStyler(float t, float b, float c, float d, bool ease) +{ + if (ease) return EaseInOutCircTimer(t, 0, c, d); + return t; +} + +struct gradient +{ + float4 color; + float step; +}; + + +float4 mainImage(VertData v_in) : TARGET +{ + const float PI = 3.14159265f;//acos(-1); + float speed = float(pulse_speed) * 0.01; + float alpha = float(alpha_percent) * 0.01; + + //circular easing variable + float t = sin(elapsed_time * speed) * 2 - 1; + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + float2 gradient_center = float2(float(gradient_center_width_percentage) * 0.01,float(gradient_center_height_percentage) * 0.01); + float4 color = image.Sample(textureSampler, v_in.uv); + float luminance = color.a * 0.299 + color.g * 0.587 + color.b * 0.114; + float4 gray = float4(luminance,luminance,luminance, 1); + + // skip if (alpha is zero and only apply to alpha layer is true) + if (!(color.a <= 0.0 && Apply_To_Alpha_Layer == true)) + { + b = BlurStyler(t, 0, c, d, ease); + + const int no_colors = 3; + float4 s_color = start_color; + float4 m_color = middle_color; + float4 e_color = end_color; + + if (rotate_colors) + { + // get general time number between 0 and 4 + float tx = (b + 1) * 2; + // 3 steps c1->c2, c2->c3, c3->c1 + //when between 0 - 1 only c1 rises then falls + + if (tx <= 2.0) + { + s_color = lerp(start_color, middle_color, clamp((min(tx, 2.0) * 0.5) * 2, 0.0, 1.0)); + m_color = lerp(middle_color, end_color, clamp((min(tx, 2.0) * 0.5) * 2, 0.0, 1.0)); + e_color = lerp(end_color, start_color, clamp((min(tx, 2.0) * 0.5) * 2, 0.0, 1.0)); + } + + if ((tx >= 1.0) && (tx <= 3.0)) + { + s_color = lerp(middle_color, end_color, clamp(((min(max(1.0, tx), 3.0) - 1) * 0.5) * 2, 0.0, 1.0)); + m_color = lerp(end_color, start_color, clamp(((min(max(1.0, tx), 3.0) - 1) * 0.5) * 2, 0.0, 1.0)); + e_color = lerp(start_color, middle_color, clamp(((min(max(1.0, tx), 3.0) - 1) * 0.5) * 2, 0.0, 1.0)); + } + + if (tx >= 2.0) + { + s_color = lerp(end_color, start_color, clamp(((min(2.0, tx) - 2) * 0.5) * 2, 0.0, 1.0)); + m_color = lerp(start_color, middle_color, clamp(((min(2.0, tx) - 2) * 0.5) * 2, 0.0, 1.0)); + e_color = lerp(middle_color, end_color, clamp(((min(2.0, tx) - 2) * 0.5) * 2, 0.0, 1.0)); + } + + if (tx < 0) + { + s_color = lerp(end_color, start_color, clamp(abs(max(1.0, tx)) * 2, 0.0, 1.0)); + m_color = lerp(start_color, middle_color, clamp(abs(max(1.0, tx)) * 2, 0.0, 1.0)); + e_color = lerp(middle_color, end_color, clamp(abs(max(1.0, tx)) * 2, 0.0, 1.0)); + } + } + + float4 colors[no_colors]; + colors[0] =s_color; + colors[1] = m_color; + colors[2] = e_color; + float step[no_colors]; + step[0] = start_step; + step[1] = middle_step; + step[2] = end_step; + + float redness = max(min(color.r - color.g, color.r - color.b) / color.r, 0); + float greenness = max(min(color.g - color.r, color.g - color.b) / color.g, 0); + float blueness = max(min(color.b - color.r, color.b - color.g) / color.b, 0); + + float dist = distance(v_in.uv, gradient_center); + if (horizontal && (vertical == false)) + { + dist = distance(v_in.uv.y, gradient_center.y); + } + if (vertical && (horizontal == false)) + { + dist = distance(v_in.uv.x, gradient_center.x); + } + + float4 col = colors[0]; + for (int i = 1; i < no_colors; ++i) { + col = lerp(col, colors[i], smoothstep(step[i - 1], step[i], dist)); + } + col.a = clamp(alpha, 0.0, 1.0); + if (Apply_To_Alpha_Layer == false) + color.a = alpha; + if (Apply_To_Specific_Color) + { + col.a = alpha; + float4 original_color = image.Sample(textureSampler, v_in.uv); + col.rgb = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? col.rgb : original_color.rgb; + } + // result = float4(redness, greenness,blueness,1); + //color *= float4(col.r, col.g, col.b, clamp(dot(color, luminance)* alpha, 0.0, 1.0)); + //color.rgb += col * alpha; + //color.a += clamp(1.0 - alpha, 0.0,1.0); + ///color.rgb *= (color.rgb * clamp(1.0- alpha, 0.0, 1.0)) + (col.rgb * clamp(alpha, 0.0, 1.0)); + //color = float4(max(color.r, col.r), max(color.g, col.g), max(color.b, col.b), clamp(dot(color, luminance) * alpha, 0.0, 1.0)); + color.rgb = lerp(color.rgb, col.rgb, clamp(alpha, 0.0, 1.0)); + + } + return color; + + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 21fc9fa5eec220e7c8183fe5c0900c0c6dbe8960 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1156/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSHalftoneShader.ps1 | 157 ++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 b/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 new file mode 100644 index 000000000..527ff2cbe --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 @@ -0,0 +1,157 @@ +function Get-OBSHalftoneShader { + +[Alias('Set-OBSHalftoneShader','Add-OBSHalftoneShader')] +param( +# Set the threshold of OBSHalftoneShader +[ComponentModel.DefaultBindingProperty('threshold')] +[Single] +$Threshold, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSHalftoneShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.1415926535897932384626433832795 +#define PI180 float(PI / 180.0) + +uniform float threshold< + string label = "Threshold"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.6; + +float sind(float a) +{ + return sin(a * PI180); +} + +float cosd(float a) +{ + return cos(a * PI180); +} + +float added(float2 sh, float sa, float ca, float2 c, float d) +{ + return 0.5 + 0.25 * cos((sh.x * sa + sh.y * ca + c.x) * d) + 0.25 * cos((sh.x * ca - sh.y * sa + c.y) * d); +} + +float4 mainImage(VertData v_in) : TARGET +{ + // Halftone dot matrix shader + // @author Tomek Augustyn 2010 + + // Ported from my old PixelBender experiment + // https://github.com/og2t/HiSlope/blob/master/src/hislope/pbk/fx/halftone/Halftone.pbk + + float coordX = v_in.uv.x; + float coordY = v_in.uv.y; + float2 dstCoord = float2(coordX, coordY); + float2 rotationCenter = float2(0.5, 0.5); + float2 shift = dstCoord - rotationCenter; + + float dotSize = 3.0; + float angle = 45.0; + + float rasterPattern = added(shift, sind(angle), cosd(angle), rotationCenter, PI / dotSize * 680.0); + float4 srcPixel = image.Sample(textureSampler, dstCoord); + + float avg = 0.2125 * srcPixel.r + 0.7154 * srcPixel.g + 0.0721 * srcPixel.b; + float gray = (rasterPattern * threshold + avg - threshold) / (1.0 - threshold); + + // uncomment to see how the raster pattern looks + // gray = rasterPattern; + + return float4(gray, gray, gray, 1.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 92478cc8a0c385eab8a639ebc900dac6617ba4d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1157/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSHeatWaveSimpleShader.ps1 | 178 ++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 b/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 new file mode 100644 index 000000000..f8235a52f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 @@ -0,0 +1,178 @@ +function Get-OBSHeatWaveSimpleShader { + +[Alias('Set-OBSHeatWaveSimpleShader','Add-OBSHeatWaveSimpleShader')] +param( +# Set the Rate of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Rate')] +[Single] +$Rate, +# Set the Strength of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Strength')] +[Single] +$Strength, +# Set the Distortion of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Distortion')] +[Single] +$Distortion, +# Set the Opacity of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Opacity')] +[Single] +$Opacity, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSHeatWaveSimpleShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Heat Wave Simple, Version 0.03, for OBS Shaderfilter +// Copyright ©️ 2022 by SkeletonBow +// License: GNU General Public License, version 2 +// +// Contact info: +// Twitter: +// Twitch: +// +// Description: +// Generate a crude pseudo heat wave displacement on an image source. +// +// Based on: https://www.shadertoy.com/view/td3GRn by Dombass +// +// Changelog: +// 0.03 - Added Opacity control +// 0.02 - Added crude Rate, Strength, and Distortion controls +// 0.01 - Initial release + +uniform float Rate< + string label = "Rate"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 5.0; +uniform float Strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = -25.0; + float maximum = 25.0; + float step = 0.01; +> = 1.0; +uniform float Distortion< + string label = "Distortion"; + string widget_type = "slider"; + float minimum = 3.0; + float maximum = 20.0; + float step = 0.01; +> = 10.0; +uniform float Opacity< + string label = "Opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.00; + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float distort = clamp(Distortion, 3.0, 20.0); + + // Time varying pixel color + float jacked_time = Rate*elapsed_time; + float2 scale = float2(0.5, 0.5); + float str = clamp(Strength, -25.0, 25.0) * 0.01; + + uv += str * sin(scale*jacked_time + length( uv ) * distort); + float4 c = image.Sample( textureSampler, uv); + c.a *= saturate(Opacity*0.01); + return c; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From f35ea568930a5ffedece346e9316098c7693b8dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1158/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSHexagonShader.ps1 | 287 ++++++++++++++++++ 1 file changed, 287 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 new file mode 100644 index 000000000..d9e8e2fe3 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 @@ -0,0 +1,287 @@ +function Get-OBSHexagonShader { + +[Alias('Set-OBSHexagonShader','Add-OBSHexagonShader')] +param( +# Set the Hex_Color of OBSHexagonShader +[Alias('Hex_Color')] +[ComponentModel.DefaultBindingProperty('Hex_Color')] +[Single[]] +$HexColor, +# Set the Alpha_Percent of OBSHexagonShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Int32] +$AlphaPercent, +# Set the Quantity of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Quantity')] +[Single] +$Quantity, +# Set the Border_Width of OBSHexagonShader +[Alias('Border_Width')] +[ComponentModel.DefaultBindingProperty('Border_Width')] +[Int32] +$BorderWidth, +# Set the Blend of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Blend')] +[Management.Automation.SwitchParameter] +$Blend, +# Set the Equilateral of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Equilateral')] +[Management.Automation.SwitchParameter] +$Equilateral, +# Set the Zoom_Animate of OBSHexagonShader +[Alias('Zoom_Animate')] +[ComponentModel.DefaultBindingProperty('Zoom_Animate')] +[Management.Automation.SwitchParameter] +$ZoomAnimate, +# Set the Speed_Percent of OBSHexagonShader +[Alias('Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Speed_Percent')] +[Int32] +$SpeedPercent, +# Set the Glitch of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the Distort_X of OBSHexagonShader +[Alias('Distort_X')] +[ComponentModel.DefaultBindingProperty('Distort_X')] +[Single] +$DistortX, +# Set the Distort_Y of OBSHexagonShader +[Alias('Distort_Y')] +[ComponentModel.DefaultBindingProperty('Distort_Y')] +[Single] +$DistortY, +# Set the Offset_X of OBSHexagonShader +[Alias('Offset_X')] +[ComponentModel.DefaultBindingProperty('Offset_X')] +[Single] +$OffsetX, +# Set the Offset_Y of OBSHexagonShader +[Alias('Offset_Y')] +[ComponentModel.DefaultBindingProperty('Offset_Y')] +[Single] +$OffsetY, +# Set the notes of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSHexagonShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Hexagon shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform float4 Hex_Color; +uniform int Alpha_Percent< + string label = "Aplha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform float Quantity< + string label = "Quantity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 25; +uniform int Border_Width< + string label = "Border Width"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 115; + int step = 1; +> = 15; // <- -15 to 85, -15 off top +uniform bool Blend; +uniform bool Equilateral; +uniform bool Zoom_Animate; +uniform int Speed_Percent< + string label = "Speed Percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform bool Glitch; +uniform float Distort_X< + string label = "Distort X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float Distort_Y< + string label = "Distort Y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float Offset_X< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float Offset_Y< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform string notes< + string widget_type = "info"; +>= "Tiles:equilateral: around 12.33,nonequilateral: square rootable number. Distort of 1 is normal."; + +float mod(float x, float y) +{ + return x - y * floor(x/y); +} + +float2 mod2(float2 x, float2 y) +{ + return x - y * floor(x/y); +} + +// 0 on edges, 1 in non_edge +float hex(float2 p) { + float xyratio = 1; + if (Equilateral) + xyratio = uv_size.x /uv_size.y; + + // calc p + p.x = mul(p.x,xyratio); + p.y += mod(floor(p.x) , 2.0)*0.5; + p = abs((mod2(p , float2(1.0, 1.0)) - 0.5)); + return abs(max(p.x*1.5 + p.y, p.y*2.0) -1); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv * uv_scale + uv_offset); + float alpha = float(Alpha_Percent) * 0.01; + float quantity = sqrt(clamp(Quantity, 0.0, 100.0)); + float border_width = clamp(float(Border_Width - 15), -15, 100) * 0.01; + float speed = float(Speed_Percent) * 0.01; + float time = (1 + sin(elapsed_time * speed))*0.5; + if (Zoom_Animate) + quantity *= time; + + // create a (pos)ition reference, hex radius and smoothstep out the non_edge + float2 pos = float2(v_in.uv.x * max(0,Distort_X), (1 - v_in.uv.y) * max(0,Distort_Y)) * uv_scale + uv_offset + float2(Offset_X, Offset_Y); + if (Glitch) + quantity *= lerp(pos.x, pos.y, rand_f); + float2 p = (pos * quantity); // number of hexes to be created + float r = (1.0 -0.7)*0.5; // cell default radius + float non_edge = smoothstep(0.0, r + border_width, hex(p)); // approach border become edge + + // make the border colorable - non_edge is scaled + float4 c = float4(non_edge, non_edge,non_edge,1.0) ; + if (non_edge < 1) + { + c = Hex_Color; + c.a = alpha; + if (Blend) + c = lerp(rgba, c, 1 - non_edge); + return lerp(rgba,c,alpha); + } + return lerp(rgba, c * rgba, alpha); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c8d951ad5a8058bc311778eac6fba5913c39984c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1159/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSHslHsvSaturationShader.ps1 | 257 ++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 new file mode 100644 index 000000000..1c4292464 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 @@ -0,0 +1,257 @@ +function Get-OBSHslHsvSaturationShader { + +[Alias('Set-OBSHslHsvSaturationShader','Add-OBSHslHsvSaturationShader')] +param( +# Set the hslSaturationFactor of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hslSaturationFactor')] +[Single] +$HslSaturationFactor, +# Set the hsvSaturationFactor of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hsvSaturationFactor')] +[Single] +$HsvSaturationFactor, +# Set the adjustmentOrder of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('adjustmentOrder')] +[Single] +$AdjustmentOrder, +# Set the notes of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSHslHsvSaturationShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' + +// Adjusted Saturation Shader for obs-shaderfilter using HLSL conventions + +uniform float hslSaturationFactor< + string label = "HSL Saturation"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.01; +> = 1.0; + +uniform float hsvSaturationFactor< + string label = "HSV Saturation"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.01; +> = 1.0; + +uniform float adjustmentOrder< + string label = "Order"; + float minimum = 1; + float maximum = 3; + float step = 1; +> = 1; + +uniform string notes< + string widget_type = "info"; +> = "Order:\n1 = Blended average result of HSL/HSV\n2 = HSL first\n3 = HSV first"; + + +// HSV conversion + +float3 rgb2hsv(float3 c) { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp(float4(c.bg, K.wz), float4(c.gb, K.xy), step(c.b, c.g)); + float4 q = lerp(float4(p.xyw, c.r), float4(c.r, p.yzx), step(p.x, c.r)); + + float d = q.x - min(q.w, q.y); + float e = 1.0e-10; + return float3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); +} + +float3 hsv2rgb(float3 c) { + float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * lerp(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y); +} + +// HSL conversion + +float3 rgb2hsl(float3 c) { + float maxVal = max(c.r, max(c.g, c.b)); + float minVal = min(c.r, min(c.g, c.b)); + float delta = maxVal - minVal; + float h = 0.0; + float s = 0.0; + float l = (maxVal + minVal) / 2.0; + + if(delta != 0) { + if(l < 0.5) s = delta / (maxVal + minVal); + else s = delta / (2.0 - maxVal - minVal); + + if(c.r == maxVal) h = (c.g - c.b) / delta + (c.g < c.b ? 6.0 : 0.0); + else if(c.g == maxVal) h = (c.b - c.r) / delta + 2.0; + else h = (c.r - c.g) / delta + 4.0; + + h /= 6.0; + } + + return float3(h, s, l); +} + +float hue2rgb(float p, float q, float t) { + if(t < 0.0) t += 1.0; + if(t > 1.0) t -= 1.0; + if(t < 1.0/6.0) return p + (q - p) * 6.0 * t; + if(t < 1.0/2.0) return q; + if(t < 2.0/3.0) return p + (q - p) * (2.0/3.0 - t) * 6.0; + return p; +} + +float3 hsl2rgb(float3 c) { + float r, g, b; + + if(c.y == 0.0) { + r = g = b = c.z; + } else { + float q = c.z < 0.5 ? c.z * (1.0 + c.y) : c.z + c.y - c.z * c.y; + float p = 2.0 * c.z - q; + r = hue2rgb(p, q, c.x + 1.0/3.0); + g = hue2rgb(p, q, c.x); + b = hue2rgb(p, q, c.x - 1.0/3.0); + } + + return float3(r, g, b); +} + +float3 adjustColorWithOrder(float3 originalColor) { + if (adjustmentOrder == 1.0) { + // Parallel adjustment (both HSL and HSV operate on the original image and then blend) + float3 hslAdjusted = rgb2hsl(originalColor); + hslAdjusted.y *= hslSaturationFactor; + float3 hslAdjustedColor = hsl2rgb(hslAdjusted); + + float3 hsvAdjusted = rgb2hsv(originalColor); + hsvAdjusted.y *= hsvSaturationFactor; + float3 hsvAdjustedColor = hsv2rgb(hsvAdjusted); + + float3 finalColor = (hslAdjustedColor + hsvAdjustedColor) * 0.5; + return finalColor; + } + else if (adjustmentOrder == 2.0) { + // HSL first, then HSV + float3 hslAdjusted = rgb2hsl(originalColor); + hslAdjusted.y *= hslSaturationFactor; + float3 afterHSL = hsl2rgb(hslAdjusted); + float3 hsvAdjusted = rgb2hsv(afterHSL); + hsvAdjusted.y *= hsvSaturationFactor; + return hsv2rgb(hsvAdjusted); + } + else if (adjustmentOrder == 3.0) { + // HSV first, then HSL + float3 hsvAdjusted = rgb2hsv(originalColor); + hsvAdjusted.y *= hsvSaturationFactor; + float3 afterHSV = hsv2rgb(hsvAdjusted); + float3 hslAdjusted = rgb2hsl(afterHSV); + hslAdjusted.y *= hslSaturationFactor; + return hsl2rgb(hslAdjusted); + } + return originalColor; // Default to original color in case of unexpected values +} + +// Final composite + +float4 mainImage(VertData v_in) : TARGET +{ + float3 originalColor = image.Sample(textureSampler, v_in.uv).rgb; + float3 adjustedColor = adjustColorWithOrder(originalColor); + return float4(adjustedColor, 1.0); // preserving the original alpha +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From eb118d66a6efd5826b9e898d8dbdc1353916cc02 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1160/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSHueRotatonShader.ps1 | 201 ++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 b/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 new file mode 100644 index 000000000..6f702e998 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 @@ -0,0 +1,201 @@ +function Get-OBSHueRotatonShader { + +[Alias('Set-OBSHueRotatonShader','Add-OBSHueRotatonShader')] +param( +# Set the Speed of OBSHueRotatonShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Hue_Override of OBSHueRotatonShader +[Alias('Hue_Override')] +[ComponentModel.DefaultBindingProperty('Hue_Override')] +[Management.Automation.SwitchParameter] +$HueOverride, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSHueRotatonShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Hue Rotation shader, version 1.0 for OBS Shaderfilter +// Copyright ©️ 2023 by SkeletonBow +// License: GNU General Public License, version 2 +// +// Contact info: +// Twitter: +// Twitch: +// YouTube: +// Soundcloud: +// +// Description: +// Rotates hue of input at a user configurable speed. Negative speed values reverse rotation. A hue +// override option is provided to force a specific rotating hue instead of the original image''s hue. +// +// Changelog: +// 1.0 - Initial release + +/* + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 10.00; +uniform bool Hue_Override = false; + +float3 HUEtoRGB(in float H) +{ + float R = abs(H * 6 - 3) - 1; + float G = 2 - abs(H * 6 - 2); + float B = 2 - abs(H * 6 - 4); + return saturate(float3(R,G,B)); +} + +#define Epsilon 1e-10 + +float3 RGBtoHCV(in float3 RGB) +{ + // Based on work by Sam Hocevar and Emil Persson + float4 P = (RGB.g < RGB.b) ? float4(RGB.bg, -1.0, 2.0/3.0) : float4(RGB.gb, 0.0, -1.0/3.0); + float4 Q = (RGB.r < P.x) ? float4(P.xyw, RGB.r) : float4(RGB.r, P.yzx); + float C = Q.x - min(Q.w, Q.y); + float H = abs((Q.w - Q.y) / (6 * C + Epsilon) + Q.z); + return float3(H, C, Q.x); +} + +float3 HSVtoRGB(in float3 HSV) +{ + float3 RGB = HUEtoRGB(HSV.x); + return ((RGB - 1) * HSV.y + 1) * HSV.z; +} + +float3 RGBtoHSV(in float3 RGB) +{ + float3 HCV = RGBtoHCV(RGB); + float S = HCV.y / (HCV.z + Epsilon); + return float3(HCV.x, S, HCV.z); +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float4 col_in = image.Sample(textureSampler, uv); + float3 col_out; + float3 HSV = RGBtoHSV(col_in.rgb); + + if(Hue_Override) + HSV.x = elapsed_time * Speed * 0.01; + else + HSV.x += elapsed_time * Speed * 0.01; + + // Normalize Hue + HSV.x = frac(HSV.x); + + col_out = HSVtoRGB(HSV); + return float4(col_out, col_in.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 97c00d6d8f58163c9a7d84e0980b181df0c67a8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1161/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSIntensityScopeShader.ps1 | 158 ++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 b/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 new file mode 100644 index 000000000..f386bc524 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 @@ -0,0 +1,158 @@ +function Get-OBSIntensityScopeShader { + +[Alias('Set-OBSIntensityScopeShader','Add-OBSIntensityScopeShader')] +param( +# Set the gain of OBSIntensityScopeShader +[ComponentModel.DefaultBindingProperty('gain')] +[Single] +$Gain, +# Set the blend of OBSIntensityScopeShader +[ComponentModel.DefaultBindingProperty('blend')] +[Single] +$Blend, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSIntensityScopeShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Robin Green, Dec 2016 +// Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. +// https://www.shadertoy.com/view/XtcSRs adopted for OBS by Exeldro +uniform float gain< + string label = "Gain"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 1.00; + float step = 0.01; +> = 0.3; +uniform float blend< + string label = "Blend"; + string widget_type = "slider"; + float minimum = 0.00; + float maximum = 1.00; + float step = 0.01; +> = 0.6; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv.y = 1.0 - uv.y; + + // calculate the intensity bucket for this pixel based on column height (padded at the top) + const float max_value = 270.0; + const float buckets = 512.0; + float bucket_min = log( max_value * floor(uv.y * buckets) / buckets ); + float bucket_max = log( max_value * floor((uv.y * buckets) + 1.0) / buckets ); + + // count the count the r,g,b and luma in this column that match the bucket + float4 count = float4(0.0, 0.0, 0.0, 0.0); + for( int i=0; i < 512; ++i ) { + float j = float(i) / buckets; + float4 pixel = image.Sample(textureSampler, float2(uv.x, j )) * 256.0; + + // calculate the Rec.709 luma for this pixel + pixel.a = pixel.r * 0.2126 + pixel.g * 0.7152 + pixel.b * 0.0722; + + float4 logpixel = log(pixel); + if( logpixel.r >= bucket_min && logpixel.r < bucket_max) count.r += 1.0; + if( logpixel.g >= bucket_min && logpixel.g < bucket_max) count.g += 1.0; + if( logpixel.b >= bucket_min && logpixel.b < bucket_max) count.b += 1.0; + if( logpixel.a >= bucket_min && logpixel.a < bucket_max) count.a += 1.0; + } + + // sum luma into RGB, tweak log intensity for readability + count.rgb = log(count.rgb * (1.0-blend) + count.aaa * blend) * gain; + + // output + return count; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5690a5657d1a39f341c5607dbfbe29056599c1f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1162/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSInvertLumaShader.ps1 | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 b/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 new file mode 100644 index 000000000..089fd1d64 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 @@ -0,0 +1,232 @@ +function Get-OBSInvertLumaShader { + +[Alias('Set-OBSInvertLumaShader','Add-OBSInvertLumaShader')] +param( +# Set the Invert_Color of OBSInvertLumaShader +[Alias('Invert_Color')] +[ComponentModel.DefaultBindingProperty('Invert_Color')] +[Management.Automation.SwitchParameter] +$InvertColor, +# Set the Invert_Luma of OBSInvertLumaShader +[Alias('Invert_Luma')] +[ComponentModel.DefaultBindingProperty('Invert_Luma')] +[Management.Automation.SwitchParameter] +$InvertLuma, +# Set the Gamma_Correction of OBSInvertLumaShader +[Alias('Gamma_Correction')] +[ComponentModel.DefaultBindingProperty('Gamma_Correction')] +[Management.Automation.SwitchParameter] +$GammaCorrection, +# Set the Test_Ramp of OBSInvertLumaShader +[Alias('Test_Ramp')] +[ComponentModel.DefaultBindingProperty('Test_Ramp')] +[Management.Automation.SwitchParameter] +$TestRamp, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSInvertLumaShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Invert shader 1.0 - for OBS Shaderfilter +// Copyright 2021 by SkeletonBow +// https://twitter.com/skeletonbowtv +// https://twitch.tv/skeletonbowtv + +// Performs RGB color inversion or YUV luma inversion with optional sRGB gamma handling + +uniform bool Invert_Color = false; +uniform bool Invert_Luma = true; +uniform bool Gamma_Correction = true; +uniform bool Test_Ramp = false; + +float3 encodeSRGB(float3 linearRGB) +{ + float3 a = float3(12.92,12.92,12.92) * linearRGB; + float3 b = float3(1.055,1.055,1.055) * pow(linearRGB, float3(1.0 / 2.4,1.0 / 2.4,1.0 / 2.4)) - float3(0.055,0.055,0.055); + float3 c = step(float3(0.0031308,0.0031308,0.0031308), linearRGB); + return float3(lerp(a, b, c)); +} + +float3 decodeSRGB(float3 screenRGB) +{ + float3 a = screenRGB / float3(12.92,12.92,12.92); + float3 b = pow((screenRGB + float3(0.055,0.055,0.055)) / float3(1.055,1.055,1.055), float3(2.4,2.4,2.4)); + float3 c = step(float3(0.04045,0.04045,0.04045), screenRGB); + return float3(lerp(a, b, c)); +} + +float3 HUEtoRGB(in float H) +{ + float R = abs(H * 6 - 3) - 1; + float G = 2 - abs(H * 6 - 2); + float B = 2 - abs(H * 6 - 4); + return float3(clamp(float3(R,G,B), float3(0.0, 0.0, 0.0), float3(1.0, 1.0, 1.0))); +} + +float3 RGBtoYUV(float3 color) +{ + // YUV matriz (BT709 luma coefficients) +#ifdef OPENGL + float3x3 toYUV = float3x3( + float3(0.2126, -0.09991, 0.615), + float3(0.7152, -0.33609, -0.55861), + float3(0.0722, 0.436, -0.05639)); +#else + float3x3 toYUV = { + { 0.2126, -0.09991, 0.615 }, + { 0.7152, -0.33609, -0.55861 }, + { 0.0722, 0.436, -0.05639 }, + }; +#endif + return mul(color, toYUV); +} + +float3 YUVtoRGB(float3 color) +{ + // YUV matriz (BT709) +#ifdef OPENGL + float3x3 fromYUV = float3x3( + float3(1.000, 1.000, 1.000), + float3(0.0, -0.21482, 2.12798), + float3(1.28033, -0.38059, 0.0)); +#else + float3x3 fromYUV = { + { 1.000, 1.000, 1.000 }, + { 0.0, -0.21482, 2.12798 }, + { 1.28033, -0.38059, 0.0 }, + }; +#endif + return mul(color, fromYUV); +} + +float3 generate_ramps(float3 color, float2 uv) +{ + float3 ramp = float3(0.0, 0.0, 0.0); + if(uv.y < 0.2) + ramp.r = uv.x; // Red ramp + else if(uv.y < 0.4) + ramp.g = uv.x; // Green ramp + else if(uv.y < 0.6) + ramp.b = uv.x; // Blue ramp + else if(uv.y < 0.8) + ramp = float3(uv.x, uv.x, uv.x); // Grey ramp + else + ramp = HUEtoRGB(uv.x); // Hue rainbow + + return ramp; +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float4 obstex = image.Sample( textureSampler, uv ); + float3 color = obstex.rgb; + // Apply sRGB gamma transfer encode + if(Gamma_Correction) color = encodeSRGB( color ); + // Override display with test patterns to visually see what is happening + if( Test_Ramp ) color = generate_ramps( obstex.rgb, uv ); + // RGB color invert + if( Invert_Color ) { + color = float3(1.0, 1.0, 1.0) - color; + } + // YUV luma invert + if( Invert_Luma ) { + float3 yuv = RGBtoYUV( color ); + yuv.x = 1.0 - yuv.x; + color = YUVtoRGB(yuv); + } + // Apply sRGB gamma transfer decode + if(Gamma_Correction) color = decodeSRGB( color ); + return float4(color, obstex.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4db93b1107e3b44119b2818b03e018c72fb56c9a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1163/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSLuminanceAlphaShader.ps1 | 264 ++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 b/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 new file mode 100644 index 000000000..264278223 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 @@ -0,0 +1,264 @@ +function Get-OBSLuminanceAlphaShader { + +[Alias('Set-OBSLuminanceAlphaShader','Add-OBSLuminanceAlphaShader')] +param( +# Set the ViewProj of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSLuminanceAlphaShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSLuminanceAlphaShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSLuminanceAlphaShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSLuminanceAlphaShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSLuminanceAlphaShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSLuminanceAlphaShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the color_matrix of OBSLuminanceAlphaShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the color of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('color')] +[Single[]] +$Color, +# Set the mul_val of OBSLuminanceAlphaShader +[Alias('mul_val')] +[ComponentModel.DefaultBindingProperty('mul_val')] +[Single] +$MulVal, +# Set the add_val of OBSLuminanceAlphaShader +[Alias('add_val')] +[ComponentModel.DefaultBindingProperty('add_val')] +[Single] +$AddVal, +# Set the level of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('level')] +[Single] +$Level, +# Set the invertAlphaChannel of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('invertAlphaChannel')] +[Management.Automation.SwitchParameter] +$InvertAlphaChannel, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSLuminanceAlphaShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Luminance Alpha Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform float4x4 color_matrix; +uniform float4 color; +uniform float mul_val< + string label = "Mulitply"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; +uniform float add_val< + string label = "Add"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 0.0; +uniform float level< + string label = "Level"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> =1.0; +uniform bool invertAlphaChannel; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertDataIn { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct VertDataOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; + float2 uv2 : TEXCOORD1; +}; + +VertDataOut mainTransform(VertDataIn v_in) +{ + VertDataOut vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0 ), ViewProj); + vert_out.uv = v_in.uv * mul_val + add_val; + vert_out.uv2 = v_in.uv ; + return vert_out; +} + +/*float3 GetLuminance(float4 rgba) +{ + float red = rbga.r; + float green = rgba.g; + float blue = rgba.b; + return (.299 * red) + (.587 * green) + (.114 * blue); +}*/ + +float4 PSAlphaMaskRGBA(VertDataOut v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv) ; + if (rgba.a > 0.0) + { + + float intensity = rgba.r * color.r * 0.299 + rgba.g * color.g * 0.587 + rgba.b * color.b * 0.114; + if (invertAlphaChannel) + { + intensity = 1.0 - intensity; + } + rgba *= color; + rgba.a = clamp((intensity * level), 0.0, 1.0); + + } + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = PSAlphaMaskRGBA(v_in); + } +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From de40b840556b2b8497569be5c7cc36ece4524cf5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1164/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSLuminanceShader.ps1 | 171 ++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 b/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 new file mode 100644 index 000000000..70e3aedf6 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 @@ -0,0 +1,171 @@ +function Get-OBSLuminanceShader { + +[Alias('Set-OBSLuminanceShader','Add-OBSLuminanceShader')] +param( +# Set the color of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('color')] +[Single[]] +$Color, +# Set the level of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('level')] +[Single] +$Level, +# Set the invertImageColor of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('invertImageColor')] +[Management.Automation.SwitchParameter] +$InvertImageColor, +# Set the invertAlphaChannel of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('invertAlphaChannel')] +[Management.Automation.SwitchParameter] +$InvertAlphaChannel, +# Set the notes of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSLuminanceShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Exeldro February 22, 2022 +uniform float4 color; +uniform float level< + string label = "Level"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform bool invertImageColor; +uniform bool invertAlphaChannel; + +uniform string notes< + string widget_type = "info"; +> = "''color'' - the color to add to the original image. Multiplies the color against the original color giving it a tint. White represents no tint. ''invertImageColor'' - - inverts the color of the screen, great for testing and fine tuning. ''level'' - transparency amount modifier where 1.0 = base luminance (recommend 0.00 - 10.00). ''invertAlphaChannel'' - flip what is transparent from darks (default) to lights"; + +float4 InvertColor(float4 rgba_in) +{ + rgba_in.r = 1.0 - rgba_in.r; + rgba_in.g = 1.0 - rgba_in.g; + rgba_in.b = 1.0 - rgba_in.b; + rgba_in.a = 1.0 - rgba_in.a; + return rgba_in; +} + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 rgba = image.Sample(textureSampler, v_in.uv); + if (rgba.a > 0.0) + { + + if (invertImageColor) + { + rgba = InvertColor(rgba); + } + float intensity = rgba.r * color.r * 0.299 + rgba.g * color.g * 0.587 + rgba.b * color.b * 0.114; + + //intensity = min(max(intensity,minIntensity),maxIntensity); + + + if (invertAlphaChannel) + { + intensity = 1.0 - intensity; + } + rgba *= color; + rgba.a = clamp((intensity * level), 0.0, 1.0); + + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 66a843b7b1831cac327f3653b6bbec3986070890 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1165/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSLuminance2Shader.ps1 | 206 ++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 b/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 new file mode 100644 index 000000000..06da55ac9 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 @@ -0,0 +1,206 @@ +function Get-OBSLuminance2Shader { + +[Alias('Set-OBSLuminance2Shader','Add-OBSLuminance2Shader')] +param( +# Set the color of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('color')] +[Single[]] +$Color, +# Set the lumaMax of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMax')] +[Single] +$LumaMax, +# Set the lumaMin of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMaxSmooth of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMaxSmooth')] +[Single] +$LumaMaxSmooth, +# Set the lumaMinSmooth of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the invertImageColor of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('invertImageColor')] +[Management.Automation.SwitchParameter] +$InvertImageColor, +# Set the invertAlphaChannel of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('invertAlphaChannel')] +[Management.Automation.SwitchParameter] +$InvertAlphaChannel, +# Set the notes of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSLuminance2Shader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform float4 color; +uniform float lumaMax< + string label = "Luma Max"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.05; +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform float lumaMaxSmooth< + string label = "Luma Max Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.10; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform bool invertImageColor; +uniform bool invertAlphaChannel; +uniform string notes< + string widget_type = "info"; +> = "''luma max'' - anything above will be transparent. ''luma min'' - anything below will be transparent. ''luma(min or max)Smooth - make the transparency fade in or out by a distance. ''invert color'' - inverts the color of the screen. ''invert alpha channel'' - flips all settings on thier head, which is excellent for testing."; + +float4 InvertColor(float4 rgba_in) +{ + rgba_in.r = 1.0 - rgba_in.r; + rgba_in.g = 1.0 - rgba_in.g; + rgba_in.b = 1.0 - rgba_in.b; + rgba_in.a = 1.0 - rgba_in.a; + return rgba_in; +} + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 rgba = image.Sample(textureSampler, v_in.uv); + if (rgba.a > 0.0) + { + + if (invertImageColor) + { + rgba = InvertColor(rgba); + } + float luminance = rgba.r * color.r * 0.299 + rgba.g * color.g * 0.587 + rgba.b * color.b * 0.114; + + //intensity = min(max(intensity,minIntensity),maxIntensity); + float clo = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luminance); + float chi = 1. - smoothstep(lumaMax - lumaMaxSmooth, lumaMax, luminance); + + float amask = clo * chi; + + if (invertAlphaChannel) + { + amask = 1.0 - amask; + } + rgba *= color; + rgba.a = clamp(amask, 0.0, 1.0); + + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 7c2984d39ee696be7eaae5e33cc20c61314e6ec6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1166/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSMatrixShader.ps1 | 405 ++++++++++++++++++ 1 file changed, 405 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 b/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 new file mode 100644 index 000000000..f94e06545 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 @@ -0,0 +1,405 @@ +function Get-OBSMatrixShader { + +[Alias('Set-OBSMatrixShader','Add-OBSMatrixShader')] +param( +# Set the ViewProj of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSMatrixShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSMatrixShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSMatrixShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_size of OBSMatrixShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the uv_pixel_interval of OBSMatrixShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSMatrixShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSMatrixShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSMatrixShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSMatrixShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the mouse of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('mouse')] +[Single[]] +$Mouse, +# Set the Invert_Direction of OBSMatrixShader +[Alias('Invert_Direction')] +[ComponentModel.DefaultBindingProperty('Invert_Direction')] +[Management.Automation.SwitchParameter] +$InvertDirection, +# Set the lumaMin of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Ratio of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('Ratio')] +[Single] +$Ratio, +# Set the Alpha_Percentage of OBSMatrixShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Alpha_Layer of OBSMatrixShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSMatrixShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Matrix effect by Charles Fettinger for obs-shaderfilter plugin 7/2020 v.2 +// https://github.com/Oncorporation/obs-shaderfilter +// https://www.shadertoy.com/view/XljBW3 The cat is a glitch (Matrix) - coverted from and updated + +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp +#define iTime float + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_size; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; + + +uniform float2 mouse< + string label = "Virtual Mouse Coordinates"; + string widget_type = "slider"; + float2 minimum = {0, 0}; + float2 maximum = {100., 100.}; + float2 scale = {.01, .01}; + float2 step = {.01, .01}; +> = {0., 0.}; + + +int2 iMouse() { + return int2(mouse.x * uv_size.x, mouse.y * uv_size.y); +} + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +/* ps start + +*/ + +uniform bool Invert_Direction< + string label = "Invert Direction"; +> = true; + +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform float Ratio< + string label = "Ratio"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 4.0; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100; // +uniform bool Apply_To_Alpha_Layer = true; + +#define PI2 6.28318530718 +#define PI 3.1416 + + +float vorocloud(float2 p){ + float f = 0.0; + float flow = 1.0; + float time = elapsed_time; + if(Invert_Direction){ + flow *= -1; + } + /* + //periodically stop + if (loops % 16 >= 8.0) + { + time = local_time - elapsed_time; + } + */ + + float r = clamp(Ratio,-50,50); + float2 pp = cos(float2(p.x * 14.0, (16.0 * p.y + cos(floor(p.x * 30.0)) + flow * time * PI2)) ); + p = cos(p * 12.1 + pp * r + sin(time/PI)*(r/PI) + 0.5 * cos(pp.x * r + sin(time/PI)*(r/PI))); + + float2 pts[4]; + + pts[0] = float2(0.5, 0.6); + pts[1] = float2(-0.4, 0.4); + pts[2] = float2(0.2, -0.7); + pts[3] = float2(-0.3, -0.4); + + float d = 5.0; + + for(int i = 0; i < 4; i++){ + pts[i].x += 0.03 * cos(float(i)) + p.x; + pts[i].y += 0.03 * sin(float(i)) + p.y; + d = min(d, distance(pts[i], pp)); + } + + f = 2.0 * pow(1.0 - 0.3 * d, 13.0); + + f = min(f, 1.0); + + return f; +} + +vec4 scene(float2 UV){ + float alpha = clamp(Alpha_Percentage *.01 ,0,1.0); + + float x = UV.x; + float y = UV.y; + + float2 p = float2(x, y) - 0.5; + + vec4 col = vec4(0.0,0.0,0.0,0.0); + col.g += 0.02; + + float v = vorocloud(p); + v = 0.2 * floor(v * 5.0); + + col.r += 0.1 * v; + col.g += 0.6 * v; + col.b += 0.5 * pow(v, 5.0); + + + v = vorocloud(p * 2.0); + v = 0.2 * floor(v * 5.0); + + col.r += 0.1 * v; + col.g += 0.2 * v; + col.b += 0.01 * pow(v, 5.0); + + col.a = 1.0; + float luma = dot(col.rgb,float3(0.299,0.587,0.114)); + float luma_min = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma); + col.a = clamp(luma_min,0.0,1.0); + + float4 original_color = image.Sample(textureSampler, UV); + + // skip if (alpha is zero and only apply to alpha layer is true) + if (!(original_color.a <= 0.0 && Apply_To_Alpha_Layer == true)) + { + if (Apply_To_Alpha_Layer == false) + original_color.a = alpha; + + col.rgb = lerp(original_color.rgb, col.rgb, alpha); //apply alpha slider + col = lerp(original_color, col, col.a); //remove black background color + } + else + { + col.a = original_color.a; + } + + return col; +} + +void mainImage( out vec4 fragColor, in vec2 fragCoord ) +{ + vec2 uv = fragCoord.xy / uv_size; + fragColor = scene(uv); +} + +/*ps end*/ + +struct VertFragData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertFragData VSDefault(VertFragData vtx) { + vtx.pos = mul(float4(vtx.pos.xyz, 1.0), ViewProj); + return vtx; +} + +float4 PSDefault(VertFragData vtx) : TARGET { + float4 col = float4(1., 1., 1., 1.); + mainImage(col, vtx.uv * uv_size); + return col; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vtx); + pixel_shader = PSDefault(vtx); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From a763bdca80caecf4988df0214cc3cd13cc19c39d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1167/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSMultiplyShader.ps1 | 113 ++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 b/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 new file mode 100644 index 000000000..e31cd1ebc --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 @@ -0,0 +1,113 @@ +function Get-OBSMultiplyShader { + +[Alias('Set-OBSMultiplyShader','Add-OBSMultiplyShader')] +param( +# Set the other_image of OBSMultiplyShader +[Alias('other_image')] +[ComponentModel.DefaultBindingProperty('other_image')] +[String] +$OtherImage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSMultiplyShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d other_image; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 other = other_image.Sample(textureSampler, v_in.uv); + float4 base = image.Sample(textureSampler, v_in.uv); + return base * other; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 2bf4f0df98acbbdbb8403344a3f9f215e4ed21f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1168/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSNightSkyShader.ps1 | 477 ++++++++++++++++++ 1 file changed, 477 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 b/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 new file mode 100644 index 000000000..f320e2417 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 @@ -0,0 +1,477 @@ +function Get-OBSNightSkyShader { + +[Alias('Set-OBSNightSkyShader','Add-OBSNightSkyShader')] +param( +# Set the speed of OBSNightSkyShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the Include_Clouds of OBSNightSkyShader +[Alias('Include_Clouds')] +[ComponentModel.DefaultBindingProperty('Include_Clouds')] +[Management.Automation.SwitchParameter] +$IncludeClouds, +# Set the Include_Moon of OBSNightSkyShader +[Alias('Include_Moon')] +[ComponentModel.DefaultBindingProperty('Include_Moon')] +[Management.Automation.SwitchParameter] +$IncludeMoon, +# Set the center_width_percentage of OBSNightSkyShader +[Alias('center_width_percentage')] +[ComponentModel.DefaultBindingProperty('center_width_percentage')] +[Int32] +$CenterWidthPercentage, +# Set the center_height_percentage of OBSNightSkyShader +[Alias('center_height_percentage')] +[ComponentModel.DefaultBindingProperty('center_height_percentage')] +[Int32] +$CenterHeightPercentage, +# Set the Alpha_Percentage of OBSNightSkyShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Image of OBSNightSkyShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSNightSkyShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the number_stars of OBSNightSkyShader +[Alias('number_stars')] +[ComponentModel.DefaultBindingProperty('number_stars')] +[Int32] +$NumberStars, +# Set the SKY_COLOR of OBSNightSkyShader +[Alias('SKY_COLOR')] +[ComponentModel.DefaultBindingProperty('SKY_COLOR')] +[Single[]] +$SKYCOLOR, +# Set the STAR_COLOR of OBSNightSkyShader +[Alias('STAR_COLOR')] +[ComponentModel.DefaultBindingProperty('STAR_COLOR')] +[Single[]] +$STARCOLOR, +# Set the LIGHT_SKY of OBSNightSkyShader +[Alias('LIGHT_SKY')] +[ComponentModel.DefaultBindingProperty('LIGHT_SKY')] +[Single[]] +$LIGHTSKY, +# Set the SKY_LIGHTNESS of OBSNightSkyShader +[Alias('SKY_LIGHTNESS')] +[ComponentModel.DefaultBindingProperty('SKY_LIGHTNESS')] +[Single] +$SKYLIGHTNESS, +# Set the MOON_COLOR of OBSNightSkyShader +[Alias('MOON_COLOR')] +[ComponentModel.DefaultBindingProperty('MOON_COLOR')] +[Single[]] +$MOONCOLOR, +# Set the moon_size of OBSNightSkyShader +[Alias('moon_size')] +[ComponentModel.DefaultBindingProperty('moon_size')] +[Single] +$MoonSize, +# Set the moon_bump_size of OBSNightSkyShader +[Alias('moon_bump_size')] +[ComponentModel.DefaultBindingProperty('moon_bump_size')] +[Single] +$MoonBumpSize, +# Set the Moon_Position_x of OBSNightSkyShader +[Alias('Moon_Position_x')] +[ComponentModel.DefaultBindingProperty('Moon_Position_x')] +[Single] +$MoonPositionX, +# Set the Moon_Position_y of OBSNightSkyShader +[Alias('Moon_Position_y')] +[ComponentModel.DefaultBindingProperty('Moon_Position_y')] +[Single] +$MoonPositionY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSNightSkyShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Night Sky shader by Charles Fettinger for obs-shaderfilter plugin 6/2020 v.65 +// https://github.com/Oncorporation/obs-shaderfilter +//https://www.shadertoy.com/view/3tfXRM Simple Night Sky - converted from and updated +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 20.0; +uniform bool Include_Clouds = true; +uniform bool Include_Moon = true; +uniform int center_width_percentage< + string label = "Center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height_percentage< + string label = "Center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 95.0; // +uniform bool Apply_To_Image = false; +uniform bool Replace_Image_Color = false; +uniform int number_stars< + string label = "Number stars"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 20; // + +uniform float4 SKY_COLOR = { 0.027, 0.151, 0.354, 1.0 }; +uniform float4 STAR_COLOR = { 0.92, 0.92, 0.14, 1.0 }; +uniform float4 LIGHT_SKY = { 0.45, 0.61, 0.98, 1.0 }; +uniform float SKY_LIGHTNESS< + string label = "SKY LIGHTNESS"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = .3; + + // Moon +uniform float4 MOON_COLOR = { .4, .25, 0.25, 1.0 }; +uniform float moon_size< + string label = "Moon size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.18; +uniform float moon_bump_size< + string label = "Moon bump size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.14; +uniform float Moon_Position_x< + string label = "Moon Position x"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = -0.6; +uniform float Moon_Position_y< + string label = "Moon Position y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = -0.3; + +#define PI 3.1416 + +//Noise functions from https://www.youtube.com/watch?v=zXsWftRdsvU +float noise11(float p) { + return frac(sin(p*633.1847) * 9827.95); +} + +float noise21(float2 p) { + return frac(sin(p.x*827.221 + p.y*3228.8275) * 878.121); +} + +float2 noise22(float2 p) { + return frac(float2(sin(p.x*9378.35), sin(p.y*75.589)) * 556.89); +} + +//From https://codepen.io/Tobsta/post/procedural-generation-part-1-1d-perlin-noise +float cosineInterpolation(float a, float b, float x) { + float ft = x * PI; + float f = (1. - cos(ft)) * .5; + return a * (1. - f) + b * f; +} + +float smoothNoise11(float p, float dist) { + float prev = noise11(p-dist); + float next = noise11(p+dist); + + return cosineInterpolation(prev, next, .5); +} + +float smoothNoise21(float2 uv, float cells) { + float2 lv = frac(uv*cells); + float2 id = floor(uv*cells); + + //smoothstep function: maybe change it later! + lv = lv*lv*(3.-2.*lv); + + float bl = noise21(id); + float br = noise21(id+float2(1.,0.)); + float b = lerp(bl, br, lv.x); + + float tl = noise21(id+float2(0.,1.)); + float tr = noise21(id+float2(1.,1.)); + float t = lerp(tl, tr, lv.x); + + return lerp(b, t, lv.y); +} + +float2 smoothNoise22(float2 uv, float cells) { + float2 lv = frac(uv*cells); + float2 id = floor(uv*cells); + + lv = lv*lv*(3.-2.*lv); + + float2 bl = noise22(id); + float2 br = noise22(id+float2(1.,0.)); + float2 b = lerp(bl, br, lv.x); + + float2 tl = noise22(id+float2(0.,1.)); + float2 tr = noise22(id+float2(1.,1.)); + float2 t = lerp(tl, tr, lv.x); + + return lerp(b, t, lv.y); +} + +float valueNoise11(float p) { + float c = smoothNoise11(p, 0.5); + c += smoothNoise11(p, 0.25)*.5; + c += smoothNoise11(p, 0.125)*.25; + c += smoothNoise11(p, 0.0625)*.125; + + return c /= .875; +} + +float valueNoise21(float2 uv) { + float c = smoothNoise21(uv, 4.); + c += smoothNoise21(uv, 8.)*.5; + c += smoothNoise21(uv, 16.)*.25; + c += smoothNoise21(uv, 32.)*.125; + c += smoothNoise21(uv, 64.)*.0625; + + return c /= .9375; +} + +float2 valueNoise22(float2 uv) { + float2 c = smoothNoise22(uv, 4.); + c += smoothNoise22(uv, 8.)*.5; + c += smoothNoise22(uv, 16.)*.25; + c += smoothNoise22(uv, 32.)*.125; + c += smoothNoise22(uv, 64.)*.0625; + + return c /= .9375; +} + +float3 points(float2 p, float2 uv, float3 color, float size, float blur) { + float dist = distance(p, uv); + return color*smoothstep(size, size*(0.999-blur), dist); +} + +float mapInterval(float x, float a, float b, float c, float d) { + return (x-a)/(b-a) * (d-c) + c; +} + +float blink(float time, float timeInterval) { + float halfInterval = timeInterval / 2.0; + //Get relative position in the bucket + float p = fmod(time, timeInterval); + + + if (p <= timeInterval / 2.) { + return smoothstep(0., 1., p/halfInterval); + } else { + return smoothstep(1., 0., (p-halfInterval)/halfInterval); + } +} + +float3 sampleBumps(float2 p, float2 uv, float radius, float spin) { + float dist = distance(p, uv); + float3 BumpSamples = float3(0.,0.,0.); + + if (dist < radius) { + float bumps = (1.-valueNoise21(uv*spin))*.1; + BumpSamples = float3(bumps, bumps, bumps); + } + return BumpSamples; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba;// = image.Sample(textureSampler, v_in.uv); + float alpha = clamp(Alpha_Percentage *.01 ,0,1.0); + float2 center_pixel_coordinates = float2((center_width_percentage * 0.01), (center_height_percentage * 0.01)); + float2 st = v_in.uv* uv_scale; + float2 toCenter = center_pixel_coordinates - st; + + // Normalized pixel coordinates (from 0 to 1) + float2 uv = v_in.uv; + float2 ouv = uv; + uv -= .5; + uv.x *= uv_size.x/uv_size.y; + + float2 seed = toCenter / uv_size.xy; + + float time = elapsed_time + seed.x*speed; + + //float3 col = float3(0.0); + //float m = valueNoise21(uv); + float3 col = lerp(SKY_COLOR.rgb, LIGHT_SKY.rgb, ouv.y-SKY_LIGHTNESS); + + col *= SKY_LIGHTNESS - (1.-ouv.y); + + //Add clouds + if (Include_Clouds) + { + float2 timeUv = uv; + timeUv.x += time*.1; + timeUv.y += valueNoise11(timeUv.x+.352)*.01; + float cloud = valueNoise21(timeUv); + col += cloud*.1; + } + + //Add stars in the top part of the scene + float timeInterval = speed *.5; //5.0 + float timeBucket = floor(time / timeInterval); + + float2 moonPosition = float2(-1000, -1000); + if (Include_Moon) + { + moonPosition = float2(Moon_Position_x, Moon_Position_y); + col += points(moonPosition, uv, MOON_COLOR.rgb,moon_size, 0.3); + // Moon bumps + col += sampleBumps(moonPosition, uv, moon_bump_size, 9. + fmod(time*.1,9)); + } + + for (float i = 0.; i < clamp(number_stars,0,100); i++) { + float2 starPosition = float2(i/10., i/10.); + + starPosition.x = mapInterval(valueNoise11(timeBucket + i*827.913)-.4, 0., 1., 0.825, -0.825); + starPosition.y = mapInterval(valueNoise11(starPosition.x)-.3, 0., 1., 0.445, -0.445); + + float starIntensity = blink(time+ (rand_f * i), timeInterval ); + //Hide stars that are behind the moon + if (distance(starPosition, moonPosition) > moon_size) { + col += points(starPosition, uv, STAR_COLOR.rgb, 0.001, 0.0)*clamp(starIntensity-.1, 0.0, 1.0)*10.0; + col += points(starPosition, uv, STAR_COLOR.rgb, 0.009, 3.5)*starIntensity*3.0; + } + } + //col = float3(blink(time, timeInterval)); + rgba = float4(col,alpha); + + // Output to screen + if (Apply_To_Image) + { + float4 color = image.Sample(textureSampler, v_in.uv); + float4 original_color = color; + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, rgba * color,alpha); + + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 0f1831c00a66f8e6a3390bc38174f5ec8ad83ad3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1169/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSOpacityShader.ps1 | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 b/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 new file mode 100644 index 000000000..b84df927a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 @@ -0,0 +1,121 @@ +function Get-OBSOpacityShader { + +[Alias('Set-OBSOpacityShader','Add-OBSOpacityShader')] +param( +# Set the Opacity of OBSOpacityShader +[ComponentModel.DefaultBindingProperty('Opacity')] +[Single] +$Opacity, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSOpacityShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Opacity shader - for OBS Shaderfilter +// Copyright 2021 by SkeltonBowTV +// https://twitter.com/skeletonbowtv +// https://twitch.tv/skeletonbowtv + +uniform float Opacity< + string label = "Opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 0.01; +> = 100.00; // 0.00 - 100.00 percent + +float4 mainImage( VertData v_in ) : TARGET +{ + float4 color = image.Sample( textureSampler, v_in.uv ); + return float4( color.rgb, color.a * Opacity * 0.01 ); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 00e4590a35d7256475fe00fd996f30be0f60f3d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1170/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSPagePeelTransitionShader.ps1 | 196 ++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 b/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 new file mode 100644 index 000000000..667b9e078 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 @@ -0,0 +1,196 @@ +function Get-OBSPagePeelTransitionShader { + +[Alias('Set-OBSPagePeelTransitionShader','Add-OBSPagePeelTransitionShader')] +param( +# Set the image_a of OBSPagePeelTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBSPagePeelTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBSPagePeelTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSPagePeelTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the page_color of OBSPagePeelTransitionShader +[Alias('page_color')] +[ComponentModel.DefaultBindingProperty('page_color')] +[Single[]] +$PageColor, +# Set the page_transparency of OBSPagePeelTransitionShader +[Alias('page_transparency')] +[ComponentModel.DefaultBindingProperty('page_transparency')] +[Single] +$PageTransparency, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPagePeelTransitionShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time< + string label = "Transittion Time"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform bool convert_linear = true; +uniform float4 page_color = {1.0, 1.0, 1.0, 1.0}; +uniform float page_transparency< + string label = "Page Transparency"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + // Normalized pixel coordinates (from 0 to 1) + float2 aspect = float2( uv_size.x / uv_size.y, 1.0 ); + float2 uv = v_in.uv; + + float t = transition_time * 12.0 + 11.0; + // Define the fold. + float2 origin = float2( 0.6 + 0.6 * sin( t * 0.2 ), 0.5 + 0.5 * cos( t * 0.13 ) ) * aspect; + float2 normal = normalize( float2( 1.0, 2.0 * sin( t * 0.3 ) ) * aspect ); + + // Sample texture. + float3 col = float3(1.0,0.0,0.0); + + // Check on which side the pixel lies. + float2 pt = uv * aspect - origin; + float side = dot( pt, normal ); + if( side > 0.0 ) { + // Next page + col = image_b.Sample( textureSampler, uv ).rgb; + + float shadow = smoothstep( 0.0, 0.05, side ); + col = lerp( col * 0.6, col, shadow ); + } + else { + + + // Find the mirror pixel. + pt = ( uv * aspect - 2.0 * side * normal ) / aspect; + + // Check if we''re still inside the image bounds. + if( pt.x >= 0.0 && pt.x < 1.0 && pt.y >= 0.0 && pt.y < 1.0 ) { + col = image_a.Sample( textureSampler, pt ).rgb; // Back color. + col = lerp(page_color.rgb, col, page_transparency); + + float shadow = smoothstep( 0.0, 0.2, -side ); + col = lerp( col * 0.2, col, shadow ); + }else{ + col = image_a.Sample( textureSampler, uv ).rgb; + } + } + + // Output to screen + if(convert_linear) + col = srgb_nonlinear_to_linear(col); + return float4(col,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 3c2e5f6e7b55af782bce1584e760544993878fad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1171/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSPagePeelShader.ps1 | 183 ++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 b/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 new file mode 100644 index 000000000..525228931 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 @@ -0,0 +1,183 @@ +function Get-OBSPagePeelShader { + +[Alias('Set-OBSPagePeelShader','Add-OBSPagePeelShader')] +param( +# Set the Speed of OBSPagePeelShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Position of OBSPagePeelShader +[ComponentModel.DefaultBindingProperty('Position')] +[Single] +$Position, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPagePeelShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple Page Peel, Version 0.01, for OBS Shaderfilter +// Copyright ©️ 2023 by SkeletonBow +// License: Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License +// Contact info: +// Twitter: +// Twitch: +// YouTube: +// Soundcloud: +// +// Based on Shadertoy shader by droozle +// +// Description: +// +// +// Changelog: +// 0.01 - Initial release + +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 50.0; + float step = 0.001; +> = 1.00; +uniform float Position< + string label = "Position"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 0.0; + +float4 mainImage( VertData v_in ) : TARGET +{ + // Normalized pixel coordinates (from 0 to 1) + float2 aspect = float2( uv_size.x / uv_size.y, 1.0 ); + float2 uv = v_in.uv; + + float t = Position + elapsed_time * Speed; + // Define the fold. + float2 origin = float2( 0.6 + 0.4 * sin( t * 0.2 ), 0.5 + 0.5 * cos( t * 0.13 ) ) * aspect; + float2 normal = normalize( float2( 1.0, 2.0 * sin( t * 0.3 ) ) * aspect ); + + // Sample texture. + float3 col = image.Sample( textureSampler, uv ).rgb; // Front color. + + // Check on which side the pixel lies. + float2 pt = uv * aspect - origin; + float side = dot( pt, normal ); + if( side > 0.0 ) { + col *= 0.25; // Background color (peeled off). + + float shadow = smoothstep( 0.0, 0.05, side ); + col = lerp( col * 0.6, col, shadow ); + } + else { + // Find the mirror pixel. + pt = ( uv * aspect - 2.0 * side * normal ) / aspect; + + // Check if we''re still inside the image bounds. + if( pt.x >= 0.0 && pt.x < 1.0 && pt.y >= 0.0 && pt.y < 1.0 ) { + float4 back = image.Sample( textureSampler, pt ); // Back color. + back.rgb = back.rgb * 0.25 + 0.75; + + float shadow = smoothstep( 0.0, 0.2, -side ); + back.rgb = lerp( back.rgb * 0.2, back.rgb, shadow ); + + // Support for transparency. + col = lerp( col, back.rgb, back.a ); + } + } + + // Output to screen + return float4(col,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 8d2e3871f28bbc2807822671c2bebb4b881aeab9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1172/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSPerlinNoiseShader.ps1 | 395 ++++++++++++++++++ 1 file changed, 395 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 b/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 new file mode 100644 index 000000000..238873a2d --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 @@ -0,0 +1,395 @@ +function Get-OBSPerlinNoiseShader { + +[Alias('Set-OBSPerlinNoiseShader','Add-OBSPerlinNoiseShader')] +param( +# Set the speed of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the animated of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('animated')] +[Management.Automation.SwitchParameter] +$Animated, +# Set the apply_to_channel of OBSPerlinNoiseShader +[Alias('apply_to_channel')] +[ComponentModel.DefaultBindingProperty('apply_to_channel')] +[Management.Automation.SwitchParameter] +$ApplyToChannel, +# Set the inverted of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('inverted')] +[Management.Automation.SwitchParameter] +$Inverted, +# Set the multiply of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('multiply')] +[Management.Automation.SwitchParameter] +$Multiply, +# Set the speed_horizonal of OBSPerlinNoiseShader +[Alias('speed_horizonal')] +[ComponentModel.DefaultBindingProperty('speed_horizonal')] +[Single] +$SpeedHorizonal, +# Set the speed_vertical of OBSPerlinNoiseShader +[Alias('speed_vertical')] +[ComponentModel.DefaultBindingProperty('speed_vertical')] +[Single] +$SpeedVertical, +# Set the iterations of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('iterations')] +[Int32] +$Iterations, +# Set the white_noise of OBSPerlinNoiseShader +[Alias('white_noise')] +[ComponentModel.DefaultBindingProperty('white_noise')] +[Single] +$WhiteNoise, +# Set the black_noise of OBSPerlinNoiseShader +[Alias('black_noise')] +[ComponentModel.DefaultBindingProperty('black_noise')] +[Single] +$BlackNoise, +# Set the notes of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPerlinNoiseShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// +// Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader +// Modified and improved my Charles Fettinger (https://github.com/Oncorporation) 1/2019 +// +// Original work (webgl-noise) Copyright (C) 2011 Stefan Gustavson +// Translation and modification was made by Keijiro Takahashi. +// Conversion for OBS by Charles Fettinger. +// +// This shader is based on the webgl-noise GLSL shader. For further details +// of the original shader, please see the following description from the +// original source code. +// + // +// GLSL textureless classic 2D noise "cnoise", (white_noise) +// with an RSL-style periodic variant "pnoise" (black_noise). +// Author: Stefan Gustavson (stefan.gustavson@liu.se) +// Version: 2011-08-22 +// +// Many thanks to Ian McEwan of Ashima Arts for the +// ideas for permutation and gradient selection. +// +// Copyright (c) 2011 Stefan Gustavson. All rights reserved. +// Distributed under the MIT license. See LICENSE file. +// https://github.com/ashima/webgl-noise +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 + float4 mod(float4 x, float4 y) +{ + return x - y * floor(x / y); +} + float4 mod289(float4 x) +{ + return x - floor(x / 289.0) * 289.0; +} + float4 permute(float4 x) +{ + return mod289(((x*34.0)+1.0)*x); +} + float4 taylorInvSqrt(float4 r) +{ + return 1.79284291400159 - r * 0.85373472095314; +} + float2 fade(float2 t) { + return t*t*t*(t*(t*6.0-15.0)+10.0); +} + // Classic Perlin noise +float cnoise(float2 P) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac (P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0 ; + float4 gy = abs(gx) - 0.5 ; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x,gy.x); + float2 g10 = float2(gx.y,gy.y); + float2 g01 = float2(gx.z,gy.z); + float2 g11 = float2(gx.w,gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} + // Classic Perlin noise, periodic variant +float pnoise(float2 P, float2 rep) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac (P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod(Pi, rep.xyxy); // To create noise with explicit period + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0 ; + float4 gy = abs(gx) - 0.5 ; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x,gy.x); + float2 g10 = float2(gx.y,gy.y); + float2 g01 = float2(gx.z,gy.z); + float2 g11 = float2(gx.w,gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} + //The good bits~ adapting the noise generator for the plugin and giving some control over the shader + //todo: pseudorandom number generator w/ seed +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +uniform bool animated; +uniform bool apply_to_channel; +uniform bool inverted; +uniform bool multiply; +uniform float speed_horizonal< + string label = "Speed horizontal"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +uniform float speed_vertical< + string label = "Speed vertical"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0; +uniform int iterations< + string label = "Iterations"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 4; +//how much c_noise do we want? white +uniform float white_noise< + string label = "White noise"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +//how much p_noise do we want? black +uniform float black_noise< + string label = "Black noise"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +uniform string notes< + string widget_type = "info"; +> = "white noise and black noise and iterations.. enjoy!"; + + float2 noisePosition(float t){ + return float2(sin(2.2 * t) - cos(1.4 * t), cos(1.3 * t) + sin(-1.9 *t)); +} + float4 mainImage(VertData v_in) : TARGET +{ + float4 color = image.Sample(textureSampler, v_in.uv); + float t = elapsed_time * speed; + float2 dir = float2(speed_horizonal,speed_vertical); + + if(!animated){ + float o = 0.5; + float scale = 1.0; + float w = 0.5; + for(int i = 0; i < iterations; i++){ + float2 coord = v_in.uv * scale; + float2 period = float2(scale * 2.0, scale * 2.0); + + if(white_noise == 0.0 && black_noise == 0.0){ + o += pnoise(coord, period) * w; + } else { + if(white_noise != 0.0){ + o += cnoise(coord) * w * white_noise; + } + if(black_noise != 0.0){ + o += pnoise(coord, period) * w * black_noise; + } + } + + //o += pnoise(coord, period) * w; + + scale *= 2.0; + w *= 0.5; + } + if(inverted){ + o = 1 - o; + } + if(apply_to_channel){ + if(multiply){ + return float4(color.r,color.g,color.b,color.a*o); + } else { + return float4(color.r,color.g,color.b,o); + } + } else { + return float4(o,o,o,1.0); + } + } else { + float o = 0.5; + float scale = 1.0; + float w = 0.5; + for(int i = 0; i < iterations; i++){ + float2 coord = (v_in.uv + t*dir) * scale; + float2 period = float2(scale * 2.0, scale * 2.0); + + if(white_noise == 0.0 && black_noise == 0.0){ + o += pnoise(coord, period) * w; + } else { + if(white_noise != 0.0){ + o += cnoise(coord) * w * white_noise; + } + if(black_noise != 0.0){ + o += pnoise(coord, period) * w * black_noise; + } + } + + scale *= 2.0; + w *= 0.5; + } + if(inverted){ + o = 1 - o; + } + if(apply_to_channel){ + if(multiply){ + return float4(color.r,color.g,color.b,color.a*o); + } else { + return float4(color.r,color.g,color.b,o); + } + } else { + return float4(o,o,o,1.0); + } + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 64f49c0ba78e4a841727afe4a1ab7b3c92012b3e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1173/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSPieChartShader.ps1 | 368 ++++++++++++++++++ 1 file changed, 368 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 b/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 new file mode 100644 index 000000000..31d0f7dd0 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 @@ -0,0 +1,368 @@ +function Get-OBSPieChartShader { + +[Alias('Set-OBSPieChartShader','Add-OBSPieChartShader')] +param( +# Set the inner_radius of OBSPieChartShader +[Alias('inner_radius')] +[ComponentModel.DefaultBindingProperty('inner_radius')] +[Single] +$InnerRadius, +# Set the outer_radius of OBSPieChartShader +[Alias('outer_radius')] +[ComponentModel.DefaultBindingProperty('outer_radius')] +[Single] +$OuterRadius, +# Set the start_angle of OBSPieChartShader +[Alias('start_angle')] +[ComponentModel.DefaultBindingProperty('start_angle')] +[Single] +$StartAngle, +# Set the total of OBSPieChartShader +[ComponentModel.DefaultBindingProperty('total')] +[Int32] +$Total, +# Set the part_1 of OBSPieChartShader +[Alias('part_1')] +[ComponentModel.DefaultBindingProperty('part_1')] +[Int32] +$Part1, +# Set the color_1 of OBSPieChartShader +[Alias('color_1')] +[ComponentModel.DefaultBindingProperty('color_1')] +[Single[]] +$Color1, +# Set the part_2 of OBSPieChartShader +[Alias('part_2')] +[ComponentModel.DefaultBindingProperty('part_2')] +[Int32] +$Part2, +# Set the color_2 of OBSPieChartShader +[Alias('color_2')] +[ComponentModel.DefaultBindingProperty('color_2')] +[Single[]] +$Color2, +# Set the part_3 of OBSPieChartShader +[Alias('part_3')] +[ComponentModel.DefaultBindingProperty('part_3')] +[Int32] +$Part3, +# Set the color_3 of OBSPieChartShader +[Alias('color_3')] +[ComponentModel.DefaultBindingProperty('color_3')] +[Single[]] +$Color3, +# Set the part_4 of OBSPieChartShader +[Alias('part_4')] +[ComponentModel.DefaultBindingProperty('part_4')] +[Int32] +$Part4, +# Set the color_4 of OBSPieChartShader +[Alias('color_4')] +[ComponentModel.DefaultBindingProperty('color_4')] +[Single[]] +$Color4, +# Set the part_5 of OBSPieChartShader +[Alias('part_5')] +[ComponentModel.DefaultBindingProperty('part_5')] +[Int32] +$Part5, +# Set the color_5 of OBSPieChartShader +[Alias('color_5')] +[ComponentModel.DefaultBindingProperty('color_5')] +[Single[]] +$Color5, +# Set the part_6 of OBSPieChartShader +[Alias('part_6')] +[ComponentModel.DefaultBindingProperty('part_6')] +[Int32] +$Part6, +# Set the color_6 of OBSPieChartShader +[Alias('color_6')] +[ComponentModel.DefaultBindingProperty('color_6')] +[Single[]] +$Color6, +# Set the part_7 of OBSPieChartShader +[Alias('part_7')] +[ComponentModel.DefaultBindingProperty('part_7')] +[Int32] +$Part7, +# Set the color_7 of OBSPieChartShader +[Alias('color_7')] +[ComponentModel.DefaultBindingProperty('color_7')] +[Single[]] +$Color7, +# Set the part_8 of OBSPieChartShader +[Alias('part_8')] +[ComponentModel.DefaultBindingProperty('part_8')] +[Int32] +$Part8, +# Set the color_8 of OBSPieChartShader +[Alias('color_8')] +[ComponentModel.DefaultBindingProperty('color_8')] +[Single[]] +$Color8, +# Set the part_9 of OBSPieChartShader +[Alias('part_9')] +[ComponentModel.DefaultBindingProperty('part_9')] +[Int32] +$Part9, +# Set the color_9 of OBSPieChartShader +[Alias('color_9')] +[ComponentModel.DefaultBindingProperty('color_9')] +[Single[]] +$Color9, +# Set the part_10 of OBSPieChartShader +[Alias('part_10')] +[ComponentModel.DefaultBindingProperty('part_10')] +[Int32] +$Part10, +# Set the color_10 of OBSPieChartShader +[Alias('color_10')] +[ComponentModel.DefaultBindingProperty('color_10')] +[Single[]] +$Color10, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPieChartShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float inner_radius< + string label = "inner radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 32.0; +uniform float outer_radius< + string label = "outer radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 50.0; +uniform float start_angle< + string label = "Start angle"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 360.0; + float step = 0.1; +> = 90.0; + +uniform int total< + string label = "Total"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 100; +uniform int part_1< + string label = "Part 1"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 50; +uniform float4 color_1 = {0.0,0.26,0.62,1.0}; +uniform int part_2< + string label = "Part 2"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 25; +uniform float4 color_2 = {0.24,0.40,0.68,1.0}; +uniform int part_3< + string label = "Part 3"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 10; +uniform float4 color_3 = {0.38,0.56,0.75,1.0}; +uniform int part_4< + string label = "Part 4"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 5; +uniform float4 color_4 = {0.52,0.72,0.81,1.0}; +uniform int part_5< + string label = "Part 5"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 3; +uniform float4 color_5 = {0.69,0.87,0.86,1.0}; +uniform int part_6< + string label = "Part 6"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 2; +uniform float4 color_6 = {1.0,0.79,0.73,1.0}; +uniform int part_7< + string label = "Part 7"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 1; +uniform float4 color_7 = {0.99,0.57,0.57,1.0}; +uniform int part_8< + string label = "Part 8"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 1; +uniform float4 color_8 = {0.91,0.36,0.44,1.0}; +uniform int part_9< + string label = "Part 9"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 1; +uniform float4 color_9 = {0.77,0.16,0.32,1.0}; +uniform int part_10< + string label = "Part 10"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 0; +uniform float4 color_10 = {0.58,0.0,0.23,1.0}; + +float4 mainImage(VertData v_in) : TARGET +{ + const float pi = 3.14159265358979323846; +#ifdef OPENGL + float[10] parts = float[10](part_1, part_2, part_3, part_4, part_5, part_6, part_7, part_8, part_9, part_10); + float4[10] colors = float4[10](color_1, color_2, color_3, color_4, color_5, color_6, color_7, color_8, color_9, color_10); +#else + float parts[] = {part_1, part_2, part_3, part_4, part_5, part_6, part_7, part_8, part_9, part_10}; + float4 colors[] = {color_1, color_2, color_3, color_4, color_5, color_6, color_7, color_8, color_9, color_10}; +#endif + float2 center = float2(0.5, 0.5); + float2 factor; + if(uv_size.x < uv_size.y){ + factor = float2(1.0, uv_size.y/uv_size.x); + }else{ + factor = float2(uv_size.x/uv_size.y, 1.0); + } + center = center * factor; + float d = distance(center, v_in.uv * factor); + if(d > outer_radius/100.0 || d < inner_radius/100.0){ + return image.Sample(textureSampler, v_in.uv); + } + float2 toCenter = center - v_in.uv*factor; + float angle = atan2(toCenter.y ,toCenter.x); + angle = angle - (start_angle / 180.0 * pi); + if(angle < 0.0) + angle = pi + pi + angle; + if(angle < 0.0) + angle = pi + pi + angle; + angle = angle / (pi + pi); + float t = 0.0; + for(int i = 0; i < 10; i+=1) { + float part = parts[i]/total; + if(angle > t && angle <= t+part){ + return colors[i]; + } + t = t + part; + } + return image.Sample(textureSampler, v_in.uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5d3cbe4a130168f7a497c09bb4a9877378aabe50 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:42 +0000 Subject: [PATCH 1174/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSPixelationTransitionShader.ps1 | 176 ++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 b/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 new file mode 100644 index 000000000..f37292659 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 @@ -0,0 +1,176 @@ +function Get-OBSPixelationTransitionShader { + +[Alias('Set-OBSPixelationTransitionShader','Add-OBSPixelationTransitionShader')] +param( +# Set the transition_time of OBSPixelationTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSPixelationTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the power of OBSPixelationTransitionShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# Set the center_x of OBSPixelationTransitionShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSPixelationTransitionShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPixelationTransitionShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float transition_time< + string label = "Transittion Time"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform bool convert_linear = true; +uniform float power< + string label = "Power"; + string widget_type = "slider"; + float minimum = 0.5; + float maximum = 8.0; + float step = 0.01; +> = 3.0; +uniform float center_x< + string label = "X"; + string widget_type = "slider"; + string group = "Center"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform float center_y< + string label = "Y"; + string widget_type = "slider"; + string group = "Center"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + //1..0..1 + float scale = abs(transition_time - 0.5) * 2.0; + scale = pow(scale, power); + + float2 uv = v_in.uv; + uv -= float2(center_x, center_y); + uv *= uv_size; + uv *= scale; + uv = floor(uv); + uv /= scale; + uv /= uv_size; + uv += float2(center_x, center_y); + uv = clamp(uv, 1.0/uv_size, 1.0); + float4 rgba = image.Sample(textureSampler, uv); + if(convert_linear) + rgba.rgb = srgb_nonlinear_to_linear(rgba.rgb); + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 469d7b75709a8fa1520b71695c0f6ff9da46d010 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1175/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSPixelationShader.ps1 | 158 ++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 b/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 new file mode 100644 index 000000000..6079d97b4 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 @@ -0,0 +1,158 @@ +function Get-OBSPixelationShader { + +[Alias('Set-OBSPixelationShader','Add-OBSPixelationShader')] +param( +# Set the Target_Width of OBSPixelationShader +[Alias('Target_Width')] +[ComponentModel.DefaultBindingProperty('Target_Width')] +[Single] +$TargetWidth, +# Set the Target_Height of OBSPixelationShader +[Alias('Target_Height')] +[ComponentModel.DefaultBindingProperty('Target_Height')] +[Single] +$TargetHeight, +# Set the notes of OBSPixelationShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPixelationShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// pixelation shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// with help from SkeltonBowTV +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 15, 2022 +uniform float Target_Width< + string label = "Target Width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2000.0; + float step = 0.1; +> = 320.0; +uniform float Target_Height< + string label = "Target Height"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2000.0; + float step = 0.1; +> = 180.0; +uniform string notes< + string widget_type = "info"; +> = "adjust width and height to your screen dimension"; + +float4 mainImage(VertData v_in) : TARGET +{ + float targetWidth = Target_Width; + if(targetWidth < 2.0) + targetWidth = 2.0; + float targetHeight = Target_Height; + if(targetHeight < 2.0) + targetHeight = 2.0; + float2 tex1; + int pixelSizeX = int(uv_size.x / targetWidth); + int pixelSizeY = int(uv_size.y / targetHeight); + + int pixelX = int(v_in.uv.x * uv_size.x); + int pixelY = int(v_in.uv.y * uv_size.y); + + tex1.x = ((float(pixelX / pixelSizeX)*float(pixelSizeX)) / uv_size.x) + (float(pixelSizeX) / uv_size.x)/2.0; + tex1.y = ((float(pixelY / pixelSizeY)*float(pixelSizeY)) / uv_size.y) + (float(pixelSizeY) / uv_size.y)/2.0; + + float4 c1 = image.Sample(textureSampler, tex1 ); + + return c1; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c80ccf535b67e1c65dc458e4eca86a66de52f7af Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1176/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSPulseShader.ps1 | 225 ++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSPulseShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 b/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 new file mode 100644 index 000000000..f7262d311 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 @@ -0,0 +1,225 @@ +function Get-OBSPulseShader { + +[Alias('Set-OBSPulseShader','Add-OBSPulseShader')] +param( +# Set the ViewProj of OBSPulseShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSPulseShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSPulseShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSPulseShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSPulseShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSPulseShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSPulseShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSPulseShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the speed of OBSPulseShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the min_growth_pixels of OBSPulseShader +[Alias('min_growth_pixels')] +[ComponentModel.DefaultBindingProperty('min_growth_pixels')] +[Single] +$MinGrowthPixels, +# Set the max_growth_pixels of OBSPulseShader +[Alias('max_growth_pixels')] +[ComponentModel.DefaultBindingProperty('max_growth_pixels')] +[Single] +$MaxGrowthPixels, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSPulseShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 1.0; +uniform float min_growth_pixels< + string label = "min growth pixels"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1000.0; + float step = 0.1; +> = 0.0; +uniform float max_growth_pixels< + string label = "max growth pixels"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1000.0; + float step = 0.1; +> = 200.0; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + + float3 pos = v_in.pos.xyz; + float3 direction_from_center = float3((v_in.uv.x - 0.5) * uv_pixel_interval.y / uv_pixel_interval.x, v_in.uv.y - 0.5, 0); + float3 min_pos = pos + direction_from_center * min_growth_pixels / 2; + float3 max_pos = pos + direction_from_center * max_growth_pixels / 2; + + float t = (1 + sin(elapsed_time * speed)) / 2; + float3 current_pos = min_pos * (1 - t) + max_pos * t; + + vert_out.pos = mul(float4(current_pos, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From d0ffd49d4593bf00e660a502c8040678cd125103 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1177/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRainWindowShader.ps1 | 362 ++++++++++++++++++ 1 file changed, 362 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 new file mode 100644 index 000000000..f1d2a0c9f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 @@ -0,0 +1,362 @@ +function Get-OBSRainWindowShader { + +[Alias('Set-OBSRainWindowShader','Add-OBSRainWindowShader')] +param( +# Set the size of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('size')] +[Single] +$Size, +# Set the blurSize of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('blurSize')] +[Single] +$BlurSize, +# Set the trail_strength of OBSRainWindowShader +[Alias('trail_strength')] +[ComponentModel.DefaultBindingProperty('trail_strength')] +[Single] +$TrailStrength, +# Set the trail_color of OBSRainWindowShader +[Alias('trail_color')] +[ComponentModel.DefaultBindingProperty('trail_color')] +[Single] +$TrailColor, +# Set the speed of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the debug of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('debug')] +[Management.Automation.SwitchParameter] +$Debug, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRainWindowShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// https://www.shadertoy.com/view/slfSzS adopted for OBS by Exeldro +// shader derived from Heartfelt - by Martijn Steinrucken aka BigWings - 2017 +// https://www.shadertoy.com/view/ltffzl +// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. + +uniform float size< + string label = "Rain Drop Size"; + string widget_type = "slider"; + float minimum = 0.001; + float maximum = 0.5; + float step = 0.01; +> = 0.2; +uniform float blurSize< + string label = "Blur Radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 32.0; // BLUR SIZE (Radius) +uniform float trail_strength< + string label = "Trail Strength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.0; +uniform float trail_color< + string label = "Trail Color"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 40.0; +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 0.01; +> = 100.0; +uniform bool debug = false; + + +float fract(float v){ + return v - floor(v); +} + +float2 fract2(float2 v){ + return float2(v.x - floor(v.x), v.y - floor(v.y)); +} + +float3 fract3(float3 v){ + return float3(v.x - floor(v.x), v.y - floor(v.y), v.z - floor(v.z)); +} + +float3 fract4(float4 v){ + return float4(v.x - floor(v.x), v.y - floor(v.y), v.z - floor(v.z), v.w - floor(v.w)); +} + + +float3 N13(float p) { + // from DAVE HOSKINS + float3 p3 = fract3(float3(p, p, p) * float3(.1031,.11369,.13787)); + p3 += dot(p3, p3.yzx + 19.19); + return fract3(float3((p3.x + p3.y)*p3.z, (p3.x+p3.z)*p3.y, (p3.y+p3.z)*p3.x)); +} + +float4 N14(float t) { + return fract4(sin(t*float4(123., 1024., 1456., 264.))*float4(6547., 345., 8799., 1564.)); +} +float N(float t) { + return fract(sin(t*12345.564)*7658.76); +} + +float Saw(float b, float t) { + return smoothstep(0., b, t)*smoothstep(1., b, t); +} + +float2 Drops(float2 uv, float t) { + + float2 UV = uv; + + // DEFINE GRID + uv.y += t*0.8; + float2 a = float2(6., 1.); + float2 grid = a*2.; + float2 id = floor(uv*grid); + + // RANDOM SHIFT Y + float colShift = N(id.x); + uv.y += colShift; + + // DEFINE SPACES + id = floor(uv*grid); + float3 n = N13(id.x*35.2+id.y*2376.1); + float2 st = fract2(uv*grid)-float2(.5, 0); + + // POSITION DROPS + //clamp(2*x,0,2)+clamp(1-x*.5, -1.5, .5)+1.5-2 + float x = n.x-.5; + + float y = UV.y*20.; + + float distort = sin(y+sin(y)); + x += distort*(.5-abs(x))*(n.z-.5); + x *= .7; + float ti = fract(t+n.z); + y = (Saw(.85, ti)-.5)*.9+.5; + float2 p = float2(x, y); + + // DROPS + float d = length((st-p)*a.yx); + + float dSize = size; + + float Drop = smoothstep(dSize, .0, d); + + + float r = sqrt(smoothstep(1., y, st.y)); + float cd = abs(st.x-x); + + // TRAILS + float trail = smoothstep((dSize*.5+.03)*r, (dSize*.5-.05)*r, cd); + float trailFront = smoothstep(-.02, .02, st.y-y); + trail *= trailFront; + + + // DROPLETS + y = UV.y; + y += N(id.x); + float trail2 = smoothstep(dSize*r, .0, cd); + float droplets = max(0., (sin(y*(1.-y)*120.)-st.y))*trail2*trailFront*n.z; + y = fract(y*10.)+(st.y-.5); + float dd = length(st-float2(x, y)); + droplets = smoothstep(dSize*N(id.x), 0., dd); + float m = Drop+droplets*r*trailFront; + if(debug){ + m += st.x>a.y*.45 || st.y>a.x*.165 ? 1.2 : 0.; //DEBUG SPACES + } + + + return float2(m, trail); +} + +float StaticDrops(float2 uv, float t) { + uv *= 30.; + + float2 id = floor(uv); + uv = fract2(uv)-.5; + float3 n = N13(id.x*107.45+id.y*3543.654); + float2 p = (n.xy-.5)*0.5; + float d = length(uv-p); + + float fade = Saw(.025, fract(t+n.z)); + float c = smoothstep(size, 0., d)*fract(n.z*10.)*fade; + + return c; +} + +float2 Rain(float2 uv, float t) { + //float s = StaticDrops(uv, t); + float2 r1 = Drops(uv, t); + float2 r2 = Drops(uv*1.8, t); + float c; + if(debug){ + c = r1.x; + }else{ + c = r1.x+r2.x;//s+r1.x+r2.x; + } + + c = smoothstep(.3, 1., c); + + if(debug){ + return float2(c, r1.y); + }else{ + return float2(c, max(r1.y, r2.y)); + } +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv;//(fragCoord.xy-.5*iResolution.xy) / iResolution.y; + uv.y = 1.0 - uv.y; + uv = uv * uv_scale; + float2 UV = v_in.uv; + float T = elapsed_time * speed / 100.0; + + float t = T*.2; + + UV = (UV-.5)*(.9)+.5; + + float2 c = Rain(uv, t); + + float2 e = float2(.001, 0.); //pixel offset + float cx = Rain(uv+e, t).x; + float cy = Rain(uv+e.yx, t).x; + float2 n = float2(cx-c.x, cy-c.x); //normals + + // BLUR derived from existical https://www.shadertoy.com/view/Xltfzj + float Pi = 6.28318530718; // Pi*2 + + // GAUSSIAN BLUR SETTINGS {{{ + float Directions = 32.0; // BLUR DIRECTIONS (Default 16.0 - More is better but slower) + float Quality = 8.0; // BLUR QUALITY (Default 4.0 - More is better but slower) + // GAUSSIAN BLUR SETTINGS }}} + float2 Radius = blurSize/uv_size; + float3 col = image.Sample(textureSampler, UV).rgb; + + if(blurSize > 0.0){ + // Blur calculations + for(float d=0.0; dAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From cb9fa33ddf3db4ec6307bb7f29c970d624122c20 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1178/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSRainbowShader.ps1 | 297 ++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 b/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 new file mode 100644 index 000000000..6ac5433c0 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 @@ -0,0 +1,297 @@ +function Get-OBSRainbowShader { + +[Alias('Set-OBSRainbowShader','Add-OBSRainbowShader')] +param( +# Set the Saturation of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Saturation')] +[Single] +$Saturation, +# Set the Luminosity of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Luminosity')] +[Single] +$Luminosity, +# Set the Spread of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Spread')] +[Single] +$Spread, +# Set the Speed of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Alpha_Percentage of OBSRainbowShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Vertical of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the Rotational of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Rotational')] +[Management.Automation.SwitchParameter] +$Rotational, +# Set the Rotation_Offset of OBSRainbowShader +[Alias('Rotation_Offset')] +[ComponentModel.DefaultBindingProperty('Rotation_Offset')] +[Single] +$RotationOffset, +# Set the Apply_To_Image of OBSRainbowShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSRainbowShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSRainbowShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSRainbowShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the Notes of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRainbowShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Rainbow shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 13, 2022 +uniform float Saturation< + string label = "Saturation"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.8; // +uniform float Luminosity< + string label = "Luminosity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; // +uniform float Spread< + string label = "Spread"; + string widget_type = "slider"; + float minimum = 0.5; + float maximum = 10.0; + float step = 0.01; +> = 3.8; // +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 2.4; // +uniform float Alpha_Percentage< + string label = "Rotation Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; // +uniform bool Vertical; +uniform bool Rotational; +uniform float Rotation_Offset< + string label = "Rotation Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 6.28318531; + float step = 0.001; +> = 0.0; // +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string Notes< + string widget_type = "info"; +> = "Spread is wideness of color and is limited between .25 and 10. Edit at your own risk"; + +float hueToRGB(float v1, float v2, float vH) { + vH = frac(vH); + if ((6.0 * vH) < 1.0) return (v1 + (v2 - v1) * 6.0 * vH); + if ((2.0 * vH) < 1.0) return (v2); + if ((3.0 * vH) < 2.0) return (v1 + (v2 - v1) * ((0.6666666666666667) - vH) * 6.0); + return clamp(v1, 0.0, 1.0); +} + +float4 HSLtoRGB(float4 hsl) { + float4 rgb = float4(0.0, 0.0, 0.0, hsl.w); + float v1 = 0.0; + float v2 = 0.0; + + if (hsl.y == 0) { + rgb.xyz = hsl.zzz; + } + else { + + if (hsl.z < 0.5) { + v2 = hsl.z * (1 + hsl.y); + } + else { + v2 = (hsl.z + hsl.y) - (hsl.y * hsl.z); + } + + v1 = 2.0 * hsl.z - v2; + + rgb.x = hueToRGB(v1, v2, hsl.x + (0.3333333333333333)); + rgb.y = hueToRGB(v1, v2, hsl.x); + rgb.z = hueToRGB(v1, v2, hsl.x - (0.3333333333333333)); + + } + + return rgb; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 lPos = (v_in.uv * uv_scale + uv_offset)/ clamp(Spread, 0.25, 10.0); + float time = (elapsed_time * clamp(Speed, -5.0, 5.0)) / clamp(Spread, 0.25, 10.0); + + //set colors and direction + float hue = (-1 * lPos.x) / 2.0; + + if (Rotational && (Vertical == false)) + { + float timeWithOffset = time + Rotation_Offset; + float sine = sin(timeWithOffset); + float cosine = cos(timeWithOffset); + hue = (lPos.x * cosine + lPos.y * sine) * 0.5; + } + + if (Vertical && (Rotational == false)) + { + hue = (-1 * lPos.y) * 0.5; + } + + hue += time; + hue = frac(hue); + float4 hsl = float4(hue, clamp(Saturation, 0.0, 1.0), clamp(Luminosity, 0.0, 1.0), 1.0); + float4 rgba = HSLtoRGB(hsl); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + float luma = 0.30*color.r+0.59*color.g+0.11*color.b+1.0*color.a; + float4 luma_color = float4(luma, luma, luma, luma); + if (Replace_Image_Color) + color = luma_color; + rgba = lerp(original_color, rgba * color,clamp(Alpha_Percentage *.01 ,0,1.0)); + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, clamp(Alpha_Percentage * .01, 0, 1.0)); + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From b5387b3ca18e1fef8138503362c22afaf67c4d38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1179/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSRectangularDropShadowShader.ps1 | 165 ++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 b/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 new file mode 100644 index 000000000..65d370759 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 @@ -0,0 +1,165 @@ +function Get-OBSRectangularDropShadowShader { + +[Alias('Set-OBSRectangularDropShadowShader','Add-OBSRectangularDropShadowShader')] +param( +# Set the shadow_offset_x of OBSRectangularDropShadowShader +[Alias('shadow_offset_x')] +[ComponentModel.DefaultBindingProperty('shadow_offset_x')] +[Int32] +$ShadowOffsetX, +# Set the shadow_offset_y of OBSRectangularDropShadowShader +[Alias('shadow_offset_y')] +[ComponentModel.DefaultBindingProperty('shadow_offset_y')] +[Int32] +$ShadowOffsetY, +# Set the shadow_blur_size of OBSRectangularDropShadowShader +[Alias('shadow_blur_size')] +[ComponentModel.DefaultBindingProperty('shadow_blur_size')] +[Int32] +$ShadowBlurSize, +# Set the shadow_color of OBSRectangularDropShadowShader +[Alias('shadow_color')] +[ComponentModel.DefaultBindingProperty('shadow_color')] +[Single[]] +$ShadowColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRectangularDropShadowShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Exeldro February 22, 2022 +uniform int shadow_offset_x< + string label = "shadow offset x"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +>; +uniform int shadow_offset_y< + string label = "shadow offset y"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +>; +uniform int shadow_blur_size< + string label = "shadow blur size"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 100; + int step = 1; +> = 1; + +uniform float4 shadow_color; + +float4 mainImage(VertData v_in) : TARGET +{ + int shadow_blur_samples = int(pow(shadow_blur_size * 2 + 1, 2)); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * int(shadow_offset_x), + v_in.uv.y - uv_pixel_interval.y * int(shadow_offset_y)); + + float start_of_overlap_x = max(0, shadow_uv.x - shadow_blur_size * uv_pixel_interval.x); + float end_of_overlap_x = min(1, shadow_uv.x + shadow_blur_size * uv_pixel_interval.x); + float x_proportion = (end_of_overlap_x - start_of_overlap_x) / (2 * shadow_blur_size * uv_pixel_interval.x); + + float start_of_overlap_y = max(0, shadow_uv.y - shadow_blur_size * uv_pixel_interval.y); + float end_of_overlap_y = min(1, shadow_uv.y + shadow_blur_size * uv_pixel_interval.y); + float y_proportion = (end_of_overlap_y - start_of_overlap_y) / (2 * shadow_blur_size * uv_pixel_interval.y); + + float4 final_shadow_color = float4(shadow_color.r, shadow_color.g, shadow_color.b, shadow_color.a * x_proportion * y_proportion); + + return final_shadow_color * (1-color.a) + color; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From e5cbb8239d3d598734248fe77be51cf1360ce82b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1180/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSRemovePartialPixelsShader.ps1 | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 b/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 new file mode 100644 index 000000000..754d07282 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 @@ -0,0 +1,135 @@ +function Get-OBSRemovePartialPixelsShader { + +[Alias('Set-OBSRemovePartialPixelsShader','Add-OBSRemovePartialPixelsShader')] +param( +# Set the minimum_alpha_percent of OBSRemovePartialPixelsShader +[Alias('minimum_alpha_percent')] +[ComponentModel.DefaultBindingProperty('minimum_alpha_percent')] +[Int32] +$MinimumAlphaPercent, +# Set the notes of OBSRemovePartialPixelsShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRemovePartialPixelsShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Remove Partial Pixels shader by Charles Fettinger for obs-shaderfilter plugin 8/2020 +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 21, 2022 +uniform int minimum_alpha_percent< + string label = "minimum alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform string notes< + string widget_type = "info"; +> = "Removes partial pixels, excellent for cleaning greenscreen. Default Minimum Alpha Percent is 50%, lowering will reveal more pixels"; + +float4 mainImage(VertData v_in) : TARGET +{ + float min_alpha = clamp(minimum_alpha_percent * .01, -1.0, 101.0); + float4 output_color = image.Sample(textureSampler, v_in.uv); + if (output_color.a < min_alpha) + { + return float4(0.0, 0.0, 0.0, 0.0); + } + else + { + return float4(output_color); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 7f38488702b7126bd58d1f7011a3279169c764cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1181/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRepeatTextureShader.ps1 | 266 ++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 b/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 new file mode 100644 index 000000000..69a0dff04 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 @@ -0,0 +1,266 @@ +function Get-OBSRepeatTextureShader { + +[Alias('Set-OBSRepeatTextureShader','Add-OBSRepeatTextureShader')] +param( +# Set the ViewProj of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the color_matrix of OBSRepeatTextureShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the color_range_min of OBSRepeatTextureShader +[Alias('color_range_min')] +[ComponentModel.DefaultBindingProperty('color_range_min')] +[Single[]] +$ColorRangeMin, +# Set the color_range_max of OBSRepeatTextureShader +[Alias('color_range_max')] +[ComponentModel.DefaultBindingProperty('color_range_max')] +[Single[]] +$ColorRangeMax, +# Set the image of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the tex_image of OBSRepeatTextureShader +[Alias('tex_image')] +[ComponentModel.DefaultBindingProperty('tex_image')] +[String] +$TexImage, +# Set the elapsed_time of OBSRepeatTextureShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSRepeatTextureShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSRepeatTextureShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSRepeatTextureShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSRepeatTextureShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSRepeatTextureShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the blend of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('blend')] +[Single] +$Blend, +# Set the copies of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('copies')] +[Single] +$Copies, +# Set the notes of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the alpha_percentage of OBSRepeatTextureShader +[Alias('alpha_percentage')] +[ComponentModel.DefaultBindingProperty('alpha_percentage')] +[Single] +$AlphaPercentage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRepeatTextureShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Repeat Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 + +uniform float4x4 ViewProj; +uniform float4x4 color_matrix; +uniform float3 color_range_min = {0.0, 0.0, 0.0}; +uniform float3 color_range_max = {1.0, 1.0, 1.0}; +uniform texture2d image; +uniform texture2d tex_image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; + +uniform float blend< + string label = "Blend"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 3.0; + float step = 0.001; +> = 1.0; +uniform float copies< + string label = "Copies"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 4.0; +uniform string notes< + string widget_type = "info"; +> = ''copies, use a number that has a square root. Blend adjusts the ratio of source and texture''; +uniform float alpha_percentage< + string label = "alpha percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; + +sampler_state tex_sampler { + Filter = Linear; + AddressU = Repeat; + AddressV = Repeat; +}; + +sampler_state base_sampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertIn { + float4 pos : POSITION; + float2 uv_0 : TEXCOORD0; + float2 uv_1 : TEXCOORD1; +}; + +struct VertOut { + float4 pos : POSITION; + float2 uv_0 : TEXCOORD0; + float2 uv_1 : TEXCOORD1; +}; + +VertOut VSDefault(VertIn vert_in) +{ + VertOut vert_out; + vert_out.pos = mul(float4(vert_in.pos.xyz, 1 ), ViewProj); + vert_out.uv_1 = vert_in.uv_0; + vert_out.uv_0 = vert_in.uv_0 * sqrt(copies); + return vert_out; +} + +float4 PSDrawBare(VertOut vert_in) : TARGET +{ + float alpha = clamp(alpha_percentage * 0.01 ,-1.0,2.0); + float4 tex = tex_image.Sample(tex_sampler, vert_in.uv_0); + float4 base = image.Sample(base_sampler, vert_in.uv_1); + + return (1 - alpha) * base + (alpha) * tex; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vert_in); + pixel_shader = PSDrawBare(vert_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 804ee600b6bf3e588985a14e9ad1ac300200d276 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1182/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSRepeatShader.ps1 | 233 ++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 b/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 new file mode 100644 index 000000000..2d4aeb5c3 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 @@ -0,0 +1,233 @@ +function Get-OBSRepeatShader { + +[Alias('Set-OBSRepeatShader','Add-OBSRepeatShader')] +param( +# Set the ViewProj of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the color_matrix of OBSRepeatShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the color_range_min of OBSRepeatShader +[Alias('color_range_min')] +[ComponentModel.DefaultBindingProperty('color_range_min')] +[Single[]] +$ColorRangeMin, +# Set the color_range_max of OBSRepeatShader +[Alias('color_range_max')] +[ComponentModel.DefaultBindingProperty('color_range_max')] +[Single[]] +$ColorRangeMax, +# Set the image of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSRepeatShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSRepeatShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSRepeatShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSRepeatShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSRepeatShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSRepeatShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the alpha of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('alpha')] +[Single] +$Alpha, +# Set the copies of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('copies')] +[Single] +$Copies, +# Set the notes of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRepeatShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Repeat Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 + +uniform float4x4 ViewProj; +uniform float4x4 color_matrix; +uniform float3 color_range_min = {0.0, 0.0, 0.0}; +uniform float3 color_range_max = {1.0, 1.0, 1.0}; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; + +uniform float alpha< + string label = "Alpha"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 3.0; + float step = 0.001; +> = 1.0; +uniform float copies< + string label = "Copies"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 4.0; +uniform string notes< + string widget_type = "info"; +> = ''copies, use a number that has a square root. Alpha adjusts the alpha level of the copies (recommend 0.5-2.0 recommend)''; + +sampler_state def_sampler { + Filter = Linear; + AddressU = Repeat; + AddressV = Repeat; +}; + +struct VertInOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertInOut VSDefault(VertInOut vert_in) +{ + VertInOut vert_out; + vert_out.pos = mul(float4(vert_in.pos.xyz, 1 ), ViewProj); + vert_out.uv = vert_in.uv * sqrt(copies); + return vert_out; +} + +float4 PSDrawBare(VertInOut vert_in) : TARGET +{ + float4 rgba = image.Sample(def_sampler, vert_in.uv); + rgba.a *= alpha; + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vert_in); + pixel_shader = PSDrawBare(vert_in); + } +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From bc21bd6d35134cb1b1767ed755a3037a50af401c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1183/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRgbColorWheelShader.ps1 | 234 ++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 b/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 new file mode 100644 index 000000000..70911ba32 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 @@ -0,0 +1,234 @@ +function Get-OBSRgbColorWheelShader { + +[Alias('Set-OBSRgbColorWheelShader','Add-OBSRgbColorWheelShader')] +param( +# Set the speed of OBSRgbColorWheelShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the color_depth of OBSRgbColorWheelShader +[Alias('color_depth')] +[ComponentModel.DefaultBindingProperty('color_depth')] +[Single] +$ColorDepth, +# Set the Apply_To_Image of OBSRgbColorWheelShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSRgbColorWheelShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSRgbColorWheelShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSRgbColorWheelShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the Alpha_Percentage of OBSRgbColorWheelShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the center_width_percentage of OBSRgbColorWheelShader +[Alias('center_width_percentage')] +[ComponentModel.DefaultBindingProperty('center_width_percentage')] +[Int32] +$CenterWidthPercentage, +# Set the center_height_percentage of OBSRgbColorWheelShader +[Alias('center_height_percentage')] +[ComponentModel.DefaultBindingProperty('center_height_percentage')] +[Int32] +$CenterHeightPercentage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRgbColorWheelShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// RGB Color Wheel shader by Charles Fettinger for obs-shaderfilter plugin 5/2020 +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGl by Q-mii & Exeldro February 25, 2022 +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 15.0; + float step = 0.1; +> = 2.0; +uniform float color_depth< + string label = "Color Depth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.1; +> = 2.10; +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100; // +uniform int center_width_percentage< + string label = "center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height_percentage< + string label = "center height percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + +float3 hsv2rgb(float3 c) +{ + float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * lerp(K.xxx, saturate(p - K.xxx), c.y); +} + +float mod(float x, float y) +{ + return x - y * floor(x / y); +} + +float4 mainImage(VertData v_in) : TARGET +{ + const float PI = 3.14159265f;//acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + float4 rgba = image.Sample(textureSampler, v_in.uv); + float2 center_pixel_coordinates = float2((center_width_percentage * 0.01), (center_height_percentage * 0.01) ); + float2 st = v_in.uv* uv_scale; + float2 toCenter = center_pixel_coordinates - st ; + float r = length(toCenter) * color_depth; + float angle = atan2(toCenter.y ,toCenter.x ); + float angleMod = (elapsed_time * mod(speed ,18)) / 18; + + rgba.rgb = hsv2rgb(float3((angle / PI*0.5) + angleMod,r,1.0)); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, rgba * color,clamp(Alpha_Percentage *.01 ,0,1.0)); + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, clamp(Alpha_Percentage * .01, 0, 1.0)); + } + + return rgba; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c49280f2835f5c5d3cf33da7a70fd77fd81cd09d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1184/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSRgbSplitShader.ps1 | 178 ++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 b/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 new file mode 100644 index 000000000..49c6686e3 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 @@ -0,0 +1,178 @@ +function Get-OBSRgbSplitShader { + +[Alias('Set-OBSRgbSplitShader','Add-OBSRgbSplitShader')] +param( +# Set the redx of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('redx')] +[Single] +$Redx, +# Set the redy of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('redy')] +[Single] +$Redy, +# Set the greenx of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('greenx')] +[Single] +$Greenx, +# Set the greeny of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('greeny')] +[Single] +$Greeny, +# Set the bluex of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('bluex')] +[Single] +$Bluex, +# Set the bluey of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('bluey')] +[Single] +$Bluey, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRgbSplitShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float redx< + string label = "Red X"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 2.00; +uniform float redy< + string label = "Red Y"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; +uniform float greenx< + string label = "Green X"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; +uniform float greeny< + string label = "Green Y"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; +uniform float bluex< + string label = "Blue X"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = -2.00; +uniform float bluey< + string label = "Blue Y"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; + + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + if(redx != 0.0 || redy != 0.0) + c.r = image.Sample(textureSampler, v_in.uv + float2(redx/100.0, redy/100.0)).r; + if(greenx != 0.0 || greeny != 0.0) + c.g = image.Sample(textureSampler, v_in.uv + float2(greenx/100.0, greeny/100.0)).g; + if(bluex != 0.0 || bluey != 0.0) + c.b = image.Sample(textureSampler, v_in.uv + float2(bluex/100.0, bluey/100.0)).b; + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 29b78ec89bc41f434e5d09408945c37a25a345e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1185/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRgbvisibilityShader.ps1 | 191 ++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 b/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 new file mode 100644 index 000000000..b47cb73d3 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 @@ -0,0 +1,191 @@ +function Get-OBSRgbvisibilityShader { + +[Alias('Set-OBSRgbvisibilityShader','Add-OBSRgbvisibilityShader')] +param( +# Set the Red of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('Red')] +[Single] +$Red, +# Set the Green of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('Green')] +[Single] +$Green, +# Set the Blue of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('Blue')] +[Single] +$Blue, +# Set the RedVisibility of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('RedVisibility')] +[Single] +$RedVisibility, +# Set the GreenVisibility of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('GreenVisibility')] +[Single] +$GreenVisibility, +# Set the BlueVisibility of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('BlueVisibility')] +[Single] +$BlueVisibility, +# Set the notes of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRgbvisibilityShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// RGB visibility separation filter, created by EposVox + +uniform float Red< + string label = "Red"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; + +uniform float Green< + string label = "Green"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; + +uniform float Blue< + string label = "Blue"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; + +uniform float RedVisibility< + string label = "Red Visibility"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +uniform float GreenVisibility< + string label = "Green Visibility"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +uniform float BlueVisibility< + string label = "Blue Visibility"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +uniform string notes< + string widget_type = "info"; +> = "Modify Colors to correct for gamma, use equal values for general correction."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + float redChannel = pow(c.r, Red) * RedVisibility; + float greenChannel = pow(c.g, Green) * GreenVisibility; + float blueChannel = pow(c.b, Blue) * BlueVisibility; + + return float4(redChannel, greenChannel, blueChannel, c.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 156a9ada465bba3955b7d6efd125e6a871b56799 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1186/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSRippleShader.ps1 | 168 ++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRippleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 b/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 new file mode 100644 index 000000000..9e68758c6 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 @@ -0,0 +1,168 @@ +function Get-OBSRippleShader { + +[Alias('Set-OBSRippleShader','Add-OBSRippleShader')] +param( +# Set the distance_factor of OBSRippleShader +[Alias('distance_factor')] +[ComponentModel.DefaultBindingProperty('distance_factor')] +[Single] +$DistanceFactor, +# Set the time_factor of OBSRippleShader +[Alias('time_factor')] +[ComponentModel.DefaultBindingProperty('time_factor')] +[Single] +$TimeFactor, +# Set the power_factor of OBSRippleShader +[Alias('power_factor')] +[ComponentModel.DefaultBindingProperty('power_factor')] +[Single] +$PowerFactor, +# Set the center_pos_x of OBSRippleShader +[Alias('center_pos_x')] +[ComponentModel.DefaultBindingProperty('center_pos_x')] +[Single] +$CenterPosX, +# Set the center_pos_y of OBSRippleShader +[Alias('center_pos_y')] +[ComponentModel.DefaultBindingProperty('center_pos_y')] +[Single] +$CenterPosY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRippleShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float distance_factor< + string label = "distance factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 12.0; +uniform float time_factor< + string label = "time factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 2.0; +uniform float power_factor< + string label = "power factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 3.0; +uniform float center_pos_x< + string label = "center pos x"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float center_pos_y< + string label = "center pos y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 cPos = (v_in.uv * 2 ) -1; + float2 center_pos = float2(center_pos_x, center_pos_y); + float cLength = distance(cPos, center_pos); + float2 uv = v_in.uv+(cPos/cLength)*cos(cLength*distance_factor-elapsed_time*time_factor) * power_factor / 100.0; + return image.Sample(textureSampler, uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 2a1aab9561a3734f8391f1eec165f0ba5b43b7a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1187/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRotatingSourceShader.ps1 | 203 ++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 b/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 new file mode 100644 index 000000000..1c092a116 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 @@ -0,0 +1,203 @@ +function Get-OBSRotatingSourceShader { + +[Alias('Set-OBSRotatingSourceShader','Add-OBSRotatingSourceShader')] +param( +# Set the spin_speed of OBSRotatingSourceShader +[Alias('spin_speed')] +[ComponentModel.DefaultBindingProperty('spin_speed')] +[Single] +$SpinSpeed, +# Set the rotation of OBSRotatingSourceShader +[ComponentModel.DefaultBindingProperty('rotation')] +[Single] +$Rotation, +# Set the zoomin of OBSRotatingSourceShader +[ComponentModel.DefaultBindingProperty('zoomin')] +[Single] +$Zoomin, +# Set the keep_aspectratio of OBSRotatingSourceShader +[Alias('keep_aspectratio')] +[ComponentModel.DefaultBindingProperty('keep_aspectratio')] +[Management.Automation.SwitchParameter] +$KeepAspectratio, +# Set the x_center of OBSRotatingSourceShader +[Alias('x_center')] +[ComponentModel.DefaultBindingProperty('x_center')] +[Single] +$XCenter, +# Set the y_center of OBSRotatingSourceShader +[Alias('y_center')] +[ComponentModel.DefaultBindingProperty('y_center')] +[Single] +$YCenter, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRotatingSourceShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//spin speed higher the slower +uniform float spin_speed< + string label = "Spin Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; +uniform float rotation< + string label = "Rotation"; + string widget_type = "slider"; + float minimum = -360.0; + float maximum = 360.0; + float step = 0.1; +> = 0.0; +uniform float zoomin< + string label = "Zoom"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform bool keep_aspectratio = true; +uniform float x_center< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform float y_center< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + + +//main fragment code +//from lioran to nutella with love +float4 mainImage(VertData v_in) : TARGET +{ + float x_aspectratio = keep_aspectratio ? uv_size.x : 1.0; + float y_aspectratio = keep_aspectratio ? uv_size.y : 1.0; + //get position on of the texture and focus on the middle + float i_rotation; + if (spin_speed == 0){ + //turn angle number into pi number + i_rotation = rotation/57.295779513; + }else{ + //use elapsed time for spinning if spin speed is not 0 + i_rotation = elapsed_time * spin_speed; + } + float2 i_point; + i_point.x = (v_in.uv.x * x_aspectratio) - (x_aspectratio * x_center); + i_point.y = (v_in.uv.y * y_aspectratio) - (y_aspectratio * y_center); + + //get the angle from center , returns pi number + float i_dir = atan(i_point.y/i_point.x); + if(i_point.x < 0.0){ + i_dir += 3.14159265359; + } + + //get the distance from the centers + float i_distance = sqrt(pow(i_point.x,2) + pow(i_point.y,2)); + //multiple distance by the zoomin value + i_distance *= zoomin; + + //shift the texture position based on angle and distance from the middle + i_point.x = ((x_aspectratio*x_center)+cos(i_dir-i_rotation)*i_distance)/x_aspectratio; + i_point.y = ((y_aspectratio*y_center)+sin(i_dir-i_rotation)*i_distance)/y_aspectratio; + + //draw normally from new point + return image.Sample(textureSampler, i_point); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 7546648499e4e51a0cfbb9bacf5ad2aca00abe65 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1188/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSRotatoeShader.ps1 | 340 ++++++++++++++++++ 1 file changed, 340 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 b/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 new file mode 100644 index 000000000..33ad14980 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 @@ -0,0 +1,340 @@ +function Get-OBSRotatoeShader { + +[Alias('Set-OBSRotatoeShader','Add-OBSRotatoeShader')] +param( +# Set the ViewProj of OBSRotatoeShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSRotatoeShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSRotatoeShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSRotatoeShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSRotatoeShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSRotatoeShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSRotatoeShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSRotatoeShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the speed_percent of OBSRotatoeShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the Axis_X of OBSRotatoeShader +[Alias('Axis_X')] +[ComponentModel.DefaultBindingProperty('Axis_X')] +[Single] +$AxisX, +# Set the Axis_Y of OBSRotatoeShader +[Alias('Axis_Y')] +[ComponentModel.DefaultBindingProperty('Axis_Y')] +[Single] +$AxisY, +# Set the Axis_Z of OBSRotatoeShader +[Alias('Axis_Z')] +[ComponentModel.DefaultBindingProperty('Axis_Z')] +[Single] +$AxisZ, +# Set the Angle_Degrees of OBSRotatoeShader +[Alias('Angle_Degrees')] +[ComponentModel.DefaultBindingProperty('Angle_Degrees')] +[Single] +$AngleDegrees, +# Set the Rotate_Transform of OBSRotatoeShader +[Alias('Rotate_Transform')] +[ComponentModel.DefaultBindingProperty('Rotate_Transform')] +[Management.Automation.SwitchParameter] +$RotateTransform, +# Set the Rotate_Pixels of OBSRotatoeShader +[Alias('Rotate_Pixels')] +[ComponentModel.DefaultBindingProperty('Rotate_Pixels')] +[Management.Automation.SwitchParameter] +$RotatePixels, +# Set the Rotate_Colors of OBSRotatoeShader +[Alias('Rotate_Colors')] +[ComponentModel.DefaultBindingProperty('Rotate_Colors')] +[Management.Automation.SwitchParameter] +$RotateColors, +# Set the center_width_percentage of OBSRotatoeShader +[Alias('center_width_percentage')] +[ComponentModel.DefaultBindingProperty('center_width_percentage')] +[Int32] +$CenterWidthPercentage, +# Set the center_height_percentage of OBSRotatoeShader +[Alias('center_height_percentage')] +[ComponentModel.DefaultBindingProperty('center_height_percentage')] +[Int32] +$CenterHeightPercentage, +# Set the notes of OBSRotatoeShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRotatoeShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Rotation Effect By Charles Fettinger (https://github.com/Oncorporation) 10/2019 +//Converted to OpenGL by Q-mii, Exeldro, & skeletonbow +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform int speed_percent< + string label = "speed percentage"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 50; // +uniform float Axis_X< + string label = "Axis X"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.1; +> = 0.0; +uniform float Axis_Y< + string label = "Axis Y"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 0.0; +uniform float Axis_Z< + string label = "Axis Z"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; +uniform float Angle_Degrees< + string label = "Angle Degrees"; + string widget_type = "slider"; + float minimum = -180.0; + float maximum = 180.0; + float step = 0.01; +> = 45.0; +uniform bool Rotate_Transform = true; +uniform bool Rotate_Pixels = false; +uniform bool Rotate_Colors = false; +uniform int center_width_percentage< + string label = "center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height_percentage< + string label = "center height percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + +uniform string notes< + string widget_type = "info"; +> = " Choose axis, angle and speed, then rotate away! center_width_percentage & center_height_percentage allow you to change the pixel spin axis"; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float3x3 rotAxis(float3 axis, float a) { + float s=sin(a); + float c=cos(a); + float oc=1.0-c; + + float3 as=axis*s; + + float3x3 p=float3x3(axis.x*axis,axis.y*axis,axis.z*axis); + float3x3 q=float3x3(c,-as.z,as.y,as.z,c,-as.x,-as.y,as.x,c); + return p*oc+q; +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + + float speed = speed_percent * 0.01; + // circular easing variable + float PI = 3.1415926535897932384626433832795; //acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + float direction = abs(sin((elapsed_time - 0.001) * speed)); + float t = sin(elapsed_time * speed); + float angle_degrees = PI180th * Angle_Degrees; + + // use matrix to transform rotation + if (Rotate_Transform) + vert_out.pos.xyz = mul(vert_out.pos.xyz,rotAxis(float3(Axis_X,Axis_Y,Axis_Z), (angle_degrees * t))).xyz; + + vert_out.uv = v_in.uv * uv_scale + uv_offset; + + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv); + + float speed = speed_percent * 0.01; + // circular easing variable + float PI = 3.1415926535897932384626433832795; //acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + float direction = abs(sin((elapsed_time - 0.001) * speed)); + float t = sin(elapsed_time * speed); + float angle_degrees = PI180th * Angle_Degrees; + + + // use matrix to transform pixels + if (Rotate_Pixels) + { + float2 center_pixel_coordinates = float2((center_width_percentage * 0.01), (center_height_percentage * 0.01) ); + rgba = image.Sample(textureSampler, mul(float3(v_in.uv - center_pixel_coordinates, 1.0), rotAxis(float3(Axis_X ,Axis_Y, Axis_Z ), (angle_degrees * t))).xy + center_pixel_coordinates); + } + if (Rotate_Colors) + rgba.rgb = mul(rgba.rgb, rotAxis(float3(Axis_X,Axis_Y,Axis_Z), (angle_degrees * t))).xyz; + + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1a6954712955bcf6e75f74ff889fb7fd8d595683 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1189/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSRoundedRectPerCornerShader.ps1 | 320 ++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 new file mode 100644 index 000000000..95391808f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 @@ -0,0 +1,320 @@ +function Get-OBSRoundedRectPerCornerShader { + +[Alias('Set-OBSRoundedRectPerCornerShader','Add-OBSRoundedRectPerCornerShader')] +param( +# Set the corner_radius_tl of OBSRoundedRectPerCornerShader +[Alias('corner_radius_tl')] +[ComponentModel.DefaultBindingProperty('corner_radius_tl')] +[Int32] +$CornerRadiusTl, +# Set the corner_radius_tr of OBSRoundedRectPerCornerShader +[Alias('corner_radius_tr')] +[ComponentModel.DefaultBindingProperty('corner_radius_tr')] +[Int32] +$CornerRadiusTr, +# Set the corner_radius_br of OBSRoundedRectPerCornerShader +[Alias('corner_radius_br')] +[ComponentModel.DefaultBindingProperty('corner_radius_br')] +[Int32] +$CornerRadiusBr, +# Set the corner_radius_bl of OBSRoundedRectPerCornerShader +[Alias('corner_radius_bl')] +[ComponentModel.DefaultBindingProperty('corner_radius_bl')] +[Int32] +$CornerRadiusBl, +# Set the border_thickness of OBSRoundedRectPerCornerShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRectPerCornerShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# Set the border_alpha_start of OBSRoundedRectPerCornerShader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSRoundedRectPerCornerShader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSRoundedRectPerCornerShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRoundedRectPerCornerShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int corner_radius_tl< + string label = "Corner radius top left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_tr< + string label = "Corner radius top right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_br< + string label = "Corner radius bottom right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_bl< + string label = "Corner radius bottom left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "border alpha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 1.0; +uniform float border_alpha_end< + string label = "border alpha end"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float alpha_cut_off< + string label = "alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pixel = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(pixel.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + int corner_radius_top = corner_radius_tl>corner_radius_tr?corner_radius_tl:corner_radius_tr; + int corner_radius_right = corner_radius_tr>corner_radius_br?corner_radius_tr:corner_radius_br; + int corner_radius_bottom = corner_radius_bl>corner_radius_br?corner_radius_bl:corner_radius_br; + int corner_radius_left = corner_radius_tl>corner_radius_bl?corner_radius_tl:corner_radius_bl; + + if(image.Sample(textureSampler, v_in.uv + float2(corner_radius_right*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = corner_radius_right; + }else if(image.Sample(textureSampler, v_in.uv + float2(-corner_radius_left*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = -corner_radius_left; + } + if(image.Sample(textureSampler, v_in.uv + float2(0,corner_radius_bottom*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = corner_radius_bottom; + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-corner_radius_top*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = -corner_radius_top; + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return pixel; + } + if(closedEdgeX != 0){ + [loop] for(int x = 1;x 0 && closedEdgeY < 0){ + corner_radius = corner_radius_tr; + }else if(closedEdgeX > 0 && closedEdgeY > 0){ + corner_radius = corner_radius_br; + }else if(closedEdgeX < 0 && closedEdgeY > 0){ + corner_radius = corner_radius_bl; + } + if(closedEdgeXabs > corner_radius && closedEdgeYabs > corner_radius){ + return pixel; + } + if(closedEdgeXabs == 0){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeYabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs == 0){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeXabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeXabs > corner_radius){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeYabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs > corner_radius){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeXabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + float d = distance(float2(closedEdgeXabs, closedEdgeYabs), float2(corner_radius,corner_radius)); + if(dAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4cff155242cf438437c97d2ba5da9d51f286283a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1190/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSRoundedRectPerSideShader.ps1 | 297 ++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 new file mode 100644 index 000000000..0e21a95de --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 @@ -0,0 +1,297 @@ +function Get-OBSRoundedRectPerSideShader { + +[Alias('Set-OBSRoundedRectPerSideShader','Add-OBSRoundedRectPerSideShader')] +param( +# Set the corner_radius_bottom of OBSRoundedRectPerSideShader +[Alias('corner_radius_bottom')] +[ComponentModel.DefaultBindingProperty('corner_radius_bottom')] +[Int32] +$CornerRadiusBottom, +# Set the corner_radius_left of OBSRoundedRectPerSideShader +[Alias('corner_radius_left')] +[ComponentModel.DefaultBindingProperty('corner_radius_left')] +[Int32] +$CornerRadiusLeft, +# Set the corner_radius_top of OBSRoundedRectPerSideShader +[Alias('corner_radius_top')] +[ComponentModel.DefaultBindingProperty('corner_radius_top')] +[Int32] +$CornerRadiusTop, +# Set the corner_radius_right of OBSRoundedRectPerSideShader +[Alias('corner_radius_right')] +[ComponentModel.DefaultBindingProperty('corner_radius_right')] +[Int32] +$CornerRadiusRight, +# Set the border_thickness of OBSRoundedRectPerSideShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRectPerSideShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# Set the border_alpha_start of OBSRoundedRectPerSideShader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSRoundedRectPerSideShader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSRoundedRectPerSideShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRoundedRectPerSideShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int corner_radius_bottom< + string label = "Corner radius bottom"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_left< + string label = "Corner radius left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_top< + string label = "Corner radius top"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_right< + string label = "Corner radius right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "border alpha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 1.0; +uniform float border_alpha_end< + string label = "border alpha end"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float alpha_cut_off< + string label = "alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 output_color = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(output_color.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + if(image.Sample(textureSampler, v_in.uv + float2(corner_radius_right*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = corner_radius_right; + }else if(image.Sample(textureSampler, v_in.uv + float2(-corner_radius_left*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = -corner_radius_left; + } + if(image.Sample(textureSampler, v_in.uv + float2(0,corner_radius_bottom*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = corner_radius_bottom; + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-corner_radius_top*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = -corner_radius_top; + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return output_color; + } + if(closedEdgeX != 0){ + [loop] for(int x = 1;x corner_radius){ + closedEdgeXabs = 0; + } + if(closedEdgeYabs > corner_radius){ + closedEdgeYabs = 0; + } + if(closedEdgeXabs == 0 && closedEdgeYabs == 0){ + return output_color; + } + if(closedEdgeXabs == 0){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeYabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return output_color; + } + } + if(closedEdgeYabs == 0){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeXabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return output_color; + } + } + + float closest = closedEdgeXabsAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 898425e20553b12618ec66f4a404e39904b7a73f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1191/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRoundedRectShader.ps1 | 149 ++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 new file mode 100644 index 000000000..08e1e828f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 @@ -0,0 +1,149 @@ +function Get-OBSRoundedRectShader { + +[Alias('Set-OBSRoundedRectShader','Add-OBSRoundedRectShader')] +param( +# Set the corner_radius of OBSRoundedRectShader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedRectShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRectShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRoundedRectShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGl by Q-mii & Exeldro February 21, 2022 +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; + +uniform float4 border_color; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 mirrored_tex_coord = float2(0.5, 0.5) - abs(v_in.uv - float2(0.5, 0.5)); + float4 output_color = image.Sample(textureSampler, v_in.uv); + + float2 pixel_position = float2(mirrored_tex_coord.x / uv_pixel_interval.x, mirrored_tex_coord.y / uv_pixel_interval.y); + float pixel_distance_from_center = distance(pixel_position, float2(corner_radius, corner_radius)); + + bool is_in_corner = pixel_position.x < corner_radius && pixel_position.y < corner_radius; + bool is_within_radius = pixel_distance_from_center <= corner_radius; + + bool is_within_edge_border = !is_in_corner && (pixel_position.x < 0 && pixel_position.x >= -border_thickness || pixel_position.y < 0 && pixel_position.y >= -border_thickness); + bool is_within_corner_border = is_in_corner && pixel_distance_from_center > corner_radius && pixel_distance_from_center <= (corner_radius + border_thickness); + + return ((!is_in_corner || is_within_radius)?output_color:float4(0,0,0,0)) + ((is_within_edge_border || is_within_corner_border)?border_color:float4(0,0,0,0)); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From b7831b6a735d7fc19dba1b2130a12bd8d1f87277 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1192/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRoundedRect2Shader.ps1 | 296 ++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 new file mode 100644 index 000000000..8e028ae86 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 @@ -0,0 +1,296 @@ +function Get-OBSRoundedRect2Shader { + +[Alias('Set-OBSRoundedRect2Shader','Add-OBSRoundedRect2Shader')] +param( +# Set the corner_radius of OBSRoundedRect2Shader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedRect2Shader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRect2Shader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# Set the border_alpha_start of OBSRoundedRect2Shader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSRoundedRect2Shader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSRoundedRect2Shader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# Set the faster_scan of OBSRoundedRect2Shader +[Alias('faster_scan')] +[ComponentModel.DefaultBindingProperty('faster_scan')] +[Management.Automation.SwitchParameter] +$FasterScan, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRoundedRect2Shader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "Border alpha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float border_alpha_end< + string label = "Border alpha end"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; +uniform float alpha_cut_off< + string label = "Aplha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.5; +uniform bool faster_scan = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pixel = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(pixel.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + float check_dist = float(corner_radius); + if(border_thickness > check_dist) + check_dist = border_thickness; + if(image.Sample(textureSampler, v_in.uv + float2(check_dist*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = int(check_dist); + }else if(image.Sample(textureSampler, v_in.uv + float2(-check_dist*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = int(-check_dist); + } + if(image.Sample(textureSampler, v_in.uv + float2(0,check_dist*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = int(check_dist); + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-check_dist*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = int(-check_dist); + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return pixel; + } + if(!faster_scan || closedEdgeX != 0){ + [loop] for(int x = 1;float(x) check_dist && border_thickness > corner_radius){ + if(closedEdgeXabs < corner_radius && closedEdgeYabs < corner_radius){ + float cd = distance(float2(closedEdgeXabs, closedEdgeYabs), float2(corner_radius,corner_radius)); + if(floor(cd) > corner_radius) + return float4(0.0,0.0,0.0,0.0); + if(cd > corner_radius){ + d = border_thickness + cd - corner_radius; + } else if(d > border_thickness){ + d = border_thickness; + } + }else if(d > border_thickness){ + d = border_thickness; + } + } + if(floor(d) <= check_dist){ + if(border_thickness > 0){ + if(ceil(check_dist-d) <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + ((check_dist-d)/ float(border_thickness))*(border_alpha_start-border_alpha_end); + if(border_alpha_start < border_alpha_end){ + fade_color.rgb = pixel.rgb * (1.0 - fade_color.a) + fade_color.rgb * fade_color.a; + fade_color.a = border_alpha_end + ((check_dist-d) / float(border_thickness))*(pixel.a-border_alpha_end); + } + if(d > check_dist) + fade_color.a *= 1.0 -(d - check_dist); + return fade_color; + }else if(d >= 0 && floor(check_dist-d) <= border_thickness && border_alpha_start >= border_alpha_end){ + float4 fade_color = border_color; + float f; + if(border_thickness > (check_dist-d)) + f = border_thickness - (check_dist-d); + else + f = 1.0 -((check_dist-d) - border_thickness); + fade_color.rgb = pixel.rgb * (1.0 - f) + fade_color.rgb * f; + return fade_color; + } + } + if (d > check_dist) + pixel.a *= 1.0 - (d - check_dist); + return pixel; + + } + return float4(0.0,0.0,0.0,0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 83b1e5e46a99badf5bf06ba317adb9db1f04a7fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1193/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSRoundedStrokeGradientShader.ps1 | 331 ++++++++++++++++++ 1 file changed, 331 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 new file mode 100644 index 000000000..7c122ee5a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 @@ -0,0 +1,331 @@ +function Get-OBSRoundedStrokeGradientShader { + +[Alias('Set-OBSRoundedStrokeGradientShader','Add-OBSRoundedStrokeGradientShader')] +param( +# Set the corner_radius of OBSRoundedStrokeGradientShader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedStrokeGradientShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the minimum_alpha_percent of OBSRoundedStrokeGradientShader +[Alias('minimum_alpha_percent')] +[ComponentModel.DefaultBindingProperty('minimum_alpha_percent')] +[Int32] +$MinimumAlphaPercent, +# Set the rotation_speed of OBSRoundedStrokeGradientShader +[Alias('rotation_speed')] +[ComponentModel.DefaultBindingProperty('rotation_speed')] +[Int32] +$RotationSpeed, +# Set the border_colorL of OBSRoundedStrokeGradientShader +[Alias('border_colorL')] +[ComponentModel.DefaultBindingProperty('border_colorL')] +[Single[]] +$BorderColorL, +# Set the border_colorR of OBSRoundedStrokeGradientShader +[Alias('border_colorR')] +[ComponentModel.DefaultBindingProperty('border_colorR')] +[Single[]] +$BorderColorR, +# Set the center_width of OBSRoundedStrokeGradientShader +[Alias('center_width')] +[ComponentModel.DefaultBindingProperty('center_width')] +[Int32] +$CenterWidth, +# Set the center_height of OBSRoundedStrokeGradientShader +[Alias('center_height')] +[ComponentModel.DefaultBindingProperty('center_height')] +[Int32] +$CenterHeight, +# Set the notes of OBSRoundedStrokeGradientShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRoundedStrokeGradientShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//rounded rectange shader from https://raw.githubusercontent.com/exeldro/obs-lua/master/rounded_rect.shader +//modified slightly by Surn +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int minimum_alpha_percent< + string label = "Minimum alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int rotation_speed< + string label = "rotation speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_colorL; +uniform float4 border_colorR; +//uniform float color_spread = 2.0; +uniform int center_width< + string label = "center width"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height< + string label = "center height"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform string notes< + string widget_type = "info"; +> = "Outlines the opaque areas with a rounded border. Default Minimum Alpha Percent is 50%, lowering will reveal more"; + +// float3 hsv2rgb(float3 c) +// { +// float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); +// float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); +// return c.z * lerp(K.xxx, saturate(p - K.xxx), c.y); +// } + +float mod(float x, float y) +{ + return x - y * floor(x/y); +} + +float4 gradient(float c) { + c = mod(c , 2.0); + if(c < 0.0f){ + c = c * -1.0; + } + if(c > 1.0){ + c = 1.0 - c; + if(c < 0.0f){ + c = c + 1.0; + } + } + return lerp(border_colorL, border_colorR, c); +} + +float4 getBorderColor(float2 toCenter){ + float angle = atan2(toCenter.y ,toCenter.x ); + float angleMod = (elapsed_time * mod(float(rotation_speed) , 18.0)) / 9; + return gradient((angle / 3.14159265f) + angleMod); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 st = v_in.uv * uv_scale; + float2 center_pixel_coordinates = float2((float(center_width) * 0.01), (float(center_height) * 0.01) ); + float2 toCenter = center_pixel_coordinates - st; + + float min_alpha = clamp(minimum_alpha_percent * .01, -1.0, 101.0); + float4 output_color = image.Sample(textureSampler, v_in.uv); + if (output_color.a < min_alpha) + { + return float4(0.0, 0.0, 0.0, 0.0); + } + int closedEdgeX = 0; + if (image.Sample(textureSampler, v_in.uv + float2(corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(-corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + int closedEdgeY = 0; + if (image.Sample(textureSampler, v_in.uv + float2(0, corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(0, -corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + if (closedEdgeX == 0 && closedEdgeY == 0) + { + return output_color; + } + if (closedEdgeX != 0) + { + [loop] + for (int x = 1; x < corner_radius; x++) + { + if (image.Sample(textureSampler, v_in.uv + float2(x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(-x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + } + } + if (closedEdgeY != 0) + { + [loop] + for (int y = 1; y < corner_radius; y++) + { + if (image.Sample(textureSampler, v_in.uv + float2(0, y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(0, -y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + } + } + if (closedEdgeX == 0) + { + if (closedEdgeY < border_thickness) + { + return getBorderColor(toCenter); + } + else + { + return output_color; + } + } + if (closedEdgeY == 0) + { + if (closedEdgeX < border_thickness) + { + return getBorderColor(toCenter); + } + else + { + return output_color; + } + } + + float d = distance(float2(closedEdgeX, closedEdgeY), float2(corner_radius, corner_radius)); + if (d < corner_radius) + { + if (corner_radius - d < border_thickness) + { + return getBorderColor(toCenter); + } + else + { + return output_color; + } + } + return float4(0.0, 0.0, 0.0, 0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 349c0358c0cc7e54231012207cc1a88294b21ad8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1194/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSRoundedStrokeShader.ps1 | 253 ++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 new file mode 100644 index 000000000..ece221600 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 @@ -0,0 +1,253 @@ +function Get-OBSRoundedStrokeShader { + +[Alias('Set-OBSRoundedStrokeShader','Add-OBSRoundedStrokeShader')] +param( +# Set the corner_radius of OBSRoundedStrokeShader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedStrokeShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the minimum_alpha_percent of OBSRoundedStrokeShader +[Alias('minimum_alpha_percent')] +[ComponentModel.DefaultBindingProperty('minimum_alpha_percent')] +[Int32] +$MinimumAlphaPercent, +# Set the border_color of OBSRoundedStrokeShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[Single[]] +$BorderColor, +# Set the notes of OBSRoundedStrokeShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSRoundedStrokeShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//rounded rectange shader from https://raw.githubusercontent.com/exeldro/obs-lua/master/rounded_rect.shader +//modified slightly by Surn +//Converted to OpenGl by Q-mii & Exeldro February 21, 2022 +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int minimum_alpha_percent< + string label = "Minimum alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float4 border_color; +uniform string notes< + string widget_type = "info"; +> = "Outlines the opaque areas with a rounded border. Default Minimum Alpha Percent is 50%, lowering will reveal more"; + +float4 mainImage(VertData v_in) : TARGET +{ + float min_alpha = clamp(minimum_alpha_percent * .01, -1.0, 101.0); + float4 output_color = image.Sample(textureSampler, v_in.uv); + if (output_color.a < min_alpha) + { + return float4(0.0, 0.0, 0.0, 0.0); + } + int closedEdgeX = 0; + if (image.Sample(textureSampler, v_in.uv + float2(corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(-corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + int closedEdgeY = 0; + if (image.Sample(textureSampler, v_in.uv + float2(0, corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(0, -corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + if (closedEdgeX == 0 && closedEdgeY == 0) + { + return float4(output_color); + } + if (closedEdgeX != 0) + { + [loop] + for (int x = 1; x < corner_radius; x++) + { + if (image.Sample(textureSampler, v_in.uv + float2(x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(-x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + } + } + if (closedEdgeY != 0) + { + [loop] + for (int y = 1; y < corner_radius; y++) + { + if (image.Sample(textureSampler, v_in.uv + float2(0, y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(0, -y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + } + } + if (closedEdgeX == 0) + { + if (closedEdgeY < border_thickness) + { + return border_color; + } + else + { + return float4(output_color); + } + } + if (closedEdgeY == 0) + { + if (closedEdgeX < border_thickness) + { + return border_color; + } + else + { + return float4(output_color); + } + } + + float d = distance(float2(closedEdgeX, closedEdgeY), float2(corner_radius, corner_radius)); + if (d < corner_radius) + { + if (corner_radius - d < border_thickness) + { + return border_color; + } + else + { + return output_color; + } + } + return float4(0.0, 0.0, 0.0, 0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 410d6d3f4b46437107046553098a1b0c18bdd483 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:43 +0000 Subject: [PATCH 1195/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSScanLineShader.ps1 | 231 ++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 b/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 new file mode 100644 index 000000000..83b875d87 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 @@ -0,0 +1,231 @@ +function Get-OBSScanLineShader { + +[Alias('Set-OBSScanLineShader','Add-OBSScanLineShader')] +param( +# Set the lengthwise of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('lengthwise')] +[Management.Automation.SwitchParameter] +$Lengthwise, +# Set the animate of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the speed of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the angle of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('angle')] +[Single] +$Angle, +# Set the shift of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('shift')] +[Management.Automation.SwitchParameter] +$Shift, +# Set the boost of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('boost')] +[Management.Automation.SwitchParameter] +$Boost, +# Set the floor of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('floor')] +[Single] +$Floor, +# Set the period of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('period')] +[Single] +$Period, +# Set the notes of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSScanLineShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Scan Line Effect for OBS Studio +// originally from Andersama (https://github.com/Andersama) +// Modified and improved my Charles Fettinger (https://github.com/Oncorporation) 1/2019 +//Converted to OpenGL by Q-mii & Exeldro February 21, 2022 +//Count the number of scanlines we want via height or width, adjusts the sin wave period +uniform bool lengthwise; +//Do we want the scanlines to move? +uniform bool animate; +//How fast do we want those scanlines to move? +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10000.0; + float step = 1; +> = 1000; +//What angle should the scanlines come in at (based in degrees) +uniform float angle< + string label = "angle"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 360.0; + float step = 0.1; +> = 45; +//Turns on adjustment of the results, sin returns -1 -> 1 these settings will change the results a bit +//By default values for color range from 0 to 1 +//Boost centers the result of the sin wave on 1*, to help maintain the brightness of the screen +uniform bool shift = true; +uniform bool boost = true; +//Increases the minimum value of the sin wave +uniform float floor< + string label = "Floor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 0.0; +//final adjustment to the period of the sin wave, we can''t / 0, need to be careful w/ user input +uniform float period< + string label = "Period"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 1000.0; + float step = 1.0; +> = 10.0; +uniform string notes< + string widget_type = "info"; +> = "floor affects the minimum opacity of the scan line"; +float4 mainImage(VertData v_in) : TARGET +{ + //3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481 3.141592653589793238462643383279502884197169399375105820974944592307816406286 + // float pix2 = 6.2831853071795864769252;//86766559005768394338798750211641949 + float nfloor = clamp(floor, 0.0, 100.0) * 0.01; + float nperiod = max(period, 1.0); + float gap = 1 - nfloor; + float pi = 3.1415926535897932384626; + float2 direction = float2( cos(angle * pi / 180.0) , sin(angle * pi / 180.0) ); + float nspeed = 0.0; + if(animate){ + nspeed = speed * 0.0001; + } + + float4 color = image.Sample(textureSampler, v_in.uv); + + float t = elapsed_time * nspeed; + + if(!lengthwise){ + float base_height = 1.0 / uv_pixel_interval.y; + float h_interval = pi * base_height; + + float rh_sin = sin(((v_in.uv.y * direction.y + v_in.uv.x * direction.x) + t) * (h_interval / nperiod)); + if(shift){ + rh_sin = ((1.0 + rh_sin) * 0.5) * gap + nfloor; + if(boost){ + rh_sin += gap * 0.5; + } + } + float4 s_mult = float4(rh_sin,rh_sin,rh_sin,1); + return s_mult * color; + } + else{ + float base_width = 1.0 / uv_pixel_interval.x; + float w_interval = pi * base_width; + + float rh_sin = sin(((v_in.uv.y * direction.y + v_in.uv.x * direction.x) + t) * (w_interval / nperiod)); + if(shift){ + rh_sin = ((1.0 + rh_sin) * 0.5) * gap + nfloor; + if(boost){ + rh_sin += gap * 0.5; + } + } + float4 s_mult = float4(rh_sin,rh_sin,rh_sin,1); + return s_mult * color; + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From f178c71fec4a360ba89b500d685b33782ad6c64a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1196/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSSeascapeShader.ps1 | 415 ++++++++++++++++++ 1 file changed, 415 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 b/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 new file mode 100644 index 000000000..8453a527b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 @@ -0,0 +1,415 @@ +function Get-OBSSeascapeShader { + +[Alias('Set-OBSSeascapeShader','Add-OBSSeascapeShader')] +param( +# Set the AA of OBSSeascapeShader +[ComponentModel.DefaultBindingProperty('AA')] +[Management.Automation.SwitchParameter] +$AA, +# Set the SEA_HEIGHT of OBSSeascapeShader +[Alias('SEA_HEIGHT')] +[ComponentModel.DefaultBindingProperty('SEA_HEIGHT')] +[Single] +$SEAHEIGHT, +# Set the SEA_CHOPPY of OBSSeascapeShader +[Alias('SEA_CHOPPY')] +[ComponentModel.DefaultBindingProperty('SEA_CHOPPY')] +[Single] +$SEACHOPPY, +# Set the SEA_SPEED of OBSSeascapeShader +[Alias('SEA_SPEED')] +[ComponentModel.DefaultBindingProperty('SEA_SPEED')] +[Single] +$SEASPEED, +# Set the SEA_FREQ of OBSSeascapeShader +[Alias('SEA_FREQ')] +[ComponentModel.DefaultBindingProperty('SEA_FREQ')] +[Single] +$SEAFREQ, +# Set the SEA_BASE of OBSSeascapeShader +[Alias('SEA_BASE')] +[ComponentModel.DefaultBindingProperty('SEA_BASE')] +[Single[]] +$SEABASE, +# Set the SEA_WATER_COLOR of OBSSeascapeShader +[Alias('SEA_WATER_COLOR')] +[ComponentModel.DefaultBindingProperty('SEA_WATER_COLOR')] +[Single[]] +$SEAWATERCOLOR, +# Set the CAMERA_SPEED of OBSSeascapeShader +[Alias('CAMERA_SPEED')] +[ComponentModel.DefaultBindingProperty('CAMERA_SPEED')] +[Single] +$CAMERASPEED, +# Set the CAMERA_TURN_SPEED of OBSSeascapeShader +[Alias('CAMERA_TURN_SPEED')] +[ComponentModel.DefaultBindingProperty('CAMERA_TURN_SPEED')] +[Single] +$CAMERATURNSPEED, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSeascapeShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +/* + * "Seascape" by Alexander Alekseev aka TDM - 2014 + * License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. + * Contact: tdmaav@gmail.com + * https://www.shadertoy.com/view/Ms2SD1 adapted by Exeldro + */ + +#define NUM_STEPS 8 +#define PI 3.141592 +#define EPSILON 0.001 +uniform bool AA< + string label = "Smooth (more resources)"; +> = false; + +#ifndef OPENGL +#define mat2 float2x2 +#define mat3 float3x3 +#define fract frac +#define mix lerp +#endif + +// sea +#define ITER_GEOMETRY 3 +#define ITER_FRAGMENT 5 +uniform float SEA_HEIGHT< + string label = "Sea Height"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.5; + float step = 0.001; +> = 0.6; +uniform float SEA_CHOPPY< + string label = "Sea Choppy"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 4.0; +uniform float SEA_SPEED< + string label = "Sea Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.8; +uniform float SEA_FREQ< + string label = "Sea Frequency"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.16; +uniform float4 SEA_BASE< + string label = "Sea Base"; +> = {0.0,0.09,0.18,1.0}; +uniform float4 SEA_WATER_COLOR< + string label = "Sea Water"; +> = {0.48,0.54,0.36,1.0}; + +uniform float CAMERA_SPEED< + string label = "Camera Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; + +uniform float CAMERA_TURN_SPEED< + string label = "Camera Turn Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; + + +float SEA_TIME(){ + return 1.0 + elapsed_time * SEA_SPEED; +} + +// math +mat3 fromEuler(float3 ang) { + float2 a1 = float2(sin(ang.x),cos(ang.x)); + float2 a2 = float2(sin(ang.y),cos(ang.y)); + float2 a3 = float2(sin(ang.z),cos(ang.z)); + return mat3(float3(a1.y*a3.y+a1.x*a2.x*a3.x,a1.y*a2.x*a3.x+a3.y*a1.x,-a2.y*a3.x), + float3(-a2.y*a1.x,a1.y*a2.y,a2.x), + float3(a3.y*a1.x*a2.x+a1.y*a3.x,a1.x*a3.x-a1.y*a3.y*a2.x,a2.y*a3.y)); +} + +float hash(float2 p) { + float h = dot(p,float2(127.1,311.7)); + return fract(sin(h)*43758.5453123); +} + +float noise(float2 p) { + float2 i = floor( p ); + float2 f = fract( p ); + float2 u = f*f*(3.0-2.0*f); + return -1.0+2.0*mix( mix( hash( i + float2(0.0,0.0) ), + hash( i + float2(1.0,0.0) ), u.x), + mix( hash( i + float2(0.0,1.0) ), + hash( i + float2(1.0,1.0) ), u.x), u.y); +} + +// lighting +float diffuse(float3 n,float3 l,float p) { + return pow(dot(n,l) * 0.4 + 0.6,p); +} +float specular(float3 n,float3 l,float3 e,float s) { + float nrm = (s + 8.0) / (PI * 8.0); + return pow(max(dot(reflect(e,n),l),0.0),s) * nrm; +} + +// sky +float3 getSkyColor(float3 e) { + e.y = (max(e.y,0.0)*0.8+0.2)*0.8; + return float3(pow(1.0-e.y,2.0), 1.0-e.y, 0.6+(1.0-e.y)*0.4) * 1.1; +} + +// sea +float sea_octave(float2 uv, float choppy) { + uv += noise(uv); + float2 wv = 1.0-abs(sin(uv)); + float2 swv = abs(cos(uv)); + wv = mix(wv,swv,wv); + return pow(1.0-pow(wv.x * wv.y,0.65),choppy); +} + +float map(float3 p) { + float freq = SEA_FREQ; + float amp = SEA_HEIGHT; + float choppy = SEA_CHOPPY; + float2 uv = p.xz; + uv.x *= 0.75; + mat2 octave_m = mat2(1.6,1.2,-1.2,1.6); + + float st = SEA_TIME(); + float d, h = 0.0; + for(int i = 0; i < ITER_GEOMETRY; i++) { + d = sea_octave((uv+float2(st,st))*freq,choppy); + d += sea_octave((uv-float2(st,st))*freq,choppy); + h += d * amp; + uv = mul(uv, octave_m); + freq *= 1.9; + amp *= 0.22; + choppy = mix(choppy,1.0,0.2); + } + return p.y - h; +} + +float map_detailed(float3 p) { + float freq = SEA_FREQ; + float amp = SEA_HEIGHT; + float choppy = SEA_CHOPPY; + float2 uv = p.xz; uv.x *= 0.75; + mat2 octave_m = mat2(1.6,1.2,-1.2,1.6); + float st = SEA_TIME(); + float d, h = 0.0; + for(int i = 0; i < ITER_FRAGMENT; i++) { + d = sea_octave((uv+float2(st,st))*freq,choppy); + d += sea_octave((uv-float2(st,st))*freq,choppy); + h += d * amp; + uv = mul(uv, octave_m); + freq *= 1.9; + amp *= 0.22; + choppy = mix(choppy,1.0,0.2); + } + return p.y - h; +} + +float3 getSeaColor(float3 p, float3 n, float3 l, float3 eye, float3 dist) { + float fresnel = clamp(1.0 - dot(n,-eye), 0.0, 1.0); + fresnel = min(pow(fresnel,3.0), 0.5); + + float3 reflected = getSkyColor(reflect(eye,n)); + float3 refracted = SEA_BASE.rgb + diffuse(n,l,80.0) * SEA_WATER_COLOR.rgb * 0.12; + + float3 color = mix(refracted,reflected,fresnel); + + float atten = max(1.0 - dot(dist,dist) * 0.001, 0.0); + color += SEA_WATER_COLOR.rgb * (p.y - SEA_HEIGHT) * 0.18 * atten; + + float s = specular(n,l,eye,60.0); + color += float3(s,s,s); + + return color; +} + +// tracing +float3 getNormal(float3 p, float eps) { + float3 n; + n.y = map_detailed(p); + n.x = map_detailed(float3(p.x+eps,p.y,p.z)) - n.y; + n.z = map_detailed(float3(p.x,p.y,p.z+eps)) - n.y; + n.y = eps; + return normalize(n); +} + +float heightMapTracing(float3 ori, float3 dir, out float3 p) { + float tm = 0.0; + float tx = 1000.0; + float hx = map(ori + dir * tx); + if(hx > 0.0) { + p = ori + dir * tx; + return tx; + } + float hm = map(ori + dir * tm); + float tmid = 0.0; + for(int i = 0; i < NUM_STEPS; i++) { + tmid = mix(tm,tx, hm/(hm-hx)); + p = ori + dir * tmid; + float hmid = map(p); + if(hmid < 0.0) { + tx = tmid; + hx = hmid; + } else { + tm = tmid; + hm = hmid; + } + } + return tmid; +} + +float3 getPixel(in float2 coord, float time) { + float2 uv = coord / uv_size.xy; + uv = uv * 2.0 - 1.0; + uv.x *= uv_size.x / uv_size.y; + + // ray + float3 ang = float3(sin(time*3.0*CAMERA_TURN_SPEED)*0.1,sin(time*CAMERA_TURN_SPEED)*0.2+0.3,time*CAMERA_TURN_SPEED); + float3 ori = float3(0.0,3.5,time*5.0*CAMERA_SPEED); + float3 dir = normalize(float3(uv.xy,-2.0)); + dir.z += length(uv) * 0.14; + dir = mul(normalize(dir), fromEuler(ang)); + + // tracing + float3 p; + heightMapTracing(ori,dir,p); + float3 dist = p - ori; + float3 n = getNormal(p, dot(dist,dist) * (0.1 / uv_size.x)); + float3 light = normalize(float3(0.0,1.0,0.8)); + + // color + return mix( + getSkyColor(dir), + getSeaColor(p,n,light,dir,dist), + pow(smoothstep(0.0,-0.02,dir.y),0.2)); +} + +// main +float4 mainImage(VertData v_in) : TARGET +{ + float time = elapsed_time * 0.3; + float2 fragCoord = float2(v_in.uv.x * uv_size.x, (1.0 - v_in.uv.y) * uv_size.y); + + float3 color = float3(0.0,0.0,0.0);; + if (AA){ + for(int i = -1; i <= 1; i++) { + for(int j = -1; j <= 1; j++) { + float2 uv = fragCoord+float2(i,j)/3.0; + color += getPixel(uv, time); + } + } + color /= 9.0; + }else{ + color = getPixel(fragCoord, time); + } + + // post + return float4(pow(color,float3(0.65,0.65,0.65)), 1.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 8f7e8d6c3b3cd2af3026de0bbcac2339371ccaa2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1197/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSSeasickShader.ps1 | 160 ++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 b/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 new file mode 100644 index 000000000..284a6427a --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 @@ -0,0 +1,160 @@ +function Get-OBSSeasickShader { + +[Alias('Set-OBSSeasickShader','Add-OBSSeasickShader')] +param( +# Set the notes of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the amplitude of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('amplitude')] +[Single] +$Amplitude, +# Set the speed of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the frequency of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('frequency')] +[Single] +$Frequency, +# Set the opacity of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('opacity')] +[Single] +$Opacity, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSeasickShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Seasick - an effect for OBS Studio +// +uniform string notes< + string widget_type = "info"; +> = "Seasick - from the game Snavenger\n\n(available on Google Play/Amazon Fire)"; +uniform float amplitude< + string label = "amplitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.03; +uniform float speed< + string label = "speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float frequency< + string label = "frequency"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 6.0; +uniform float opacity< + string label = "opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pulse = sin(elapsed_time*speed - frequency * v_in.uv); + float2 coord = v_in.uv + amplitude * float2(pulse.x, -pulse.y); + return image.Sample(textureSampler, coord) * opacity; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5fce46ae786dbc5f8b8afb12397620f31c5a8de3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1198/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSSelectiveColorShader.ps1 | 271 ++++++++++++++++++ 1 file changed, 271 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 b/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 new file mode 100644 index 000000000..64eded377 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 @@ -0,0 +1,271 @@ +function Get-OBSSelectiveColorShader { + +[Alias('Set-OBSSelectiveColorShader','Add-OBSSelectiveColorShader')] +param( +# Set the cutoff_Red of OBSSelectiveColorShader +[Alias('cutoff_Red')] +[ComponentModel.DefaultBindingProperty('cutoff_Red')] +[Single] +$CutoffRed, +# Set the cutoff_Green of OBSSelectiveColorShader +[Alias('cutoff_Green')] +[ComponentModel.DefaultBindingProperty('cutoff_Green')] +[Single] +$CutoffGreen, +# Set the cutoff_Blue of OBSSelectiveColorShader +[Alias('cutoff_Blue')] +[ComponentModel.DefaultBindingProperty('cutoff_Blue')] +[Single] +$CutoffBlue, +# Set the cutoff_Yellow of OBSSelectiveColorShader +[Alias('cutoff_Yellow')] +[ComponentModel.DefaultBindingProperty('cutoff_Yellow')] +[Single] +$CutoffYellow, +# Set the acceptance_Amplifier of OBSSelectiveColorShader +[Alias('acceptance_Amplifier')] +[ComponentModel.DefaultBindingProperty('acceptance_Amplifier')] +[Single] +$AcceptanceAmplifier, +# Set the show_Red of OBSSelectiveColorShader +[Alias('show_Red')] +[ComponentModel.DefaultBindingProperty('show_Red')] +[Management.Automation.SwitchParameter] +$ShowRed, +# Set the show_Green of OBSSelectiveColorShader +[Alias('show_Green')] +[ComponentModel.DefaultBindingProperty('show_Green')] +[Management.Automation.SwitchParameter] +$ShowGreen, +# Set the show_Blue of OBSSelectiveColorShader +[Alias('show_Blue')] +[ComponentModel.DefaultBindingProperty('show_Blue')] +[Management.Automation.SwitchParameter] +$ShowBlue, +# Set the show_Yellow of OBSSelectiveColorShader +[Alias('show_Yellow')] +[ComponentModel.DefaultBindingProperty('show_Yellow')] +[Management.Automation.SwitchParameter] +$ShowYellow, +# Set the notes of OBSSelectiveColorShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the background_type of OBSSelectiveColorShader +[Alias('background_type')] +[ComponentModel.DefaultBindingProperty('background_type')] +[Int32] +$BackgroundType, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSelectiveColorShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Selective Color shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//updated 4/13/2020: take into account the opacity/alpha of input image -thanks Skeletonbow for suggestion +//Converted to OpenGL by Q-mii February 25, 2020 +uniform float cutoff_Red< + string label = "cutoff Red"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.40; +uniform float cutoff_Green< + string label = "cutoff Green"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.025; +uniform float cutoff_Blue< + string label = "cutoff Blue"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.25; +uniform float cutoff_Yellow< + string label = "cutoff Yellow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.25; +uniform float acceptance_Amplifier< + string label = "acceptance Amplifier"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 20.0; + float step = 0.001; +> = 5.0; + +uniform bool show_Red = true; +uniform bool show_Green = true; +uniform bool show_Blue = true; +uniform bool show_Yellow = true; +uniform string notes< + string widget_type = "info"; +> = "defaults: .4,.03,.25,.25, 5.0, true,true, true, true. cuttoff higher = less color, 0 = all 1 = none."; +uniform int background_type< + string label = "background type"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Grey"; + int option_1_value = 1; + string option_1_label = "Luma"; + int option_2_value = 2; + string option_2_label = "White"; + int option_3_value = 3; + string option_3_label = "Black"; + int option_4_value = 4; + string option_4_label = "Transparent"; + int option_5_value = 5; + string option_5_label = "Background Color"; +> = 0; + +float4 mainImage(VertData v_in) : TARGET +{ + const float PI = 3.1415926535897932384626433832795;//acos(-1); + const float3 coefLuma = float3(0.2126, 0.7152, 0.0722); + float4 color = image.Sample(textureSampler, v_in.uv); + + float luminance = dot(coefLuma, color.rgb); + float4 gray = float4(luminance, luminance, luminance, 1.0); + + if (background_type == 0) + { + luminance = (color.r + color.g + color.b) * 0.3333; + gray = float4(luminance,luminance,luminance, 1.0); + } + //if (background_type == 1) + //{ + // gray = float4(luminance,luminance,luminance, 1.0); + //} + if (background_type == 2) + gray = float4(1.0,1.0,1.0,1.0); + if (background_type == 3) + gray = float4(0.0,0.0,0.0,1.0); + if (background_type == 4) + gray.a = 0.01; + if (background_type == 5) + gray = color; + + float redness = max ( min ( color.r - color.g , color.r - color.b ) / color.r , 0); + float greenness = max ( min ( color.g - color.r , color.g - color.b ) / color.g , 0); + float blueness = max ( min ( color.b - color.r , color.b - color.g ) / color.b , 0); + + float rgLuminance = (color.r*1.4 + color.g*0.6)/2; + float rgDiff = abs(color.r-color.g)*1.4; + + float yellowness = 0.1 + rgLuminance * 1.2 - color.b - rgDiff; + + float4 accept; + accept.r = float(show_Red) * (redness - cutoff_Red); + accept.g = float(show_Green) * (greenness - cutoff_Green); + accept.b = float(show_Blue) * (blueness - cutoff_Blue); + accept[3] = float(show_Yellow) * (yellowness - cutoff_Yellow); + + float acceptance = max (accept.r, max(accept.g, max(accept.b, max(accept[3],0)))); + float modAcceptance = min (acceptance * acceptance_Amplifier, 1); + + float4 result = color; + if (result.a > 0) { + result = modAcceptance * color + (1.0 - modAcceptance) * gray; + //result.a *= gray.a; + } + + return result; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 27971d2b02da600257aa6bc94ebcad22575c11c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1199/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSShakeShader.ps1 | 312 ++++++++++++++++++ 1 file changed, 312 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSShakeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 b/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 new file mode 100644 index 000000000..bb86a7a55 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 @@ -0,0 +1,312 @@ +function Get-OBSShakeShader { + +[Alias('Set-OBSShakeShader','Add-OBSShakeShader')] +param( +# Set the ViewProj of OBSShakeShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSShakeShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSShakeShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSShakeShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSShakeShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSShakeShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSShakeShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSShakeShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the local_time of OBSShakeShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the random_scale of OBSShakeShader +[Alias('random_scale')] +[ComponentModel.DefaultBindingProperty('random_scale')] +[Single] +$RandomScale, +# Set the worble of OBSShakeShader +[ComponentModel.DefaultBindingProperty('worble')] +[Management.Automation.SwitchParameter] +$Worble, +# Set the speed of OBSShakeShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the min_growth_pixels of OBSShakeShader +[Alias('min_growth_pixels')] +[ComponentModel.DefaultBindingProperty('min_growth_pixels')] +[Single] +$MinGrowthPixels, +# Set the max_growth_pixels of OBSShakeShader +[Alias('max_growth_pixels')] +[ComponentModel.DefaultBindingProperty('max_growth_pixels')] +[Single] +$MaxGrowthPixels, +# Set the randomize_movement of OBSShakeShader +[Alias('randomize_movement')] +[ComponentModel.DefaultBindingProperty('randomize_movement')] +[Management.Automation.SwitchParameter] +$RandomizeMovement, +# Set the notes of OBSShakeShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSShakeShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Shake Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 +// Added some randomization based upon random_scale input +// updated for latest version of obs-shaderfilter + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform float local_time; + + +uniform float random_scale< + string label = "random scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.25; +uniform bool worble = false; +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; +uniform float min_growth_pixels< + string label = "min growth pixels"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = -2.0; +uniform float max_growth_pixels< + string label = "max growth pixels"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 2.0; +uniform bool randomize_movement = false; + +uniform string notes< + string widget_type = "info"; +> =''keep the random_scale low for small (0.2-1) for small jerky movements and larger for less often big jumps''; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +//noise values in range if 0.0 to 1.0 + +float noise3D(float x, float y, float z) { + float ptr = 0.0f; + return frac(sin(x*112.9898f + y*179.233f + z*237.212f) * 43758.5453f); +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + + float3 pos = v_in.pos.xyz; + float t; + float s; + float noise; + if (randomize_movement) + { + t = (rand_f * 2) - 1.0f; + s = (1 - rand_f * 2) - 1.0f;; + noise = clamp( rand_f * random_scale,-0.99, 0.99); + } + else + { + t = (1 + sin(elapsed_time * speed)) / 2; + s = (1 + cos(elapsed_time * speed)) / 2; + noise = clamp(noise3D(t,s,100) * random_scale,-0.99, 0.99); + } + + float3 direction_from_center = float3((v_in.uv.x - 0.5 + noise) * uv_pixel_interval.y / uv_pixel_interval.x, v_in.uv.y - 0.5 + noise, 1); + float3 min_pos; + float3 max_pos; + if (worble) + { + min_pos = pos + direction_from_center * min_growth_pixels * 0.5; + max_pos = pos + direction_from_center * max_growth_pixels * 0.5; + } + else + { + min_pos = pos + direction_from_center * 0.5; + max_pos = min_pos; + } + + float3 current_pos = min_pos * (1 - t) + max_pos * t; + //current_pos.x = v_in.pos.x + (t * min_pos.x); + current_pos.y = (min_pos.y * (1 - s) + max_pos.y * s); + //current_pos.y = v_in.pos.y + (s * min_pos.y); + //current_pos.z = min_pos.z * (1 - s) + max_pos.z * s; + + float2 offset = uv_offset; + offset.x = uv_offset.x * (1 - t + noise); + offset.y = uv_offset.y * (1 - s + noise); + + vert_out.pos = mul(float4(current_pos, 1), ViewProj); + + //float2 scale = uv_scale; + //scale += dot(pos - current_pos, 1); + + vert_out.uv = v_in.uv * uv_scale + offset; + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 95b995b01a11422003abebe0850ecf68426d94ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1200/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSShineShader.ps1 | 337 ++++++++++++++++++ 1 file changed, 337 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSShineShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSShineShader.ps1 b/Commands/Filters/Shaders/Get-OBSShineShader.ps1 new file mode 100644 index 000000000..6d8261bf0 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSShineShader.ps1 @@ -0,0 +1,337 @@ +function Get-OBSShineShader { + +[Alias('Set-OBSShineShader','Add-OBSShineShader')] +param( +# Set the l_tex of OBSShineShader +[Alias('l_tex')] +[ComponentModel.DefaultBindingProperty('l_tex')] +[String] +$LTex, +# Set the shine_color of OBSShineShader +[Alias('shine_color')] +[ComponentModel.DefaultBindingProperty('shine_color')] +[Single[]] +$ShineColor, +# Set the speed_percent of OBSShineShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the gradient_percent of OBSShineShader +[Alias('gradient_percent')] +[ComponentModel.DefaultBindingProperty('gradient_percent')] +[Int32] +$GradientPercent, +# Set the delay_percent of OBSShineShader +[Alias('delay_percent')] +[ComponentModel.DefaultBindingProperty('delay_percent')] +[Int32] +$DelayPercent, +# Set the Apply_To_Alpha_Layer of OBSShineShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the ease of OBSShineShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the hide of OBSShineShader +[ComponentModel.DefaultBindingProperty('hide')] +[Management.Automation.SwitchParameter] +$Hide, +# Set the reverse of OBSShineShader +[ComponentModel.DefaultBindingProperty('reverse')] +[Management.Automation.SwitchParameter] +$Reverse, +# Set the One_Direction of OBSShineShader +[Alias('One_Direction')] +[ComponentModel.DefaultBindingProperty('One_Direction')] +[Management.Automation.SwitchParameter] +$OneDirection, +# Set the glitch of OBSShineShader +[ComponentModel.DefaultBindingProperty('glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the notes of OBSShineShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the start_adjust of OBSShineShader +[Alias('start_adjust')] +[ComponentModel.DefaultBindingProperty('start_adjust')] +[Single] +$StartAdjust, +# Set the stop_adjust of OBSShineShader +[Alias('stop_adjust')] +[ComponentModel.DefaultBindingProperty('stop_adjust')] +[Single] +$StopAdjust, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSShineShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Shine Shader By Charles Fettinger (https://github.com/Oncorporation) 3/2019 +// use color to control shine amount, use transition wipes or make your own alpha texture +// slerp not currently used, for circular effects +//Converted to OpenGL by Exeldro February 14, 2022 +uniform texture2d l_tex; +uniform float4 shine_color ; +uniform int speed_percent< + string label = "speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 25; +uniform int gradient_percent< + string label = "gradient percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 20; +uniform int delay_percent< + string label = "gradient percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform bool Apply_To_Alpha_Layer = false; +uniform bool ease = false; +uniform bool hide = false; +uniform bool reverse = false; +uniform bool One_Direction = true; +uniform bool glitch = false; +uniform string notes< + string widget_type = "info"; +> = "Use Luma Wipes ( data/obs-plugins/obs-transitions/luma_wipes ) ''ease'' makes the animation pause at the begin and end for a moment, ''hide'' will make the image disappear, ''glitch'' is random and amazing, ''reverse'' quickly allows you to test settings, ''One Direction'' only shows the shine as it travels in one direction, ''delay percentage'' adds a delay between shines (requires adjustment to speed: https://www.desmos.com/calculator/wkgbndweyt )"; + +uniform float start_adjust; +uniform float stop_adjust; + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2.0; + if (t < 1.0) return -c/2.0 * (sqrt(1.0 - t*t) - 1.0) + b; + t -= 2.0; + return c/2.0 * (sqrt(1.0 - t*t) + 1.0) + b; +} + +float Styler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0.0,c,d); + return t; +} + +float4 convert_pmalpha(float4 c) +{ + float4 ret = c; + if (c.a >= 0.001) + ret.xyz /= c.a; + else + ret = float4(0.0, 0.0, 0.0, 0.0); + return ret; +} + +float4 slerp(float4 start, float4 end, float percent) +{ + // Dot product - the cosine of the angle between 2 vectors. + float dotf = start.r*end.r+start.g*end.g+start.b*end.b+start.a*end.a; + // Clamp it to be in the range of Acos() + // This may be unnecessary, but floating point + // precision can be a fickle mistress. + dotf = clamp(dotf, -1.0f, 1.0f); + // Acos(dot) returns the angle between start and end, + // And multiplying that by percent returns the angle between + // start and the final result. + float theta = acos(dotf)*percent; + float4 RelativeVec = normalize(end - start * dotf); + + // Orthonormal basis + // The final result. + return ((start*cos(theta)) + (RelativeVec*sin(theta))); +} + +float4 mainImage(VertData v_in) : TARGET +{ + // convert input for vector math + float4 rgba = convert_pmalpha(image.Sample(textureSampler, v_in.uv)); + float speed = speed_percent * 0.01; + float softness = max(abs(gradient_percent * 0.01), 0.01) * sign(gradient_percent); + float delay = clamp(delay_percent * 0.01, 0.0, 1.0); + + + // circular easing variable + float direction = abs(sin((elapsed_time - 0.001) * speed)); + float t = abs(sin(elapsed_time * speed)); + + // if time is greater than direction, we are going up! + direction = t - direction; + + // split into segments with frac or mod. + // delay is the gap between starting and ending of the sine wave, use speed to compensate + t = (frac(t) - delay) * (1 / (1 - delay)); + t = 1 + max(t,0.0); + + float s = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + if (glitch) t = clamp(t + ((rand_f *2) - 1), 0.0,2.0); + + //if Unidirectional disable on return + if (One_Direction && (direction < 0.0)) + { + s = 0; + } + else + { + s = Styler(t, 0, c, d, ease); + } + + // combine luma texture and user defined shine color + float luma = l_tex.Sample(textureSampler, v_in.uv).x; + + // - adjust for min and max + if ((luma >= (start_adjust)) && (luma <= (1 - stop_adjust))) + { + + if (reverse) + { + luma = 1.0 - luma; + } + + // user color with luma + float4 output_color = float4(shine_color.rgb, luma); + + float time = lerp(0.0f, 1.0f + abs(2*softness), s - 1.0); + + // use luma texture to add alpha and shine + + // if behind glow, consider trailing gradient shine then show underlying image + if (luma <= time - softness) + { + float alpha_behind = clamp(1.0 - (time - softness - luma ) / softness, 0.00, 1.0); + if (Apply_To_Alpha_Layer) + alpha_behind *= rgba.a; + return lerp(rgba, rgba + output_color, alpha_behind); + } + + // if in front of glow, consider if the underlying image is hidden + if (luma >= time) + { + // if hide, make the transition better + if (hide) + { + return float4(rgba.rgb, lerp(0.0, rgba.a, (time + softness) / (1 + abs(2*softness)))); + } + else + { + return rgba; + } + } + + // else show the glow area, with luminance + float alpha_ = (time - luma) / softness; + if (Apply_To_Alpha_Layer) + alpha_ *= rgba.a; + return lerp(rgba, rgba + output_color, alpha_); + } + else + { + return rgba; + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From c715361d1c3d8f12b7f325a2f5c89712ce2a0e25 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1201/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSSimpleGradientShader.ps1 | 254 ++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 new file mode 100644 index 000000000..195799fd8 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 @@ -0,0 +1,254 @@ +function Get-OBSSimpleGradientShader { + +[Alias('Set-OBSSimpleGradientShader','Add-OBSSimpleGradientShader')] +param( +# Set the speed_percentage of OBSSimpleGradientShader +[Alias('speed_percentage')] +[ComponentModel.DefaultBindingProperty('speed_percentage')] +[Int32] +$SpeedPercentage, +# Set the alpha_percentage of OBSSimpleGradientShader +[Alias('alpha_percentage')] +[ComponentModel.DefaultBindingProperty('alpha_percentage')] +[Int32] +$AlphaPercentage, +# Set the Lens_Flair of OBSSimpleGradientShader +[Alias('Lens_Flair')] +[ComponentModel.DefaultBindingProperty('Lens_Flair')] +[Management.Automation.SwitchParameter] +$LensFlair, +# Set the Animate_Lens_Flair of OBSSimpleGradientShader +[Alias('Animate_Lens_Flair')] +[ComponentModel.DefaultBindingProperty('Animate_Lens_Flair')] +[Management.Automation.SwitchParameter] +$AnimateLensFlair, +# Set the Apply_To_Alpha_Layer of OBSSimpleGradientShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Apply_To_Specific_Color of OBSSimpleGradientShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSSimpleGradientShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the notes of OBSSimpleGradientShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSimpleGradientShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple Gradient shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// https://github.com/Oncorporation/obs-shaderfilter + +//lots of room to play here +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform int speed_percentage< + string label = "speed percentage"; + string widget_type = "slider"; + int minimum = -500; + int maximum = 500; + int step = 1; +> = 240; // +uniform int alpha_percentage< + string label = "aplha percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform bool Lens_Flair = false; +uniform bool Animate_Lens_Flair = false; +uniform bool Apply_To_Alpha_Layer = false; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string notes< + string widget_type = "info"; +> = "This gradient is very basic from the top left corner. Red on horizontal, Green vertical, Blue Diagonal. Apply To Alpha Layer will add the gradient colors to the background. Lens Flair will brighten the scene from the bottom right. There is also a lot of unused code to play with in the shader file, delimted by /* ... */"; + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 background_color = image.Sample(textureSampler, v_in.uv); + int no_colors = 4; + float3 colors[4]; + colors[0] = float3(1.0,0.0,0.0); + colors[1] = float3(0.0,1.0,0.0); + colors[2] = float3(0.0,0.0,1.0); + colors[3] = float3(1.0,1.0,1.0); + float alpha = float(alpha_percentage) * 0.01; + float speed = float(speed_percentage) * 0.01; + + float mx = max(uv_size.x , uv_size.y); + //float2 uv = v_in.uv / mx; + float3 rgb = background_color.rgb; + + // skip if (alpha is zero and only apply to alpha layer is true) + if (!(background_color.a <= 0.0 && Apply_To_Alpha_Layer == true)) + { + rgb = float3(v_in.uv.x, v_in.uv.y, 0.10 + 0.85 * sin(elapsed_time * speed)); + } + + //create lens flare like effect + if (Lens_Flair) + { + float2 lens_flair_coordinates = float2(0.95 ,0.95); + if (Animate_Lens_Flair) + lens_flair_coordinates *= float2(sin(elapsed_time * speed) ,cos(elapsed_time * speed)); + + float dist = distance(v_in.uv, ( lens_flair_coordinates * uv_scale + uv_offset)); + for (int i = 0; i < no_colors; ++i) { + rgb += lerp(rgb, colors[i], dist * 1.5) * 0.25; + } + } + + + //float3 col = colors[0]; +/* for (int i = 1; i < no_colors; ++i) { + float3 hole = float3( + sin(1.5 - distance(v_in.uv.x / mx, colors[i].x / mx) * 2.5 * speed), + sin(1.5 - distance(v_in.uv.y / mx, colors[i].y / mx) * 2.5 * speed), + colors[i].z); + rgb = lerp(rgb, hole, 0.1); +*/ +/* float3 hole = lerp(colors[i-1], colors[i], sin(elapsed_time * speed)); + col = lerp(col, hole, v_in.uv.x); +*/ + //} +// rgb = fflerp(rgb, col, 0.5); + + + + //try prepositioned colors with colors[] array timing + //creates an animated color spotlight +/* int color_index = int(sin(elapsed_time * speed) * no_colors); + float3 start_color = colors[color_index]; + float3 end_color; + if (color_index >= 0) + { + end_color = colors[color_index - 1]; + } + else + { + end_color = colors[no_colors - 1]; + } + + rgb = smoothstep(start_color, end_color, distance(v_in.uv , sin(elapsed_time * speed * no_colors) * (float2(1.0,1.0) * uv_scale + uv_offset))); +*/ + float4 rgba; + if (Apply_To_Alpha_Layer == false) + { + rgba = lerp(background_color,float4(rgb, 1.0),alpha); + } + else + { + rgba = lerp(background_color,background_color * float4(rgb,1.0), alpha); + } + if (Apply_To_Specific_Color) + { + float4 original_color = background_color; + background_color = (distance(background_color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : background_color; + rgba = lerp(original_color, background_color, clamp(alpha, 0, 1.0)); + } + return rgba; +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 005680f9bbf054f294512134b409d1abd870261e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1202/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSSimplexNoiseShader.ps1 | 336 ++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 b/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 new file mode 100644 index 000000000..6ed5de2e8 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 @@ -0,0 +1,336 @@ +function Get-OBSSimplexNoiseShader { + +[Alias('Set-OBSSimplexNoiseShader','Add-OBSSimplexNoiseShader')] +param( +# Set the Snap_Percent of OBSSimplexNoiseShader +[Alias('Snap_Percent')] +[ComponentModel.DefaultBindingProperty('Snap_Percent')] +[Single] +$SnapPercent, +# Set the Speed_Percent of OBSSimplexNoiseShader +[Alias('Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Speed_Percent')] +[Single] +$SpeedPercent, +# Set the Resolution of OBSSimplexNoiseShader +[ComponentModel.DefaultBindingProperty('Resolution')] +[Single] +$Resolution, +# Set the Fractal of OBSSimplexNoiseShader +[ComponentModel.DefaultBindingProperty('Fractal')] +[Management.Automation.SwitchParameter] +$Fractal, +# Set the Use_Alpha_Layer of OBSSimplexNoiseShader +[Alias('Use_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Use_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$UseAlphaLayer, +# Set the Fore_Color of OBSSimplexNoiseShader +[Alias('Fore_Color')] +[ComponentModel.DefaultBindingProperty('Fore_Color')] +[Single[]] +$ForeColor, +# Set the Back_Color of OBSSimplexNoiseShader +[Alias('Back_Color')] +[ComponentModel.DefaultBindingProperty('Back_Color')] +[Single[]] +$BackColor, +# Set the Alpha_Percent of OBSSimplexNoiseShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Single] +$AlphaPercent, +# Set the Notes of OBSSimplexNoiseShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSimplexNoiseShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simplex Noise shader by Charles Fettinger (https://github.com/Oncorporation) 5/2019 +// for use with obs-shaderfilter 1.0 +//based upon: https://www.shadertoy.com/view/XsX3zB + +#ifndef OPENGL +#define fract frac +#endif + +uniform float Snap_Percent< + string label = "Snap Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 7.5; +uniform float Speed_Percent< + string label = "Speed Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 2.5; +uniform float Resolution< + string label = "Resolution"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 16.0; +uniform bool Fractal = false; +uniform bool Use_Alpha_Layer = false; +uniform float4 Fore_Color = {0.95,0.95,0.95, 1.0}; +uniform float4 Back_Color = {0.75, 0.75, 0.75, 1.0}; +uniform float Alpha_Percent< + string label = "Alpha Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.0; +uniform string Notes< + string widget_type = "info"; +> = "Alpha Percentage applies to the shader, Use_Alpha_Layer applies effect with the image alpha layer, Resolution is the amount of detail of noise created.Fractal is a different algorithm. Snap Percent affects how many updates per second. Default values: 7.5%, 2.5%, 16.0, 100%"; + +float dot(float3 a, float3 b){ + return a.r*b.r+a.g*b.g+a.b*b.b; +} + +float dot4(float4 a, float4 b){ + return a.r*b.r+a.g*b.g+a.b*b.b+a.a*b.a; +} +float snap(float x, float snap) +{ + return snap * round(x / max(0.01,snap)); +} + +float3 random3(float3 co) +{ + float j = 4096.0 * sin(dot(co, float3(17.0, 59.4, 15.0))); + float3 result; + result.z = fract(512.0 * j); + j *= .125; + result.x = fract(512.0 * j); + j *= .125; + result.y = fract(512.0 * j); + return result - 0.5; +} + +/* 3d simplex noise */ +float simplex3d(float3 p) { + /* 1. find current tetrahedron T and it''s four vertices */ + /* s, s+i1, s+i2, s+1.0 - absolute skewed (integer) coordinates of T vertices */ + /* x, x1, x2, x3 - unskewed coordinates of p relative to each of T vertices*/ + + /* skew constants for 3d simplex functions */ + float F3 = 0.3333333; + float G3 = 0.1666667; + + /* calculate s and x */ + float3 s = floor(p + dot(p, float3(F3,F3,F3))); + float3 x = p - s + dot(s, float3(G3,G3,G3)); + + /* calculate i1 and i2 */ + float3 e = step(float3(0.0,0.0,0.0), x - x.yzx); + float3 i1 = e * (1.0 - e.zxy); + float3 i2 = 1.0 - e.zxy * (1.0 - e); + + /* x1, x2, x3 */ + float3 x1 = x - i1 + G3; + float3 x2 = x - i2 + 2.0 * G3; + float3 x3 = x - 1.0 + 3.0 * G3; + + /* 2. find four surflets and store them in d */ + float4 w, d; + + /* calculate surflet weights */ + w.x = dot(x, x); + w.y = dot(x1, x1); + w.z = dot(x2, x2); + w.w = dot(x3, x3); + + /* w fades from 0.6 at the center of the surflet to 0.0 at the margin */ + w = max(0.61 - w, 0.0); + + /* calculate surflet components */ + d.x = dot(random3(s), x); + d.y = dot(random3(s + i1), x1); + d.z = dot(random3(s + i2), x2); + d.w = dot(random3(s + 1.0), x3); + + /* multiply d by w^4 */ + w *= w; + w *= w; + d *= w; + + /* 3. return the sum of the four surflets */ + return dot4(d, float4(52.0, 52.0, 52.0, 52.0)); +} + + +/* directional artifacts can be reduced by rotating each octave */ +float simplex3d_fractal(float3 m3) { + /* const matrices for 3d rotation */ +#ifdef OPENGL + float3x3 rot1 = float3x3( + float3(-0.37, 0.36, 0.85), + float3(-0.14, -0.93, 0.34), + float3(0.92, 0.01, 0.4 )); + float3x3 rot2 = float3x3( + float3(-0.55, -0.39, 0.74), + float3(0.33, -0.91, -0.24), + float3(0.77, 0.12, 0.63 )); + float3x3 rot3 = float3x3( + float3(-0.71, 0.52, -0.47), + float3(-0.08, -0.72, -0.68), + float3(-0.7, -0.45, 0.56 )); + + float3 m = float3(m3.x, m3.y, m3.z); +#else + float3x3 rot1 = { + -0.37, 0.36, 0.85, + -0.14, -0.93, 0.34, + 0.92, 0.01, 0.4 }; + float3x3 rot2 = { + -0.55, -0.39, 0.74, + 0.33, -0.91, -0.24, + 0.77, 0.12, 0.63 }; + float3x3 rot3 = { + -0.71, 0.52, -0.47, + -0.08, -0.72, -0.68, + -0.7, -0.45, 0.56 }; + + float3 m = {m3.x, m3.y, m3.z}; +#endif + + return 0.5333333* simplex3d(mul(m, rot1)) + + 0.2666667 * simplex3d(2.0 * mul(m, rot2)) + + 0.1333333 * simplex3d(4.0 * mul(m, rot3)) + + 0.0666667 * simplex3d(8.0 * m); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float time = snap(elapsed_time, Snap_Percent * .01); + float4 rgba = image.Sample(textureSampler, v_in.uv); + float2 p = v_in.uv.xy + float2( 0, -0.5); + float3 p3 = float3(p, time * (Speed_Percent * 0.01)); + + float pixel_alpha = 1.0; + // apply to mainImage rgba + if (Use_Alpha_Layer) { + p3 *= rgba.rgb; + pixel_alpha = rgba.a; + } + + float value; + + if (Fractal) { + value = simplex3d_fractal(p3 * (Resolution * 0.5) + (Resolution * 0.5)); + } + else { + value = simplex3d(p3 * Resolution); + } + + //soften color + value = 0.5 + (0.5 * value); + float intensity = dot(float3(value, value, value), float3(0.299, 0.587, 0.114)); + + //use intensity to apply foreground and background colors + float4 r = lerp(float4(float3(value, value, value), pixel_alpha), Fore_Color, saturate(intensity)); + r = lerp(Back_Color, r, saturate(intensity)); + r.a = pixel_alpha; + + return lerp(rgba, r, Alpha_Percent * 0.01); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From b05d67bbdfb534f1b850cbaf3937a548a1a28b40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1203/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSSpotlightShader.ps1 | 185 ++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 b/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 new file mode 100644 index 000000000..71290468f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 @@ -0,0 +1,185 @@ +function Get-OBSSpotlightShader { + +[Alias('Set-OBSSpotlightShader','Add-OBSSpotlightShader')] +param( +# Set the Speed_Percent of OBSSpotlightShader +[Alias('Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Speed_Percent')] +[Single] +$SpeedPercent, +# Set the Focus_Percent of OBSSpotlightShader +[Alias('Focus_Percent')] +[ComponentModel.DefaultBindingProperty('Focus_Percent')] +[Single] +$FocusPercent, +# Set the Glitch of OBSSpotlightShader +[ComponentModel.DefaultBindingProperty('Glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the Spotlight_Color of OBSSpotlightShader +[Alias('Spotlight_Color')] +[ComponentModel.DefaultBindingProperty('Spotlight_Color')] +[Single[]] +$SpotlightColor, +# Set the Horizontal_Offset of OBSSpotlightShader +[Alias('Horizontal_Offset')] +[ComponentModel.DefaultBindingProperty('Horizontal_Offset')] +[Single] +$HorizontalOffset, +# Set the Vertical_Offset of OBSSpotlightShader +[Alias('Vertical_Offset')] +[ComponentModel.DefaultBindingProperty('Vertical_Offset')] +[Single] +$VerticalOffset, +# Set the Notes of OBSSpotlightShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSpotlightShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Spotlight By Charles Fettinger (https://github.com/Oncorporation) 4/2019 +uniform float Speed_Percent< + string label = "Speed Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.0; +uniform float Focus_Percent< + string label = "Focus Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 15.0; +uniform bool Glitch; +uniform float4 Spotlight_Color; +uniform float Horizontal_Offset< + string label = "Horizontal Offset"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float Vertical_Offset< + string label = "Vertical Offset"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = -0.5; +uniform string Notes< + string widget_type = "info"; +> = "use negative Focus Percent to create a shade effect, speed zero is a stationary spotlight"; + +float4 mainImage(VertData v_in) : TARGET +{ + float speed = Speed_Percent * 0.01; + float focus = Focus_Percent; + if (Glitch) + { + speed *= ((rand_f * 2) - 1) * 0.01; + focus *= ((rand_f * 1.1) - 0.1); + } + + float PI = 3.1415926535897932384626433832795;//acos(-1); + float4 c0 = image.Sample( textureSampler, v_in.uv); + float3 lightsrc = float3(sin(elapsed_time * speed * PI * 0.667) *.5 + .5 + Horizontal_Offset, cos(elapsed_time * speed * PI) *.5 + .5 + Vertical_Offset, 1); + float3 light = normalize(lightsrc - float3( v_in.uv.x + (Horizontal_Offset * speed), v_in.uv.y + (Vertical_Offset * speed), 0)); + c0 *= pow(dot(light, float3(0, 0, 1)), focus) * Spotlight_Color; + + return c0; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 02914d0640644c35580fd0142a44791b599e1ecd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1204/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSSwirlShader.ps1 | 204 ++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 b/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 new file mode 100644 index 000000000..40bf201ca --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 @@ -0,0 +1,204 @@ +function Get-OBSSwirlShader { + +[Alias('Set-OBSSwirlShader','Add-OBSSwirlShader')] +param( +# Set the radius of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('radius')] +[Single] +$Radius, +# Set the angle of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('angle')] +[Single] +$Angle, +# Set the center_x of OBSSwirlShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSSwirlShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the animate of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the inverse of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('inverse')] +[Management.Automation.SwitchParameter] +$Inverse, +# Set the notes of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSSwirlShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Created by Radegast Stravinsky for obs-shaderfilter 9/2020 +uniform float radius< + string label = "Radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; // +uniform float angle< + string label = "Angle"; + string widget_type = "slider"; + float minimum = -360.0; + float maximum = 360.0; + float step = 0.01; +> = 270.0; // + +uniform float center_x< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; // +uniform float center_y< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; // + +uniform bool animate = false; +uniform bool inverse = false; + +uniform string notes< + string widget_type = "info"; +> = "Distorts the screen, twisting the image in a circular motion." + +float4 mainImage(VertData v_in) : TARGET +{ + + float2 center = float2(center_x, center_y); + VertData v_out; + v_out.pos = v_in.pos; + float2 hw = uv_size; + float ar = 1. * hw.y/hw.x; + + v_out.uv = 1. * v_in.uv - center; + + center.x /= ar; + v_out.uv.x /= ar; + + float dist = distance(v_out.uv, center); + if (dist < radius) + { + float percent = (radius-dist)/(radius); + percent = inverse == false ? percent : 1 - percent; + + float theta = percent * percent * radians(angle * (animate == true ? sin(elapsed_time) : 1.0)); + float s = sin(theta); + float c = cos(theta); + v_out.uv = float2(dot(v_out.uv-center, float2(c,-s)), dot(v_out.uv-center, float2(s,c))); + v_out.uv += (2 * center); + + v_out.uv.x *= ar; + + return image.Sample(textureSampler, v_out.uv); + } + else + { + return image.Sample(textureSampler, v_in.uv ); + } + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 69881871d573785044314240a58ae899d5f5d805 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1205/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSThermalShader.ps1 | 142 ++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSThermalShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 b/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 new file mode 100644 index 000000000..bfb02ca3f --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 @@ -0,0 +1,142 @@ +function Get-OBSThermalShader { + +[Alias('Set-OBSThermalShader','Add-OBSThermalShader')] +param( +# Set the strength of OBSThermalShader +[ComponentModel.DefaultBindingProperty('strength')] +[Single] +$Strength, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSThermalShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/mdKXzG + +uniform float strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 0.1; +> = 100.0; + +float greyScale(float3 c) { + return 0.29 * c.r + 0.60 * c.g + 0.11; +} + +float3 heatMap(float greyValue) { + float3 heat; + heat.r = smoothstep(0.5, 0.8, greyValue); + if(greyValue >= 0.8333) { + heat.r *= (1.1 - greyValue) * 5.0; + } + if(greyValue > 0.6) { + heat.g = smoothstep(1.0, 0.7, greyValue); + } else { + heat.g = smoothstep(0.0, 0.7, greyValue); + } + heat.b = smoothstep(1.0, 0.0, greyValue); + if(greyValue <= 0.3333) { + heat.b *= greyValue / 0.3; + } + return heat; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + float greyValue = greyScale(c.rgb); + float3 h = heatMap(greyValue*(strength/100.0)); + return float4(h.r, h.g, h.b, c.a); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 142e84eaf9e3dcd099893937290e54551d66158d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1206/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSTvCrtSubpixelShader.ps1 | 185 ++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 b/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 new file mode 100644 index 000000000..9ab4fc73b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 @@ -0,0 +1,185 @@ +function Get-OBSTvCrtSubpixelShader { + +[Alias('Set-OBSTvCrtSubpixelShader','Add-OBSTvCrtSubpixelShader')] +param( +# Set the channelWidth of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('channelWidth')] +[Int32] +$ChannelWidth, +# Set the channelHeight of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('channelHeight')] +[Int32] +$ChannelHeight, +# Set the hGap of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('hGap')] +[Int32] +$HGap, +# Set the vGap of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('vGap')] +[Int32] +$VGap, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSTvCrtSubpixelShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// https://www.shadertoy.com/view/dlBBz1 adopted for OBS by Exeldro + +// width of a single color channel in pixels +uniform int channelWidth< + string label = "Channel Width"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; + +// height of color channels in pixels +uniform int channelHeight< + string label = "Channel Height"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 3; + +// horizontal distance between two neighboring pixels +uniform int hGap< + string label = "Horizontal Gap"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; + +// vertical distance between two neighboring pixels +uniform int vGap< + string label = "Vertical Gap"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; + +float4 mainImage(VertData v_in) : TARGET +{ + float columns = float(channelWidth * 3 + hGap); + float pixelHeight = float(channelHeight + vGap); + + float2 fragCoord = v_in.uv * uv_size; + float2 sampleRes = float2(uv_size.x / columns, uv_size.y / pixelHeight); + float2 pixel = float2(floor(fragCoord.x / columns), floor(fragCoord.y / pixelHeight)); + float2 sampleUv = pixel / sampleRes; + + // color of sample point + float4 col = image.Sample(textureSampler, sampleUv); + + int column = int(fragCoord.x) % (channelWidth * 3 + hGap); + + // set color based on which channel this fragment corresponds to + if (column < channelWidth * 1) col = float4(col.r, 0.0, 0.0, col.a); + else if (column < channelWidth * 2) col = float4(0.0, col.g, 0.0, col.a); + else if (column < channelWidth * 3) col = float4(0.0, 0.0, col.b, col.a); + else col = float4(0.0, 0.0, 0.0, col.a); + + // offset every other column of pixels + int height = int(pixelHeight); + if (int(pixel.x) % 2 == 0) { + if (int(fragCoord.y) % height >= height - vGap) col = float4(0.0, 0.0, 0.0, col.a); + } else { + if (int(fragCoord.y) % height < vGap) col = float4(0.0, 0.0, 0.0, col.a); + } + + // Output to screen + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1f5c677cdb00729c22a7e2ca3f290eaf125a4490 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1207/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSTwistShader.ps1 | 168 ++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSTwistShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 b/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 new file mode 100644 index 000000000..303dcf974 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 @@ -0,0 +1,168 @@ +function Get-OBSTwistShader { + +[Alias('Set-OBSTwistShader','Add-OBSTwistShader')] +param( +# Set the center_x_percent of OBSTwistShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSTwistShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# Set the power of OBSTwistShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# Set the rotation of OBSTwistShader +[ComponentModel.DefaultBindingProperty('rotation')] +[Single] +$Rotation, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSTwistShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int center_x_percent< + string label = "center x percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float power< + string label = "power"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.3; +uniform float rotation< + string label = "rotation"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.001; +> = 2.0; + +#ifndef OPENGL +#define mat2 float2x2 +#endif + +mat2 rotate(float angle){ + return mat2(float2(cos(angle), -sin(angle)), float2(sin(angle), cos(angle))); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float d = distance(center_pos,v_in.uv); + if(d > power){ + return image.Sample(textureSampler, v_in.uv); + } + float r = (cos(d*3.14159265359/power) +1)/2 * rotation; + float2 pos = v_in.uv - center_pos; + pos = mul(pos, rotate(r)); + pos += center_pos; + return image.Sample(textureSampler, pos); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 60d7eaedc65d44c1fbb1d4d8a347c1bf268acd28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1208/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSTwoPassDropShadowShader.ps1 | 280 ++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 b/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 new file mode 100644 index 000000000..6be3f2535 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 @@ -0,0 +1,280 @@ +function Get-OBSTwoPassDropShadowShader { + +[Alias('Set-OBSTwoPassDropShadowShader','Add-OBSTwoPassDropShadowShader')] +param( +# Set the ViewProj of OBSTwoPassDropShadowShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSTwoPassDropShadowShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSTwoPassDropShadowShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSTwoPassDropShadowShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSTwoPassDropShadowShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSTwoPassDropShadowShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSTwoPassDropShadowShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSTwoPassDropShadowShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the shadow_offset_x of OBSTwoPassDropShadowShader +[Alias('shadow_offset_x')] +[ComponentModel.DefaultBindingProperty('shadow_offset_x')] +[Int32] +$ShadowOffsetX, +# Set the shadow_offset_y of OBSTwoPassDropShadowShader +[Alias('shadow_offset_y')] +[ComponentModel.DefaultBindingProperty('shadow_offset_y')] +[Int32] +$ShadowOffsetY, +# Set the shadow_blur_size of OBSTwoPassDropShadowShader +[Alias('shadow_blur_size')] +[ComponentModel.DefaultBindingProperty('shadow_blur_size')] +[Int32] +$ShadowBlurSize, +# Set the shadow_color of OBSTwoPassDropShadowShader +[Alias('shadow_color')] +[ComponentModel.DefaultBindingProperty('shadow_color')] +[Single[]] +$ShadowColor, +# Set the is_alpha_premultiplied of OBSTwoPassDropShadowShader +[Alias('is_alpha_premultiplied')] +[ComponentModel.DefaultBindingProperty('is_alpha_premultiplied')] +[Management.Automation.SwitchParameter] +$IsAlphaPremultiplied, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSTwoPassDropShadowShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +uniform int shadow_offset_x< + string label = "shadow offset x"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +>; +uniform int shadow_offset_y< + string label = "shadow offset y"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +>; +uniform int shadow_blur_size< + string label = "shadow blur size"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; + +uniform float4 shadow_color; + +uniform bool is_alpha_premultiplied; + +float4 mainImage(VertData v_in) : TARGET +{ + int shadow_blur_samples = int(shadow_blur_size + 1);//pow(shadow_blur_size * 2 + 1, 2); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * int(shadow_offset_x), + v_in.uv.y - uv_pixel_interval.y * int(shadow_offset_y)); + + float sampled_shadow_alpha = 0; + + for (int blur_x = -shadow_blur_size; blur_x <= shadow_blur_size; blur_x++) + { + float2 blur_uv = shadow_uv + float2(uv_pixel_interval.x * blur_x, 0); + sampled_shadow_alpha += image.Sample(textureSampler, blur_uv).a; + } + + sampled_shadow_alpha /= shadow_blur_samples; + + float4 final_shadow_color = float4(shadow_color.rgb, shadow_color.a * sampled_shadow_alpha); + + return final_shadow_color * (1-color.a) + color * (is_alpha_premultiplied?1.0:color.a); +} + +float4 mainImage_2_end(VertData v_in) : TARGET +{ + int shadow_blur_samples = shadow_blur_size + 1;//pow(shadow_blur_size * 2 + 1, 2); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * shadow_offset_x, + v_in.uv.y - uv_pixel_interval.y * shadow_offset_y); + + float sampled_shadow_alpha = 0; + + for (int blur_y = -shadow_blur_size; blur_y <= shadow_blur_size; blur_y++) + { + float2 blur_uv = shadow_uv + float2(0, uv_pixel_interval.y * blur_y); + sampled_shadow_alpha += image.Sample(textureSampler, blur_uv).a; + } + + sampled_shadow_alpha /= shadow_blur_samples; + + float4 final_shadow_color = float4(shadow_color.rgb, shadow_color.a * sampled_shadow_alpha); + + return final_shadow_color * (1-color.a) + color * (is_alpha_premultiplied?1.0:color.a); +} + +technique Draw +{ + pass p0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } + + pass p1 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage_2_end(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 9b6d51c35619bce05974ebb0f6770ea1e394eb79 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1209/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- Commands/Filters/Shaders/Get-OBSVCRShader.ps1 | 226 ++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSVCRShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 b/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 new file mode 100644 index 000000000..a8df01ac3 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 @@ -0,0 +1,226 @@ +function Get-OBSVCRShader { + +[Alias('Set-OBSVCRShader','Add-OBSVCRShader')] +param( +# Set the vertical_shift of OBSVCRShader +[Alias('vertical_shift')] +[ComponentModel.DefaultBindingProperty('vertical_shift')] +[Single] +$VerticalShift, +# Set the distort of OBSVCRShader +[ComponentModel.DefaultBindingProperty('distort')] +[Single] +$Distort, +# Set the vignet of OBSVCRShader +[ComponentModel.DefaultBindingProperty('vignet')] +[Single] +$Vignet, +# Set the stripe of OBSVCRShader +[ComponentModel.DefaultBindingProperty('stripe')] +[Single] +$Stripe, +# Set the vertical_factor of OBSVCRShader +[Alias('vertical_factor')] +[ComponentModel.DefaultBindingProperty('vertical_factor')] +[Single] +$VerticalFactor, +# Set the vertical_height of OBSVCRShader +[Alias('vertical_height')] +[ComponentModel.DefaultBindingProperty('vertical_height')] +[Single] +$VerticalHeight, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSVCRShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/ldjGzV +//Converted to OpenGL by Exeldro February 19, 2022 +uniform float vertical_shift< + string label = "vertical shift"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 0.4; +uniform float distort< + string label = "distort"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 5.0; + float step = 0.001; +> = 1.2; +uniform float vignet< + string label = "vignet"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform float stripe< + string label = "stripe"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform float vertical_factor< + string label = "vertical factor"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform float vertical_height< + string label = "vertical height"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1000.0; + float step = 0.1; +> = 30.0; + +float onOff(float a, float b, float c) +{ + return step(c, sin(elapsed_time + a*cos(elapsed_time*b))); +} + +float ramp(float y, float start, float end) +{ + float inside = step(start,y) - step(end,y); + float fact = (y-start)/(end-start)*inside; + return (1.-fact) * inside; + +} + +float modu(float x, float y) +{ + return (x / y) - floor(x / y); +} + +float stripes(float2 uv) +{ + return ramp(modu(uv.y*4. + elapsed_time/2.+sin(elapsed_time + sin(elapsed_time*0.63)),1.),0.5,0.6)*stripe; +} + +float4 getVideo(float2 uv) +{ + float2 look = uv; + float window = 1./(1.+20.*(look.y-modu(elapsed_time/4.,1.))*(look.y-modu(elapsed_time/4.,1.))); + look.x = look.x + sin(look.y*10. + elapsed_time)/50.*onOff(4.,4.,.3)*(1.+cos(elapsed_time*80.))*window; + float vShift = vertical_shift*onOff(2.,3.,.9)*(sin(elapsed_time)*sin(elapsed_time*20.) + + (0.5 + 0.1*sin(elapsed_time*200.)*cos(elapsed_time))); + look.y = modu((look.y + vShift) , 1.); + return image.Sample(textureSampler, look); +} + +float2 screenDistort(float2 uv) +{ + uv -= float2(.5,.5); + uv = uv*distort*(1./1.2+2.*uv.x*uv.x*uv.y*uv.y); + uv += float2(.5,.5); + return uv; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv = screenDistort(uv); + float4 video = getVideo(uv); + float vigAmt = 3.+.3*sin(elapsed_time + 5.*cos(elapsed_time*5.)); + float vignette = ((1.-vigAmt*(uv.y-.5)*(uv.y-.5))*(1.-vigAmt*(uv.x-.5)*(uv.x-.5))-1.)*vignet+1.; + video += stripes(uv); + video *= vignette; + video *= (((12.+modu((uv.y*vertical_height+elapsed_time),1.))/13.)-1.)*vertical_factor+1.; + return float4(video.r, video.g, video.b ,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From b5c637c6ca1d4abd73f2ee2915d2e9c480160af2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1210/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- Commands/Filters/Shaders/Get-OBSVHSShader.ps1 | 272 ++++++++++++++++++ 1 file changed, 272 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSVHSShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 b/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 new file mode 100644 index 000000000..52561c35d --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 @@ -0,0 +1,272 @@ +function Get-OBSVHSShader { + +[Alias('Set-OBSVHSShader','Add-OBSVHSShader')] +param( +# Set the range of OBSVHSShader +[ComponentModel.DefaultBindingProperty('range')] +[Single] +$Range, +# Set the offsetIntensity of OBSVHSShader +[ComponentModel.DefaultBindingProperty('offsetIntensity')] +[Single] +$OffsetIntensity, +# Set the noiseQuality of OBSVHSShader +[ComponentModel.DefaultBindingProperty('noiseQuality')] +[Int32] +$NoiseQuality, +# Set the noiseIntensity of OBSVHSShader +[ComponentModel.DefaultBindingProperty('noiseIntensity')] +[Single] +$NoiseIntensity, +# Set the colorOffsetIntensity of OBSVHSShader +[ComponentModel.DefaultBindingProperty('colorOffsetIntensity')] +[Single] +$ColorOffsetIntensity, +# Set the Alpha_Percentage of OBSVHSShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Image of OBSVHSShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSVHSShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Color_To_Replace of OBSVHSShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[Single[]] +$ColorToReplace, +# Set the Apply_To_Specific_Color of OBSVHSShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSVHSShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/Ms3XWH converted by Exeldro v 1.0 +//updated by Charles ''Surn'' Fettinger for obs-shaderfilter 9/2020 +//Converted to OpenGL by Exeldro February 19, 2022 +//Use improved input fields by Exeldro April 15, 2023 +uniform float range< + string label = "Wave size (0.05)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.20; + float step = 0.01; +> = 0.05; +uniform float offsetIntensity< + string label = "Offset intensity (0.02)"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 0.20; + float step = 0.01; +> = 0.02; +uniform int noiseQuality< + string label = "Noise number of lines (250)"; + string widget_type = "slider"; + int minimum = 1.0; + float maximum = 1000.0; + float step = 10.0; +> = 250.0; +uniform float noiseIntensity< + string label = "Noise intensity (0.88)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.88; +uniform float colorOffsetIntensity< + string label = "Color offset intensity (1.3)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.1; +> = 1.3; +uniform float Alpha_Percentage< + string label = "Aplha percentage (100.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform float4 Color_To_Replace; +uniform bool Apply_To_Specific_Color; + +float dot2(float2 a,float2 b){ + return a.x*b.x+a.y*b.y; +} + +float rand(float2 co) +{ + return frac(sin(dot2(co.xy ,float2(12.9898,78.233))) * 43758.5453); +} + +float verticalBar(float pos, float uvY, float offset) +{ + float edge0 = (pos - range); + float edge1 = (pos + range); + + float x = smoothstep(edge0, pos, uvY) * offset; + x -= smoothstep(pos, edge1, uvY) * offset; + return x; +} + +float modu(float x, float y) +{ + return (x / y) - floor(x / y); +} + +float dot4(float4 a,float4 b){ + return a.r*b.r+a.g*b.g+a.b*b.b+a.a*b.a; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + for (float i = 0.0; i < 0.71; i += 0.1313) + { + float d = modu(elapsed_time * i, 1.7); + float o = sin(1.0 - tan(elapsed_time * 0.24 * i)); + o *= offsetIntensity; + uv.x += verticalBar(d, uv.y, o); + } + float uvY = uv.y; + uvY *= noiseQuality; + uvY = float(int(uvY)) * (1.0 / noiseQuality); + float noise = rand(float2(elapsed_time * 0.00001, uvY)); + uv.x += noise * noiseIntensity / 100.0; + + float2 offsetR = float2(0.006 * sin(elapsed_time), 0.0) * colorOffsetIntensity; + float2 offsetG = float2(0.0073 * (cos(elapsed_time * 0.97)), 0.0) * colorOffsetIntensity; + + float4 rgba = image.Sample(textureSampler, uv); + float r = image.Sample(textureSampler, uv + offsetR).r; + float g = image.Sample(textureSampler, uv + offsetG).g; + float b = rgba.b; + + rgba = float4(r, g, b, rgba.a); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + float luma = dot4(color, float4(0.30, 0.59, 0.11, 1.0)); + if (Replace_Image_Color) + color = float4(luma,luma,luma,luma); + rgba = lerp(original_color, rgba * color, clamp(Alpha_Percentage * .01, 0, 1.0)); + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, clamp(Alpha_Percentage * .01, 0, 1.0)); + } + + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 3483b647a03644de020a4bbe842c5567a92bba61 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1211/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Shaders/Get-OBSVignettingShader.ps1 | 167 ++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 b/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 new file mode 100644 index 000000000..09c9907a1 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 @@ -0,0 +1,167 @@ +function Get-OBSVignettingShader { + +[Alias('Set-OBSVignettingShader','Add-OBSVignettingShader')] +param( +# Set the innerRadius of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('innerRadius')] +[Single] +$InnerRadius, +# Set the outerRadius of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('outerRadius')] +[Single] +$OuterRadius, +# Set the opacity of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('opacity')] +[Single] +$Opacity, +# Set the notes of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSVignettingShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 21, 2022 +uniform float innerRadius< + string label = "inner radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.9; +uniform float outerRadius< + string label = "outer radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 1.5; +uniform float opacity< + string label = "opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.8; +uniform string notes< + string widget_type = "info"; +> = "inner radius will always be shown, outer radius is the falloff"; + +float4 mainImage(VertData v_in) : TARGET +{ + float PI = 3.1415926535897932384626433832795;//acos(-1); + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float verticalDim = 0.5 + sin (v_in.uv.y * PI) * 0.9 ; + + float xTrans = (v_in.uv.x * 2) - 1; + float yTrans = 1 - (v_in.uv.y * 2); + + float radius = sqrt(pow(xTrans, 2) + pow(yTrans, 2)); + + float subtraction = max(0, radius - innerRadius) / max((outerRadius - innerRadius), 0.01); + float factor = 1 - subtraction; + + float4 vignetColor = c0 * factor; + vignetColor *= verticalDim; + + vignetColor *= opacity; + c0 *= 1-opacity; + + float4 output_color = c0 + vignetColor; + + return float4(output_color); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 05a81fd58b16b39c8912560aeca35a0b33bebcc1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1212/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Get-OBSVoronoiPixelationShader.ps1 | 196 ++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 b/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 new file mode 100644 index 000000000..ca59f6191 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 @@ -0,0 +1,196 @@ +function Get-OBSVoronoiPixelationShader { + +[Alias('Set-OBSVoronoiPixelationShader','Add-OBSVoronoiPixelationShader')] +param( +# Set the pixH of OBSVoronoiPixelationShader +[ComponentModel.DefaultBindingProperty('pixH')] +[Single] +$PixH, +# Set the alternative of OBSVoronoiPixelationShader +[ComponentModel.DefaultBindingProperty('alternative')] +[Management.Automation.SwitchParameter] +$Alternative, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSVoronoiPixelationShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// https://www.shadertoy.com/view/sd3yzn adopted by Exeldro + +uniform float pixH< + string label = "Size"; + string widget_type = "slider"; + float minimum = 4.0; + float maximum = 500.0; + float step = 0.01; +> = 100.0; +uniform bool alternative; + +float2 fract2(float2 v){ + return float2(v.x - floor(v.x), v.y - floor(v.y)); +} + +float2 random2( float2 p ) { + return fract2(sin(float2(dot(p,float2(127.1,311.7)),dot(p,float2(269.5,183.3))))*43758.5453); +} +float2 randomSpin(float2 p, float f){ + return 1.0 * float2( + cos( f * elapsed_time * 3.14159 * sign(random2(p).y - 0.5) + random2(p).y * 3.14159), + sin( f * elapsed_time * 3.14159 * sign(random2(p).x - 0.5) + random2(p).x * 3.14159)); +} +float4 VoronoiPixelation(float2 uv, float pixH ){ + float2 pixInt = fract2(uv * pixH); + float2 pixExt = floor(uv * pixH); + float m_dist = 10.0; + float2 relClos = float2(0.0, 0.0); + float2 relRot = 0.5 * float2(cos(elapsed_time), sin(elapsed_time)); + + + for (int y= -3; y <= 3; y++) { + for (int x= -3; x <= 3; x++) { + float2 neighbor = float2(float(x),float(y)); + + float2 point1 = random2(pixExt + neighbor); + float2 relRot = randomSpin(pixExt + neighbor, 0.5); + float2 diff = neighbor + relRot + point1 - pixInt; + float dist = length(diff); + if(dist < m_dist){ + m_dist = dist; + relClos = neighbor; + } + } + } + float2 nPoint = pixExt + relClos + randomSpin(pixExt + relClos, 0.5) + random2(pixExt + relClos); + nPoint = nPoint / pixH; + nPoint.x = nPoint.x * uv_scale.x ; + + return image.Sample(textureSampler, nPoint); +} +float4 VoronoiPixelation2(float2 uv, float pixH ){ + float2 pixInt = fract2(uv * pixH); + float2 pixExt = floor(uv * pixH); + float m_dist = 10.0; + float2 relClos = float2(0.0, 0.0); + float2 relRot = 0.5 * float2(cos(elapsed_time), sin(elapsed_time)); + + + for (int y= -3; y <= 3; y++) { + for (int x= -3; x <= 3; x++) { + float2 neighbor = float2(float(x),float(y)); + + float2 point2 = random2(pixExt + neighbor); + float2 relRot = randomSpin(pixExt + neighbor, 0.5); + float2 diff = neighbor + relRot + point2 - pixInt; + float dist = length(diff); + if(dist < m_dist){ + m_dist = dist; + relClos = neighbor; + } + } + } + float2 nPoint = pixExt + relClos + random2(pixExt + relClos); + nPoint = nPoint / pixH; + nPoint.x = nPoint.x * uv_scale.x; + + return image.Sample(textureSampler, nPoint); +} + + +float4 mainImage(VertData v_in) : TARGET +{ + if (alternative) { + return VoronoiPixelation2(v_in.uv, pixH); + } else { + return VoronoiPixelation(v_in.uv, pixH); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 2ff7fe6f3716face51e8b826e101aa95d2f39da0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1213/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSZigZagShader.ps1 | 249 ++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 b/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 new file mode 100644 index 000000000..46092d8fb --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 @@ -0,0 +1,249 @@ +function Get-OBSZigZagShader { + +[Alias('Set-OBSZigZagShader','Add-OBSZigZagShader')] +param( +# Set the radius of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('radius')] +[Single] +$Radius, +# Set the angle of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('angle')] +[Single] +$Angle, +# Set the period of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('period')] +[Single] +$Period, +# Set the amplitude of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('amplitude')] +[Single] +$Amplitude, +# Set the center_x of OBSZigZagShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSZigZagShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the phase of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('phase')] +[Single] +$Phase, +# Set the animate of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('animate')] +[Int32] +$Animate, +# Set the notes of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSZigZagShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Created by Radegast Stravinsky for obs-shaderfilter 9/2020 +uniform float radius< + string label = "radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.0; +uniform float angle< + string label = "angle"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 360.0; + float step = 0.1; +> = 180.0; +uniform float period< + string label = "period"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.5; +uniform float amplitude< + string label = "amplitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; + +uniform float center_x< + string label = "center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; +uniform float center_y< + string label = "center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; + +uniform float phase< + string label = "phase"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform int animate< + string label = "animate"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "No"; + int option_1_value = 1; + string option_1_label = "Amplitude"; + int option_2_value = 2; + string option_2_label = "Time"; +> = 0; + + +uniform string notes = "Distorts the screen, creating a rippling effect that moves clockwise and anticlockwise." + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center = float2(center_x, center_y); + VertData v_out; + v_out.pos = v_in.pos; + float2 hw = uv_size; + float ar = 1. * hw.y/hw.x; + + v_out.uv = 1. * v_in.uv - center; + + center.x /= ar; + v_out.uv.x /= ar; + + float dist = distance(v_out.uv, center); + if (dist < radius) + { + float percent = (radius-dist)/radius; + float theta = percent * percent * + ( + animate == 1 ? + amplitude * sin(elapsed_time) : + amplitude + ) + * sin(percent * percent / period * radians(angle) + (phase + + ( + animate == 2 ? + elapsed_time : + 0 + ))); + + float s = sin(theta); + float c = cos(theta); + v_out.uv = float2(dot(v_out.uv-center, float2(c,-s)), dot(v_out.uv-center, float2(s,c))); + v_out.uv += (2 * center); + + v_out.uv.x *= ar; + + return image.Sample(textureSampler, v_out.uv); + } + else + { + return image.Sample(textureSampler, v_in.uv); + } + +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 23eda6481c0725b63c418549d30a8c97776a08b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1214/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSZoomBlurShader.ps1 | 222 ++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 b/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 new file mode 100644 index 000000000..58b1d407b --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 @@ -0,0 +1,222 @@ +function Get-OBSZoomBlurShader { + +[Alias('Set-OBSZoomBlurShader','Add-OBSZoomBlurShader')] +param( +# Set the samples of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('samples')] +[Int32] +$Samples, +# Set the magnitude of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('magnitude')] +[Single] +$Magnitude, +# Set the speed_percent of OBSZoomBlurShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the ease of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the glitch of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the notes of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSZoomBlurShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +// zoom blur shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// https://github.com/Oncorporation/obs-shaderfilter +// https://github.com/dinfinity/mpc-pixel-shaders/blob/master/PS_Zoom%20Blur.hlsl +//for Media Player Classic HC or BE +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int samples < + string label = "Samples"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 32; +uniform float magnitude< + string label = "Magnitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform int speed_percent < + string label = "Speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool ease; +uniform bool glitch; +uniform string notes< + string widget_type = "info"; +> = "Speed Percent above zero will animate the zoom. Keep samples low to save power"; + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2; + if (t < 1) return -c/2 * (sqrt(1 - t*t) - 1) + b; + t -= 2; + return c/2 * (sqrt(1 - t*t) + 1) + b; +} + +float Styler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0,c,d); + return t; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float speed = speed_percent * 0.01; + + // circular easing variable + float t = 1.0 + sin(elapsed_time * speed); + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + if (glitch) t = clamp(t + ((rand_f *2) - 1), 0.0,2.0); + + b = Styler(t, 0, c, d, ease); + float sample_speed = max(samples * b, 1.0); + + float PI = 3.1415926535897932384626433832795;//acos(-1); + float4 c0 = image.Sample(textureSampler, v_in.uv); + + float xTrans = (v_in.uv.x*2)-1; + float yTrans = 1-(v_in.uv.y*2); + + float angle = atan(yTrans/xTrans) + PI; + if (sign(xTrans) == 1) { + angle+= PI; + } + float radius = sqrt(pow(xTrans,2) + pow(yTrans,2)); + + float2 currentCoord; + float4 accumulatedColor = float4(0,0,0,0); + + float4 currentColor = image.Sample(textureSampler, currentCoord); + accumulatedColor = currentColor; + + accumulatedColor = c0/sample_speed; + for(int i = 1; i< sample_speed; i++) { + float currentRadius ; + // Distance to center dependent + currentRadius = max(0,radius - (radius/1000 * i * magnitude * b)); + + // Continuous; + // currentRadius = max(0,radius - (0.0004 * i)); + + currentCoord.x = (currentRadius * cos(angle)+1.0)/2.0; + currentCoord.y = -1* ((currentRadius * sin(angle)-1.0)/2.0); + + float4 currentColor = image.Sample(textureSampler, currentCoord); + accumulatedColor += currentColor/sample_speed; + + } + + return accumulatedColor; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 6164af7720ed978e7103794703caaca66054ff75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:44 +0000 Subject: [PATCH 1215/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- .../Filters/Shaders/Get-OBSZoomShader.ps1 | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSZoomShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 b/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 new file mode 100644 index 000000000..ecce8c76e --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 @@ -0,0 +1,143 @@ +function Get-OBSZoomShader { + +[Alias('Set-OBSZoomShader','Add-OBSZoomShader')] +param( +# Set the center_x_percent of OBSZoomShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSZoomShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# Set the power of OBSZoomShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +if (-not $psBoundParameters['ShaderText']) { + $shaderName = $shaderName + $ShaderNoun = 'OBSZoomShader' + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int center_x_percent< + string label = "center x percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float power< + string label = "power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1.75; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + uv.x = (v_in.uv.x - center_pos.x) * power + center_pos.x; + uv.y = (v_in.uv.y - center_pos.y) * power + center_pos.y; + return image.Sample(textureSampler, uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From a5cd46c4d19f7852b414877dff74051b229ac7f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 08:58:46 +0000 Subject: [PATCH 1216/4768] feat: Generating Shaders ( Fixes #163 ) Explicitly Skipping Nonword and underscore names --- obs-powershell.psd1 | 119 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 0d91e28c0..5f665e089 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -194,6 +194,125 @@ Initial Release of obs-powershell 'Set-OBSScrollFilter', 'Set-OBSShaderFilter', 'Set-OBSSharpnessFilter', +'Get-OBSAddShader', +'Get-OBSAlphaBorderShader', +'Get-OBSAlphaGamingBentCameraShader', +'Get-OBSAnimatedPathShader', +'Get-OBSAnimatedTextureShader', +'Get-OBSAsciiShader', +'Get-OBSAspectRatioShader', +'Get-OBSBackgroundRemovalShader', +'Get-OBSBlendOpacityShader', +'Get-OBSBlinkShader', +'Get-OBSBloomShader', +'Get-OBSBorderShader', +'Get-OBSBoxBlurShader', +'Get-OBSBulgePinchShader', +'Get-OBSBurnShader', +'Get-OBSCartoonShader', +'Get-OBSCellShadedShader', +'Get-OBSChromaticAberrationShader', +'Get-OBSChromaUVDistortionShader', +'Get-OBSCircleMaskFilterShader', +'Get-OBSColorDepthShader', +'Get-OBSColorGradeFilterShader', +'Get-OBSCornerPinShader', +'Get-OBSCrtCurvatureShader', +'Get-OBSCutRectPerCornerShader', +'Get-OBSCylinderShader', +'Get-OBSDarkenShader', +'Get-OBSDeadPixelFixerShader', +'Get-OBSDivideRotateShader', +'Get-OBSDoodleShader', +'Get-OBSDrawingsShader', +'Get-OBSDropShadowShader', +'Get-OBSDrunkShader', +'Get-OBSDynamicMaskShader', +'Get-OBSEdgeDetectionShader', +'Get-OBSEmbersShader', +'Get-OBSEmbossColorShader', +'Get-OBSEmbossShader', +'Get-OBSExeldroBentCameraShader', +'Get-OBSFadeTransitionShader', +'Get-OBSFilterTemplateShader', +'Get-OBSFire3Shader', +'Get-OBSFireShader', +'Get-OBSFireworksShader', +'Get-OBSFisheyeShader', +'Get-OBSFisheyeXyShader', +'Get-OBSFrostedGlassShader', +'Get-OBSGammaCorrectionShader', +'Get-OBSGaussianBlurAdvancedShader', +'Get-OBSGaussianBlurShader', +'Get-OBSGaussianBlurSimpleShader', +'Get-OBSGaussianExampleShader', +'Get-OBSGaussianSimpleShader', +'Get-OBSGbCameraShader', +'Get-OBSGlassShader', +'Get-OBSGlitchAnalogShader', +'Get-OBSGlitchShader', +'Get-OBSGlowShader', +'Get-OBSGradientShader', +'Get-OBSHalftoneShader', +'Get-OBSHeatWaveSimpleShader', +'Get-OBSHexagonShader', +'Get-OBSHslHsvSaturationShader', +'Get-OBSHueRotatonShader', +'Get-OBSIntensityScopeShader', +'Get-OBSInvertLumaShader', +'Get-OBSLuminance2Shader', +'Get-OBSLuminanceAlphaShader', +'Get-OBSLuminanceShader', +'Get-OBSMatrixShader', +'Get-OBSMultiplyShader', +'Get-OBSNightSkyShader', +'Get-OBSOpacityShader', +'Get-OBSPagePeelShader', +'Get-OBSPagePeelTransitionShader', +'Get-OBSPerlinNoiseShader', +'Get-OBSPieChartShader', +'Get-OBSPixelationShader', +'Get-OBSPixelationTransitionShader', +'Get-OBSPulseShader', +'Get-OBSRainbowShader', +'Get-OBSRainWindowShader', +'Get-OBSRectangularDropShadowShader', +'Get-OBSRemovePartialPixelsShader', +'Get-OBSRepeatShader', +'Get-OBSRepeatTextureShader', +'Get-OBSRgbColorWheelShader', +'Get-OBSRgbSplitShader', +'Get-OBSRgbvisibilityShader', +'Get-OBSRippleShader', +'Get-OBSRotatingSourceShader', +'Get-OBSRotatoeShader', +'Get-OBSRoundedRect2Shader', +'Get-OBSRoundedRectPerCornerShader', +'Get-OBSRoundedRectPerSideShader', +'Get-OBSRoundedRectShader', +'Get-OBSRoundedStrokeGradientShader', +'Get-OBSRoundedStrokeShader', +'Get-OBSScanLineShader', +'Get-OBSSeascapeShader', +'Get-OBSSeasickShader', +'Get-OBSSelectiveColorShader', +'Get-OBSShakeShader', +'Get-OBSShineShader', +'Get-OBSSimpleGradientShader', +'Get-OBSSimplexNoiseShader', +'Get-OBSSpotlightShader', +'Get-OBSSwirlShader', +'Get-OBSThermalShader', +'Get-OBSTvCrtSubpixelShader', +'Get-OBSTwistShader', +'Get-OBSTwoPassDropShadowShader', +'Get-OBSVCRShader', +'Get-OBSVHSShader', +'Get-OBSVignettingShader', +'Get-OBSVoronoiPixelationShader', +'Get-OBSZigZagShader', +'Get-OBSZoomBlurShader', +'Get-OBSZoomShader', 'Get-OBSEffect', 'Import-OBSEffect', 'Remove-OBSEffect', From d8b76c5b76d8a620fe6f3c1138abeea0d99f3e97 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 11:16:57 -0800 Subject: [PATCH 1217/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Build/obs--shaders.build.ps1 | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index ddecdf307..e0c6bf259 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -120,14 +120,7 @@ $($shaderParameterSet.Group | Out-String) Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - foreach ($shaderParameterInSet in $shaderParameterSet.Group) { - if ($env:GITHUB_STEP_SUMMARY) { - " -Processing $($shaderParameterInSet | Out-String) - " | - Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - } - + foreach ($shaderParameterInSet in $shaderParameterSet.Group) { $shaderMatch = "$(@("$($shaderParameterInSet)") -join '')" -match $FindShaderParameters $shaderMatch = [Ordered]@{} + $matches $shaderParameterSystemName = $shaderMatch.ParameterName @@ -194,7 +187,7 @@ Processing $($shaderParameterInSet | Out-String) float { [float] } float2 { [float[]] } float3 { [float[]] } - float4 { [float[]] } + float4 { [string] <# float4 is usually a color #>} float4x4 { [float[][]]} default { @@ -248,9 +241,9 @@ Processing $($shaderParameterInSet | Out-String) $ShaderProcess = [scriptblock]::Create(@" -if (-not `$psBoundParameters['ShaderText']) { - `$shaderName = `$shaderName - `$ShaderNoun = '$ShaderNoun' +`$shaderName = '$shaderName' +`$ShaderNoun = '$ShaderNoun' +if (-not `$psBoundParameters['ShaderText']) { `$psBoundParameters['ShaderText'] = `$ShaderText = ' $($ShaderContent -replace "'","''") ' @@ -268,7 +261,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 01250ad96a6c4d3d38f7cef3b7c1674e9b2176c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:14 +0000 Subject: [PATCH 1218/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSAddShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAddShader.ps1 b/Commands/Filters/Shaders/Get-OBSAddShader.ps1 index bc69e12f9..a6592be26 100644 --- a/Commands/Filters/Shaders/Get-OBSAddShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAddShader.ps1 @@ -30,9 +30,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAddShader' +$shaderName = 'Add' +$ShaderNoun = 'OBSAddShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform texture2d other_image; @@ -57,7 +57,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 15ffb178ea86afbf19904dd1f06f9d9f2f0842b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:14 +0000 Subject: [PATCH 1219/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 b/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 index f5eb3925f..7741f2799 100644 --- a/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 @@ -5,7 +5,7 @@ param( # Set the border_color of OBSAlphaBorderShader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # Set the border_thickness of OBSAlphaBorderShader [Alias('border_thickness')] @@ -40,9 +40,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAlphaBorderShader' +$shaderName = 'alpha_border' +$ShaderNoun = 'OBSAlphaBorderShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float4 border_color< string label = "Border color"; @@ -92,7 +92,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 719e003506577bd7dde201358e39a001bac6e554 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:14 +0000 Subject: [PATCH 1220/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 b/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 index f9f709ab9..b61539ab6 100644 --- a/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 @@ -75,9 +75,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAlphaGamingBentCameraShader' +$shaderName = 'alpha-gaming-bent-camera' +$ShaderNoun = 'OBSAlphaGamingBentCameraShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float left_side_width< string label = "Left side width"; @@ -210,7 +210,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 36d4b19d4f9d30aa7be60d13f319f9122ce2f822 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:14 +0000 Subject: [PATCH 1221/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 b/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 index 097c5ca95..ee340587b 100644 --- a/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 @@ -72,9 +72,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAnimatedPathShader' +$shaderName = 'animated_path' +$ShaderNoun = 'OBSAnimatedPathShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Path effect By Charles Fettinger (https://github.com/Oncorporation) 3/2019 //Converted to OpenGL by Q-mii & Exeldro February 24, 2022 @@ -180,7 +180,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 44c0afabfa64bad2eb614c2ecd0a980bf2b93d5e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1222/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 b/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 index 19f4a12d2..7c9813ec7 100644 --- a/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 @@ -134,9 +134,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAnimatedTextureShader' +$shaderName = 'animated_texture' +$ShaderNoun = 'OBSAnimatedTextureShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Animated Texture By Charles Fettinger (https://github.com/Oncorporation) 3/2020 // Animates a texture with polar sizing and color options @@ -313,7 +313,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From d615fbb455c4025d2ddac22e05fc2d9f4bb3dab5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1223/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 b/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 index 3fff871f7..84076a707 100644 --- a/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 @@ -9,7 +9,7 @@ $Scale, # Set the base_color of OBSAsciiShader [Alias('base_color')] [ComponentModel.DefaultBindingProperty('base_color')] -[Single[]] +[String] $BaseColor, # Set the monochrome of OBSAsciiShader [ComponentModel.DefaultBindingProperty('monochrome')] @@ -47,9 +47,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAsciiShader' +$shaderName = 'ascii' +$ShaderNoun = 'OBSAsciiShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // ASCII shader for use with obs-shaderfilter 7/2020 v1.0 // https://github.com/Oncorporation/obs-shaderfilter @@ -166,7 +166,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 42601515eff7c9135fdb7a506165970a9f03c0da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1224/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 b/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 index 7a7f2aa4e..51d7bc223 100644 --- a/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 @@ -42,7 +42,7 @@ $RandF, $UvSize, # Set the borderColor of OBSAspectRatioShader [ComponentModel.DefaultBindingProperty('borderColor')] -[Single[]] +[String] $BorderColor, # Set the notes of OBSAspectRatioShader [ComponentModel.DefaultBindingProperty('notes')] @@ -71,9 +71,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSAspectRatioShader' +$shaderName = 'aspect_ratio' +$ShaderNoun = 'OBSAspectRatioShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro March 8, 2022 - DO NOT USE THIS IT WAS NEVER COMPLETED uniform float4x4 ViewProj; @@ -182,7 +182,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 313a418829603c9a6d805a0edbb0d3cd77be444a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1225/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 b/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 index ef9ec3a8b..6aaad6c57 100644 --- a/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 @@ -50,7 +50,7 @@ $Notes, $Target, # Set the color of OBSBackgroundRemovalShader [ComponentModel.DefaultBindingProperty('color')] -[Single[]] +[String] $Color, # Set the opacity of OBSBackgroundRemovalShader [ComponentModel.DefaultBindingProperty('opacity')] @@ -93,9 +93,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBackgroundRemovalShader' +$shaderName = 'background_removal' +$ShaderNoun = 'OBSBackgroundRemovalShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // background removal effect By Charles Fettinger (https://github.com/Oncorporation) 4/2019 //Converted to OpenGL by Exeldro February 19, 2022 @@ -225,7 +225,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 795e8116d76c6d0c01f930fdd34ed52a5a7ecbd6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1226/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 b/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 index fc9ed82ca..f3cdc950b 100644 --- a/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 @@ -65,9 +65,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBlendOpacityShader' +$shaderName = 'blend_opacity' +$ShaderNoun = 'OBSBlendOpacityShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // opacity blend shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -165,7 +165,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 62ea115fa29962c810346cac5de53fd53f1c710f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1227/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 b/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 index 0c5a60b4b..0e0f4d5c9 100644 --- a/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 @@ -29,9 +29,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBlinkShader' +$shaderName = 'blink' +$ShaderNoun = 'OBSBlinkShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float speed< string label = "Speed"; @@ -62,7 +62,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From dad40eca280f2435dc81e00efd85e8dd99aebc7b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1228/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBloomShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 b/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 index c6935754e..85f786586 100644 --- a/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 @@ -43,9 +43,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBloomShader' +$shaderName = 'bloom' +$ShaderNoun = 'OBSBloomShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Bloom shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -128,7 +128,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 0aaf1775e874e0930b26568d5681b55635acdc39 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1229/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBorderShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 b/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 index 88b41a273..4e3c370b8 100644 --- a/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 @@ -4,7 +4,7 @@ function Get-OBSBorderShader { param( # Set the borderColor of OBSBorderShader [ComponentModel.DefaultBindingProperty('borderColor')] -[Single[]] +[String] $BorderColor, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] @@ -29,9 +29,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBorderShader' +$shaderName = 'border' +$ShaderNoun = 'OBSBorderShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float4 borderColor; @@ -61,7 +61,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 6bd7b6376baef12d63f3fee3c260ea36295302c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1230/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 b/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 index 938861d22..94707b91d 100644 --- a/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 @@ -49,9 +49,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBoxBlurShader' +$shaderName = 'box-blur' +$ShaderNoun = 'OBSBoxBlurShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform int Strength< string label = "Strength (1)"; @@ -147,7 +147,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From cf378c789ee40751da8380015ab5acff1d051867 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1231/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 b/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 index d62e4efb0..58904c8f6 100644 --- a/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 @@ -51,9 +51,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBulgePinchShader' +$shaderName = 'BulgePinch' +$ShaderNoun = 'OBSBulgePinchShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Created by Radegast Stravinsky for obs-shaderfilter 9/2020 uniform float radius< @@ -137,7 +137,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From c859052d2f33fbd4e2d9c9b017290cc646a00ae5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1232/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSBurnShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 b/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 index 15d0d03b4..9f9491a49 100644 --- a/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 @@ -76,9 +76,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSBurnShader' +$shaderName = 'burn' +$ShaderNoun = 'OBSBurnShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Burn shader by Charles Fettinger (https://github.com/Oncorporation) 4/2019 //for use with obs-shaderfilter 1.0 @@ -253,7 +253,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 9cdb58fbad01fcfe063fe013e821bd94e4a82476 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1233/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 b/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 index d5e777824..39785d5d5 100644 --- a/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 @@ -82,9 +82,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCartoonShader' +$shaderName = 'cartoon' +$ShaderNoun = 'OBSCartoonShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Darklink''s shader modified to by Charles ''Surn'' Fettinger for use with obs-shaderfilter 3/2019 uniform float4x4 ViewProj; @@ -196,7 +196,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 2d9bfbc11a95a7adb62620f68d6f4bd7252f30cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1234/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 b/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 index 375785a76..fc8c6a761 100644 --- a/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 @@ -43,9 +43,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCellShadedShader' +$shaderName = 'cell_shaded' +$ShaderNoun = 'OBSCellShadedShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Cell Shaded shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -127,7 +127,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 5183c98607a51d5cfba5e915c00874f43c2c1383 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1235/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 b/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 index ca3ab4e6b..fbb6d1bf5 100644 --- a/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 @@ -37,9 +37,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSChromaUVDistortionShader' +$shaderName = 'Chroma+UV-Distortion' +$ShaderNoun = 'OBSChromaUVDistortionShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/WsdyRN @@ -115,7 +115,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 1aec55eadec9c8a1545ced7abfdcd5f3cc666727 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1236/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 b/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 index eed166688..f4b6dfa96 100644 --- a/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 @@ -63,9 +63,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSChromaticAberrationShader' +$shaderName = 'chromatic-aberration' +$ShaderNoun = 'OBSChromaticAberrationShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/XssGz8 //Converted to OpenGL by Exeldro February 14, 2022 + black background removed February 23, 2022 @@ -286,7 +286,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 7c0fc3af7d1b000cb7862351bc924ce125f11c97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1237/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 b/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 index 559b9ea90..6c6eb4c9c 100644 --- a/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 @@ -53,9 +53,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCircleMaskFilterShader' +$shaderName = 'circle-mask-filter' +$ShaderNoun = 'OBSCircleMaskFilterShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Circle Mask Filter version 1.01, for OBS Shaderfilter // Copyright 2022 by SkeletonBow @@ -148,7 +148,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 78877ce8bcf6111d8af97c2c7d6cabc1db6d7122 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1238/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 b/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 index 015d38688..28d55d9cb 100644 --- a/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 @@ -48,9 +48,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSColorGradeFilterShader' +$shaderName = 'color_grade_filter' +$ShaderNoun = 'OBSColorGradeFilterShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Color Grade Filter by Charles Fettinger for obs-shaderfilter plugin 4/2020 //https://github.com/Oncorporation/obs-shaderfilter @@ -135,7 +135,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From ba99f3e8a07830c0434fd1fc715c97128e764714 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1239/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 b/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 index 1b8eca55a..a94f60d2a 100644 --- a/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 @@ -33,9 +33,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSColorDepthShader' +$shaderName = 'color-depth' +$ShaderNoun = 'OBSColorDepthShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/tscfWM uniform float colorDepth< @@ -82,7 +82,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From faef4d1e9493a77f20f0c0e4cb02f1cacf01d214 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1240/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 b/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 index 08295077d..4e49f4ba9 100644 --- a/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 @@ -70,9 +70,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCornerPinShader' +$shaderName = 'corner-pin' +$ShaderNoun = 'OBSCornerPinShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Corner Pin, Version 0.1, for OBS Shaderfilter // Copyright ©️ 2022 by SkeletonBow @@ -268,7 +268,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From fcd2c0dba4d550e2d5555b841f37ecb3e4b49b97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:15 +0000 Subject: [PATCH 1241/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 b/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 index 0092153f8..a61444f0e 100644 --- a/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 @@ -8,7 +8,7 @@ param( $Strength, # Set the border of OBSCrtCurvatureShader [ComponentModel.DefaultBindingProperty('border')] -[Single[]] +[String] $Border, # Set the feathering of OBSCrtCurvatureShader [ComponentModel.DefaultBindingProperty('feathering')] @@ -37,9 +37,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCrtCurvatureShader' +$shaderName = 'crt-curvature' +$ShaderNoun = 'OBSCrtCurvatureShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float strength< string label = "Strength"; @@ -95,7 +95,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 476578e98099abc888d10cb5fddc902e5906c31c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1242/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 b/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 index a703491a7..f71e904be 100644 --- a/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 @@ -30,7 +30,7 @@ $BorderThickness, # Set the border_color of OBSCutRectPerCornerShader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # Set the border_alpha_start of OBSCutRectPerCornerShader [Alias('border_alpha_start')] @@ -70,9 +70,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCutRectPerCornerShader' +$shaderName = 'cut_rect_per_corner' +$ShaderNoun = 'OBSCutRectPerCornerShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro February 18, 2022 uniform int corner_tl< @@ -264,7 +264,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 8db6cbbe94126cdd9cd8ae8bbfd831d0fd2f9d85 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1243/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 b/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 index 535bdd5f1..d86517c67 100644 --- a/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 @@ -35,9 +35,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSCylinderShader' +$shaderName = 'cylinder' +$ShaderNoun = 'OBSCylinderShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float cylinder_factor< string label = "Cylinder factor"; @@ -102,7 +102,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From da468f32fdd494c37beca6d57b81e350f9767511 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1244/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 b/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 index a109f8561..5b699ad90 100644 --- a/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 @@ -39,9 +39,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDarkenShader' +$shaderName = 'darken' +$ShaderNoun = 'OBSDarkenShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float Opacity_Percentage = 100.0; uniform float Fill_Percentage = 100.0; @@ -71,7 +71,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 2c17d5fc05a02b5d1d1fb51669ffc60dd1fcba9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1245/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 b/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 index 252d6ec37..e939d3136 100644 --- a/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 @@ -35,9 +35,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDeadPixelFixerShader' +$shaderName = 'dead-pixel-fixer' +$ShaderNoun = 'OBSDeadPixelFixerShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Dead Pixel Fixer, Version 0.01, for OBS Shaderfilter // Copyright ©️ 2022 by SkeletonBow @@ -108,7 +108,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 57bfde6e04d78de001ec2ea62a0b72b9f5bce6fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1246/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 b/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 index 115f0b924..1606399b1 100644 --- a/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 @@ -48,9 +48,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDivideRotateShader' +$shaderName = 'divide_rotate' +$ShaderNoun = 'OBSDivideRotateShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // divide and rotate shader for OBS Studio shaderfilter plugin // originally from shadertoy (https://www.shadertoy.com/view/3sy3Dh) @@ -146,7 +146,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 9dfafdc834f517c6cc8c23fddcb8f5f5e6825a26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1247/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 b/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 index e529c1523..4526662a5 100644 --- a/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 @@ -77,9 +77,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDoodleShader' +$shaderName = 'doodle' +$ShaderNoun = 'OBSDoodleShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // doodle effect by Charles Fettinger (https://github.com/Oncorporation) 5/2019 // for use with obs-shaderfilter 1.0 @@ -181,7 +181,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 4476a7f40a3be7447e7e95060a7c3bf5501a8469 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1248/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 b/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 index dff8473a8..1d74b8283 100644 --- a/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 @@ -33,9 +33,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDrawingsShader' +$shaderName = 'drawings' +$ShaderNoun = 'OBSDrawingsShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/ldlcWs @@ -185,7 +185,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 5577684374d23659ced677c74e53084e670d75b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1249/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 b/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 index 307b5d23f..04a9af0ca 100644 --- a/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 @@ -24,7 +24,7 @@ $Notes, # Set the shadow_color of OBSDropShadowShader [Alias('shadow_color')] [ComponentModel.DefaultBindingProperty('shadow_color')] -[Single[]] +[String] $ShadowColor, # Set the is_alpha_premultiplied of OBSDropShadowShader [Alias('is_alpha_premultiplied')] @@ -54,9 +54,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDropShadowShader' +$shaderName = 'drop_shadow' +$ShaderNoun = 'OBSDropShadowShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Drop Shadow shader modified by Charles Fettinger // impose a limiter to keep from crashing the system @@ -128,7 +128,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From e92c721a0fc21232afc47398dd37fea426d80c03 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1250/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 b/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 index 6cd62bcc6..800b65356 100644 --- a/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 @@ -39,7 +39,7 @@ $ApplyToAlphaLayer, # Set the glow_color of OBSDrunkShader [Alias('glow_color')] [ComponentModel.DefaultBindingProperty('glow_color')] -[Single[]] +[String] $GlowColor, # Set the ease of OBSDrunkShader [ComponentModel.DefaultBindingProperty('ease')] @@ -76,9 +76,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDrunkShader' +$shaderName = 'drunk' +$ShaderNoun = 'OBSDrunkShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Drunk shader by Charles Fettinger (https://github.com/Oncorporation) 2/2019 //Converted to OpenGL by Q-mii & Exeldro March 11, 2022 @@ -246,7 +246,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 450012b034b318f8adba5059d0008741c350ab30 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1251/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 b/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 index 11691b761..21a63ed43 100644 --- a/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 @@ -150,9 +150,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSDynamicMaskShader' +$shaderName = 'dynamic-mask' +$ShaderNoun = 'OBSDynamicMaskShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform texture2d input_source< string label = "Input Source"; @@ -380,7 +380,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 00fc62a129833826f84036906753d1610107bf43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1252/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 b/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 index 5b2968ece..2f5ce074a 100644 --- a/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 @@ -14,7 +14,7 @@ $InvertEdge, # Set the edge_color of OBSEdgeDetectionShader [Alias('edge_color')] [ComponentModel.DefaultBindingProperty('edge_color')] -[Single[]] +[String] $EdgeColor, # Set the edge_multiply of OBSEdgeDetectionShader [Alias('edge_multiply')] @@ -24,7 +24,7 @@ $EdgeMultiply, # Set the non_edge_color of OBSEdgeDetectionShader [Alias('non_edge_color')] [ComponentModel.DefaultBindingProperty('non_edge_color')] -[Single[]] +[String] $NonEdgeColor, # Set the non_edge_multiply of OBSEdgeDetectionShader [Alias('non_edge_multiply')] @@ -78,9 +78,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSEdgeDetectionShader' +$shaderName = 'edge_detection' +$ShaderNoun = 'OBSEdgeDetectionShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Edge Detection for OBS Studio // originally from Andersama (https://github.com/Andersama) @@ -188,7 +188,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 1ef4d5d53f31122914e8a137eb93dc4d25a59ca4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1253/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 b/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 index d6605f837..c7b353f03 100644 --- a/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 @@ -129,9 +129,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSEmbersShader' +$shaderName = 'embers' +$ShaderNoun = 'OBSEmbersShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Embers effect by Charles Fettinger for obs-shaderfilter plugin 8/2020 v.1 // https://github.com/Oncorporation/obs-shaderfilter @@ -509,7 +509,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 500b93e87d3dc1715962e232f8ffe5ccf1a22b72 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1254/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 b/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 index 01c3a66ff..04ef86456 100644 --- a/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 @@ -53,9 +53,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSEmbossColorShader' +$shaderName = 'emboss_color' +$ShaderNoun = 'OBSEmbossColorShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Color Emboss shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -152,7 +152,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From a7b04a8ee84555095f1416d92e25a9a5d65d3676 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1255/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 b/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 index ca2328d2a..75caa2b1f 100644 --- a/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 @@ -35,9 +35,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSEmbossShader' +$shaderName = 'emboss' +$ShaderNoun = 'OBSEmbossShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Spotlight By Charles Fettinger (https://github.com/Oncorporation) 4/2019 //Converted to OpenGL by Q-mii & Exeldro March 8, 2022 @@ -87,7 +87,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 325eecfd173e51bc7c8294ae5199cd93a0449b2d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1256/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 b/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 index 251d74d89..1fee0b0f8 100644 --- a/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 @@ -75,9 +75,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSExeldroBentCameraShader' +$shaderName = 'exeldro-bent-camera' +$ShaderNoun = 'OBSExeldroBentCameraShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float left_side_width< string label = "Left side width"; @@ -210,7 +210,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From ba1d2955fa5ad6378f9b4833a953d785649b4c48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1257/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 b/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 index f828d7f5f..baf454dc4 100644 --- a/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 @@ -45,9 +45,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFadeTransitionShader' +$shaderName = 'fade-transition' +$ShaderNoun = 'OBSFadeTransitionShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform texture2d image_a; uniform texture2d image_b; @@ -83,7 +83,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 5f0bcf52f29eda2596176804518baadcb1dd577f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1258/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Get-OBSFillColorGradientShader.ps1 | 196 ++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFillColorGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSFillColorGradientShader.ps1 new file mode 100644 index 000000000..6670eebe6 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFillColorGradientShader.ps1 @@ -0,0 +1,196 @@ +function Get-OBSFillColorGradientShader { + +[Alias('Set-OBSFillColorGradientShader','Add-OBSFillColorGradientShader')] +param( +# Set the Fill of OBSFillColorGradientShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Gradient_Width of OBSFillColorGradientShader +[Alias('Gradient_Width')] +[ComponentModel.DefaultBindingProperty('Gradient_Width')] +[Single] +$GradientWidth, +# Set the Gradient_Offset of OBSFillColorGradientShader +[Alias('Gradient_Offset')] +[ComponentModel.DefaultBindingProperty('Gradient_Offset')] +[Single] +$GradientOffset, +# Set the Fill_Direction of OBSFillColorGradientShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill_Color of OBSFillColorGradientShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +$shaderName = 'fill_color_gradient' +$ShaderNoun = 'OBSFillColorGradientShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 1; + float step = 0.005; +> = 0.500; + +uniform float Gradient_Width< + string label = "Gradient Width"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 0.15; // Adjust the maximum value as needed + float step = 0.01; +> = 0.05; + +uniform float Gradient_Offset< + string label = "Gradient Offset"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 0.100; // Adjust the maximum value as needed + float step = 0.005; +> = 0.00; + +uniform int Fill_Direction< + string label = "Fill from:"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Left"; + int option_1_value = 1; + string option_1_label = "Right"; + int option_2_value = 2; + string option_2_label = "Bottom"; + int option_3_value = 3; + string option_3_label = "Top"; +> = 0; + +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + float distanceToEdge = 0.0; + + // Calculate distance to the fill edge based on the selected direction + if (Fill_Direction == 0) + distanceToEdge = Fill - v_in.uv.x; + else if (Fill_Direction == 1) + distanceToEdge = v_in.uv.x - (1.0 - Fill); + else if (Fill_Direction == 2) + distanceToEdge = v_in.uv.y - (1.0 - Fill); + else if (Fill_Direction == 3) + distanceToEdge = Fill - v_in.uv.y; + + // Calculate the gradient factor based on the distance to the edge and the gradient width + float gradientOffset = (Fill == 0.0) ? 0.0 : (Fill == 1.0 ? 0.0 : Gradient_Offset); + float gradientWidth = (Fill == 0.0 || Fill == 1.0) ? 0.0 : Gradient_Width; + + // Adjust distanceToEdge by the Gradient_Offset + distanceToEdge += gradientOffset; + + // Normalize the distance to be between 0 and 1 + distanceToEdge = saturate(distanceToEdge); + + // float gradientWidth = Fill < 1.0 ? Gradient_Width : Gradient_Width * (1.0 - Fill); + // float gradientFactor = smoothstep(0.0, gradientWidth, distanceToEdge); + float gradientFactor = clamp(distanceToEdge / gradientWidth, 0.0, 1.0); + + // Blend between the fill color and the original image color using the gradient factor + float4 finalColor = lerp(image.Sample(textureSampler, v_in.uv), Fill_Color, gradientFactor); + + return finalColor; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 8988043a213fbc89cf95183ea4051249da81aff9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1259/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSFillColorLinearShader.ps1 | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFillColorLinearShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorLinearShader.ps1 b/Commands/Filters/Shaders/Get-OBSFillColorLinearShader.ps1 new file mode 100644 index 000000000..a14cd6eae --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFillColorLinearShader.ps1 @@ -0,0 +1,161 @@ +function Get-OBSFillColorLinearShader { + +[Alias('Set-OBSFillColorLinearShader','Add-OBSFillColorLinearShader')] +param( +# Set the Fill of OBSFillColorLinearShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Fill_Direction of OBSFillColorLinearShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill_Color of OBSFillColorLinearShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +$shaderName = 'fill_color_linear' +$ShaderNoun = 'OBSFillColorLinearShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 1; + float step = 0.005; +>; +uniform int Fill_Direction< + string label = "Fill from:"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Left"; + int option_1_value = 1; + string option_1_label = "Right"; + int option_2_value = 2; + string option_2_label = "Top"; + int option_3_value = 3; + string option_3_label = "Bottom"; +> = 0; +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + bool is_inside_fill = true; + + // Check if the pixel is within the specified "fill width" on the left side + if(Fill_Direction == 0){ + is_inside_fill = v_in.uv.x > Fill; + } + if(Fill_Direction == 1) + { + is_inside_fill = v_in.uv.x < (1.0 - Fill); + } + if(Fill_Direction == 2) + { + is_inside_fill = v_in.uv.y > Fill; + } + if(Fill_Direction == 3) + { + is_inside_fill = v_in.uv.y < (1.0 - Fill); + } + + // Invert is_inside_fill + is_inside_fill = !is_inside_fill; + + // If inside the "fill," make the pixel selected colour; otherwise, use the original image color + return is_inside_fill ? Fill_Color : image.Sample(textureSampler, v_in.uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4c65a57157c0e47436f523d114308c7770aff4a3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1260/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Get-OBSFillColorRadialDegreesShader.ps1 | 215 ++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 b/Commands/Filters/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 new file mode 100644 index 000000000..da30086ac --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 @@ -0,0 +1,215 @@ +function Get-OBSFillColorRadialDegreesShader { + +[Alias('Set-OBSFillColorRadialDegreesShader','Add-OBSFillColorRadialDegreesShader')] +param( +# Set the Fill_Direction of OBSFillColorRadialDegreesShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill of OBSFillColorRadialDegreesShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Start_Angle of OBSFillColorRadialDegreesShader +[Alias('Start_Angle')] +[ComponentModel.DefaultBindingProperty('Start_Angle')] +[Single] +$StartAngle, +# Set the Offset_X of OBSFillColorRadialDegreesShader +[Alias('Offset_X')] +[ComponentModel.DefaultBindingProperty('Offset_X')] +[Single] +$OffsetX, +# Set the Offset_Y of OBSFillColorRadialDegreesShader +[Alias('Offset_Y')] +[ComponentModel.DefaultBindingProperty('Offset_Y')] +[Single] +$OffsetY, +# Set the Fill_Color of OBSFillColorRadialDegreesShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +$shaderName = 'fill_color_radial_degrees' +$ShaderNoun = 'OBSFillColorRadialDegreesShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.141592653589793238 + +uniform int Fill_Direction< + string label = "Fill Direction"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Clockwise"; + int option_1_value = 1; + string option_1_label = "Counter-Clockwise"; +> = 0; + +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 360; + float step = 1.00000; +>; + +uniform float Start_Angle< + string label = "Start Angle"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 720; + float step = 1.00000; +> = 360.0; + +uniform float Offset_X< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float Offset_Y< + string label = "Offset Y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + // Calculate the center of the screen based on aspect ratio + float aspectRatioX = uv_size.x / uv_size.y; + float2 center = float2(0.5 * aspectRatioX + Offset_X, 0.5 + Offset_Y); + + // Normalize the UV coordinates based on aspect ratio + float2 normalizedUV = v_in.uv * float2(aspectRatioX, 1.0); + + // Calculate the direction vector from the center to the current pixel + float2 dir = normalizedUV - center; + + // Calculate the angle in radians + float angle = atan2(dir.y, dir.x); + + // Convert angle from radians to degrees + angle = degrees(angle); + + // Offset the angle to start from the specified starting angle + angle += Start_Angle + 90.0; // Subtract 90 degrees to start at 12 o''clock + if (angle >= 360.0) + angle -= 360.0; + + // Adjust the angle based on the selected fill direction + if (Fill_Direction == 1) { + // Counter-clockwise fill + angle = 360.0 - angle; + } + + // Ensure angle is within [0, 360] range + if (angle < 0.0) + angle += 360.0; + else if (angle >= 360.0) + angle -= 360.0; + + // Check if the angle is within the specified "fill width" + bool is_inside_fill = angle < Fill; + + // If inside the "fill," make the pixel selected color; otherwise, use the original image color + return is_inside_fill ? Fill_Color : image.Sample(textureSampler, v_in.uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From b143f46337beb30b43fcbf63a638b00af79ba1f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1261/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- ...Get-OBSFillColorRadialPercentageShader.ps1 | 218 ++++++++++++++++++ 1 file changed, 218 insertions(+) create mode 100644 Commands/Filters/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 b/Commands/Filters/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 new file mode 100644 index 000000000..1efd72c04 --- /dev/null +++ b/Commands/Filters/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 @@ -0,0 +1,218 @@ +function Get-OBSFillColorRadialPercentageShader { + +[Alias('Set-OBSFillColorRadialPercentageShader','Add-OBSFillColorRadialPercentageShader')] +param( +# Set the Fill_Direction of OBSFillColorRadialPercentageShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill of OBSFillColorRadialPercentageShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Start_Angle of OBSFillColorRadialPercentageShader +[Alias('Start_Angle')] +[ComponentModel.DefaultBindingProperty('Start_Angle')] +[Single] +$StartAngle, +# Set the Offset_X of OBSFillColorRadialPercentageShader +[Alias('Offset_X')] +[ComponentModel.DefaultBindingProperty('Offset_X')] +[Single] +$OffsetX, +# Set the Offset_Y of OBSFillColorRadialPercentageShader +[Alias('Offset_Y')] +[ComponentModel.DefaultBindingProperty('Offset_Y')] +[Single] +$OffsetY, +# Set the Fill_Color of OBSFillColorRadialPercentageShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +$shaderName = 'fill_color_radial_percentage' +$ShaderNoun = 'OBSFillColorRadialPercentageShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.141592653589793238 + +uniform int Fill_Direction< + string label = "Fill Direction"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Clockwise"; + int option_1_value = 1; + string option_1_label = "Counter-Clockwise"; +> = 0; + +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.00005; +> = 0.0; + +uniform float Start_Angle< + string label = "Start Angle"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 720; + float step = 1.00000; +> = 360.0; + +uniform float Offset_X< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float Offset_Y< + string label = "Offset Y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + // Calculate the center of the screen based on aspect ratio + float aspectRatioX = uv_size.x / uv_size.y; + float2 center = float2(0.5 * aspectRatioX + Offset_X, 0.5 + Offset_Y); + + // Normalize the UV coordinates based on aspect ratio + float2 normalizedUV = v_in.uv * float2(aspectRatioX, 1.0); + + // Calculate the direction vector from the center to the current pixel + float2 dir = normalizedUV - center; + + // Calculate the angle in radians + float angle = atan2(dir.y, dir.x); + + // Convert angle from radians to degrees + angle = degrees(angle); + + // Offset the angle to start from the specified starting angle + angle += Start_Angle + 90.0; // Subtract 90 degrees to start at 12 o''clock + if (angle >= 360.0) + angle -= 360.0; + + // Adjust the angle based on the selected fill direction + if (Fill_Direction == 1) { + // Counter-clockwise fill + angle = 360.0 - angle; + } + + // Ensure angle is within [0, 360] range + if (angle < 0.0) + angle += 360.0; + else if (angle >= 360.0) + angle -= 360.0; + + // Calculate the percentage of the angle + float anglePercentage = angle / 360.0; + + // Check if the angle percentage is within the specified "fill percentage" + bool is_inside_fill = anglePercentage < Fill; + + // If inside the "fill," make the pixel selected color; otherwise, use the original image color + return is_inside_fill ? Fill_Color : image.Sample(textureSampler, v_in.uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if ($myVerb -eq 'Add') { + $ShaderFilterSplat.ShaderText = $shaderText + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 05794377abb065c0795674fbbc29af90da9e7489 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1262/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 b/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 index 79759959c..a78eb1760 100644 --- a/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 @@ -86,9 +86,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFilterTemplateShader' +$shaderName = 'filter_template' +$ShaderNoun = 'OBSFilterTemplateShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //My shader modified by Me for use with obs-shaderfilter month/year v.02 @@ -169,7 +169,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 80578de45a96a6781f272a30bcae21db5caae35c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:16 +0000 Subject: [PATCH 1263/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 b/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 index 630ffdd72..775eea28c 100644 --- a/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 @@ -103,7 +103,7 @@ $ReplaceImageColor, # Set the Color_To_Replace of OBSFire3Shader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the Apply_To_Specific_Color of OBSFire3Shader [Alias('Apply_To_Specific_Color')] @@ -158,9 +158,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFire3Shader' +$shaderName = 'fire-3' +$ShaderNoun = 'OBSFire3Shader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //My effect modified by Me for use with obs-shaderfilter month/year v.02 //Converted to OpenGL by Q-mii & Exeldro February 22, 2022 @@ -609,7 +609,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 9653300cead60fa3cf750c66ff33a039a492a121 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1264/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFireShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFireShader.ps1 b/Commands/Filters/Shaders/Get-OBSFireShader.ps1 index cd3f9c32b..3e00a28d8 100644 --- a/Commands/Filters/Shaders/Get-OBSFireShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFireShader.ps1 @@ -51,7 +51,7 @@ $ApplyToSpecificColor, # Set the Color_To_Replace of OBSFireShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the Notes of OBSFireShader [ComponentModel.DefaultBindingProperty('Notes')] @@ -80,9 +80,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFireShader' +$shaderName = 'fire' +$ShaderNoun = 'OBSFireShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //fire shader modified by Charles Fettinger for use with obs-shaderfilter 07/20 v.6 // https://github.com/Oncorporation/obs-shaderfilter plugin @@ -344,7 +344,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From e4a74336c289331d19ee69d81d7ae5f8898a354d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1265/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 b/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 index 8960722f8..504a729cb 100644 --- a/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 @@ -40,9 +40,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFireworksShader' +$shaderName = 'fireworks' +$ShaderNoun = 'OBSFireworksShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' #ifndef OPENGL #define mat2 float2x2 @@ -223,7 +223,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 59ea1218908f8efeecd224fd07916ee4a221f785 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1266/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 index ea0160257..1d568ff75 100644 --- a/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 @@ -45,9 +45,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFisheyeXyShader' +$shaderName = 'fisheye-xy' +$ShaderNoun = 'OBSFisheyeXyShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float center_x_percent< string label = "Center x percent"; @@ -123,7 +123,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From bb78cc2932faa02767f06b3f7c8d0c5a5aed9e26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1267/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 index 44203a99e..4b9eeade8 100644 --- a/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 @@ -39,9 +39,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFisheyeShader' +$shaderName = 'fisheye' +$ShaderNoun = 'OBSFisheyeShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float center_x_percent< string label = "Center x percent"; @@ -98,7 +98,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 82640b754af51747445c951e60197f30f68eb7c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1268/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 b/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 index 60e0aafab..c0dad29dd 100644 --- a/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 @@ -32,7 +32,7 @@ $BorderOffset, # Set the Border_Color of OBSFrostedGlassShader [Alias('Border_Color')] [ComponentModel.DefaultBindingProperty('Border_Color')] -[Single[]] +[String] $BorderColor, # Set the notes of OBSFrostedGlassShader [ComponentModel.DefaultBindingProperty('notes')] @@ -61,9 +61,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSFrostedGlassShader' +$shaderName = 'frosted_glass' +$ShaderNoun = 'OBSFrostedGlassShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Frosted Glass shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -148,7 +148,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From ad3fbdb7547a081af817ce32af0e880d2d34a346 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1269/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 b/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 index eeb5f44b8..332b10b80 100644 --- a/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 @@ -41,9 +41,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGammaCorrectionShader' +$shaderName = 'gamma_correction' +$ShaderNoun = 'OBSGammaCorrectionShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Gamma Correction shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -94,7 +94,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 85ba665e2b7a15fca67b26e4944c1a89c3a2b5fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1270/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 index 342170ad9..65bfc8d41 100644 --- a/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 @@ -57,9 +57,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGaussianBlurAdvancedShader' +$shaderName = 'gaussian-blur-advanced' +$ShaderNoun = 'OBSGaussianBlurAdvancedShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float Directions< string label = "Directions (16.0)"; @@ -174,7 +174,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From a1be920ea7a6b2f04f8f4f50b96018a0c3ea5340 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1271/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 index e4625638b..c8d462334 100644 --- a/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 @@ -49,9 +49,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGaussianBlurSimpleShader' +$shaderName = 'gaussian-blur-simple' +$ShaderNoun = 'OBSGaussianBlurSimpleShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform int Strength< string label = "Strength (1)"; @@ -159,7 +159,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From c5c743c7e2c091a0d42828ad4f0ce51ce925cad6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1272/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 index 1963c9e5d..18e548f98 100644 --- a/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 @@ -89,9 +89,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGaussianBlurShader' +$shaderName = 'gaussian-blur' +$ShaderNoun = 'OBSGaussianBlurShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro March 11, 2022 // OBS Default @@ -252,7 +252,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 10fe5a0dd0aa5499bedbc43b3e208e9e008fc1be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1273/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSGaussianExampleShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 index 9b08f366c..a1b663896 100644 --- a/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 @@ -53,7 +53,7 @@ $AfterImage, # Set the text_color of OBSGaussianExampleShader [Alias('text_color')] [ComponentModel.DefaultBindingProperty('text_color')] -[Single[]] +[String] $TextColor, # Set the max_distance of OBSGaussianExampleShader [Alias('max_distance')] @@ -87,9 +87,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGaussianExampleShader' +$shaderName = 'gaussian-example' +$ShaderNoun = 'OBSGaussianExampleShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float4x4 ViewProj; uniform texture2d image; @@ -288,7 +288,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 15d04e5793ca35be987639c16608fe4aa04a7db8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1274/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 b/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 index 35621bacb..c20be5005 100644 --- a/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 @@ -90,9 +90,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGaussianSimpleShader' +$shaderName = 'gaussian-simple' +$ShaderNoun = 'OBSGaussianSimpleShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Single-pass gaussian blur - fast shader modified by Charles Fettinger for use with obs-shaderfilter 7/2020 v.01 // https://github.com/Oncorporation/obs-shaderfilter @@ -200,7 +200,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 5da219d5b482fd87f5ea95225b22758f07bdce97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1275/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSGbCameraShader.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 b/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 index 4bb9565bd..d747aa542 100644 --- a/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 @@ -31,22 +31,22 @@ $Gamma, # Set the color_1 of OBSGbCameraShader [Alias('color_1')] [ComponentModel.DefaultBindingProperty('color_1')] -[Single[]] +[String] $Color1, # Set the color_2 of OBSGbCameraShader [Alias('color_2')] [ComponentModel.DefaultBindingProperty('color_2')] -[Single[]] +[String] $Color2, # Set the color_3 of OBSGbCameraShader [Alias('color_3')] [ComponentModel.DefaultBindingProperty('color_3')] -[Single[]] +[String] $Color3, # Set the color_4 of OBSGbCameraShader [Alias('color_4')] [ComponentModel.DefaultBindingProperty('color_4')] -[Single[]] +[String] $Color4, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] @@ -71,9 +71,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGbCameraShader' +$shaderName = 'gb-camera' +$ShaderNoun = 'OBSGbCameraShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' /* * ------------------------------------------------------------ @@ -245,7 +245,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From fd8a62a6023c690ffe1bc913ece40cbe917b9d0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1276/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGlassShader.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 index 70db16701..b703e26c2 100644 --- a/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 @@ -38,12 +38,12 @@ $BorderOffset, # Set the Border_Color of OBSGlassShader [Alias('Border_Color')] [ComponentModel.DefaultBindingProperty('Border_Color')] -[Single[]] +[String] $BorderColor, # Set the Glass_Color of OBSGlassShader [Alias('Glass_Color')] [ComponentModel.DefaultBindingProperty('Glass_Color')] -[Single[]] +[String] $GlassColor, # Set the notes of OBSGlassShader [ComponentModel.DefaultBindingProperty('notes')] @@ -72,9 +72,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGlassShader' +$shaderName = 'glass' +$ShaderNoun = 'OBSGlassShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Glass shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -177,7 +177,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 43a3bff053bd08f458a079b793877ec51f22641a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1277/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 index f812cbf62..b23688217 100644 --- a/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 @@ -70,7 +70,7 @@ $ApplyToSpecificColor, # Set the Color_To_Replace of OBSGlitchAnalogShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the notes of OBSGlitchAnalogShader [ComponentModel.DefaultBindingProperty('notes')] @@ -99,9 +99,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGlitchAnalogShader' +$shaderName = 'glitch_analog' +$ShaderNoun = 'OBSGlitchAnalogShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // analog glitch shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -262,7 +262,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 59e316842ff2da52474446b5d5c01154b2b096c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1278/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 index 9d199659a..886dad74d 100644 --- a/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 @@ -33,9 +33,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGlitchShader' +$shaderName = 'glitch' +$ShaderNoun = 'OBSGlitchShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/MtXBDs //inputs @@ -123,7 +123,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 77c21fb85af4869a87baa869648d3eda384a97f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1279/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSGlowShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 b/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 index 367b7b31a..5fea3bbcc 100644 --- a/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 @@ -57,9 +57,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGlowShader' +$shaderName = 'glow' +$ShaderNoun = 'OBSGlowShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Exeldro February 21, 2022 uniform int glow_percent< @@ -170,7 +170,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From ee780c00dce3fcea48ae40e0adcf70f2273d47d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1280/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSGradientShader.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 index c3a9cd5e5..00ccc85d3 100644 --- a/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 @@ -5,7 +5,7 @@ param( # Set the start_color of OBSGradientShader [Alias('start_color')] [ComponentModel.DefaultBindingProperty('start_color')] -[Single[]] +[String] $StartColor, # Set the start_step of OBSGradientShader [Alias('start_step')] @@ -15,7 +15,7 @@ $StartStep, # Set the middle_color of OBSGradientShader [Alias('middle_color')] [ComponentModel.DefaultBindingProperty('middle_color')] -[Single[]] +[String] $MiddleColor, # Set the middle_step of OBSGradientShader [Alias('middle_step')] @@ -25,7 +25,7 @@ $MiddleStep, # Set the end_color of OBSGradientShader [Alias('end_color')] [ComponentModel.DefaultBindingProperty('end_color')] -[Single[]] +[String] $EndColor, # Set the end_step of OBSGradientShader [Alias('end_step')] @@ -64,7 +64,7 @@ $ApplyToSpecificColor, # Set the Color_To_Replace of OBSGradientShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the horizontal of OBSGradientShader [ComponentModel.DefaultBindingProperty('horizontal')] @@ -111,9 +111,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSGradientShader' +$shaderName = 'gradient' +$ShaderNoun = 'OBSGradientShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // gradient shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -328,7 +328,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 281318306ce8fd072c07d3eb6a00e92ddc8c7121 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1281/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 b/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 index 527ff2cbe..686710ce3 100644 --- a/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 @@ -29,9 +29,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSHalftoneShader' +$shaderName = 'halftone' +$ShaderNoun = 'OBSHalftoneShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' #define PI 3.1415926535897932384626433832795 #define PI180 float(PI / 180.0) @@ -101,7 +101,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 1aa47264d67ce65964b91836a9f890956f2e9ff9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1282/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 b/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 index f8235a52f..c44303dc6 100644 --- a/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 @@ -41,9 +41,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSHeatWaveSimpleShader' +$shaderName = 'heat-wave-simple' +$ShaderNoun = 'OBSHeatWaveSimpleShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Heat Wave Simple, Version 0.03, for OBS Shaderfilter // Copyright ©️ 2022 by SkeletonBow @@ -122,7 +122,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 5a0108fa4be2e07892cb2b071115b70aa4d48bb9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1283/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 index d9e8e2fe3..a256a872d 100644 --- a/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 @@ -5,7 +5,7 @@ param( # Set the Hex_Color of OBSHexagonShader [Alias('Hex_Color')] [ComponentModel.DefaultBindingProperty('Hex_Color')] -[Single[]] +[String] $HexColor, # Set the Alpha_Percent of OBSHexagonShader [Alias('Alpha_Percent')] @@ -90,9 +90,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSHexagonShader' +$shaderName = 'hexagon' +$ShaderNoun = 'OBSHexagonShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Hexagon shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -231,7 +231,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From ddfb39c4f0dcbd803b9720f00dd8843f6836593f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:17 +0000 Subject: [PATCH 1284/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 index 1c4292464..2710a1936 100644 --- a/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 @@ -41,9 +41,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSHslHsvSaturationShader' +$shaderName = 'hsl_hsv_saturation' +$ShaderNoun = 'OBSHslHsvSaturationShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Adjusted Saturation Shader for obs-shaderfilter using HLSL conventions @@ -201,7 +201,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 173bded66e5eb9fc8aec2cd6350762e3684c87e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1285/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 b/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 index 6f702e998..bef74dea8 100644 --- a/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 @@ -34,9 +34,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSHueRotatonShader' +$shaderName = 'hue-rotaton' +$ShaderNoun = 'OBSHueRotatonShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Hue Rotation shader, version 1.0 for OBS Shaderfilter // Copyright ©️ 2023 by SkeletonBow @@ -145,7 +145,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From b786ab21895193d82bb3c86fd406ac6f4e2041e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1286/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 b/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 index f386bc524..9a6fdb3fc 100644 --- a/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 @@ -33,9 +33,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSIntensityScopeShader' +$shaderName = 'intensity-scope' +$ShaderNoun = 'OBSIntensityScopeShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Robin Green, Dec 2016 // Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. @@ -102,7 +102,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 662440b3e8eaf049d511b3363fc47a798b837c27 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1287/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 b/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 index 089fd1d64..bf49f0501 100644 --- a/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 @@ -45,9 +45,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSInvertLumaShader' +$shaderName = 'invert-luma' +$ShaderNoun = 'OBSInvertLumaShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Invert shader 1.0 - for OBS Shaderfilter // Copyright 2021 by SkeletonBow @@ -176,7 +176,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 724a3ec7c5eeea3e717ccbd716e5de53b11661d2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1288/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 b/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 index 264278223..2399da8ef 100644 --- a/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 @@ -47,7 +47,7 @@ $UvSize, $ColorMatrix, # Set the color of OBSLuminanceAlphaShader [ComponentModel.DefaultBindingProperty('color')] -[Single[]] +[String] $Color, # Set the mul_val of OBSLuminanceAlphaShader [Alias('mul_val')] @@ -90,9 +90,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSLuminanceAlphaShader' +$shaderName = 'luminance_alpha' +$ShaderNoun = 'OBSLuminanceAlphaShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Luminance Alpha Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 //Converted to OpenGL by Q-mii & Exeldro February 22, 2022 @@ -208,7 +208,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From e2d5089df4715568db5e35b2c76e0d4126daa9f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1289/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 b/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 index 70e3aedf6..e976660b5 100644 --- a/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 @@ -4,7 +4,7 @@ function Get-OBSLuminanceShader { param( # Set the color of OBSLuminanceShader [ComponentModel.DefaultBindingProperty('color')] -[Single[]] +[String] $Color, # Set the level of OBSLuminanceShader [ComponentModel.DefaultBindingProperty('level')] @@ -45,9 +45,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSLuminanceShader' +$shaderName = 'Luminance' +$ShaderNoun = 'OBSLuminanceShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Exeldro February 22, 2022 uniform float4 color; @@ -115,7 +115,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 7201dce5fd422cbe943172b9b07b547c3c3ada58 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1290/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 b/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 index 06da55ac9..79066ee26 100644 --- a/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 @@ -4,7 +4,7 @@ function Get-OBSLuminance2Shader { param( # Set the color of OBSLuminance2Shader [ComponentModel.DefaultBindingProperty('color')] -[Single[]] +[String] $Color, # Set the lumaMax of OBSLuminance2Shader [ComponentModel.DefaultBindingProperty('lumaMax')] @@ -57,9 +57,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSLuminance2Shader' +$shaderName = 'luminance2' +$ShaderNoun = 'OBSLuminance2Shader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro February 25, 2022 uniform float4 color; @@ -150,7 +150,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 46438a9b3794e23726b7cc3cf25634adfe9e1698 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1291/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 b/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 index f94e06545..cf17010f9 100644 --- a/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 @@ -113,9 +113,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSMatrixShader' +$shaderName = 'matrix' +$ShaderNoun = 'OBSMatrixShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Matrix effect by Charles Fettinger for obs-shaderfilter plugin 7/2020 v.2 // https://github.com/Oncorporation/obs-shaderfilter @@ -349,7 +349,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From bf8e5113f5057ccae198f85eed45be0459818d20 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1292/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 b/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 index e31cd1ebc..82e08a427 100644 --- a/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 @@ -30,9 +30,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSMultiplyShader' +$shaderName = 'multiply' +$ShaderNoun = 'OBSMultiplyShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform texture2d other_image; @@ -57,7 +57,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 9c4fbe3e52f2fcc96059d7a5886b4dfcc28e309f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1293/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSNightSkyShader.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 b/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 index f320e2417..225801902 100644 --- a/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 @@ -49,17 +49,17 @@ $NumberStars, # Set the SKY_COLOR of OBSNightSkyShader [Alias('SKY_COLOR')] [ComponentModel.DefaultBindingProperty('SKY_COLOR')] -[Single[]] +[String] $SKYCOLOR, # Set the STAR_COLOR of OBSNightSkyShader [Alias('STAR_COLOR')] [ComponentModel.DefaultBindingProperty('STAR_COLOR')] -[Single[]] +[String] $STARCOLOR, # Set the LIGHT_SKY of OBSNightSkyShader [Alias('LIGHT_SKY')] [ComponentModel.DefaultBindingProperty('LIGHT_SKY')] -[Single[]] +[String] $LIGHTSKY, # Set the SKY_LIGHTNESS of OBSNightSkyShader [Alias('SKY_LIGHTNESS')] @@ -69,7 +69,7 @@ $SKYLIGHTNESS, # Set the MOON_COLOR of OBSNightSkyShader [Alias('MOON_COLOR')] [ComponentModel.DefaultBindingProperty('MOON_COLOR')] -[Single[]] +[String] $MOONCOLOR, # Set the moon_size of OBSNightSkyShader [Alias('moon_size')] @@ -114,9 +114,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSNightSkyShader' +$shaderName = 'night_sky' +$ShaderNoun = 'OBSNightSkyShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Night Sky shader by Charles Fettinger for obs-shaderfilter plugin 6/2020 v.65 // https://github.com/Oncorporation/obs-shaderfilter @@ -421,7 +421,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From a51c8d4476b4ea2dd746857e6c03a7f70f6becf0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1294/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 b/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 index b84df927a..d61120fc7 100644 --- a/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 @@ -29,9 +29,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSOpacityShader' +$shaderName = 'opacity' +$ShaderNoun = 'OBSOpacityShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Opacity shader - for OBS Shaderfilter // Copyright 2021 by SkeltonBowTV @@ -65,7 +65,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 162ec48e87bb0cd8716679ee34bf60628a264a7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1295/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSPagePeelTransitionShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 b/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 index 667b9e078..115b76e50 100644 --- a/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 @@ -25,7 +25,7 @@ $ConvertLinear, # Set the page_color of OBSPagePeelTransitionShader [Alias('page_color')] [ComponentModel.DefaultBindingProperty('page_color')] -[Single[]] +[String] $PageColor, # Set the page_transparency of OBSPagePeelTransitionShader [Alias('page_transparency')] @@ -55,9 +55,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPagePeelTransitionShader' +$shaderName = 'page-peel-transition' +$ShaderNoun = 'OBSPagePeelTransitionShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform texture2d image_a; uniform texture2d image_b; @@ -140,7 +140,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From af59e9fa5dd06622d7cd42448f930864eb2b8847 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1296/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 b/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 index 525228931..eca4ff445 100644 --- a/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 @@ -33,9 +33,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPagePeelShader' +$shaderName = 'page-peel' +$ShaderNoun = 'OBSPagePeelShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Simple Page Peel, Version 0.01, for OBS Shaderfilter // Copyright ©️ 2023 by SkeletonBow @@ -127,7 +127,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 917bec1ad1f89f7f31d3129ec66b78e541572d4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1297/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 b/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 index 238873a2d..a58f4db16 100644 --- a/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 @@ -74,9 +74,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPerlinNoiseShader' +$shaderName = 'perlin_noise' +$ShaderNoun = 'OBSPerlinNoiseShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // // Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader @@ -339,7 +339,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 0513b6e5b9e235e1a22221b1cb6c1c57d54ed436 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1298/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSPieChartShader.ps1 | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 b/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 index 31d0f7dd0..b29b85338 100644 --- a/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 @@ -29,7 +29,7 @@ $Part1, # Set the color_1 of OBSPieChartShader [Alias('color_1')] [ComponentModel.DefaultBindingProperty('color_1')] -[Single[]] +[String] $Color1, # Set the part_2 of OBSPieChartShader [Alias('part_2')] @@ -39,7 +39,7 @@ $Part2, # Set the color_2 of OBSPieChartShader [Alias('color_2')] [ComponentModel.DefaultBindingProperty('color_2')] -[Single[]] +[String] $Color2, # Set the part_3 of OBSPieChartShader [Alias('part_3')] @@ -49,7 +49,7 @@ $Part3, # Set the color_3 of OBSPieChartShader [Alias('color_3')] [ComponentModel.DefaultBindingProperty('color_3')] -[Single[]] +[String] $Color3, # Set the part_4 of OBSPieChartShader [Alias('part_4')] @@ -59,7 +59,7 @@ $Part4, # Set the color_4 of OBSPieChartShader [Alias('color_4')] [ComponentModel.DefaultBindingProperty('color_4')] -[Single[]] +[String] $Color4, # Set the part_5 of OBSPieChartShader [Alias('part_5')] @@ -69,7 +69,7 @@ $Part5, # Set the color_5 of OBSPieChartShader [Alias('color_5')] [ComponentModel.DefaultBindingProperty('color_5')] -[Single[]] +[String] $Color5, # Set the part_6 of OBSPieChartShader [Alias('part_6')] @@ -79,7 +79,7 @@ $Part6, # Set the color_6 of OBSPieChartShader [Alias('color_6')] [ComponentModel.DefaultBindingProperty('color_6')] -[Single[]] +[String] $Color6, # Set the part_7 of OBSPieChartShader [Alias('part_7')] @@ -89,7 +89,7 @@ $Part7, # Set the color_7 of OBSPieChartShader [Alias('color_7')] [ComponentModel.DefaultBindingProperty('color_7')] -[Single[]] +[String] $Color7, # Set the part_8 of OBSPieChartShader [Alias('part_8')] @@ -99,7 +99,7 @@ $Part8, # Set the color_8 of OBSPieChartShader [Alias('color_8')] [ComponentModel.DefaultBindingProperty('color_8')] -[Single[]] +[String] $Color8, # Set the part_9 of OBSPieChartShader [Alias('part_9')] @@ -109,7 +109,7 @@ $Part9, # Set the color_9 of OBSPieChartShader [Alias('color_9')] [ComponentModel.DefaultBindingProperty('color_9')] -[Single[]] +[String] $Color9, # Set the part_10 of OBSPieChartShader [Alias('part_10')] @@ -119,7 +119,7 @@ $Part10, # Set the color_10 of OBSPieChartShader [Alias('color_10')] [ComponentModel.DefaultBindingProperty('color_10')] -[Single[]] +[String] $Color10, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] @@ -144,9 +144,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPieChartShader' +$shaderName = 'pie-chart' +$ShaderNoun = 'OBSPieChartShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float inner_radius< string label = "inner radius"; @@ -312,7 +312,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From a5527a78d164cad158ebe243fa8a7a6ef974b31a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1299/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 b/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 index f37292659..4935df291 100644 --- a/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 @@ -49,9 +49,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPixelationTransitionShader' +$shaderName = 'pixelation-transition' +$ShaderNoun = 'OBSPixelationTransitionShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float transition_time< string label = "Transittion Time"; @@ -120,7 +120,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From d89a8afb6982d6d382b946fe1d87071246d65d1b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1300/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 b/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 index 6079d97b4..49dad50ad 100644 --- a/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 @@ -39,9 +39,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPixelationShader' +$shaderName = 'pixelation' +$ShaderNoun = 'OBSPixelationShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // pixelation shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 // with help from SkeltonBowTV @@ -102,7 +102,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From c5e5857f7014b3862a6b40eb3a4a8ae5c08927c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1301/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSPulseShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 b/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 index f7262d311..e12cf1233 100644 --- a/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 @@ -77,9 +77,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSPulseShader' +$shaderName = 'pulse' +$ShaderNoun = 'OBSPulseShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float4x4 ViewProj; uniform texture2d image; @@ -169,7 +169,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 35b7b3d390dc0d0ddd02686664954ed0263a440f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1302/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 index f1d2a0c9f..b31a41a1f 100644 --- a/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 @@ -51,9 +51,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRainWindowShader' +$shaderName = 'rain-window' +$ShaderNoun = 'OBSRainWindowShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // https://www.shadertoy.com/view/slfSzS adopted for OBS by Exeldro // shader derived from Heartfelt - by Martijn Steinrucken aka BigWings - 2017 @@ -306,7 +306,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 5c0e9e97f5ee7a599b56e11038535f1dee28da1f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1303/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 b/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 index 6ac5433c0..f6c4ba9f9 100644 --- a/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 @@ -54,7 +54,7 @@ $ApplyToSpecificColor, # Set the Color_To_Replace of OBSRainbowShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the Notes of OBSRainbowShader [ComponentModel.DefaultBindingProperty('Notes')] @@ -83,9 +83,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRainbowShader' +$shaderName = 'rainbow' +$ShaderNoun = 'OBSRainbowShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Rainbow shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 // https://github.com/Oncorporation/obs-shaderfilter @@ -241,7 +241,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 6cfdbb65c887e0a0e5e97ea8d51811245d045a89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1304/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSRectangularDropShadowShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 b/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 index 65d370759..07cc33765 100644 --- a/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 @@ -20,7 +20,7 @@ $ShadowBlurSize, # Set the shadow_color of OBSRectangularDropShadowShader [Alias('shadow_color')] [ComponentModel.DefaultBindingProperty('shadow_color')] -[Single[]] +[String] $ShadowColor, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] @@ -45,9 +45,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRectangularDropShadowShader' +$shaderName = 'rectangular_drop_shadow' +$ShaderNoun = 'OBSRectangularDropShadowShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Exeldro February 22, 2022 uniform int shadow_offset_x< @@ -109,7 +109,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 33a080668940c1fc09c5df3979e220eb5757050e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1305/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 b/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 index 754d07282..019f01380 100644 --- a/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 @@ -34,9 +34,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRemovePartialPixelsShader' +$shaderName = 'remove_partial_pixels' +$ShaderNoun = 'OBSRemovePartialPixelsShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Remove Partial Pixels shader by Charles Fettinger for obs-shaderfilter plugin 8/2020 // https://github.com/Oncorporation/obs-shaderfilter @@ -79,7 +79,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From c2d90636c74d200b06aa90281a8ed43b456e9ab2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1306/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 b/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 index 69a0dff04..c216e047c 100644 --- a/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 @@ -100,9 +100,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRepeatTextureShader' +$shaderName = 'repeat_texture' +$ShaderNoun = 'OBSRepeatTextureShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Repeat Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 @@ -210,7 +210,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 7c886466745eeda49b09c4694285f0602386fc0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:18 +0000 Subject: [PATCH 1307/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 b/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 index 2d4aeb5c3..3ee69d0ad 100644 --- a/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 @@ -90,9 +90,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRepeatShader' +$shaderName = 'repeat' +$ShaderNoun = 'OBSRepeatShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Repeat Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 @@ -177,7 +177,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 4397a8f41f849ca053786efc23794c869516d15f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1308/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 b/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 index 70911ba32..1099c3489 100644 --- a/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 @@ -29,7 +29,7 @@ $ApplyToSpecificColor, # Set the Color_To_Replace of OBSRgbColorWheelShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the Alpha_Percentage of OBSRgbColorWheelShader [Alias('Alpha_Percentage')] @@ -69,9 +69,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRgbColorWheelShader' +$shaderName = 'rgb_color_wheel' +$ShaderNoun = 'OBSRgbColorWheelShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // RGB Color Wheel shader by Charles Fettinger for obs-shaderfilter plugin 5/2020 // https://github.com/Oncorporation/obs-shaderfilter @@ -178,7 +178,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From e32b73b7f2f8d921969d3e57dea9bae1f3d410b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1309/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 b/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 index 49c6686e3..be6427f2c 100644 --- a/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 @@ -49,9 +49,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRgbSplitShader' +$shaderName = 'rgb_split' +$ShaderNoun = 'OBSRgbSplitShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float redx< string label = "Red X"; @@ -122,7 +122,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From e70be4809c5e98ed1bce206d748a033d6fcf7be2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1310/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 b/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 index b47cb73d3..93dd4fdd5 100644 --- a/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 @@ -53,9 +53,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRgbvisibilityShader' +$shaderName = 'rgbvisibility' +$ShaderNoun = 'OBSRgbvisibilityShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // RGB visibility separation filter, created by EposVox @@ -135,7 +135,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 7c71f6bd50b08c64e9ddf42ace75ea4275bccca4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1311/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRippleShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 b/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 index 9e68758c6..7bead9820 100644 --- a/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 @@ -50,9 +50,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRippleShader' +$shaderName = 'ripple' +$ShaderNoun = 'OBSRippleShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform float distance_factor< string label = "distance factor"; @@ -112,7 +112,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 3f98987cba709f8cf73ae72784538557631a7eb9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1312/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 b/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 index 1c092a116..0603172b2 100644 --- a/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 @@ -53,9 +53,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRotatingSourceShader' +$shaderName = 'rotating-source' +$ShaderNoun = 'OBSRotatingSourceShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //spin speed higher the slower uniform float spin_speed< @@ -147,7 +147,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From be9b259c8ce01db1807a292316faed85e325fc7a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1313/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 b/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 index 33ad14980..1d49f3357 100644 --- a/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 @@ -117,9 +117,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRotatoeShader' +$shaderName = 'rotatoe' +$ShaderNoun = 'OBSRotatoeShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Rotation Effect By Charles Fettinger (https://github.com/Oncorporation) 10/2019 //Converted to OpenGL by Q-mii, Exeldro, & skeletonbow @@ -284,7 +284,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 2b1a205ac1aa73d95b4f51242b5259de9a625a48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1314/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSRoundedRectPerCornerShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 index 95391808f..2c9b0dac8 100644 --- a/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 @@ -30,7 +30,7 @@ $BorderThickness, # Set the border_color of OBSRoundedRectPerCornerShader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # Set the border_alpha_start of OBSRoundedRectPerCornerShader [Alias('border_alpha_start')] @@ -70,9 +70,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRoundedRectPerCornerShader' +$shaderName = 'rounded_rect_per_corner' +$ShaderNoun = 'OBSRoundedRectPerCornerShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro February 18, 2022 uniform int corner_radius_tl< @@ -264,7 +264,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From b8d50d06293539a78b787448936be2fb012bcb11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1315/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSRoundedRectPerSideShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 index 0e21a95de..3b1456c8d 100644 --- a/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 @@ -30,7 +30,7 @@ $BorderThickness, # Set the border_color of OBSRoundedRectPerSideShader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # Set the border_alpha_start of OBSRoundedRectPerSideShader [Alias('border_alpha_start')] @@ -70,9 +70,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRoundedRectPerSideShader' +$shaderName = 'rounded_rect_per_side' +$ShaderNoun = 'OBSRoundedRectPerSideShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform int corner_radius_bottom< string label = "Corner radius bottom"; @@ -241,7 +241,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From f41b17566606e56d267d28fb2f1a9c83c66d0b8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1316/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 index 08e1e828f..df34c9b22 100644 --- a/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 @@ -15,7 +15,7 @@ $BorderThickness, # Set the border_color of OBSRoundedRectShader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] @@ -40,9 +40,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRoundedRectShader' +$shaderName = 'rounded_rect' +$ShaderNoun = 'OBSRoundedRectShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGl by Q-mii & Exeldro February 21, 2022 uniform int corner_radius< @@ -93,7 +93,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 14369d087fba6436d3c9c958c7b4a0d61543d8ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1317/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 index 8e028ae86..40bed830a 100644 --- a/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 @@ -15,7 +15,7 @@ $BorderThickness, # Set the border_color of OBSRoundedRect2Shader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # Set the border_alpha_start of OBSRoundedRect2Shader [Alias('border_alpha_start')] @@ -60,9 +60,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRoundedRect2Shader' +$shaderName = 'rounded_rect2' +$ShaderNoun = 'OBSRoundedRect2Shader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform int corner_radius< string label = "Corner radius"; @@ -240,7 +240,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 62cce86138c235a0cffc61fdcaf2981f032aa00e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1318/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Shaders/Get-OBSRoundedStrokeGradientShader.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 index 7c122ee5a..bd89d6092 100644 --- a/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 @@ -25,12 +25,12 @@ $RotationSpeed, # Set the border_colorL of OBSRoundedStrokeGradientShader [Alias('border_colorL')] [ComponentModel.DefaultBindingProperty('border_colorL')] -[Single[]] +[String] $BorderColorL, # Set the border_colorR of OBSRoundedStrokeGradientShader [Alias('border_colorR')] [ComponentModel.DefaultBindingProperty('border_colorR')] -[Single[]] +[String] $BorderColorR, # Set the center_width of OBSRoundedStrokeGradientShader [Alias('center_width')] @@ -69,9 +69,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRoundedStrokeGradientShader' +$shaderName = 'rounded_stroke_gradient' +$ShaderNoun = 'OBSRoundedStrokeGradientShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //rounded rectange shader from https://raw.githubusercontent.com/exeldro/obs-lua/master/rounded_rect.shader //modified slightly by Surn @@ -275,7 +275,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 32c53e998188bd3bcfdbac490a66027b4b05c6ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1319/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 b/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 index ece221600..c6e9ca685 100644 --- a/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 @@ -20,7 +20,7 @@ $MinimumAlphaPercent, # Set the border_color of OBSRoundedStrokeShader [Alias('border_color')] [ComponentModel.DefaultBindingProperty('border_color')] -[Single[]] +[String] $BorderColor, # Set the notes of OBSRoundedStrokeShader [ComponentModel.DefaultBindingProperty('notes')] @@ -49,9 +49,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSRoundedStrokeShader' +$shaderName = 'rounded_stroke' +$ShaderNoun = 'OBSRoundedStrokeShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //rounded rectange shader from https://raw.githubusercontent.com/exeldro/obs-lua/master/rounded_rect.shader //modified slightly by Surn @@ -197,7 +197,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 6e06327eaaa97c3986d001111dcc8e26f390efcc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1320/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 b/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 index 83b875d87..da883102a 100644 --- a/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 @@ -61,9 +61,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSScanLineShader' +$shaderName = 'scan_line' +$ShaderNoun = 'OBSScanLineShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Scan Line Effect for OBS Studio // originally from Andersama (https://github.com/Andersama) @@ -175,7 +175,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 18706f89bd7efee6e2835f20b4d9fe3bea694d59 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1321/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 b/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 index 8453a527b..36730b014 100644 --- a/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 @@ -29,12 +29,12 @@ $SEAFREQ, # Set the SEA_BASE of OBSSeascapeShader [Alias('SEA_BASE')] [ComponentModel.DefaultBindingProperty('SEA_BASE')] -[Single[]] +[String] $SEABASE, # Set the SEA_WATER_COLOR of OBSSeascapeShader [Alias('SEA_WATER_COLOR')] [ComponentModel.DefaultBindingProperty('SEA_WATER_COLOR')] -[Single[]] +[String] $SEAWATERCOLOR, # Set the CAMERA_SPEED of OBSSeascapeShader [Alias('CAMERA_SPEED')] @@ -69,9 +69,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSeascapeShader' +$shaderName = 'seascape' +$ShaderNoun = 'OBSSeascapeShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' /* * "Seascape" by Alexander Alekseev aka TDM - 2014 @@ -359,7 +359,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 24040e3ab7a69f829104898a714a7e20c6eefee8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1322/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 b/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 index 284a6427a..15eee2275 100644 --- a/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 @@ -45,9 +45,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSeasickShader' +$shaderName = 'seasick' +$ShaderNoun = 'OBSSeasickShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Seasick - an effect for OBS Studio // @@ -104,7 +104,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From d6757e977e34d1e7ab04cbf8e05836f2a418521c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1323/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 b/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 index 64eded377..a28cb8cc8 100644 --- a/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 @@ -79,9 +79,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSelectiveColorShader' +$shaderName = 'selective_color' +$ShaderNoun = 'OBSSelectiveColorShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Selective Color shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 //https://github.com/Oncorporation/obs-shaderfilter @@ -215,7 +215,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From b995c8df194baedf36028de1ef91ffa61fa4dc65 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1324/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSShakeShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 b/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 index bb86a7a55..cd976858a 100644 --- a/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 @@ -100,9 +100,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSShakeShader' +$shaderName = 'shake' +$ShaderNoun = 'OBSShakeShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Shake Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 // Added some randomization based upon random_scale input @@ -256,7 +256,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 1effa43c2a1de9fd82377ad82b2d5504bc0d803d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1325/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSShineShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSShineShader.ps1 b/Commands/Filters/Shaders/Get-OBSShineShader.ps1 index 6d8261bf0..79d7dbd6e 100644 --- a/Commands/Filters/Shaders/Get-OBSShineShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSShineShader.ps1 @@ -10,7 +10,7 @@ $LTex, # Set the shine_color of OBSShineShader [Alias('shine_color')] [ComponentModel.DefaultBindingProperty('shine_color')] -[Single[]] +[String] $ShineColor, # Set the speed_percent of OBSShineShader [Alias('speed_percent')] @@ -90,9 +90,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSShineShader' +$shaderName = 'shine' +$ShaderNoun = 'OBSShineShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Shine Shader By Charles Fettinger (https://github.com/Oncorporation) 3/2019 // use color to control shine amount, use transition wipes or make your own alpha texture @@ -281,7 +281,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From b21e9718aeb7ef6ca83499c4787440b1c8337449 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1326/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSSimpleGradientShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 b/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 index 195799fd8..3820c68d5 100644 --- a/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 @@ -35,7 +35,7 @@ $ApplyToSpecificColor, # Set the Color_To_Replace of OBSSimpleGradientShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the notes of OBSSimpleGradientShader [ComponentModel.DefaultBindingProperty('notes')] @@ -64,9 +64,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSimpleGradientShader' +$shaderName = 'simple_gradient' +$ShaderNoun = 'OBSSimpleGradientShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Simple Gradient shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 // https://github.com/Oncorporation/obs-shaderfilter @@ -198,7 +198,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 93073163d9194d545c236da2d0f360f3f71f9cea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1327/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 b/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 index 6ed5de2e8..233599c8f 100644 --- a/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 @@ -28,12 +28,12 @@ $UseAlphaLayer, # Set the Fore_Color of OBSSimplexNoiseShader [Alias('Fore_Color')] [ComponentModel.DefaultBindingProperty('Fore_Color')] -[Single[]] +[String] $ForeColor, # Set the Back_Color of OBSSimplexNoiseShader [Alias('Back_Color')] [ComponentModel.DefaultBindingProperty('Back_Color')] -[Single[]] +[String] $BackColor, # Set the Alpha_Percent of OBSSimplexNoiseShader [Alias('Alpha_Percent')] @@ -67,9 +67,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSimplexNoiseShader' +$shaderName = 'simplex_noise' +$ShaderNoun = 'OBSSimplexNoiseShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Simplex Noise shader by Charles Fettinger (https://github.com/Oncorporation) 5/2019 // for use with obs-shaderfilter 1.0 @@ -280,7 +280,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 6369f3e3dd369daf25824953e370b012ee98bc2a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1328/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 b/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 index 71290468f..709456ef9 100644 --- a/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 @@ -19,7 +19,7 @@ $Glitch, # Set the Spotlight_Color of OBSSpotlightShader [Alias('Spotlight_Color')] [ComponentModel.DefaultBindingProperty('Spotlight_Color')] -[Single[]] +[String] $SpotlightColor, # Set the Horizontal_Offset of OBSSpotlightShader [Alias('Horizontal_Offset')] @@ -58,9 +58,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSpotlightShader' +$shaderName = 'spotlight' +$ShaderNoun = 'OBSSpotlightShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // Spotlight By Charles Fettinger (https://github.com/Oncorporation) 4/2019 uniform float Speed_Percent< @@ -129,7 +129,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From aa3d21f55569825b11fed5ab76caec1b4fe55976 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:19 +0000 Subject: [PATCH 1329/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 b/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 index 40bf201ca..ff0b8af11 100644 --- a/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 @@ -55,9 +55,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSSwirlShader' +$shaderName = 'Swirl' +$ShaderNoun = 'OBSSwirlShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Created by Radegast Stravinsky for obs-shaderfilter 9/2020 uniform float radius< @@ -148,7 +148,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From b8b8e69b975b853e11167db03304f0a28262cf4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1330/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSThermalShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 b/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 index bfb02ca3f..bcd692491 100644 --- a/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 @@ -29,9 +29,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSThermalShader' +$shaderName = 'thermal' +$ShaderNoun = 'OBSThermalShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/mdKXzG @@ -86,7 +86,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From f0dc9edf64fee8b5977e76164a617948ac7a3454 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1331/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 b/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 index 9ab4fc73b..996940f20 100644 --- a/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 @@ -41,9 +41,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSTvCrtSubpixelShader' +$shaderName = 'tv-crt-subpixel' +$ShaderNoun = 'OBSTvCrtSubpixelShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // https://www.shadertoy.com/view/dlBBz1 adopted for OBS by Exeldro @@ -129,7 +129,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 71bd2a4e8f511a7be95e4657e2f70df3e3cbf08d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1332/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSTwistShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 b/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 index 303dcf974..e25a830ae 100644 --- a/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 @@ -43,9 +43,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSTwistShader' +$shaderName = 'twist' +$ShaderNoun = 'OBSTwistShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform int center_x_percent< string label = "center x percentage"; @@ -112,7 +112,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 694e46d75f5da1cfab3ffab57704475f20d768e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1333/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 b/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 index 6be3f2535..32ecc21f2 100644 --- a/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 @@ -58,7 +58,7 @@ $ShadowBlurSize, # Set the shadow_color of OBSTwoPassDropShadowShader [Alias('shadow_color')] [ComponentModel.DefaultBindingProperty('shadow_color')] -[Single[]] +[String] $ShadowColor, # Set the is_alpha_premultiplied of OBSTwoPassDropShadowShader [Alias('is_alpha_premultiplied')] @@ -88,9 +88,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSTwoPassDropShadowShader' +$shaderName = 'two-pass-drop-shadow' +$ShaderNoun = 'OBSTwoPassDropShadowShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro February 22, 2022 uniform float4x4 ViewProj; @@ -224,7 +224,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 1c8e0283035107bdf7146aeb52397260f3eabe68 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1334/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSVCRShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 b/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 index a8df01ac3..c11857c23 100644 --- a/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 @@ -52,9 +52,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSVCRShader' +$shaderName = 'VCR' +$ShaderNoun = 'OBSVCRShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/ldjGzV //Converted to OpenGL by Exeldro February 19, 2022 @@ -170,7 +170,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 7ae33c47e9f89b4dc65a82ae7391112f29b0bc77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1335/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSVHSShader.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 b/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 index 52561c35d..9f34435be 100644 --- a/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 @@ -40,7 +40,7 @@ $ReplaceImageColor, # Set the Color_To_Replace of OBSVHSShader [Alias('Color_To_Replace')] [ComponentModel.DefaultBindingProperty('Color_To_Replace')] -[Single[]] +[String] $ColorToReplace, # Set the Apply_To_Specific_Color of OBSVHSShader [Alias('Apply_To_Specific_Color')] @@ -70,9 +70,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSVHSShader' +$shaderName = 'VHS' +$ShaderNoun = 'OBSVHSShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //based on https://www.shadertoy.com/view/Ms3XWH converted by Exeldro v 1.0 //updated by Charles ''Surn'' Fettinger for obs-shaderfilter 9/2020 @@ -216,7 +216,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 942dccd27d524cbee8518d883e6fc4200dbdadcc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1336/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 b/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 index 09c9907a1..71232c57a 100644 --- a/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 @@ -41,9 +41,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSVignettingShader' +$shaderName = 'vignetting' +$ShaderNoun = 'OBSVignettingShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Converted to OpenGL by Q-mii & Exeldro February 21, 2022 uniform float innerRadius< @@ -111,7 +111,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From f464be6d48afb3b4c6e7b63ed179d56c09a38f00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1337/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- .../Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 b/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 index ca59f6191..50f7b68e3 100644 --- a/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 @@ -33,9 +33,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSVoronoiPixelationShader' +$shaderName = 'voronoi-pixelation' +$ShaderNoun = 'OBSVoronoiPixelationShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // https://www.shadertoy.com/view/sd3yzn adopted by Exeldro @@ -140,7 +140,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 0f49b6416d1789fc4285d1daeab87727d4eac71d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1338/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 b/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 index 46092d8fb..bf506adde 100644 --- a/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 @@ -63,9 +63,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSZigZagShader' +$shaderName = 'ZigZag' +$ShaderNoun = 'OBSZigZagShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' //Created by Radegast Stravinsky for obs-shaderfilter 9/2020 uniform float radius< @@ -193,7 +193,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 2239c94e57416d9811edee1314520c7b208c2bc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1339/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 b/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 index 58b1d407b..83e8903c3 100644 --- a/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 @@ -50,9 +50,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSZoomBlurShader' +$shaderName = 'zoom_blur' +$ShaderNoun = 'OBSZoomBlurShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' // zoom blur shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 // https://github.com/Oncorporation/obs-shaderfilter @@ -166,7 +166,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From 8d04dd4d88cf7d04bd87fbff59bb221199948769 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:20 +0000 Subject: [PATCH 1340/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- Commands/Filters/Shaders/Get-OBSZoomShader.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 b/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 index ecce8c76e..504e0d311 100644 --- a/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 +++ b/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 @@ -39,9 +39,9 @@ $NoResponse process { -if (-not $psBoundParameters['ShaderText']) { - $shaderName = $shaderName - $ShaderNoun = 'OBSZoomShader' +$shaderName = 'zoom' +$ShaderNoun = 'OBSZoomShader' +if (-not $psBoundParameters['ShaderText']) { $psBoundParameters['ShaderText'] = $ShaderText = ' uniform int center_x_percent< string label = "center x percent"; @@ -87,7 +87,7 @@ switch -regex ($myVerb) { [Regex]::Escape($FilterName) } else { - [Regex]::Escape($shaderName),[Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$') -join '|' + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' } ))" if ($SourceName) { From e0e0f9ef2b8aa8eb6d5265ba5b8886c7f1059fa1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:22 +0000 Subject: [PATCH 1341/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- en-us/obs-powershell-commands.help.txt | 242 ++++++++++++++++++++++++- 1 file changed, 240 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 0e4d1f9c2..faa01e5b1 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 361 commands -(174 functions and 187 aliases) +obs-powershell exports 718 commands +(293 functions and 425 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -25,14 +25,78 @@ Functions |[Copy-OBSSceneItem](docs/Copy-OBSSceneItem.md) |Copy-OBSSceneItem : DuplicateSceneItem | |[Disconnect-OBS](docs/Disconnect-OBS.md) |Disconnects OBS | |[Get-OBS](docs/Get-OBS.md) |Gets OBS | +|[Get-OBSAddShader](docs/Get-OBSAddShader.md) | +|[Get-OBSAlphaBorderShader](docs/Get-OBSAlphaBorderShader.md) | +|[Get-OBSAlphaGamingBentCameraShader](docs/Get-OBSAlphaGamingBentCameraShader.md) | +|[Get-OBSAnimatedPathShader](docs/Get-OBSAnimatedPathShader.md) | +|[Get-OBSAnimatedTextureShader](docs/Get-OBSAnimatedTextureShader.md) | +|[Get-OBSAsciiShader](docs/Get-OBSAsciiShader.md) | +|[Get-OBSAspectRatioShader](docs/Get-OBSAspectRatioShader.md) | +|[Get-OBSBackgroundRemovalShader](docs/Get-OBSBackgroundRemovalShader.md) | +|[Get-OBSBlendOpacityShader](docs/Get-OBSBlendOpacityShader.md) | +|[Get-OBSBlinkShader](docs/Get-OBSBlinkShader.md) | +|[Get-OBSBloomShader](docs/Get-OBSBloomShader.md) | +|[Get-OBSBorderShader](docs/Get-OBSBorderShader.md) | +|[Get-OBSBoxBlurShader](docs/Get-OBSBoxBlurShader.md) | +|[Get-OBSBulgePinchShader](docs/Get-OBSBulgePinchShader.md) | +|[Get-OBSBurnShader](docs/Get-OBSBurnShader.md) | +|[Get-OBSCartoonShader](docs/Get-OBSCartoonShader.md) | +|[Get-OBSCellShadedShader](docs/Get-OBSCellShadedShader.md) | +|[Get-OBSChromaticAberrationShader](docs/Get-OBSChromaticAberrationShader.md) | +|[Get-OBSChromaUVDistortionShader](docs/Get-OBSChromaUVDistortionShader.md) | +|[Get-OBSCircleMaskFilterShader](docs/Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSColorDepthShader](docs/Get-OBSColorDepthShader.md) | +|[Get-OBSColorGradeFilterShader](docs/Get-OBSColorGradeFilterShader.md) | +|[Get-OBSCornerPinShader](docs/Get-OBSCornerPinShader.md) | +|[Get-OBSCrtCurvatureShader](docs/Get-OBSCrtCurvatureShader.md) | |[Get-OBSCurrentPreviewScene](docs/Get-OBSCurrentPreviewScene.md) |Get-OBSCurrentPreviewScene : GetCurrentPreviewScene | |[Get-OBSCurrentProgramScene](docs/Get-OBSCurrentProgramScene.md) |Get-OBSCurrentProgramScene : GetCurrentProgramScene | |[Get-OBSCurrentSceneTransition](docs/Get-OBSCurrentSceneTransition.md) |Get-OBSCurrentSceneTransition : GetCurrentSceneTransition | |[Get-OBSCurrentSceneTransitionCursor](docs/Get-OBSCurrentSceneTransitionCursor.md) |Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor | +|[Get-OBSCutRectPerCornerShader](docs/Get-OBSCutRectPerCornerShader.md) | +|[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | +|[Get-OBSDarkenShader](docs/Get-OBSDarkenShader.md) | +|[Get-OBSDeadPixelFixerShader](docs/Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDivideRotateShader](docs/Get-OBSDivideRotateShader.md) | +|[Get-OBSDoodleShader](docs/Get-OBSDoodleShader.md) | +|[Get-OBSDrawingsShader](docs/Get-OBSDrawingsShader.md) | +|[Get-OBSDropShadowShader](docs/Get-OBSDropShadowShader.md) | +|[Get-OBSDrunkShader](docs/Get-OBSDrunkShader.md) | +|[Get-OBSDynamicMaskShader](docs/Get-OBSDynamicMaskShader.md) | +|[Get-OBSEdgeDetectionShader](docs/Get-OBSEdgeDetectionShader.md) | |[Get-OBSEffect](docs/Get-OBSEffect.md) |Gets OBS Effects | +|[Get-OBSEmbersShader](docs/Get-OBSEmbersShader.md) | +|[Get-OBSEmbossColorShader](docs/Get-OBSEmbossColorShader.md) | +|[Get-OBSEmbossShader](docs/Get-OBSEmbossShader.md) | +|[Get-OBSExeldroBentCameraShader](docs/Get-OBSExeldroBentCameraShader.md) | +|[Get-OBSFadeTransitionShader](docs/Get-OBSFadeTransitionShader.md) | +|[Get-OBSFilterTemplateShader](docs/Get-OBSFilterTemplateShader.md) | +|[Get-OBSFire3Shader](docs/Get-OBSFire3Shader.md) | +|[Get-OBSFireShader](docs/Get-OBSFireShader.md) | +|[Get-OBSFireworksShader](docs/Get-OBSFireworksShader.md) | +|[Get-OBSFisheyeShader](docs/Get-OBSFisheyeShader.md) | +|[Get-OBSFisheyeXyShader](docs/Get-OBSFisheyeXyShader.md) | +|[Get-OBSFrostedGlassShader](docs/Get-OBSFrostedGlassShader.md) | +|[Get-OBSGammaCorrectionShader](docs/Get-OBSGammaCorrectionShader.md) | +|[Get-OBSGaussianBlurAdvancedShader](docs/Get-OBSGaussianBlurAdvancedShader.md) | +|[Get-OBSGaussianBlurShader](docs/Get-OBSGaussianBlurShader.md) | +|[Get-OBSGaussianBlurSimpleShader](docs/Get-OBSGaussianBlurSimpleShader.md) | +|[Get-OBSGaussianExampleShader](docs/Get-OBSGaussianExampleShader.md) | +|[Get-OBSGaussianSimpleShader](docs/Get-OBSGaussianSimpleShader.md) | +|[Get-OBSGbCameraShader](docs/Get-OBSGbCameraShader.md) | +|[Get-OBSGlassShader](docs/Get-OBSGlassShader.md) | +|[Get-OBSGlitchAnalogShader](docs/Get-OBSGlitchAnalogShader.md) | +|[Get-OBSGlitchShader](docs/Get-OBSGlitchShader.md) | +|[Get-OBSGlowShader](docs/Get-OBSGlowShader.md) | +|[Get-OBSGradientShader](docs/Get-OBSGradientShader.md) | |[Get-OBSGroup](docs/Get-OBSGroup.md) |Get-OBSGroup : GetGroupList | |[Get-OBSGroupSceneItem](docs/Get-OBSGroupSceneItem.md) |Get-OBSGroupSceneItem : GetGroupSceneItemList | +|[Get-OBSHalftoneShader](docs/Get-OBSHalftoneShader.md) | +|[Get-OBSHeatWaveSimpleShader](docs/Get-OBSHeatWaveSimpleShader.md) | +|[Get-OBSHexagonShader](docs/Get-OBSHexagonShader.md) | |[Get-OBSHotkey](docs/Get-OBSHotkey.md) |Get-OBSHotkey : GetHotkeyList | +|[Get-OBSHslHsvSaturationShader](docs/Get-OBSHslHsvSaturationShader.md) | +|[Get-OBSHueRotatonShader](docs/Get-OBSHueRotatonShader.md) | |[Get-OBSInput](docs/Get-OBSInput.md) |Get-OBSInput : GetInputList | |[Get-OBSInputAudioBalance](docs/Get-OBSInputAudioBalance.md) |Get-OBSInputAudioBalance : GetInputAudioBalance | |[Get-OBSInputAudioMonitorType](docs/Get-OBSInputAudioMonitorType.md) |Get-OBSInputAudioMonitorType : GetInputAudioMonitorType | @@ -44,18 +108,53 @@ Functions |[Get-OBSInputPropertiesListPropertyItems](docs/Get-OBSInputPropertiesListPropertyItems.md)|Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems| |[Get-OBSInputSettings](docs/Get-OBSInputSettings.md) |Get-OBSInputSettings : GetInputSettings | |[Get-OBSInputVolume](docs/Get-OBSInputVolume.md) |Get-OBSInputVolume : GetInputVolume | +|[Get-OBSIntensityScopeShader](docs/Get-OBSIntensityScopeShader.md) | +|[Get-OBSInvertLumaShader](docs/Get-OBSInvertLumaShader.md) | |[Get-OBSLastReplayBufferReplay](docs/Get-OBSLastReplayBufferReplay.md) |Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay | +|[Get-OBSLuminance2Shader](docs/Get-OBSLuminance2Shader.md) | +|[Get-OBSLuminanceAlphaShader](docs/Get-OBSLuminanceAlphaShader.md) | +|[Get-OBSLuminanceShader](docs/Get-OBSLuminanceShader.md) | +|[Get-OBSMatrixShader](docs/Get-OBSMatrixShader.md) | |[Get-OBSMediaInputStatus](docs/Get-OBSMediaInputStatus.md) |Get-OBSMediaInputStatus : GetMediaInputStatus | |[Get-OBSMonitor](docs/Get-OBSMonitor.md) |Get-OBSMonitor : GetMonitorList | +|[Get-OBSMultiplyShader](docs/Get-OBSMultiplyShader.md) | +|[Get-OBSNightSkyShader](docs/Get-OBSNightSkyShader.md) | +|[Get-OBSOpacityShader](docs/Get-OBSOpacityShader.md) | |[Get-OBSOutput](docs/Get-OBSOutput.md) |Get-OBSOutput : GetOutputList | |[Get-OBSOutputSettings](docs/Get-OBSOutputSettings.md) |Get-OBSOutputSettings : GetOutputSettings | |[Get-OBSOutputStatus](docs/Get-OBSOutputStatus.md) |Get-OBSOutputStatus : GetOutputStatus | +|[Get-OBSPagePeelShader](docs/Get-OBSPagePeelShader.md) | +|[Get-OBSPagePeelTransitionShader](docs/Get-OBSPagePeelTransitionShader.md) | +|[Get-OBSPerlinNoiseShader](docs/Get-OBSPerlinNoiseShader.md) | |[Get-OBSPersistentData](docs/Get-OBSPersistentData.md) |Get-OBSPersistentData : GetPersistentData | +|[Get-OBSPieChartShader](docs/Get-OBSPieChartShader.md) | +|[Get-OBSPixelationShader](docs/Get-OBSPixelationShader.md) | +|[Get-OBSPixelationTransitionShader](docs/Get-OBSPixelationTransitionShader.md) | |[Get-OBSProfile](docs/Get-OBSProfile.md) |Get-OBSProfile : GetProfileList | |[Get-OBSProfileParameter](docs/Get-OBSProfileParameter.md) |Get-OBSProfileParameter : GetProfileParameter | +|[Get-OBSPulseShader](docs/Get-OBSPulseShader.md) | +|[Get-OBSRainbowShader](docs/Get-OBSRainbowShader.md) | +|[Get-OBSRainWindowShader](docs/Get-OBSRainWindowShader.md) | |[Get-OBSRecordDirectory](docs/Get-OBSRecordDirectory.md) |Get-OBSRecordDirectory : GetRecordDirectory | |[Get-OBSRecordStatus](docs/Get-OBSRecordStatus.md) |Get-OBSRecordStatus : GetRecordStatus | +|[Get-OBSRectangularDropShadowShader](docs/Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSRemovePartialPixelsShader](docs/Get-OBSRemovePartialPixelsShader.md) | +|[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | +|[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](docs/Get-OBSReplayBufferStatus.md) |Get-OBSReplayBufferStatus : GetReplayBufferStatus | +|[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | +|[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | +|[Get-OBSRgbvisibilityShader](docs/Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRippleShader](docs/Get-OBSRippleShader.md) | +|[Get-OBSRotatingSourceShader](docs/Get-OBSRotatingSourceShader.md) | +|[Get-OBSRotatoeShader](docs/Get-OBSRotatoeShader.md) | +|[Get-OBSRoundedRect2Shader](docs/Get-OBSRoundedRect2Shader.md) | +|[Get-OBSRoundedRectPerCornerShader](docs/Get-OBSRoundedRectPerCornerShader.md) | +|[Get-OBSRoundedRectPerSideShader](docs/Get-OBSRoundedRectPerSideShader.md) | +|[Get-OBSRoundedRectShader](docs/Get-OBSRoundedRectShader.md) | +|[Get-OBSRoundedStrokeGradientShader](docs/Get-OBSRoundedStrokeGradientShader.md) | +|[Get-OBSRoundedStrokeShader](docs/Get-OBSRoundedStrokeShader.md) | +|[Get-OBSScanLineShader](docs/Get-OBSScanLineShader.md) | |[Get-OBSScene](docs/Get-OBSScene.md) |Get-OBSScene : GetSceneList | |[Get-OBSSceneCollection](docs/Get-OBSSceneCollection.md) |Get-OBSSceneCollection : GetSceneCollectionList | |[Get-OBSSceneItem](docs/Get-OBSSceneItem.md) |Get-OBSSceneItem : GetSceneItemList | @@ -68,6 +167,13 @@ Functions |[Get-OBSSceneItemTransform](docs/Get-OBSSceneItemTransform.md) |Get-OBSSceneItemTransform : GetSceneItemTransform | |[Get-OBSSceneSceneTransitionOverride](docs/Get-OBSSceneSceneTransitionOverride.md) |Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride | |[Get-OBSSceneTransition](docs/Get-OBSSceneTransition.md) |Get-OBSSceneTransition : GetSceneTransitionList | +|[Get-OBSSeascapeShader](docs/Get-OBSSeascapeShader.md) | +|[Get-OBSSeasickShader](docs/Get-OBSSeasickShader.md) | +|[Get-OBSSelectiveColorShader](docs/Get-OBSSelectiveColorShader.md) | +|[Get-OBSShakeShader](docs/Get-OBSShakeShader.md) | +|[Get-OBSShineShader](docs/Get-OBSShineShader.md) | +|[Get-OBSSimpleGradientShader](docs/Get-OBSSimpleGradientShader.md) | +|[Get-OBSSimplexNoiseShader](docs/Get-OBSSimplexNoiseShader.md) | |[Get-OBSSourceActive](docs/Get-OBSSourceActive.md) |Get-OBSSourceActive : GetSourceActive | |[Get-OBSSourceFilter](docs/Get-OBSSourceFilter.md) |Get-OBSSourceFilter : GetSourceFilter | |[Get-OBSSourceFilterDefaultSettings](docs/Get-OBSSourceFilterDefaultSettings.md) |Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings | @@ -75,14 +181,27 @@ Functions |[Get-OBSSourceFilterList](docs/Get-OBSSourceFilterList.md) |Get-OBSSourceFilterList : GetSourceFilterList | |[Get-OBSSourceScreenshot](docs/Get-OBSSourceScreenshot.md) |Get-OBSSourceScreenshot : GetSourceScreenshot | |[Get-OBSSpecialInputs](docs/Get-OBSSpecialInputs.md) |Get-OBSSpecialInputs : GetSpecialInputs | +|[Get-OBSSpotlightShader](docs/Get-OBSSpotlightShader.md) | |[Get-OBSStats](docs/Get-OBSStats.md) |Get-OBSStats : GetStats | |[Get-OBSStreamServiceSettings](docs/Get-OBSStreamServiceSettings.md) |Get-OBSStreamServiceSettings : GetStreamServiceSettings | |[Get-OBSStreamStatus](docs/Get-OBSStreamStatus.md) |Get-OBSStreamStatus : GetStreamStatus | |[Get-OBSStudioModeEnabled](docs/Get-OBSStudioModeEnabled.md) |Get-OBSStudioModeEnabled : GetStudioModeEnabled | +|[Get-OBSSwirlShader](docs/Get-OBSSwirlShader.md) | +|[Get-OBSThermalShader](docs/Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](docs/Get-OBSTransitionKind.md) |Get-OBSTransitionKind : GetTransitionKindList | +|[Get-OBSTvCrtSubpixelShader](docs/Get-OBSTvCrtSubpixelShader.md) | +|[Get-OBSTwistShader](docs/Get-OBSTwistShader.md) | +|[Get-OBSTwoPassDropShadowShader](docs/Get-OBSTwoPassDropShadowShader.md) | +|[Get-OBSVCRShader](docs/Get-OBSVCRShader.md) | |[Get-OBSVersion](docs/Get-OBSVersion.md) |Get-OBSVersion : GetVersion | +|[Get-OBSVHSShader](docs/Get-OBSVHSShader.md) | |[Get-OBSVideoSettings](docs/Get-OBSVideoSettings.md) |Get-OBSVideoSettings : GetVideoSettings | +|[Get-OBSVignettingShader](docs/Get-OBSVignettingShader.md) | |[Get-OBSVirtualCamStatus](docs/Get-OBSVirtualCamStatus.md) |Get-OBSVirtualCamStatus : GetVirtualCamStatus | +|[Get-OBSVoronoiPixelationShader](docs/Get-OBSVoronoiPixelationShader.md) | +|[Get-OBSZigZagShader](docs/Get-OBSZigZagShader.md) | +|[Get-OBSZoomBlurShader](docs/Get-OBSZoomBlurShader.md) | +|[Get-OBSZoomShader](docs/Get-OBSZoomShader.md) | |[Hide-OBS](docs/Hide-OBS.md) |Hide OBS | |[Import-OBSEffect](docs/Import-OBSEffect.md) |Imports Effects | |[Open-OBSInputFiltersDialog](docs/Open-OBSInputFiltersDialog.md) |Open-OBSInputFiltersDialog : OpenInputFiltersDialog | @@ -208,14 +327,78 @@ Aliases |[Copy-OBSSceneItem](docs/Copy-OBSSceneItem.md) | |[Disconnect-OBS](docs/Disconnect-OBS.md) | |[Get-OBS](docs/Get-OBS.md) | +|[Get-OBSAddShader](docs/Get-OBSAddShader.md) | +|[Get-OBSAlphaBorderShader](docs/Get-OBSAlphaBorderShader.md) | +|[Get-OBSAlphaGamingBentCameraShader](docs/Get-OBSAlphaGamingBentCameraShader.md) | +|[Get-OBSAnimatedPathShader](docs/Get-OBSAnimatedPathShader.md) | +|[Get-OBSAnimatedTextureShader](docs/Get-OBSAnimatedTextureShader.md) | +|[Get-OBSAsciiShader](docs/Get-OBSAsciiShader.md) | +|[Get-OBSAspectRatioShader](docs/Get-OBSAspectRatioShader.md) | +|[Get-OBSBackgroundRemovalShader](docs/Get-OBSBackgroundRemovalShader.md) | +|[Get-OBSBlendOpacityShader](docs/Get-OBSBlendOpacityShader.md) | +|[Get-OBSBlinkShader](docs/Get-OBSBlinkShader.md) | +|[Get-OBSBloomShader](docs/Get-OBSBloomShader.md) | +|[Get-OBSBorderShader](docs/Get-OBSBorderShader.md) | +|[Get-OBSBoxBlurShader](docs/Get-OBSBoxBlurShader.md) | +|[Get-OBSBulgePinchShader](docs/Get-OBSBulgePinchShader.md) | +|[Get-OBSBurnShader](docs/Get-OBSBurnShader.md) | +|[Get-OBSCartoonShader](docs/Get-OBSCartoonShader.md) | +|[Get-OBSCellShadedShader](docs/Get-OBSCellShadedShader.md) | +|[Get-OBSChromaticAberrationShader](docs/Get-OBSChromaticAberrationShader.md) | +|[Get-OBSChromaUVDistortionShader](docs/Get-OBSChromaUVDistortionShader.md) | +|[Get-OBSCircleMaskFilterShader](docs/Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSColorDepthShader](docs/Get-OBSColorDepthShader.md) | +|[Get-OBSColorGradeFilterShader](docs/Get-OBSColorGradeFilterShader.md) | +|[Get-OBSCornerPinShader](docs/Get-OBSCornerPinShader.md) | +|[Get-OBSCrtCurvatureShader](docs/Get-OBSCrtCurvatureShader.md) | |[Get-OBSCurrentPreviewScene](docs/Get-OBSCurrentPreviewScene.md) | |[Get-OBSCurrentProgramScene](docs/Get-OBSCurrentProgramScene.md) | |[Get-OBSCurrentSceneTransition](docs/Get-OBSCurrentSceneTransition.md) | |[Get-OBSCurrentSceneTransitionCursor](docs/Get-OBSCurrentSceneTransitionCursor.md) | +|[Get-OBSCutRectPerCornerShader](docs/Get-OBSCutRectPerCornerShader.md) | +|[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | +|[Get-OBSDarkenShader](docs/Get-OBSDarkenShader.md) | +|[Get-OBSDeadPixelFixerShader](docs/Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDivideRotateShader](docs/Get-OBSDivideRotateShader.md) | +|[Get-OBSDoodleShader](docs/Get-OBSDoodleShader.md) | +|[Get-OBSDrawingsShader](docs/Get-OBSDrawingsShader.md) | +|[Get-OBSDropShadowShader](docs/Get-OBSDropShadowShader.md) | +|[Get-OBSDrunkShader](docs/Get-OBSDrunkShader.md) | +|[Get-OBSDynamicMaskShader](docs/Get-OBSDynamicMaskShader.md) | +|[Get-OBSEdgeDetectionShader](docs/Get-OBSEdgeDetectionShader.md) | |[Get-OBSEffect](docs/Get-OBSEffect.md) | +|[Get-OBSEmbersShader](docs/Get-OBSEmbersShader.md) | +|[Get-OBSEmbossColorShader](docs/Get-OBSEmbossColorShader.md) | +|[Get-OBSEmbossShader](docs/Get-OBSEmbossShader.md) | +|[Get-OBSExeldroBentCameraShader](docs/Get-OBSExeldroBentCameraShader.md) | +|[Get-OBSFadeTransitionShader](docs/Get-OBSFadeTransitionShader.md) | +|[Get-OBSFilterTemplateShader](docs/Get-OBSFilterTemplateShader.md) | +|[Get-OBSFire3Shader](docs/Get-OBSFire3Shader.md) | +|[Get-OBSFireShader](docs/Get-OBSFireShader.md) | +|[Get-OBSFireworksShader](docs/Get-OBSFireworksShader.md) | +|[Get-OBSFisheyeShader](docs/Get-OBSFisheyeShader.md) | +|[Get-OBSFisheyeXyShader](docs/Get-OBSFisheyeXyShader.md) | +|[Get-OBSFrostedGlassShader](docs/Get-OBSFrostedGlassShader.md) | +|[Get-OBSGammaCorrectionShader](docs/Get-OBSGammaCorrectionShader.md) | +|[Get-OBSGaussianBlurAdvancedShader](docs/Get-OBSGaussianBlurAdvancedShader.md) | +|[Get-OBSGaussianBlurShader](docs/Get-OBSGaussianBlurShader.md) | +|[Get-OBSGaussianBlurSimpleShader](docs/Get-OBSGaussianBlurSimpleShader.md) | +|[Get-OBSGaussianExampleShader](docs/Get-OBSGaussianExampleShader.md) | +|[Get-OBSGaussianSimpleShader](docs/Get-OBSGaussianSimpleShader.md) | +|[Get-OBSGbCameraShader](docs/Get-OBSGbCameraShader.md) | +|[Get-OBSGlassShader](docs/Get-OBSGlassShader.md) | +|[Get-OBSGlitchAnalogShader](docs/Get-OBSGlitchAnalogShader.md) | +|[Get-OBSGlitchShader](docs/Get-OBSGlitchShader.md) | +|[Get-OBSGlowShader](docs/Get-OBSGlowShader.md) | +|[Get-OBSGradientShader](docs/Get-OBSGradientShader.md) | |[Get-OBSGroup](docs/Get-OBSGroup.md) | |[Get-OBSGroupSceneItem](docs/Get-OBSGroupSceneItem.md) | +|[Get-OBSHalftoneShader](docs/Get-OBSHalftoneShader.md) | +|[Get-OBSHeatWaveSimpleShader](docs/Get-OBSHeatWaveSimpleShader.md) | +|[Get-OBSHexagonShader](docs/Get-OBSHexagonShader.md) | |[Get-OBSHotkey](docs/Get-OBSHotkey.md) | +|[Get-OBSHslHsvSaturationShader](docs/Get-OBSHslHsvSaturationShader.md) | +|[Get-OBSHueRotatonShader](docs/Get-OBSHueRotatonShader.md) | |[Get-OBSInput](docs/Get-OBSInput.md) | |[Get-OBSInputAudioBalance](docs/Get-OBSInputAudioBalance.md) | |[Get-OBSInputAudioMonitorType](docs/Get-OBSInputAudioMonitorType.md) | @@ -227,18 +410,53 @@ Aliases |[Get-OBSInputPropertiesListPropertyItems](docs/Get-OBSInputPropertiesListPropertyItems.md)| |[Get-OBSInputSettings](docs/Get-OBSInputSettings.md) | |[Get-OBSInputVolume](docs/Get-OBSInputVolume.md) | +|[Get-OBSIntensityScopeShader](docs/Get-OBSIntensityScopeShader.md) | +|[Get-OBSInvertLumaShader](docs/Get-OBSInvertLumaShader.md) | |[Get-OBSLastReplayBufferReplay](docs/Get-OBSLastReplayBufferReplay.md) | +|[Get-OBSLuminance2Shader](docs/Get-OBSLuminance2Shader.md) | +|[Get-OBSLuminanceAlphaShader](docs/Get-OBSLuminanceAlphaShader.md) | +|[Get-OBSLuminanceShader](docs/Get-OBSLuminanceShader.md) | +|[Get-OBSMatrixShader](docs/Get-OBSMatrixShader.md) | |[Get-OBSMediaInputStatus](docs/Get-OBSMediaInputStatus.md) | |[Get-OBSMonitor](docs/Get-OBSMonitor.md) | +|[Get-OBSMultiplyShader](docs/Get-OBSMultiplyShader.md) | +|[Get-OBSNightSkyShader](docs/Get-OBSNightSkyShader.md) | +|[Get-OBSOpacityShader](docs/Get-OBSOpacityShader.md) | |[Get-OBSOutput](docs/Get-OBSOutput.md) | |[Get-OBSOutputSettings](docs/Get-OBSOutputSettings.md) | |[Get-OBSOutputStatus](docs/Get-OBSOutputStatus.md) | +|[Get-OBSPagePeelShader](docs/Get-OBSPagePeelShader.md) | +|[Get-OBSPagePeelTransitionShader](docs/Get-OBSPagePeelTransitionShader.md) | +|[Get-OBSPerlinNoiseShader](docs/Get-OBSPerlinNoiseShader.md) | |[Get-OBSPersistentData](docs/Get-OBSPersistentData.md) | +|[Get-OBSPieChartShader](docs/Get-OBSPieChartShader.md) | +|[Get-OBSPixelationShader](docs/Get-OBSPixelationShader.md) | +|[Get-OBSPixelationTransitionShader](docs/Get-OBSPixelationTransitionShader.md) | |[Get-OBSProfile](docs/Get-OBSProfile.md) | |[Get-OBSProfileParameter](docs/Get-OBSProfileParameter.md) | +|[Get-OBSPulseShader](docs/Get-OBSPulseShader.md) | +|[Get-OBSRainbowShader](docs/Get-OBSRainbowShader.md) | +|[Get-OBSRainWindowShader](docs/Get-OBSRainWindowShader.md) | |[Get-OBSRecordDirectory](docs/Get-OBSRecordDirectory.md) | |[Get-OBSRecordStatus](docs/Get-OBSRecordStatus.md) | +|[Get-OBSRectangularDropShadowShader](docs/Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSRemovePartialPixelsShader](docs/Get-OBSRemovePartialPixelsShader.md) | +|[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | +|[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](docs/Get-OBSReplayBufferStatus.md) | +|[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | +|[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | +|[Get-OBSRgbvisibilityShader](docs/Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRippleShader](docs/Get-OBSRippleShader.md) | +|[Get-OBSRotatingSourceShader](docs/Get-OBSRotatingSourceShader.md) | +|[Get-OBSRotatoeShader](docs/Get-OBSRotatoeShader.md) | +|[Get-OBSRoundedRect2Shader](docs/Get-OBSRoundedRect2Shader.md) | +|[Get-OBSRoundedRectPerCornerShader](docs/Get-OBSRoundedRectPerCornerShader.md) | +|[Get-OBSRoundedRectPerSideShader](docs/Get-OBSRoundedRectPerSideShader.md) | +|[Get-OBSRoundedRectShader](docs/Get-OBSRoundedRectShader.md) | +|[Get-OBSRoundedStrokeGradientShader](docs/Get-OBSRoundedStrokeGradientShader.md) | +|[Get-OBSRoundedStrokeShader](docs/Get-OBSRoundedStrokeShader.md) | +|[Get-OBSScanLineShader](docs/Get-OBSScanLineShader.md) | |[Get-OBSScene](docs/Get-OBSScene.md) | |[Get-OBSSceneCollection](docs/Get-OBSSceneCollection.md) | |[Get-OBSSceneItem](docs/Get-OBSSceneItem.md) | @@ -251,6 +469,13 @@ Aliases |[Get-OBSSceneItemTransform](docs/Get-OBSSceneItemTransform.md) | |[Get-OBSSceneSceneTransitionOverride](docs/Get-OBSSceneSceneTransitionOverride.md) | |[Get-OBSSceneTransition](docs/Get-OBSSceneTransition.md) | +|[Get-OBSSeascapeShader](docs/Get-OBSSeascapeShader.md) | +|[Get-OBSSeasickShader](docs/Get-OBSSeasickShader.md) | +|[Get-OBSSelectiveColorShader](docs/Get-OBSSelectiveColorShader.md) | +|[Get-OBSShakeShader](docs/Get-OBSShakeShader.md) | +|[Get-OBSShineShader](docs/Get-OBSShineShader.md) | +|[Get-OBSSimpleGradientShader](docs/Get-OBSSimpleGradientShader.md) | +|[Get-OBSSimplexNoiseShader](docs/Get-OBSSimplexNoiseShader.md) | |[Get-OBSSourceActive](docs/Get-OBSSourceActive.md) | |[Get-OBSSourceFilter](docs/Get-OBSSourceFilter.md) | |[Get-OBSSourceFilterDefaultSettings](docs/Get-OBSSourceFilterDefaultSettings.md) | @@ -258,14 +483,27 @@ Aliases |[Get-OBSSourceFilterList](docs/Get-OBSSourceFilterList.md) | |[Get-OBSSourceScreenshot](docs/Get-OBSSourceScreenshot.md) | |[Get-OBSSpecialInputs](docs/Get-OBSSpecialInputs.md) | +|[Get-OBSSpotlightShader](docs/Get-OBSSpotlightShader.md) | |[Get-OBSStats](docs/Get-OBSStats.md) | |[Get-OBSStreamServiceSettings](docs/Get-OBSStreamServiceSettings.md) | |[Get-OBSStreamStatus](docs/Get-OBSStreamStatus.md) | |[Get-OBSStudioModeEnabled](docs/Get-OBSStudioModeEnabled.md) | +|[Get-OBSSwirlShader](docs/Get-OBSSwirlShader.md) | +|[Get-OBSThermalShader](docs/Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](docs/Get-OBSTransitionKind.md) | +|[Get-OBSTvCrtSubpixelShader](docs/Get-OBSTvCrtSubpixelShader.md) | +|[Get-OBSTwistShader](docs/Get-OBSTwistShader.md) | +|[Get-OBSTwoPassDropShadowShader](docs/Get-OBSTwoPassDropShadowShader.md) | +|[Get-OBSVCRShader](docs/Get-OBSVCRShader.md) | |[Get-OBSVersion](docs/Get-OBSVersion.md) | +|[Get-OBSVHSShader](docs/Get-OBSVHSShader.md) | |[Get-OBSVideoSettings](docs/Get-OBSVideoSettings.md) | +|[Get-OBSVignettingShader](docs/Get-OBSVignettingShader.md) | |[Get-OBSVirtualCamStatus](docs/Get-OBSVirtualCamStatus.md) | +|[Get-OBSVoronoiPixelationShader](docs/Get-OBSVoronoiPixelationShader.md) | +|[Get-OBSZigZagShader](docs/Get-OBSZigZagShader.md) | +|[Get-OBSZoomBlurShader](docs/Get-OBSZoomBlurShader.md) | +|[Get-OBSZoomShader](docs/Get-OBSZoomShader.md) | |[Hide-OBS](docs/Hide-OBS.md) | |[Import-OBSEffect](docs/Import-OBSEffect.md) | |[Open-OBSInputFiltersDialog](docs/Open-OBSInputFiltersDialog.md) | From 000a105a9b6ead4e5893aec00fcde40e57c5ace2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:25:22 +0000 Subject: [PATCH 1342/4768] feat: Generating Shaders ( Fixes #163 ) Fixing Internal Shader Names and Color Parameters --- obs-powershell.psd1 | 292 ++++++++++++++++++++++---------------------- 1 file changed, 148 insertions(+), 144 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 5f665e089..c29bb32df 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -175,149 +175,6 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', -'Get-OBSAddShader', -'Get-OBSAlphaBorderShader', -'Get-OBSAlphaGamingBentCameraShader', -'Get-OBSAnimatedPathShader', -'Get-OBSAnimatedTextureShader', -'Get-OBSAsciiShader', -'Get-OBSAspectRatioShader', -'Get-OBSBackgroundRemovalShader', -'Get-OBSBlendOpacityShader', -'Get-OBSBlinkShader', -'Get-OBSBloomShader', -'Get-OBSBorderShader', -'Get-OBSBoxBlurShader', -'Get-OBSBulgePinchShader', -'Get-OBSBurnShader', -'Get-OBSCartoonShader', -'Get-OBSCellShadedShader', -'Get-OBSChromaticAberrationShader', -'Get-OBSChromaUVDistortionShader', -'Get-OBSCircleMaskFilterShader', -'Get-OBSColorDepthShader', -'Get-OBSColorGradeFilterShader', -'Get-OBSCornerPinShader', -'Get-OBSCrtCurvatureShader', -'Get-OBSCutRectPerCornerShader', -'Get-OBSCylinderShader', -'Get-OBSDarkenShader', -'Get-OBSDeadPixelFixerShader', -'Get-OBSDivideRotateShader', -'Get-OBSDoodleShader', -'Get-OBSDrawingsShader', -'Get-OBSDropShadowShader', -'Get-OBSDrunkShader', -'Get-OBSDynamicMaskShader', -'Get-OBSEdgeDetectionShader', -'Get-OBSEmbersShader', -'Get-OBSEmbossColorShader', -'Get-OBSEmbossShader', -'Get-OBSExeldroBentCameraShader', -'Get-OBSFadeTransitionShader', -'Get-OBSFilterTemplateShader', -'Get-OBSFire3Shader', -'Get-OBSFireShader', -'Get-OBSFireworksShader', -'Get-OBSFisheyeShader', -'Get-OBSFisheyeXyShader', -'Get-OBSFrostedGlassShader', -'Get-OBSGammaCorrectionShader', -'Get-OBSGaussianBlurAdvancedShader', -'Get-OBSGaussianBlurShader', -'Get-OBSGaussianBlurSimpleShader', -'Get-OBSGaussianExampleShader', -'Get-OBSGaussianSimpleShader', -'Get-OBSGbCameraShader', -'Get-OBSGlassShader', -'Get-OBSGlitchAnalogShader', -'Get-OBSGlitchShader', -'Get-OBSGlowShader', -'Get-OBSGradientShader', -'Get-OBSHalftoneShader', -'Get-OBSHeatWaveSimpleShader', -'Get-OBSHexagonShader', -'Get-OBSHslHsvSaturationShader', -'Get-OBSHueRotatonShader', -'Get-OBSIntensityScopeShader', -'Get-OBSInvertLumaShader', -'Get-OBSLuminance2Shader', -'Get-OBSLuminanceAlphaShader', -'Get-OBSLuminanceShader', -'Get-OBSMatrixShader', -'Get-OBSMultiplyShader', -'Get-OBSNightSkyShader', -'Get-OBSOpacityShader', -'Get-OBSPagePeelShader', -'Get-OBSPagePeelTransitionShader', -'Get-OBSPerlinNoiseShader', -'Get-OBSPieChartShader', -'Get-OBSPixelationShader', -'Get-OBSPixelationTransitionShader', -'Get-OBSPulseShader', -'Get-OBSRainbowShader', -'Get-OBSRainWindowShader', -'Get-OBSRectangularDropShadowShader', -'Get-OBSRemovePartialPixelsShader', -'Get-OBSRepeatShader', -'Get-OBSRepeatTextureShader', -'Get-OBSRgbColorWheelShader', -'Get-OBSRgbSplitShader', -'Get-OBSRgbvisibilityShader', -'Get-OBSRippleShader', -'Get-OBSRotatingSourceShader', -'Get-OBSRotatoeShader', -'Get-OBSRoundedRect2Shader', -'Get-OBSRoundedRectPerCornerShader', -'Get-OBSRoundedRectPerSideShader', -'Get-OBSRoundedRectShader', -'Get-OBSRoundedStrokeGradientShader', -'Get-OBSRoundedStrokeShader', -'Get-OBSScanLineShader', -'Get-OBSSeascapeShader', -'Get-OBSSeasickShader', -'Get-OBSSelectiveColorShader', -'Get-OBSShakeShader', -'Get-OBSShineShader', -'Get-OBSSimpleGradientShader', -'Get-OBSSimplexNoiseShader', -'Get-OBSSpotlightShader', -'Get-OBSSwirlShader', -'Get-OBSThermalShader', -'Get-OBSTvCrtSubpixelShader', -'Get-OBSTwistShader', -'Get-OBSTwoPassDropShadowShader', -'Get-OBSVCRShader', -'Get-OBSVHSShader', -'Get-OBSVignettingShader', -'Get-OBSVoronoiPixelationShader', -'Get-OBSZigZagShader', -'Get-OBSZoomBlurShader', -'Get-OBSZoomShader', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', 'Add-OBSInput', 'Add-OBSProfile', 'Add-OBSScene', @@ -457,6 +314,153 @@ Initial Release of obs-powershell 'Switch-OBSRecordPause', 'Switch-OBSReplayBuffer', 'Switch-OBSStream', -'Switch-OBSVirtualCam' +'Switch-OBSVirtualCam', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', +'Get-OBSAddShader', +'Get-OBSAlphaBorderShader', +'Get-OBSAlphaGamingBentCameraShader', +'Get-OBSAnimatedPathShader', +'Get-OBSAnimatedTextureShader', +'Get-OBSAsciiShader', +'Get-OBSAspectRatioShader', +'Get-OBSBackgroundRemovalShader', +'Get-OBSBlendOpacityShader', +'Get-OBSBlinkShader', +'Get-OBSBloomShader', +'Get-OBSBorderShader', +'Get-OBSBoxBlurShader', +'Get-OBSBulgePinchShader', +'Get-OBSBurnShader', +'Get-OBSCartoonShader', +'Get-OBSCellShadedShader', +'Get-OBSChromaticAberrationShader', +'Get-OBSChromaUVDistortionShader', +'Get-OBSCircleMaskFilterShader', +'Get-OBSColorDepthShader', +'Get-OBSColorGradeFilterShader', +'Get-OBSCornerPinShader', +'Get-OBSCrtCurvatureShader', +'Get-OBSCutRectPerCornerShader', +'Get-OBSCylinderShader', +'Get-OBSDarkenShader', +'Get-OBSDeadPixelFixerShader', +'Get-OBSDivideRotateShader', +'Get-OBSDoodleShader', +'Get-OBSDrawingsShader', +'Get-OBSDropShadowShader', +'Get-OBSDrunkShader', +'Get-OBSDynamicMaskShader', +'Get-OBSEdgeDetectionShader', +'Get-OBSEmbersShader', +'Get-OBSEmbossColorShader', +'Get-OBSEmbossShader', +'Get-OBSExeldroBentCameraShader', +'Get-OBSFadeTransitionShader', +'Get-OBSFillColorGradientShader', +'Get-OBSFillColorLinearShader', +'Get-OBSFillColorRadialDegreesShader', +'Get-OBSFillColorRadialPercentageShader', +'Get-OBSFilterTemplateShader', +'Get-OBSFire3Shader', +'Get-OBSFireShader', +'Get-OBSFireworksShader', +'Get-OBSFisheyeShader', +'Get-OBSFisheyeXyShader', +'Get-OBSFrostedGlassShader', +'Get-OBSGammaCorrectionShader', +'Get-OBSGaussianBlurAdvancedShader', +'Get-OBSGaussianBlurShader', +'Get-OBSGaussianBlurSimpleShader', +'Get-OBSGaussianExampleShader', +'Get-OBSGaussianSimpleShader', +'Get-OBSGbCameraShader', +'Get-OBSGlassShader', +'Get-OBSGlitchAnalogShader', +'Get-OBSGlitchShader', +'Get-OBSGlowShader', +'Get-OBSGradientShader', +'Get-OBSHalftoneShader', +'Get-OBSHeatWaveSimpleShader', +'Get-OBSHexagonShader', +'Get-OBSHslHsvSaturationShader', +'Get-OBSHueRotatonShader', +'Get-OBSIntensityScopeShader', +'Get-OBSInvertLumaShader', +'Get-OBSLuminance2Shader', +'Get-OBSLuminanceAlphaShader', +'Get-OBSLuminanceShader', +'Get-OBSMatrixShader', +'Get-OBSMultiplyShader', +'Get-OBSNightSkyShader', +'Get-OBSOpacityShader', +'Get-OBSPagePeelShader', +'Get-OBSPagePeelTransitionShader', +'Get-OBSPerlinNoiseShader', +'Get-OBSPieChartShader', +'Get-OBSPixelationShader', +'Get-OBSPixelationTransitionShader', +'Get-OBSPulseShader', +'Get-OBSRainbowShader', +'Get-OBSRainWindowShader', +'Get-OBSRectangularDropShadowShader', +'Get-OBSRemovePartialPixelsShader', +'Get-OBSRepeatShader', +'Get-OBSRepeatTextureShader', +'Get-OBSRgbColorWheelShader', +'Get-OBSRgbSplitShader', +'Get-OBSRgbvisibilityShader', +'Get-OBSRippleShader', +'Get-OBSRotatingSourceShader', +'Get-OBSRotatoeShader', +'Get-OBSRoundedRect2Shader', +'Get-OBSRoundedRectPerCornerShader', +'Get-OBSRoundedRectPerSideShader', +'Get-OBSRoundedRectShader', +'Get-OBSRoundedStrokeGradientShader', +'Get-OBSRoundedStrokeShader', +'Get-OBSScanLineShader', +'Get-OBSSeascapeShader', +'Get-OBSSeasickShader', +'Get-OBSSelectiveColorShader', +'Get-OBSShakeShader', +'Get-OBSShineShader', +'Get-OBSSimpleGradientShader', +'Get-OBSSimplexNoiseShader', +'Get-OBSSpotlightShader', +'Get-OBSSwirlShader', +'Get-OBSThermalShader', +'Get-OBSTvCrtSubpixelShader', +'Get-OBSTwistShader', +'Get-OBSTwoPassDropShadowShader', +'Get-OBSVCRShader', +'Get-OBSVHSShader', +'Get-OBSVignettingShader', +'Get-OBSVoronoiPixelationShader', +'Get-OBSZigZagShader', +'Get-OBSZoomBlurShader', +'Get-OBSZoomShader', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource' } From 486647115e569eaa1d4e2c516ef8634a55a4a7e9 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 11:38:53 -0800 Subject: [PATCH 1343/4768] feat: Generating Shaders ( Fixes #163 ) Moving into /Commands/Shaders/, removing some excess logging, explicitly avoiding Debug parameter name. --- Build/obs--shaders.build.ps1 | 20 ++++++++++++------- .../Shaders/Get-OBSAddShader.ps1 | 0 .../Shaders/Get-OBSAlphaBorderShader.ps1 | 0 .../Get-OBSAlphaGamingBentCameraShader.ps1 | 0 .../Shaders/Get-OBSAnimatedPathShader.ps1 | 0 .../Shaders/Get-OBSAnimatedTextureShader.ps1 | 0 .../Shaders/Get-OBSAsciiShader.ps1 | 0 .../Shaders/Get-OBSAspectRatioShader.ps1 | 0 .../Get-OBSBackgroundRemovalShader.ps1 | 0 .../Shaders/Get-OBSBlendOpacityShader.ps1 | 0 .../Shaders/Get-OBSBlinkShader.ps1 | 0 .../Shaders/Get-OBSBloomShader.ps1 | 0 .../Shaders/Get-OBSBorderShader.ps1 | 0 .../Shaders/Get-OBSBoxBlurShader.ps1 | 0 .../Shaders/Get-OBSBulgePinchShader.ps1 | 0 .../Shaders/Get-OBSBurnShader.ps1 | 0 .../Shaders/Get-OBSCartoonShader.ps1 | 0 .../Shaders/Get-OBSCellShadedShader.ps1 | 0 .../Get-OBSChromaUVDistortionShader.ps1 | 0 .../Get-OBSChromaticAberrationShader.ps1 | 0 .../Shaders/Get-OBSCircleMaskFilterShader.ps1 | 0 .../Shaders/Get-OBSColorDepthShader.ps1 | 0 .../Shaders/Get-OBSColorGradeFilterShader.ps1 | 0 .../Shaders/Get-OBSCornerPinShader.ps1 | 0 .../Shaders/Get-OBSCrtCurvatureShader.ps1 | 0 .../Shaders/Get-OBSCutRectPerCornerShader.ps1 | 0 .../Shaders/Get-OBSCylinderShader.ps1 | 0 .../Shaders/Get-OBSDarkenShader.ps1 | 0 .../Shaders/Get-OBSDeadPixelFixerShader.ps1 | 0 .../Shaders/Get-OBSDivideRotateShader.ps1 | 0 .../Shaders/Get-OBSDoodleShader.ps1 | 0 .../Shaders/Get-OBSDrawingsShader.ps1 | 0 .../Shaders/Get-OBSDropShadowShader.ps1 | 0 .../Shaders/Get-OBSDrunkShader.ps1 | 0 .../Shaders/Get-OBSDynamicMaskShader.ps1 | 0 .../Shaders/Get-OBSEdgeDetectionShader.ps1 | 0 .../Shaders/Get-OBSEmbersShader.ps1 | 0 .../Shaders/Get-OBSEmbossColorShader.ps1 | 0 .../Shaders/Get-OBSEmbossShader.ps1 | 0 .../Get-OBSExeldroBentCameraShader.ps1 | 0 .../Shaders/Get-OBSFadeTransitionShader.ps1 | 0 .../Get-OBSFillColorGradientShader.ps1 | 0 .../Shaders/Get-OBSFillColorLinearShader.ps1 | 0 .../Get-OBSFillColorRadialDegreesShader.ps1 | 0 ...Get-OBSFillColorRadialPercentageShader.ps1 | 0 .../Shaders/Get-OBSFilterTemplateShader.ps1 | 0 .../Shaders/Get-OBSFire3Shader.ps1 | 0 .../Shaders/Get-OBSFireShader.ps1 | 0 .../Shaders/Get-OBSFireworksShader.ps1 | 0 .../Shaders/Get-OBSFisheyeShader.ps1 | 0 .../Shaders/Get-OBSFisheyeXyShader.ps1 | 0 .../Shaders/Get-OBSFrostedGlassShader.ps1 | 0 .../Shaders/Get-OBSGammaCorrectionShader.ps1 | 0 .../Get-OBSGaussianBlurAdvancedShader.ps1 | 0 .../Shaders/Get-OBSGaussianBlurShader.ps1 | 0 .../Get-OBSGaussianBlurSimpleShader.ps1 | 0 .../Shaders/Get-OBSGaussianExampleShader.ps1 | 0 .../Shaders/Get-OBSGaussianSimpleShader.ps1 | 0 .../Shaders/Get-OBSGbCameraShader.ps1 | 0 .../Shaders/Get-OBSGlassShader.ps1 | 0 .../Shaders/Get-OBSGlitchAnalogShader.ps1 | 0 .../Shaders/Get-OBSGlitchShader.ps1 | 0 .../Shaders/Get-OBSGlowShader.ps1 | 0 .../Shaders/Get-OBSGradientShader.ps1 | 0 .../Shaders/Get-OBSHalftoneShader.ps1 | 0 .../Shaders/Get-OBSHeatWaveSimpleShader.ps1 | 0 .../Shaders/Get-OBSHexagonShader.ps1 | 0 .../Shaders/Get-OBSHslHsvSaturationShader.ps1 | 0 .../Shaders/Get-OBSHueRotatonShader.ps1 | 0 .../Shaders/Get-OBSIntensityScopeShader.ps1 | 0 .../Shaders/Get-OBSInvertLumaShader.ps1 | 0 .../Shaders/Get-OBSLuminance2Shader.ps1 | 0 .../Shaders/Get-OBSLuminanceAlphaShader.ps1 | 0 .../Shaders/Get-OBSLuminanceShader.ps1 | 0 .../Shaders/Get-OBSMatrixShader.ps1 | 0 .../Shaders/Get-OBSMultiplyShader.ps1 | 0 .../Shaders/Get-OBSNightSkyShader.ps1 | 0 .../Shaders/Get-OBSOpacityShader.ps1 | 0 .../Shaders/Get-OBSPagePeelShader.ps1 | 0 .../Get-OBSPagePeelTransitionShader.ps1 | 0 .../Shaders/Get-OBSPerlinNoiseShader.ps1 | 0 .../Shaders/Get-OBSPieChartShader.ps1 | 0 .../Shaders/Get-OBSPixelationShader.ps1 | 0 .../Get-OBSPixelationTransitionShader.ps1 | 0 .../Shaders/Get-OBSPulseShader.ps1 | 0 .../Shaders/Get-OBSRainWindowShader.ps1 | 0 .../Shaders/Get-OBSRainbowShader.ps1 | 0 .../Get-OBSRectangularDropShadowShader.ps1 | 0 .../Get-OBSRemovePartialPixelsShader.ps1 | 0 .../Shaders/Get-OBSRepeatShader.ps1 | 0 .../Shaders/Get-OBSRepeatTextureShader.ps1 | 0 .../Shaders/Get-OBSRgbColorWheelShader.ps1 | 0 .../Shaders/Get-OBSRgbSplitShader.ps1 | 0 .../Shaders/Get-OBSRgbvisibilityShader.ps1 | 0 .../Shaders/Get-OBSRippleShader.ps1 | 0 .../Shaders/Get-OBSRotatingSourceShader.ps1 | 0 .../Shaders/Get-OBSRotatoeShader.ps1 | 0 .../Shaders/Get-OBSRoundedRect2Shader.ps1 | 0 .../Get-OBSRoundedRectPerCornerShader.ps1 | 0 .../Get-OBSRoundedRectPerSideShader.ps1 | 0 .../Shaders/Get-OBSRoundedRectShader.ps1 | 0 .../Get-OBSRoundedStrokeGradientShader.ps1 | 0 .../Shaders/Get-OBSRoundedStrokeShader.ps1 | 0 .../Shaders/Get-OBSScanLineShader.ps1 | 0 .../Shaders/Get-OBSSeascapeShader.ps1 | 0 .../Shaders/Get-OBSSeasickShader.ps1 | 0 .../Shaders/Get-OBSSelectiveColorShader.ps1 | 0 .../Shaders/Get-OBSShakeShader.ps1 | 0 .../Shaders/Get-OBSShineShader.ps1 | 0 .../Shaders/Get-OBSSimpleGradientShader.ps1 | 0 .../Shaders/Get-OBSSimplexNoiseShader.ps1 | 0 .../Shaders/Get-OBSSpotlightShader.ps1 | 0 .../Shaders/Get-OBSSwirlShader.ps1 | 0 .../Shaders/Get-OBSThermalShader.ps1 | 0 .../Shaders/Get-OBSTvCrtSubpixelShader.ps1 | 0 .../Shaders/Get-OBSTwistShader.ps1 | 0 .../Get-OBSTwoPassDropShadowShader.ps1 | 0 .../Shaders/Get-OBSVCRShader.ps1 | 0 .../Shaders/Get-OBSVHSShader.ps1 | 0 .../Shaders/Get-OBSVignettingShader.ps1 | 0 .../Get-OBSVoronoiPixelationShader.ps1 | 0 .../Shaders/Get-OBSZigZagShader.ps1 | 0 .../Shaders/Get-OBSZoomBlurShader.ps1 | 0 .../Shaders/Get-OBSZoomShader.ps1 | 0 124 files changed, 13 insertions(+), 7 deletions(-) rename Commands/{Filters => }/Shaders/Get-OBSAddShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSAlphaBorderShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSAnimatedPathShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSAnimatedTextureShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSAsciiShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSAspectRatioShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBackgroundRemovalShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBlendOpacityShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBlinkShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBloomShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBorderShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBoxBlurShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBulgePinchShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSBurnShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCartoonShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCellShadedShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSChromaUVDistortionShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSChromaticAberrationShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCircleMaskFilterShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSColorDepthShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSColorGradeFilterShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCornerPinShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCrtCurvatureShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCutRectPerCornerShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSCylinderShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDarkenShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDeadPixelFixerShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDivideRotateShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDoodleShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDrawingsShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDropShadowShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDrunkShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSDynamicMaskShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSEdgeDetectionShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSEmbersShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSEmbossColorShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSEmbossShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSExeldroBentCameraShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFadeTransitionShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFillColorGradientShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFillColorLinearShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFilterTemplateShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFire3Shader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFireShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFireworksShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFisheyeShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFisheyeXyShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSFrostedGlassShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGammaCorrectionShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGaussianBlurShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGaussianExampleShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGaussianSimpleShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGbCameraShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGlassShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGlitchAnalogShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGlitchShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGlowShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSGradientShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSHalftoneShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSHeatWaveSimpleShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSHexagonShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSHslHsvSaturationShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSHueRotatonShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSIntensityScopeShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSInvertLumaShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSLuminance2Shader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSLuminanceAlphaShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSLuminanceShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSMatrixShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSMultiplyShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSNightSkyShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSOpacityShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPagePeelShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPagePeelTransitionShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPerlinNoiseShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPieChartShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPixelationShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPixelationTransitionShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSPulseShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRainWindowShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRainbowShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRectangularDropShadowShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRemovePartialPixelsShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRepeatShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRepeatTextureShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRgbColorWheelShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRgbSplitShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRgbvisibilityShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRippleShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRotatingSourceShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRotatoeShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRoundedRect2Shader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRoundedRectPerSideShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRoundedRectShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSRoundedStrokeShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSScanLineShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSeascapeShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSeasickShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSelectiveColorShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSShakeShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSShineShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSimpleGradientShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSimplexNoiseShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSpotlightShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSSwirlShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSThermalShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSTvCrtSubpixelShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSTwistShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSTwoPassDropShadowShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSVCRShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSVHSShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSVignettingShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSVoronoiPixelationShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSZigZagShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSZoomBlurShader.ps1 (100%) rename Commands/{Filters => }/Shaders/Get-OBSZoomShader.ps1 (100%) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index e0c6bf259..7870606f7 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -46,8 +46,7 @@ if ($env:GITHUB_STEP_SUMMARY) { $commandsPath = Join-Path $parentPath Commands -$FilterCommandsPath = Join-Path $commandsPath Filters -$ShaderCommandsPath = Join-Path $FilterCommandsPath Shaders +$ShaderCommandsPath = Join-Path $commandsPath Shaders if (-not (Test-Path $ShaderCommandsPath)) { $null = New-Item -ItemType Directory -path $ShaderCommandsPath @@ -113,10 +112,7 @@ foreach ($shaderParameterSet in $ShaderParameters) { $ShaderParameters = [Ordered]@{} if ($env:GITHUB_STEP_SUMMARY) { - " * [x] Found $(@($shaderParameterSet.Group).Length) Shader Parameters in $($shaderName) - -$($shaderParameterSet.Group | Out-String) -" | + " * [x] Found $(@($shaderParameterSet.Group).Length) Shader Parameters in $($shaderName)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } @@ -132,7 +128,17 @@ $($shaderParameterSet.Group | Out-String) } continue } - $shaderParameterName = [Regex]::Replace($shaderParameterSystemName, $underscoreWord,$capitalizeNames) + # Shader parameters can conflict with automatic parameters (we can sidestep this with a rename) + $shaderParameterName = + switch ($shaderParameterSystemName) { + debug { + "DebugShader" + } + default { + [Regex]::Replace($shaderParameterSystemName, $underscoreWord,$capitalizeNames) + } + } + if ($env:GITHUB_STEP_SUMMARY) { " * [x] Shader Parameter $shaderParameterSystemName will become $ShaderParameterName" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append diff --git a/Commands/Filters/Shaders/Get-OBSAddShader.ps1 b/Commands/Shaders/Get-OBSAddShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAddShader.ps1 rename to Commands/Shaders/Get-OBSAddShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAlphaBorderShader.ps1 rename to Commands/Shaders/Get-OBSAlphaBorderShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 rename to Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAnimatedPathShader.ps1 rename to Commands/Shaders/Get-OBSAnimatedPathShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAnimatedTextureShader.ps1 rename to Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 b/Commands/Shaders/Get-OBSAsciiShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAsciiShader.ps1 rename to Commands/Shaders/Get-OBSAsciiShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSAspectRatioShader.ps1 rename to Commands/Shaders/Get-OBSAspectRatioShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBackgroundRemovalShader.ps1 rename to Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBlendOpacityShader.ps1 rename to Commands/Shaders/Get-OBSBlendOpacityShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 b/Commands/Shaders/Get-OBSBlinkShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBlinkShader.ps1 rename to Commands/Shaders/Get-OBSBlinkShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBloomShader.ps1 b/Commands/Shaders/Get-OBSBloomShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBloomShader.ps1 rename to Commands/Shaders/Get-OBSBloomShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBorderShader.ps1 b/Commands/Shaders/Get-OBSBorderShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBorderShader.ps1 rename to Commands/Shaders/Get-OBSBorderShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBoxBlurShader.ps1 rename to Commands/Shaders/Get-OBSBoxBlurShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBulgePinchShader.ps1 rename to Commands/Shaders/Get-OBSBulgePinchShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSBurnShader.ps1 b/Commands/Shaders/Get-OBSBurnShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSBurnShader.ps1 rename to Commands/Shaders/Get-OBSBurnShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 b/Commands/Shaders/Get-OBSCartoonShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCartoonShader.ps1 rename to Commands/Shaders/Get-OBSCartoonShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 b/Commands/Shaders/Get-OBSCellShadedShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCellShadedShader.ps1 rename to Commands/Shaders/Get-OBSCellShadedShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSChromaUVDistortionShader.ps1 rename to Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSChromaticAberrationShader.ps1 rename to Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCircleMaskFilterShader.ps1 rename to Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 b/Commands/Shaders/Get-OBSColorDepthShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSColorDepthShader.ps1 rename to Commands/Shaders/Get-OBSColorDepthShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSColorGradeFilterShader.ps1 rename to Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 b/Commands/Shaders/Get-OBSCornerPinShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCornerPinShader.ps1 rename to Commands/Shaders/Get-OBSCornerPinShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCrtCurvatureShader.ps1 rename to Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCutRectPerCornerShader.ps1 rename to Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 b/Commands/Shaders/Get-OBSCylinderShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSCylinderShader.ps1 rename to Commands/Shaders/Get-OBSCylinderShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 b/Commands/Shaders/Get-OBSDarkenShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDarkenShader.ps1 rename to Commands/Shaders/Get-OBSDarkenShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDeadPixelFixerShader.ps1 rename to Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDivideRotateShader.ps1 rename to Commands/Shaders/Get-OBSDivideRotateShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 b/Commands/Shaders/Get-OBSDoodleShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDoodleShader.ps1 rename to Commands/Shaders/Get-OBSDoodleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 b/Commands/Shaders/Get-OBSDrawingsShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDrawingsShader.ps1 rename to Commands/Shaders/Get-OBSDrawingsShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 b/Commands/Shaders/Get-OBSDropShadowShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDropShadowShader.ps1 rename to Commands/Shaders/Get-OBSDropShadowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 b/Commands/Shaders/Get-OBSDrunkShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDrunkShader.ps1 rename to Commands/Shaders/Get-OBSDrunkShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSDynamicMaskShader.ps1 rename to Commands/Shaders/Get-OBSDynamicMaskShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSEdgeDetectionShader.ps1 rename to Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 b/Commands/Shaders/Get-OBSEmbersShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSEmbersShader.ps1 rename to Commands/Shaders/Get-OBSEmbersShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSEmbossColorShader.ps1 rename to Commands/Shaders/Get-OBSEmbossColorShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 b/Commands/Shaders/Get-OBSEmbossShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSEmbossShader.ps1 rename to Commands/Shaders/Get-OBSEmbossShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSExeldroBentCameraShader.ps1 rename to Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFadeTransitionShader.ps1 rename to Commands/Shaders/Get-OBSFadeTransitionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorGradientShader.ps1 b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFillColorGradientShader.ps1 rename to Commands/Shaders/Get-OBSFillColorGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorLinearShader.ps1 b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFillColorLinearShader.ps1 rename to Commands/Shaders/Get-OBSFillColorLinearShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 rename to Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 rename to Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFilterTemplateShader.ps1 rename to Commands/Shaders/Get-OBSFilterTemplateShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 b/Commands/Shaders/Get-OBSFire3Shader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFire3Shader.ps1 rename to Commands/Shaders/Get-OBSFire3Shader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFireShader.ps1 b/Commands/Shaders/Get-OBSFireShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFireShader.ps1 rename to Commands/Shaders/Get-OBSFireShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 b/Commands/Shaders/Get-OBSFireworksShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFireworksShader.ps1 rename to Commands/Shaders/Get-OBSFireworksShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Shaders/Get-OBSFisheyeShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFisheyeShader.ps1 rename to Commands/Shaders/Get-OBSFisheyeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFisheyeXyShader.ps1 rename to Commands/Shaders/Get-OBSFisheyeXyShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSFrostedGlassShader.ps1 rename to Commands/Shaders/Get-OBSFrostedGlassShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGammaCorrectionShader.ps1 rename to Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 rename to Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGaussianBlurShader.ps1 rename to Commands/Shaders/Get-OBSGaussianBlurShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 rename to Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGaussianExampleShader.ps1 rename to Commands/Shaders/Get-OBSGaussianExampleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGaussianSimpleShader.ps1 rename to Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 b/Commands/Shaders/Get-OBSGbCameraShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGbCameraShader.ps1 rename to Commands/Shaders/Get-OBSGbCameraShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlassShader.ps1 b/Commands/Shaders/Get-OBSGlassShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGlassShader.ps1 rename to Commands/Shaders/Get-OBSGlassShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGlitchAnalogShader.ps1 rename to Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 b/Commands/Shaders/Get-OBSGlitchShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGlitchShader.ps1 rename to Commands/Shaders/Get-OBSGlitchShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGlowShader.ps1 b/Commands/Shaders/Get-OBSGlowShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGlowShader.ps1 rename to Commands/Shaders/Get-OBSGlowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSGradientShader.ps1 b/Commands/Shaders/Get-OBSGradientShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSGradientShader.ps1 rename to Commands/Shaders/Get-OBSGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 b/Commands/Shaders/Get-OBSHalftoneShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSHalftoneShader.ps1 rename to Commands/Shaders/Get-OBSHalftoneShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSHeatWaveSimpleShader.ps1 rename to Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Shaders/Get-OBSHexagonShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSHexagonShader.ps1 rename to Commands/Shaders/Get-OBSHexagonShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSHslHsvSaturationShader.ps1 rename to Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSHueRotatonShader.ps1 rename to Commands/Shaders/Get-OBSHueRotatonShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSIntensityScopeShader.ps1 rename to Commands/Shaders/Get-OBSIntensityScopeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSInvertLumaShader.ps1 rename to Commands/Shaders/Get-OBSInvertLumaShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSLuminance2Shader.ps1 rename to Commands/Shaders/Get-OBSLuminance2Shader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSLuminanceAlphaShader.ps1 rename to Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 b/Commands/Shaders/Get-OBSLuminanceShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSLuminanceShader.ps1 rename to Commands/Shaders/Get-OBSLuminanceShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 b/Commands/Shaders/Get-OBSMatrixShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSMatrixShader.ps1 rename to Commands/Shaders/Get-OBSMatrixShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 b/Commands/Shaders/Get-OBSMultiplyShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSMultiplyShader.ps1 rename to Commands/Shaders/Get-OBSMultiplyShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 b/Commands/Shaders/Get-OBSNightSkyShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSNightSkyShader.ps1 rename to Commands/Shaders/Get-OBSNightSkyShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 b/Commands/Shaders/Get-OBSOpacityShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSOpacityShader.ps1 rename to Commands/Shaders/Get-OBSOpacityShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 b/Commands/Shaders/Get-OBSPagePeelShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPagePeelShader.ps1 rename to Commands/Shaders/Get-OBSPagePeelShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPagePeelTransitionShader.ps1 rename to Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPerlinNoiseShader.ps1 rename to Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 b/Commands/Shaders/Get-OBSPieChartShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPieChartShader.ps1 rename to Commands/Shaders/Get-OBSPieChartShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 b/Commands/Shaders/Get-OBSPixelationShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPixelationShader.ps1 rename to Commands/Shaders/Get-OBSPixelationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPixelationTransitionShader.ps1 rename to Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSPulseShader.ps1 b/Commands/Shaders/Get-OBSPulseShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSPulseShader.ps1 rename to Commands/Shaders/Get-OBSPulseShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Shaders/Get-OBSRainWindowShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRainWindowShader.ps1 rename to Commands/Shaders/Get-OBSRainWindowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 b/Commands/Shaders/Get-OBSRainbowShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRainbowShader.ps1 rename to Commands/Shaders/Get-OBSRainbowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRectangularDropShadowShader.ps1 rename to Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRemovePartialPixelsShader.ps1 rename to Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 b/Commands/Shaders/Get-OBSRepeatShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRepeatShader.ps1 rename to Commands/Shaders/Get-OBSRepeatShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRepeatTextureShader.ps1 rename to Commands/Shaders/Get-OBSRepeatTextureShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRgbColorWheelShader.ps1 rename to Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRgbSplitShader.ps1 rename to Commands/Shaders/Get-OBSRgbSplitShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRgbvisibilityShader.ps1 rename to Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRippleShader.ps1 b/Commands/Shaders/Get-OBSRippleShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRippleShader.ps1 rename to Commands/Shaders/Get-OBSRippleShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRotatingSourceShader.ps1 rename to Commands/Shaders/Get-OBSRotatingSourceShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 b/Commands/Shaders/Get-OBSRotatoeShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRotatoeShader.ps1 rename to Commands/Shaders/Get-OBSRotatoeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRoundedRect2Shader.ps1 rename to Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 rename to Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRoundedRectPerSideShader.ps1 rename to Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRoundedRectShader.ps1 rename to Commands/Shaders/Get-OBSRoundedRectShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 rename to Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSRoundedStrokeShader.ps1 rename to Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 b/Commands/Shaders/Get-OBSScanLineShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSScanLineShader.ps1 rename to Commands/Shaders/Get-OBSScanLineShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 b/Commands/Shaders/Get-OBSSeascapeShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSeascapeShader.ps1 rename to Commands/Shaders/Get-OBSSeascapeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 b/Commands/Shaders/Get-OBSSeasickShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSeasickShader.ps1 rename to Commands/Shaders/Get-OBSSeasickShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSelectiveColorShader.ps1 rename to Commands/Shaders/Get-OBSSelectiveColorShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSShakeShader.ps1 b/Commands/Shaders/Get-OBSShakeShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSShakeShader.ps1 rename to Commands/Shaders/Get-OBSShakeShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSShineShader.ps1 b/Commands/Shaders/Get-OBSShineShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSShineShader.ps1 rename to Commands/Shaders/Get-OBSShineShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSimpleGradientShader.ps1 rename to Commands/Shaders/Get-OBSSimpleGradientShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSimplexNoiseShader.ps1 rename to Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 b/Commands/Shaders/Get-OBSSpotlightShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSpotlightShader.ps1 rename to Commands/Shaders/Get-OBSSpotlightShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 b/Commands/Shaders/Get-OBSSwirlShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSSwirlShader.ps1 rename to Commands/Shaders/Get-OBSSwirlShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSThermalShader.ps1 b/Commands/Shaders/Get-OBSThermalShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSThermalShader.ps1 rename to Commands/Shaders/Get-OBSThermalShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSTvCrtSubpixelShader.ps1 rename to Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSTwistShader.ps1 b/Commands/Shaders/Get-OBSTwistShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSTwistShader.ps1 rename to Commands/Shaders/Get-OBSTwistShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSTwoPassDropShadowShader.ps1 rename to Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVCRShader.ps1 b/Commands/Shaders/Get-OBSVCRShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSVCRShader.ps1 rename to Commands/Shaders/Get-OBSVCRShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVHSShader.ps1 b/Commands/Shaders/Get-OBSVHSShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSVHSShader.ps1 rename to Commands/Shaders/Get-OBSVHSShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 b/Commands/Shaders/Get-OBSVignettingShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSVignettingShader.ps1 rename to Commands/Shaders/Get-OBSVignettingShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSVoronoiPixelationShader.ps1 rename to Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 b/Commands/Shaders/Get-OBSZigZagShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSZigZagShader.ps1 rename to Commands/Shaders/Get-OBSZigZagShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSZoomBlurShader.ps1 rename to Commands/Shaders/Get-OBSZoomBlurShader.ps1 diff --git a/Commands/Filters/Shaders/Get-OBSZoomShader.ps1 b/Commands/Shaders/Get-OBSZoomShader.ps1 similarity index 100% rename from Commands/Filters/Shaders/Get-OBSZoomShader.ps1 rename to Commands/Shaders/Get-OBSZoomShader.ps1 From 502633e1d66cc4539d18670e4da0a00f3b0870bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:47:12 +0000 Subject: [PATCH 1344/4768] feat: Generating Shaders ( Fixes #163 ) Moving into /Commands/Shaders/, removing some excess logging, explicitly avoiding Debug parameter name. --- Commands/Shaders/Get-OBSRainWindowShader.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Shaders/Get-OBSRainWindowShader.ps1 index b31a41a1f..5c2ba4103 100644 --- a/Commands/Shaders/Get-OBSRainWindowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainWindowShader.ps1 @@ -25,9 +25,10 @@ $TrailColor, [Single] $Speed, # Set the debug of OBSRainWindowShader +[Alias('debug')] [ComponentModel.DefaultBindingProperty('debug')] [Management.Automation.SwitchParameter] -$Debug, +$DebugShader, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] [Alias('SceneItemName')] From ef75b972159891ee49b967a919819512c5c2cea3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:47:14 +0000 Subject: [PATCH 1345/4768] feat: Generating Shaders ( Fixes #163 ) Moving into /Commands/Shaders/, removing some excess logging, explicitly avoiding Debug parameter name. --- en-us/obs-powershell-commands.help.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index faa01e5b1..c5786d54c 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 718 commands -(293 functions and 425 aliases) +obs-powershell exports 730 commands +(297 functions and 433 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -70,6 +70,10 @@ Functions |[Get-OBSEmbossShader](docs/Get-OBSEmbossShader.md) | |[Get-OBSExeldroBentCameraShader](docs/Get-OBSExeldroBentCameraShader.md) | |[Get-OBSFadeTransitionShader](docs/Get-OBSFadeTransitionShader.md) | +|[Get-OBSFillColorGradientShader](docs/Get-OBSFillColorGradientShader.md) | +|[Get-OBSFillColorLinearShader](docs/Get-OBSFillColorLinearShader.md) | +|[Get-OBSFillColorRadialDegreesShader](docs/Get-OBSFillColorRadialDegreesShader.md) | +|[Get-OBSFillColorRadialPercentageShader](docs/Get-OBSFillColorRadialPercentageShader.md) | |[Get-OBSFilterTemplateShader](docs/Get-OBSFilterTemplateShader.md) | |[Get-OBSFire3Shader](docs/Get-OBSFire3Shader.md) | |[Get-OBSFireShader](docs/Get-OBSFireShader.md) | @@ -372,6 +376,10 @@ Aliases |[Get-OBSEmbossShader](docs/Get-OBSEmbossShader.md) | |[Get-OBSExeldroBentCameraShader](docs/Get-OBSExeldroBentCameraShader.md) | |[Get-OBSFadeTransitionShader](docs/Get-OBSFadeTransitionShader.md) | +|[Get-OBSFillColorGradientShader](docs/Get-OBSFillColorGradientShader.md) | +|[Get-OBSFillColorLinearShader](docs/Get-OBSFillColorLinearShader.md) | +|[Get-OBSFillColorRadialDegreesShader](docs/Get-OBSFillColorRadialDegreesShader.md) | +|[Get-OBSFillColorRadialPercentageShader](docs/Get-OBSFillColorRadialPercentageShader.md) | |[Get-OBSFilterTemplateShader](docs/Get-OBSFilterTemplateShader.md) | |[Get-OBSFire3Shader](docs/Get-OBSFire3Shader.md) | |[Get-OBSFireShader](docs/Get-OBSFireShader.md) | From 7e0e138d6a33110dc0845cc22af4a37e792fbcf5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:47:14 +0000 Subject: [PATCH 1346/4768] feat: Generating Shaders ( Fixes #163 ) Moving into /Commands/Shaders/, removing some excess logging, explicitly avoiding Debug parameter name. --- obs-powershell.psd1 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index c29bb32df..ee40f801d 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -324,6 +324,21 @@ Initial Release of obs-powershell 'Set-OBSScrollFilter', 'Set-OBSShaderFilter', 'Set-OBSSharpnessFilter', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource', 'Get-OBSAddShader', 'Get-OBSAlphaBorderShader', 'Get-OBSAlphaGamingBentCameraShader', @@ -446,21 +461,6 @@ Initial Release of obs-powershell 'Get-OBSVoronoiPixelationShader', 'Get-OBSZigZagShader', 'Get-OBSZoomBlurShader', -'Get-OBSZoomShader', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource' +'Get-OBSZoomShader' } From fa4e4d101be39a03692983598435661fc60de692 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 11:48:48 -0800 Subject: [PATCH 1347/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- Build/obs--shaders.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 7870606f7..e7ba5488f 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -208,7 +208,7 @@ foreach ($shaderParameterSet in $ShaderParameters) { Help = $ShaderParameterHelp } - if ($shaderParameterSystemName -ne $shaderParameterName) { + if ($shaderParameterSystemName -ne $shaderParameterName -and $shaderParameterSystemName -notin 'debug') { $ShaderParameters[$shaderParameterName].Alias = $shaderParameterSystemName } } From 696db260c714c98d8fb8ccb84d951264bd0178d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:56:59 +0000 Subject: [PATCH 1348/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- Commands/Shaders/Get-OBSRainWindowShader.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Shaders/Get-OBSRainWindowShader.ps1 index 5c2ba4103..578d3c01b 100644 --- a/Commands/Shaders/Get-OBSRainWindowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainWindowShader.ps1 @@ -25,7 +25,6 @@ $TrailColor, [Single] $Speed, # Set the debug of OBSRainWindowShader -[Alias('debug')] [ComponentModel.DefaultBindingProperty('debug')] [Management.Automation.SwitchParameter] $DebugShader, From bbd10b94ebaed306d0f2da5fee1cf9852272446e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:14 +0000 Subject: [PATCH 1349/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAddShader.md | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSAddShader.md diff --git a/docs/Get-OBSAddShader.md b/docs/Get-OBSAddShader.md new file mode 100644 index 000000000..a5b24f4f1 --- /dev/null +++ b/docs/Get-OBSAddShader.md @@ -0,0 +1,72 @@ +Get-OBSAddShader +---------------- + +### Synopsis + +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OtherImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |other_image| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAddShader; CommonParameters=True; parameter=System.Object[]}} +``` From a494cbb8813c99d0bbe5804126fb68fe74bc2d6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:15 +0000 Subject: [PATCH 1350/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAlphaBorderShader.md | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSAlphaBorderShader.md diff --git a/docs/Get-OBSAlphaBorderShader.md b/docs/Get-OBSAlphaBorderShader.md new file mode 100644 index 000000000..eb0229742 --- /dev/null +++ b/docs/Get-OBSAlphaBorderShader.md @@ -0,0 +1,84 @@ +Get-OBSAlphaBorderShader +------------------------ + +### Synopsis + +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |2 |false |alpha_cut_off| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |0 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAlphaBorderShader; CommonParameters=True; parameter=System.Object[]}} +``` From ea80f834b2e75f0e8db49c7aa1d4c70451a4f6e1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:15 +0000 Subject: [PATCH 1351/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAlphaGamingBentCameraShader.md | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSAlphaGamingBentCameraShader.md diff --git a/docs/Get-OBSAlphaGamingBentCameraShader.md b/docs/Get-OBSAlphaGamingBentCameraShader.md new file mode 100644 index 000000000..8eae8d867 --- /dev/null +++ b/docs/Get-OBSAlphaGamingBentCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSAlphaGamingBentCameraShader +---------------------------------- + +### Synopsis + +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **LeftFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |left_flip_shadow| + +#### **LeftFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |3 |false |left_flip_width| + +#### **LeftSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |2 |false |left_side_shadow| + +#### **LeftSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |left_side_size| + +#### **LeftSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |left_side_width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RightFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |right_flip_shadow| + +#### **RightFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |8 |false |right_flip_width| + +#### **RightSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |right_side_shadow| + +#### **RightSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |6 |false |right_side_size| + +#### **RightSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |right_side_width| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAlphaGamingBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From c56311465f0120a350fc97b3235e6df8d45c13fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:15 +0000 Subject: [PATCH 1352/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAnimatedPathShader.md | 126 ++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSAnimatedPathShader.md diff --git a/docs/Get-OBSAnimatedPathShader.md b/docs/Get-OBSAnimatedPathShader.md new file mode 100644 index 000000000..5f440f970 --- /dev/null +++ b/docs/Get-OBSAnimatedPathShader.md @@ -0,0 +1,126 @@ +Get-OBSAnimatedPathShader +------------------------- + +### Synopsis + +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PathMap** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |8 |false |path_map| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |7 |false |speed_percent| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAnimatedPathShader; CommonParameters=True; parameter=System.Object[]}} +``` From ac7796d72e1330a786ea412dcd8f9571b291e87d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:15 +0000 Subject: [PATCH 1353/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAnimatedTextureShader.md | 204 +++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/Get-OBSAnimatedTextureShader.md diff --git a/docs/Get-OBSAnimatedTextureShader.md b/docs/Get-OBSAnimatedTextureShader.md new file mode 100644 index 000000000..a957f339d --- /dev/null +++ b/docs/Get-OBSAnimatedTextureShader.md @@ -0,0 +1,204 @@ +Get-OBSAnimatedTextureShader +---------------------------- + +### Synopsis + +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alpha** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **AnimationImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |9 |false |Animation_Image| + +#### **Bounce** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterAnimation** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |center_animation| + +#### **ColorizationImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[string]`|false |10 |false |Colorization_Image| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |19 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PolarAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |11 |false |polar_angle| + +#### **PolarAnimation** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |polar_animation| + +#### **PolarHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |12 |false |polar_height| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |20 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| + +#### **SpeedHorizontalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------------| +|`[float]`|false |13 |false |speed_horizontal_percent| + +#### **SpeedVerticalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |14 |false |speed_vertical_percent| + +#### **TintSpeedHorizontalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |15 |false |tint_speed_horizontal_percent| + +#### **TintSpeedVerticalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |16 |false |tint_speed_vertical_percent| + +#### **UseAnimationImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------------| +|`[switch]`|false |Named |false |Use_Animation_Image_Color| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAnimatedTextureShader; CommonParameters=True; parameter=System.Object[]}} +``` From f624873d0cbf502053053dcb927b3a0a47ed9f5c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:15 +0000 Subject: [PATCH 1354/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAsciiShader.md | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSAsciiShader.md diff --git a/docs/Get-OBSAsciiShader.md b/docs/Get-OBSAsciiShader.md new file mode 100644 index 000000000..547c8783d --- /dev/null +++ b/docs/Get-OBSAsciiShader.md @@ -0,0 +1,96 @@ +Get-OBSAsciiShader +------------------ + +### Synopsis + +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BaseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |1 |false |base_color| + +#### **CharacterSet** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |character_set| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Monochrome** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Note** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAsciiShader; CommonParameters=True; parameter=System.Object[]}} +``` From b1b9655f6e6a88c62207ebb3dab810ee09825725 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:16 +0000 Subject: [PATCH 1355/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSAspectRatioShader.md | 126 +++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSAspectRatioShader.md diff --git a/docs/Get-OBSAspectRatioShader.md b/docs/Get-OBSAspectRatioShader.md new file mode 100644 index 000000000..cf836393d --- /dev/null +++ b/docs/Get-OBSAspectRatioShader.md @@ -0,0 +1,126 @@ +Get-OBSAspectRatioShader +------------------------ + +### Synopsis + +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAspectRatioShader; CommonParameters=True; parameter=System.Object[]}} +``` From f19bc58e62afe91525529cb1a51a287fe3144546 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:16 +0000 Subject: [PATCH 1356/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBackgroundRemovalShader.md | 156 +++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 docs/Get-OBSBackgroundRemovalShader.md diff --git a/docs/Get-OBSBackgroundRemovalShader.md b/docs/Get-OBSBackgroundRemovalShader.md new file mode 100644 index 000000000..65b1fae79 --- /dev/null +++ b/docs/Get-OBSBackgroundRemovalShader.md @@ -0,0 +1,156 @@ +Get-OBSBackgroundRemovalShader +------------------------------ + +### Synopsis + +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **Convert601to709** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Convert_601to709| + +#### **Convert709to601** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Convert_709to601| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **Target** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBackgroundRemovalShader; CommonParameters=True; parameter=System.Object[]}} +``` From e8cdf6ec5544c38147301c8a8fb1b4b20759072c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:16 +0000 Subject: [PATCH 1357/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBlendOpacityShader.md | 120 ++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSBlendOpacityShader.md diff --git a/docs/Get-OBSBlendOpacityShader.md b/docs/Get-OBSBlendOpacityShader.md new file mode 100644 index 000000000..be37ba2cb --- /dev/null +++ b/docs/Get-OBSBlendOpacityShader.md @@ -0,0 +1,120 @@ +Get-OBSBlendOpacityShader +------------------------- + +### Synopsis + +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **OpacityEndPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------------| +|`[float]`|false |2 |false |Opacity_End_Percent| + +#### **OpacityStartPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |1 |false |Opacity_Start_Percent| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |Rotation_Offset| + +#### **Rotational** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Spread** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBlendOpacityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 51d0cc25778f85c1abfe9944e2b3bdff3ab4518d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:16 +0000 Subject: [PATCH 1358/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBlinkShader.md | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSBlinkShader.md diff --git a/docs/Get-OBSBlinkShader.md b/docs/Get-OBSBlinkShader.md new file mode 100644 index 000000000..27529a6b5 --- /dev/null +++ b/docs/Get-OBSBlinkShader.md @@ -0,0 +1,72 @@ +Get-OBSBlinkShader +------------------ + +### Synopsis + +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBlinkShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3f59ddb2f3f6277da27d3e1cd0bc991ab8a3a0d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:16 +0000 Subject: [PATCH 1359/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBloomShader.md | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSBloomShader.md diff --git a/docs/Get-OBSBloomShader.md b/docs/Get-OBSBloomShader.md new file mode 100644 index 000000000..0ea848a99 --- /dev/null +++ b/docs/Get-OBSBloomShader.md @@ -0,0 +1,90 @@ +Get-OBSBloomShader +------------------ + +### Synopsis + +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBloomShader; CommonParameters=True; parameter=System.Object[]}} +``` From d27d9632f1b3d391145fd5f216877ee15742997c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:17 +0000 Subject: [PATCH 1360/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBorderShader.md | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSBorderShader.md diff --git a/docs/Get-OBSBorderShader.md b/docs/Get-OBSBorderShader.md new file mode 100644 index 000000000..189107e70 --- /dev/null +++ b/docs/Get-OBSBorderShader.md @@ -0,0 +1,72 @@ +Get-OBSBorderShader +------------------- + +### Synopsis + +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBorderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8c3b3cfc4411e1da8b9f5e8a1fe2c8091cecaa38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:17 +0000 Subject: [PATCH 1361/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBoxBlurShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSBoxBlurShader.md diff --git a/docs/Get-OBSBoxBlurShader.md b/docs/Get-OBSBoxBlurShader.md new file mode 100644 index 000000000..c0e6cfcf2 --- /dev/null +++ b/docs/Get-OBSBoxBlurShader.md @@ -0,0 +1,96 @@ +Get-OBSBoxBlurShader +-------------------- + +### Synopsis + +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |2 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBoxBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2ac565b9b07f9014e183b3f4d3e2731e8aeb1c02 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:17 +0000 Subject: [PATCH 1362/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBulgePinchShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSBulgePinchShader.md diff --git a/docs/Get-OBSBulgePinchShader.md b/docs/Get-OBSBulgePinchShader.md new file mode 100644 index 000000000..9b256b68a --- /dev/null +++ b/docs/Get-OBSBulgePinchShader.md @@ -0,0 +1,102 @@ +Get-OBSBulgePinchShader +----------------------- + +### Synopsis + +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Magnitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBulgePinchShader; CommonParameters=True; parameter=System.Object[]}} +``` From ab5a01037acb9beccb1605c99d9a1d13d6fa310a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:17 +0000 Subject: [PATCH 1363/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSBurnShader.md | 132 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSBurnShader.md diff --git a/docs/Get-OBSBurnShader.md b/docs/Get-OBSBurnShader.md new file mode 100644 index 000000000..960ca8967 --- /dev/null +++ b/docs/Get-OBSBurnShader.md @@ -0,0 +1,132 @@ +Get-OBSBurnShader +----------------- + +### Synopsis + +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animated** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ApplySmoke** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |Apply_Smoke| + +#### **ApplyToChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Apply_to_Channel| + +#### **BurnGradient** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |0 |false |Burn_Gradient| + +#### **DissolveValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |3 |false |Dissolve_Value| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **GradientAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |Gradient_Adjust| + +#### **Iterations** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SmokeHorizonalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |4 |false |Smoke_Horizonal_Speed| + +#### **SmokeVerticalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |5 |false |Smoke_Vertical_Speed| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBurnShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8b4b6898448a4d1e5cc32d35f59bcbf01cfd1f2e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:17 +0000 Subject: [PATCH 1364/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCartoonShader.md | 138 +++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Get-OBSCartoonShader.md diff --git a/docs/Get-OBSCartoonShader.md b/docs/Get-OBSCartoonShader.md new file mode 100644 index 000000000..d2ea4374d --- /dev/null +++ b/docs/Get-OBSCartoonShader.md @@ -0,0 +1,138 @@ +Get-OBSCartoonShader +-------------------- + +### Synopsis + +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **HueSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |9 |false |hue_steps| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ValueSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |10 |false |value_steps| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCartoonShader; CommonParameters=True; parameter=System.Object[]}} +``` From f177c9cdb5cf7b169cc2bcbcd177e71e66fd4770 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:17 +0000 Subject: [PATCH 1365/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCellShadedShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSCellShadedShader.md diff --git a/docs/Get-OBSCellShadedShader.md b/docs/Get-OBSCellShadedShader.md new file mode 100644 index 000000000..3f39b14ec --- /dev/null +++ b/docs/Get-OBSCellShadedShader.md @@ -0,0 +1,90 @@ +Get-OBSCellShadedShader +----------------------- + +### Synopsis + +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCellShadedShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9ed648aeb78017a9899344e4c4e400b7d74548ed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:18 +0000 Subject: [PATCH 1366/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSChromaticAberrationShader.md | 114 +++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Get-OBSChromaticAberrationShader.md diff --git a/docs/Get-OBSChromaticAberrationShader.md b/docs/Get-OBSChromaticAberrationShader.md new file mode 100644 index 000000000..fb81e3460 --- /dev/null +++ b/docs/Get-OBSChromaticAberrationShader.md @@ -0,0 +1,114 @@ +Get-OBSChromaticAberrationShader +-------------------------------- + +### Synopsis + +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DistortBarrel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |distort_barrel| + +#### **DistortRadial** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |distort_radial| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Gamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumIter** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------| +|`[int]`|false |2 |false |num_iter| + +#### **OffsetSpectrumYcgco** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------------| +|`[switch]`|false |Named |false |offset_spectrum_ycgco| + +#### **OffsetSpectrumYuv** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |offset_spectrum_yuv| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **UseRandom** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |use_random| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSChromaticAberrationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7ff29ce48e9eecd5c6c747aac4305fa20bff4b62 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:18 +0000 Subject: [PATCH 1367/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSChromaUVDistortionShader.md | 84 +++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSChromaUVDistortionShader.md diff --git a/docs/Get-OBSChromaUVDistortionShader.md b/docs/Get-OBSChromaUVDistortionShader.md new file mode 100644 index 000000000..bf55ffa54 --- /dev/null +++ b/docs/Get-OBSChromaUVDistortionShader.md @@ -0,0 +1,84 @@ +Get-OBSChromaUVDistortionShader +------------------------------- + +### Synopsis + +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Chroma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Distortion** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSChromaUVDistortionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 46fbcffdb5d573966a8415fc8872f79d4013fad9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:18 +0000 Subject: [PATCH 1368/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCircleMaskFilterShader.md | 102 ++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSCircleMaskFilterShader.md diff --git a/docs/Get-OBSCircleMaskFilterShader.md b/docs/Get-OBSCircleMaskFilterShader.md new file mode 100644 index 000000000..f6e2308c9 --- /dev/null +++ b/docs/Get-OBSCircleMaskFilterShader.md @@ -0,0 +1,102 @@ +Get-OBSCircleMaskFilterShader +----------------------------- + +### Synopsis + +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Antialiasing** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CircleOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |Circle_Offset_X| + +#### **CircleOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |2 |false |Circle_Offset_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **SourceOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |3 |false |Source_Offset_X| + +#### **SourceOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |4 |false |Source_Offset_Y| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCircleMaskFilterShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8bc1aeeb17f34ab957e817ed346f0955dead962f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:18 +0000 Subject: [PATCH 1369/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSColorDepthShader.md | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSColorDepthShader.md diff --git a/docs/Get-OBSColorDepthShader.md b/docs/Get-OBSColorDepthShader.md new file mode 100644 index 000000000..ce70ce642 --- /dev/null +++ b/docs/Get-OBSColorDepthShader.md @@ -0,0 +1,78 @@ +Get-OBSColorDepthShader +----------------------- + +### Synopsis + +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ColorDepth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSColorDepthShader; CommonParameters=True; parameter=System.Object[]}} +``` From f17804f442a387f9c233f53b41bd561c12f5dbac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:18 +0000 Subject: [PATCH 1370/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSColorGradeFilterShader.md | 96 +++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSColorGradeFilterShader.md diff --git a/docs/Get-OBSColorGradeFilterShader.md b/docs/Get-OBSColorGradeFilterShader.md new file mode 100644 index 000000000..67a9e2233 --- /dev/null +++ b/docs/Get-OBSColorGradeFilterShader.md @@ -0,0 +1,96 @@ +Get-OBSColorGradeFilterShader +----------------------------- + +### Synopsis + +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Lut** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LutAmountPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |2 |false |lut_amount_percent| + +#### **LutOffsetPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |4 |false |lut_offset_percent| + +#### **LutScalePercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |lut_scale_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSColorGradeFilterShader; CommonParameters=True; parameter=System.Object[]}} +``` From b0fa1418d30c65f7a07dc6d14f1a6458ce272593 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:18 +0000 Subject: [PATCH 1371/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCornerPinShader.md | 120 +++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSCornerPinShader.md diff --git a/docs/Get-OBSCornerPinShader.md b/docs/Get-OBSCornerPinShader.md new file mode 100644 index 000000000..59f1ca217 --- /dev/null +++ b/docs/Get-OBSCornerPinShader.md @@ -0,0 +1,120 @@ +Get-OBSCornerPinShader +---------------------- + +### Synopsis + +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AntialiasEdges** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |Antialias_Edges| + +#### **BottomLeftX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |4 |false |Bottom_Left_X| + +#### **BottomLeftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Bottom_Left_Y| + +#### **BottomRightX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |6 |false |Bottom_Right_X| + +#### **BottomRightY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |7 |false |Bottom_Right_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **TopLeftX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |Top_Left_X| + +#### **TopLeftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |Top_Left_Y| + +#### **TopRightX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Top_Right_X| + +#### **TopRightY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |Top_Right_Y| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCornerPinShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7f47bec86ebee4a47b70fbaab6e8b415bf965b9c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:19 +0000 Subject: [PATCH 1372/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCrtCurvatureShader.md | 84 +++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSCrtCurvatureShader.md diff --git a/docs/Get-OBSCrtCurvatureShader.md b/docs/Get-OBSCrtCurvatureShader.md new file mode 100644 index 000000000..a52832279 --- /dev/null +++ b/docs/Get-OBSCrtCurvatureShader.md @@ -0,0 +1,84 @@ +Get-OBSCrtCurvatureShader +------------------------- + +### Synopsis + +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Border** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Feathering** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCrtCurvatureShader; CommonParameters=True; parameter=System.Object[]}} +``` From f094fde498965661f7c68124df38a6a81ba6fcad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:19 +0000 Subject: [PATCH 1373/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCutRectPerCornerShader.md | 120 ++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSCutRectPerCornerShader.md diff --git a/docs/Get-OBSCutRectPerCornerShader.md b/docs/Get-OBSCutRectPerCornerShader.md new file mode 100644 index 000000000..6ab6819b2 --- /dev/null +++ b/docs/Get-OBSCutRectPerCornerShader.md @@ -0,0 +1,120 @@ +Get-OBSCutRectPerCornerShader +----------------------------- + +### Synopsis + +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerBl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |3 |false |corner_bl| + +#### **CornerBr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |2 |false |corner_br| + +#### **CornerTl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |0 |false |corner_tl| + +#### **CornerTr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |1 |false |corner_tr| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCutRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +``` From df41d947b0070f57cb89bd6ff065fc2989d8ab1b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:19 +0000 Subject: [PATCH 1374/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSCylinderShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSCylinderShader.md diff --git a/docs/Get-OBSCylinderShader.md b/docs/Get-OBSCylinderShader.md new file mode 100644 index 000000000..650553fc5 --- /dev/null +++ b/docs/Get-OBSCylinderShader.md @@ -0,0 +1,78 @@ +Get-OBSCylinderShader +--------------------- + +### Synopsis + +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundCut** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |background_cut| + +#### **CylinderFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |cylinder_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCylinderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 81ec632c4801700ef3e6c46b8c1980fefc37aadc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:19 +0000 Subject: [PATCH 1375/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDarkenShader.md | 84 +++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSDarkenShader.md diff --git a/docs/Get-OBSDarkenShader.md b/docs/Get-OBSDarkenShader.md new file mode 100644 index 000000000..52acb2ee0 --- /dev/null +++ b/docs/Get-OBSDarkenShader.md @@ -0,0 +1,84 @@ +Get-OBSDarkenShader +------------------- + +### Synopsis + +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FillPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |1 |false |Fill_Percentage| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **OpacityPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |0 |false |Opacity_Percentage| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDarkenShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8f0285db6630c87ad8dc461c7bfa65a3a968bcc4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:20 +0000 Subject: [PATCH 1376/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDeadPixelFixerShader.md | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSDeadPixelFixerShader.md diff --git a/docs/Get-OBSDeadPixelFixerShader.md b/docs/Get-OBSDeadPixelFixerShader.md new file mode 100644 index 000000000..240cf09ca --- /dev/null +++ b/docs/Get-OBSDeadPixelFixerShader.md @@ -0,0 +1,78 @@ +Get-OBSDeadPixelFixerShader +--------------------------- + +### Synopsis + +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DeadPixelX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |0 |false |Dead_Pixel_X| + +#### **DeadPixelY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Dead_Pixel_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDeadPixelFixerShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3997575e28ead17574228ac66be7669638b204b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:20 +0000 Subject: [PATCH 1377/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDivideRotateShader.md | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSDivideRotateShader.md diff --git a/docs/Get-OBSDivideRotateShader.md b/docs/Get-OBSDivideRotateShader.md new file mode 100644 index 000000000..72daf0664 --- /dev/null +++ b/docs/Get-OBSDivideRotateShader.md @@ -0,0 +1,96 @@ +Get-OBSDivideRotateShader +------------------------- + +### Synopsis + +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |alpha_percentage| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **IChannel0** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |speed_percentage| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDivideRotateShader; CommonParameters=True; parameter=System.Object[]}} +``` From ebc55d2e2d8bdd16688c950ea3653f650c2237c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:20 +0000 Subject: [PATCH 1378/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDoodleShader.md | 132 ++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSDoodleShader.md diff --git a/docs/Get-OBSDoodleShader.md b/docs/Get-OBSDoodleShader.md new file mode 100644 index 000000000..47f7d4e54 --- /dev/null +++ b/docs/Get-OBSDoodleShader.md @@ -0,0 +1,132 @@ +Get-OBSDoodleShader +------------------- + +### Synopsis + +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DoodleScalePercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |8 |false |Doodle_Scale_Percent| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SnapPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |9 |false |Snap_Percent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDoodleShader; CommonParameters=True; parameter=System.Object[]}} +``` From a19f2d8da50cb73e2be53d6ce2ca5f565cc597b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:20 +0000 Subject: [PATCH 1379/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDrawingsShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSDrawingsShader.md diff --git a/docs/Get-OBSDrawingsShader.md b/docs/Get-OBSDrawingsShader.md new file mode 100644 index 000000000..07b0d863c --- /dev/null +++ b/docs/Get-OBSDrawingsShader.md @@ -0,0 +1,78 @@ +Get-OBSDrawingsShader +--------------------- + +### Synopsis + +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AngleNum** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SampNum** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDrawingsShader; CommonParameters=True; parameter=System.Object[]}} +``` From f029c18383d3fedfa573a827efa391479f76274e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:20 +0000 Subject: [PATCH 1380/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDropShadowShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSDropShadowShader.md diff --git a/docs/Get-OBSDropShadowShader.md b/docs/Get-OBSDropShadowShader.md new file mode 100644 index 000000000..0822f6f2a --- /dev/null +++ b/docs/Get-OBSDropShadowShader.md @@ -0,0 +1,102 @@ +Get-OBSDropShadowShader +----------------------- + +### Synopsis + +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **IsAlphaPremultiplied** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------------| +|`[switch]`|false |Named |false |is_alpha_premultiplied| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |4 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3859b718e3f7fa8860147c4f91dc28955468d8aa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:21 +0000 Subject: [PATCH 1381/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDrunkShader.md | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSDrunkShader.md diff --git a/docs/Get-OBSDrunkShader.md b/docs/Get-OBSDrunkShader.md new file mode 100644 index 000000000..c4f47f808 --- /dev/null +++ b/docs/Get-OBSDrunkShader.md @@ -0,0 +1,132 @@ +Get-OBSDrunkShader +------------------ + +### Synopsis + +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **Blur** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |0 |false |color_matrix| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |6 |false |glow_color| + +#### **GlowPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |glow_percent| + +#### **MaxBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |4 |false |max_brightness| + +#### **MinBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |min_brightness| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |5 |false |pulse_speed_percent| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDrunkShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4fb0a89c5aa4136c68946eaa92522ca3c91defdf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:21 +0000 Subject: [PATCH 1382/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSDynamicMaskShader.md | 216 +++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 docs/Get-OBSDynamicMaskShader.md diff --git a/docs/Get-OBSDynamicMaskShader.md b/docs/Get-OBSDynamicMaskShader.md new file mode 100644 index 000000000..d3c8ee96c --- /dev/null +++ b/docs/Get-OBSDynamicMaskShader.md @@ -0,0 +1,216 @@ +Get-OBSDynamicMaskShader +------------------------ + +### Synopsis + +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |23 |false |alpha_alpha_input_value| + +#### **AlphaBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |19 |false |alpha_base_value| + +#### **AlphaBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |22 |false |alpha_blue_input_value| + +#### **AlphaGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |21 |false |alpha_green_input_value| + +#### **AlphaMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |24 |false |alpha_multiplier| + +#### **AlphaRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |20 |false |alpha_red_input_value| + +#### **BlueAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |17 |false |blue_alpha_input_value| + +#### **BlueBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |blue_base_value| + +#### **BlueBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |16 |false |blue_blue_input_value| + +#### **BlueGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |15 |false |blue_green_input_value| + +#### **BlueMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |18 |false |blue_multiplier| + +#### **BlueRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |14 |false |blue_red_input_value| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |26 |true (ByPropertyName)| + +#### **GreenAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |11 |false |green_alpha_input_value| + +#### **GreenBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |green_base_value| + +#### **GreenBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |10 |false |green_blue_input_value| + +#### **GreenGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |9 |false |green_green_input_value| + +#### **GreenMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |12 |false |green_multiplier| + +#### **GreenRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |8 |false |green_red_input_value| + +#### **InputSource** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |0 |false |input_source| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |5 |false |red_alpha_input_value| + +#### **RedBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |red_base_value| + +#### **RedBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |4 |false |red_blue_input_value| + +#### **RedGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |3 |false |red_green_input_value| + +#### **RedMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |6 |false |red_multiplier| + +#### **RedRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------------| +|`[float]`|false |2 |false |red_red_input_value| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |27 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |25 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDynamicMaskShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6fb38834910d2bb7ded569ad588e349b83dca900 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:21 +0000 Subject: [PATCH 1383/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSEdgeDetectionShader.md | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSEdgeDetectionShader.md diff --git a/docs/Get-OBSEdgeDetectionShader.md b/docs/Get-OBSEdgeDetectionShader.md new file mode 100644 index 000000000..1abf3e579 --- /dev/null +++ b/docs/Get-OBSEdgeDetectionShader.md @@ -0,0 +1,132 @@ +Get-OBSEdgeDetectionShader +-------------------------- + +### Synopsis + +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |alpha_channel| + +#### **AlphaInvert** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |alpha_invert| + +#### **AlphaLevel** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |alpha_level| + +#### **EdgeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |1 |false |edge_color| + +#### **EdgeMultiply** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |edge_multiply| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **InvertEdge** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |invert_edge| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NonEdgeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[string]`|false |2 |false |non_edge_color| + +#### **NonEdgeMultiply** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |non_edge_multiply| + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |4 |false |rand_f | + +#### **Sensitivity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEdgeDetectionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0c2dc044e4ebd0e22ad328c4e4bf6de64db2fbdc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:21 +0000 Subject: [PATCH 1384/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSEmbersShader.md | 198 ++++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 docs/Get-OBSEmbersShader.md diff --git a/docs/Get-OBSEmbersShader.md b/docs/Get-OBSEmbersShader.md new file mode 100644 index 000000000..9373e6d97 --- /dev/null +++ b/docs/Get-OBSEmbersShader.md @@ -0,0 +1,198 @@ +Get-OBSEmbersShader +------------------- + +### Synopsis + +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |20 |false |Alpha_Percentage| + +#### **AnimationSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |Animation_Speed| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |22 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LayersCount** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |17 |false |Layers_Count| + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |18 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |19 |false | + +#### **MovementDirectionHorizontal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |14 |false |Movement_Direction_Horizontal| + +#### **MovementDirectionVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |15 |false |Movement_Direction_Vertical| + +#### **MovementSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------------| +|`[int]`|false |16 |false |Movement_Speed_Percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |12 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |23 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbersShader; CommonParameters=True; parameter=System.Object[]}} +``` From ae6b96daee221d5ad74bcb1dab5e0a1b720b7f6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:22 +0000 Subject: [PATCH 1385/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSEmbossColorShader.md | 102 +++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSEmbossColorShader.md diff --git a/docs/Get-OBSEmbossColorShader.md b/docs/Get-OBSEmbossColorShader.md new file mode 100644 index 000000000..a93dc14dd --- /dev/null +++ b/docs/Get-OBSEmbossColorShader.md @@ -0,0 +1,102 @@ +Get-OBSEmbossColorShader +------------------------ + +### Synopsis + +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **UpDownPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |3 |false |Up_Down_Percent| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbossColorShader; CommonParameters=True; parameter=System.Object[]}} +``` From edcbeaa71faad7aab61d0709fec462c766bc9e00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:22 +0000 Subject: [PATCH 1386/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSEmbossShader.md | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSEmbossShader.md diff --git a/docs/Get-OBSEmbossShader.md b/docs/Get-OBSEmbossShader.md new file mode 100644 index 000000000..279cc5f03 --- /dev/null +++ b/docs/Get-OBSEmbossShader.md @@ -0,0 +1,78 @@ +Get-OBSEmbossShader +------------------- + +### Synopsis + +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |Use_Color| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbossShader; CommonParameters=True; parameter=System.Object[]}} +``` From 75fad19cda134f384739f910e6530500ff3241a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:22 +0000 Subject: [PATCH 1387/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSExeldroBentCameraShader.md | 126 +++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSExeldroBentCameraShader.md diff --git a/docs/Get-OBSExeldroBentCameraShader.md b/docs/Get-OBSExeldroBentCameraShader.md new file mode 100644 index 000000000..b769bedf2 --- /dev/null +++ b/docs/Get-OBSExeldroBentCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSExeldroBentCameraShader +------------------------------ + +### Synopsis + +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **LeftFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |left_flip_shadow| + +#### **LeftFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |3 |false |left_flip_width| + +#### **LeftSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |2 |false |left_side_shadow| + +#### **LeftSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |left_side_size| + +#### **LeftSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |left_side_width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RightFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |right_flip_shadow| + +#### **RightFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |8 |false |right_flip_width| + +#### **RightSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |right_side_shadow| + +#### **RightSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |6 |false |right_side_size| + +#### **RightSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |right_side_width| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSExeldroBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 78f471babdc002a05b6d60a57cb9aaa57f6ba5cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:22 +0000 Subject: [PATCH 1388/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFadeTransitionShader.md | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSFadeTransitionShader.md diff --git a/docs/Get-OBSFadeTransitionShader.md b/docs/Get-OBSFadeTransitionShader.md new file mode 100644 index 000000000..c8edec111 --- /dev/null +++ b/docs/Get-OBSFadeTransitionShader.md @@ -0,0 +1,90 @@ +Get-OBSFadeTransitionShader +--------------------------- + +### Synopsis + +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFadeTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 496878a46561d7476d306c507f28294658e42acf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:22 +0000 Subject: [PATCH 1389/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFillColorGradientShader.md | 96 ++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSFillColorGradientShader.md diff --git a/docs/Get-OBSFillColorGradientShader.md b/docs/Get-OBSFillColorGradientShader.md new file mode 100644 index 000000000..7dbf28078 --- /dev/null +++ b/docs/Get-OBSFillColorGradientShader.md @@ -0,0 +1,96 @@ +Get-OBSFillColorGradientShader +------------------------------ + +### Synopsis + +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |4 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **GradientOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |Gradient_Offset| + +#### **GradientWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |Gradient_Width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7f9c56f92edc3060f26d40be80bf52ddf5115d49 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:22 +0000 Subject: [PATCH 1390/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFillColorLinearShader.md | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSFillColorLinearShader.md diff --git a/docs/Get-OBSFillColorLinearShader.md b/docs/Get-OBSFillColorLinearShader.md new file mode 100644 index 000000000..545919b83 --- /dev/null +++ b/docs/Get-OBSFillColorLinearShader.md @@ -0,0 +1,84 @@ +Get-OBSFillColorLinearShader +---------------------------- + +### Synopsis + +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |2 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |1 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorLinearShader; CommonParameters=True; parameter=System.Object[]}} +``` From 93d13b91bd523f51206b50aecf072f99d9cc3049 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:23 +0000 Subject: [PATCH 1391/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFillColorRadialDegreesShader.md | 102 ++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSFillColorRadialDegreesShader.md diff --git a/docs/Get-OBSFillColorRadialDegreesShader.md b/docs/Get-OBSFillColorRadialDegreesShader.md new file mode 100644 index 000000000..8c378b101 --- /dev/null +++ b/docs/Get-OBSFillColorRadialDegreesShader.md @@ -0,0 +1,102 @@ +Get-OBSFillColorRadialDegreesShader +----------------------------------- + +### Synopsis + +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |5 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |0 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Start_Angle| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorRadialDegreesShader; CommonParameters=True; parameter=System.Object[]}} +``` From dbefc55a7021de7b375ead9c0c09f1e446b6c9dc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:23 +0000 Subject: [PATCH 1392/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- .../Get-OBSFillColorRadialPercentageShader.md | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSFillColorRadialPercentageShader.md diff --git a/docs/Get-OBSFillColorRadialPercentageShader.md b/docs/Get-OBSFillColorRadialPercentageShader.md new file mode 100644 index 000000000..48a183b10 --- /dev/null +++ b/docs/Get-OBSFillColorRadialPercentageShader.md @@ -0,0 +1,102 @@ +Get-OBSFillColorRadialPercentageShader +-------------------------------------- + +### Synopsis + +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |5 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |0 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Start_Angle| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorRadialPercentageShader; CommonParameters=True; parameter=System.Object[]}} +``` From 00263c44f3211aa1783e05b2e653c877061680d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:23 +0000 Subject: [PATCH 1393/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFilterTemplateShader.md | 144 ++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Get-OBSFilterTemplateShader.md diff --git a/docs/Get-OBSFilterTemplateShader.md b/docs/Get-OBSFilterTemplateShader.md new file mode 100644 index 000000000..751c318d6 --- /dev/null +++ b/docs/Get-OBSFilterTemplateShader.md @@ -0,0 +1,144 @@ +Get-OBSFilterTemplateShader +--------------------------- + +### Synopsis + +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |12 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFilterTemplateShader; CommonParameters=True; parameter=System.Object[]}} +``` From 999fd543437604d8639522b2442e1320c0fd7b2f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:23 +0000 Subject: [PATCH 1394/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFire3Shader.md | 234 +++++++++++++++++++++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 docs/Get-OBSFire3Shader.md diff --git a/docs/Get-OBSFire3Shader.md b/docs/Get-OBSFire3Shader.md new file mode 100644 index 000000000..e959aa16e --- /dev/null +++ b/docs/Get-OBSFire3Shader.md @@ -0,0 +1,234 @@ +Get-OBSFire3Shader +------------------ + +### Synopsis + +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |14 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |18 |false |Color_To_Replace| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |24 |true (ByPropertyName)| + +#### **FlameModifier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |21 |false |Flame_Modifier| + +#### **FlameSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |19 |false |Flame_Size| + +#### **FlameTongueSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |22 |false |Flame_Tongue_Size| + +#### **FullWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |Full_Width| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |16 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **MovementDirectionHorizontal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |12 |false |Movement_Direction_Horizontal| + +#### **MovementDirectionVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |13 |false |Movement_Direction_Vertical| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |25 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |23 |true (ByPropertyName)|SceneItemName| + +#### **SparkGridHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |20 |false |Spark_Grid_Height| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |15 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFire3Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 3b990cbc7e281952eb89f1c6d6b5a1d5410bae1d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:23 +0000 Subject: [PATCH 1395/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFireShader.md | 138 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Get-OBSFireShader.md diff --git a/docs/Get-OBSFireShader.md b/docs/Get-OBSFireShader.md new file mode 100644 index 000000000..3118685d1 --- /dev/null +++ b/docs/Get-OBSFireShader.md @@ -0,0 +1,138 @@ +Get-OBSFireShader +----------------- + +### Synopsis + +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **FireType** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |3 |false |Fire_Type| + +#### **FlameSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------| +|`[int]`|false |2 |false |Flame_Size| + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9aa6cd48e7a72e8fd2451c56ed42d2babb03b0fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:23 +0000 Subject: [PATCH 1396/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFireworksShader.md | 84 ++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSFireworksShader.md diff --git a/docs/Get-OBSFireworksShader.md b/docs/Get-OBSFireworksShader.md new file mode 100644 index 000000000..3df2dcb2c --- /dev/null +++ b/docs/Get-OBSFireworksShader.md @@ -0,0 +1,84 @@ +Get-OBSFireworksShader +---------------------- + +### Synopsis + +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **ShowFlash** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_flash| + +#### **ShowStars** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_stars| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseTransparancy** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |use_transparancy| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireworksShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6fd9c965b625e3102f7ae8c690187f9607b5a172 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:24 +0000 Subject: [PATCH 1397/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFisheyeShader.md | 84 ++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSFisheyeShader.md diff --git a/docs/Get-OBSFisheyeShader.md b/docs/Get-OBSFisheyeShader.md new file mode 100644 index 000000000..7edab9344 --- /dev/null +++ b/docs/Get-OBSFisheyeShader.md @@ -0,0 +1,84 @@ +Get-OBSFisheyeShader +-------------------- + +### Synopsis + +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFisheyeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1d27e2d3c9cef710e2f7576470add60fbfc4f38c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:24 +0000 Subject: [PATCH 1398/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFisheyeXyShader.md | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSFisheyeXyShader.md diff --git a/docs/Get-OBSFisheyeXyShader.md b/docs/Get-OBSFisheyeXyShader.md new file mode 100644 index 000000000..7a568dcbd --- /dev/null +++ b/docs/Get-OBSFisheyeXyShader.md @@ -0,0 +1,90 @@ +Get-OBSFisheyeXyShader +---------------------- + +### Synopsis + +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PowerX** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |power_x| + +#### **PowerY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |3 |false |power_y| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFisheyeXyShader; CommonParameters=True; parameter=System.Object[]}} +``` From 145985dab9bfca9df0f62cf8bcbc54b1feddeae2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:24 +0000 Subject: [PATCH 1399/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSFrostedGlassShader.md | 114 ++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Get-OBSFrostedGlassShader.md diff --git a/docs/Get-OBSFrostedGlassShader.md b/docs/Get-OBSFrostedGlassShader.md new file mode 100644 index 000000000..a6b5989d1 --- /dev/null +++ b/docs/Get-OBSFrostedGlassShader.md @@ -0,0 +1,114 @@ +Get-OBSFrostedGlassShader +------------------------- + +### Synopsis + +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Alpha_Percent| + +#### **Amount** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |4 |false |Border_Color| + +#### **BorderOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |3 |false |Border_Offset| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **HorizontalBorder** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |Horizontal_Border| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFrostedGlassShader; CommonParameters=True; parameter=System.Object[]}} +``` From bcfa02b4f21391eec7606234baba7b682e215918 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:24 +0000 Subject: [PATCH 1400/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGammaCorrectionShader.md | 90 ++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSGammaCorrectionShader.md diff --git a/docs/Get-OBSGammaCorrectionShader.md b/docs/Get-OBSGammaCorrectionShader.md new file mode 100644 index 000000000..8dd4f1488 --- /dev/null +++ b/docs/Get-OBSGammaCorrectionShader.md @@ -0,0 +1,90 @@ +Get-OBSGammaCorrectionShader +---------------------------- + +### Synopsis + +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blue** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Green** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Red** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGammaCorrectionShader; CommonParameters=True; parameter=System.Object[]}} +``` From cc8d3a1eb54092fcc9cdf7be3a92283f9ae8a8f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:24 +0000 Subject: [PATCH 1401/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGaussianBlurAdvancedShader.md | 108 ++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSGaussianBlurAdvancedShader.md diff --git a/docs/Get-OBSGaussianBlurAdvancedShader.md b/docs/Get-OBSGaussianBlurAdvancedShader.md new file mode 100644 index 000000000..0c7cc6805 --- /dev/null +++ b/docs/Get-OBSGaussianBlurAdvancedShader.md @@ -0,0 +1,108 @@ +Get-OBSGaussianBlurAdvancedShader +--------------------------------- + +### Synopsis + +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Directions** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |6 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |3 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |4 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Quality** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **Size** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurAdvancedShader; CommonParameters=True; parameter=System.Object[]}} +``` From aea431ea16339bc179ee9234a3c321c92ddc30a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:24 +0000 Subject: [PATCH 1402/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGaussianBlurShader.md | 150 ++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSGaussianBlurShader.md diff --git a/docs/Get-OBSGaussianBlurShader.md b/docs/Get-OBSGaussianBlurShader.md new file mode 100644 index 000000000..d782d0cab --- /dev/null +++ b/docs/Get-OBSGaussianBlurShader.md @@ -0,0 +1,150 @@ +Get-OBSGaussianBlurShader +------------------------- + +### Synopsis + +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |7 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **ImageSize** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |2 |false | + +#### **ImageTexel** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |3 |false | + +#### **Kernel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |11 |false | + +#### **KernelTexel** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |12 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |13 |false |pixel_size| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UDiameter** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------| +|`[int]`|false |5 |false |u_diameter| + +#### **URadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------| +|`[int]`|false |4 |false |u_radius| + +#### **UTexelDelta** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|------------| +|`[float[]]`|false |6 |false |u_texelDelta| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |8 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |10 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |9 |false |uv_scale| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From d64aee158bd0a0c83464d4fd95c84f3dcde2b64f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:25 +0000 Subject: [PATCH 1403/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGaussianBlurSimpleShader.md | 96 +++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSGaussianBlurSimpleShader.md diff --git a/docs/Get-OBSGaussianBlurSimpleShader.md b/docs/Get-OBSGaussianBlurSimpleShader.md new file mode 100644 index 000000000..c739e36f2 --- /dev/null +++ b/docs/Get-OBSGaussianBlurSimpleShader.md @@ -0,0 +1,96 @@ +Get-OBSGaussianBlurSimpleShader +------------------------------- + +### Synopsis + +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |2 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 34b8c5e8f35954946abb126d544a22bd1c651bb1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:25 +0000 Subject: [PATCH 1404/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGaussianExampleShader.md | 144 +++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Get-OBSGaussianExampleShader.md diff --git a/docs/Get-OBSGaussianExampleShader.md b/docs/Get-OBSGaussianExampleShader.md new file mode 100644 index 000000000..e9782cb4b --- /dev/null +++ b/docs/Get-OBSGaussianExampleShader.md @@ -0,0 +1,144 @@ +Get-OBSGaussianExampleShader +---------------------------- + +### Synopsis + +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AfterImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |9 |false |after_image| + +#### **BeforeImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |8 |false |before_image| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **Exp** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InitialImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |initial_image| + +#### **MaxDistance** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |11 |false |max_distance| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **TextColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |10 |false |text_color| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianExampleShader; CommonParameters=True; parameter=System.Object[]}} +``` From cfc8186ff4ae30cb9f97dd96049719fdeaa14cd2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:25 +0000 Subject: [PATCH 1405/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGaussianSimpleShader.md | 150 ++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSGaussianSimpleShader.md diff --git a/docs/Get-OBSGaussianSimpleShader.md b/docs/Get-OBSGaussianSimpleShader.md new file mode 100644 index 000000000..6c5c17d13 --- /dev/null +++ b/docs/Get-OBSGaussianSimpleShader.md @@ -0,0 +1,150 @@ +Get-OBSGaussianSimpleShader +--------------------------- + +### Synopsis + +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LOD** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |13 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **Samples** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |12 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From cd76533eae72126185bb9e6ad61200c57c1f545d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:25 +0000 Subject: [PATCH 1406/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGbCameraShader.md | 126 ++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSGbCameraShader.md diff --git a/docs/Get-OBSGbCameraShader.md b/docs/Get-OBSGbCameraShader.md new file mode 100644 index 000000000..8bea27383 --- /dev/null +++ b/docs/Get-OBSGbCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSGbCameraShader +--------------------- + +### Synopsis + +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlternativeBayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |alternative_bayer| + +#### **Brightness** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Color1** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |5 |false |color_1| + +#### **Color2** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |6 |false |color_2| + +#### **Color3** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |7 |false |color_3| + +#### **Color4** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |8 |false |color_4| + +#### **Contrast** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **DitherFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |dither_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **Gamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGbCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From f30cdcb00d46db4fa3e583b94e698513e340ff89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:25 +0000 Subject: [PATCH 1407/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGlassShader.md | 126 +++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSGlassShader.md diff --git a/docs/Get-OBSGlassShader.md b/docs/Get-OBSGlassShader.md new file mode 100644 index 000000000..7d252f273 --- /dev/null +++ b/docs/Get-OBSGlassShader.md @@ -0,0 +1,126 @@ +Get-OBSGlassShader +------------------ + +### Synopsis + +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Alpha_Percent| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |6 |false |Border_Color| + +#### **BorderOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Border_Offset| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **GlassColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |7 |false |Glass_Color| + +#### **HorizontalBorder** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |Horizontal_Border| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **OffsetAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Offset_Amount| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReflectionOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |4 |false |Reflection_Offset| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **XSize** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **YSize** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlassShader; CommonParameters=True; parameter=System.Object[]}} +``` From d301d84a25cf20ad095ff9dcf45bcadf768869bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:26 +0000 Subject: [PATCH 1408/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGlitchAnalogShader.md | 156 ++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 docs/Get-OBSGlitchAnalogShader.md diff --git a/docs/Get-OBSGlitchAnalogShader.md b/docs/Get-OBSGlitchAnalogShader.md new file mode 100644 index 000000000..16e496c36 --- /dev/null +++ b/docs/Get-OBSGlitchAnalogShader.md @@ -0,0 +1,156 @@ +Get-OBSGlitchAnalogShader +------------------------- + +### Synopsis + +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |8 |false |alpha_percent| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorDriftAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |5 |false |color_drift_amount| + +#### **ColorDriftSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |6 |false |color_drift_speed| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |9 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **HorizontalShake** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |horizontal_shake| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |7 |false |pulse_speed_percent| + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |rotate_colors| + +#### **ScanLineJitterDisplacement** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |0 |false |scan_line_jitter_displacement| + +#### **ScanLineJitterThresholdPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------------------------| +|`[int]`|false |1 |false |scan_line_jitter_threshold_percent| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **VerticalJumpAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |2 |false |vertical_jump_amount| + +#### **VerticalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |3 |false |vertical_speed| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlitchAnalogShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2f7a4b1249eac0110937b1c0125bcb4eff7d7c44 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:26 +0000 Subject: [PATCH 1409/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGlitchShader.md | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSGlitchShader.md diff --git a/docs/Get-OBSGlitchShader.md b/docs/Get-OBSGlitchShader.md new file mode 100644 index 000000000..2407c538e --- /dev/null +++ b/docs/Get-OBSGlitchShader.md @@ -0,0 +1,78 @@ +Get-OBSGlitchShader +------------------- + +### Synopsis + +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AMT** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SPEED** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlitchShader; CommonParameters=True; parameter=System.Object[]}} +``` From df7357e1a6617c0d1e326238f2481279c387d1fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:26 +0000 Subject: [PATCH 1410/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGlowShader.md | 108 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSGlowShader.md diff --git a/docs/Get-OBSGlowShader.md b/docs/Get-OBSGlowShader.md new file mode 100644 index 000000000..3afe0fde2 --- /dev/null +++ b/docs/Get-OBSGlowShader.md @@ -0,0 +1,108 @@ +Get-OBSGlowShader +----------------- + +### Synopsis + +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blur** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **GlowPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |0 |false |glow_percent| + +#### **MaxBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |max_brightness| + +#### **MinBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |2 |false |min_brightness| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |4 |false |pulse_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8b74409c1a39a518fe1a3ba224599541c09fd5b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:26 +0000 Subject: [PATCH 1411/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSGradientShader.md | 174 ++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 docs/Get-OBSGradientShader.md diff --git a/docs/Get-OBSGradientShader.md b/docs/Get-OBSGradientShader.md new file mode 100644 index 000000000..3799643b1 --- /dev/null +++ b/docs/Get-OBSGradientShader.md @@ -0,0 +1,174 @@ +Get-OBSGradientShader +--------------------- + +### Synopsis + +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |6 |false |alpha_percent| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |8 |false |Color_To_Replace| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **EndColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |4 |false |end_color| + +#### **EndStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |end_step| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **GradientCenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------------------| +|`[int]`|false |10 |false |gradient_center_height_percentage| + +#### **GradientCenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------------------------| +|`[int]`|false |9 |false |gradient_center_width_percentage| + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **MiddleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |middle_color| + +#### **MiddleStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |middle_step| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |11 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |7 |false |pulse_speed| + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |rotate_colors| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **StartColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |start_color| + +#### **StartStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |start_step| + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From d950b60be0ea10df3c252fa2d2f015a370436ab1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:26 +0000 Subject: [PATCH 1412/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSHalftoneShader.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSHalftoneShader.md diff --git a/docs/Get-OBSHalftoneShader.md b/docs/Get-OBSHalftoneShader.md new file mode 100644 index 000000000..fdde28062 --- /dev/null +++ b/docs/Get-OBSHalftoneShader.md @@ -0,0 +1,72 @@ +Get-OBSHalftoneShader +--------------------- + +### Synopsis + +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Threshold** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHalftoneShader; CommonParameters=True; parameter=System.Object[]}} +``` From c47522c49ae00c83baaff144462786e8b7a25ef0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:26 +0000 Subject: [PATCH 1413/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSHeatWaveSimpleShader.md | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSHeatWaveSimpleShader.md diff --git a/docs/Get-OBSHeatWaveSimpleShader.md b/docs/Get-OBSHeatWaveSimpleShader.md new file mode 100644 index 000000000..37061c366 --- /dev/null +++ b/docs/Get-OBSHeatWaveSimpleShader.md @@ -0,0 +1,90 @@ +Get-OBSHeatWaveSimpleShader +--------------------------- + +### Synopsis + +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Distortion** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Rate** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHeatWaveSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From f3056202abf0039ef25e710b0862dcd4b4eacfd7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:27 +0000 Subject: [PATCH 1414/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSHexagonShader.md | 150 +++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSHexagonShader.md diff --git a/docs/Get-OBSHexagonShader.md b/docs/Get-OBSHexagonShader.md new file mode 100644 index 000000000..95d2cbf58 --- /dev/null +++ b/docs/Get-OBSHexagonShader.md @@ -0,0 +1,150 @@ +Get-OBSHexagonShader +-------------------- + +### Synopsis + +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |1 |false |Alpha_Percent| + +#### **Blend** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **BorderWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |3 |false |Border_Width| + +#### **DistortX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |5 |false |Distort_X| + +#### **DistortY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |6 |false |Distort_Y| + +#### **Equilateral** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HexColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |0 |false |Hex_Color| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |7 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |8 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Quantity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |4 |false |Speed_Percent| + +#### **ZoomAnimate** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Zoom_Animate| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHexagonShader; CommonParameters=True; parameter=System.Object[]}} +``` From 81b40a70c4eecece2aec3a103d1ef3792d467e6e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:27 +0000 Subject: [PATCH 1415/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSHslHsvSaturationShader.md | 90 +++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSHslHsvSaturationShader.md diff --git a/docs/Get-OBSHslHsvSaturationShader.md b/docs/Get-OBSHslHsvSaturationShader.md new file mode 100644 index 000000000..5fb514dfe --- /dev/null +++ b/docs/Get-OBSHslHsvSaturationShader.md @@ -0,0 +1,90 @@ +Get-OBSHslHsvSaturationShader +----------------------------- + +### Synopsis + +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AdjustmentOrder** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **HslSaturationFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **HsvSaturationFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHslHsvSaturationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4d24a664431ee1fe8493dccb39f42312aee756df Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:27 +0000 Subject: [PATCH 1416/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSHueRotatonShader.md | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSHueRotatonShader.md diff --git a/docs/Get-OBSHueRotatonShader.md b/docs/Get-OBSHueRotatonShader.md new file mode 100644 index 000000000..3ff9806e3 --- /dev/null +++ b/docs/Get-OBSHueRotatonShader.md @@ -0,0 +1,78 @@ +Get-OBSHueRotatonShader +----------------------- + +### Synopsis + +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **HueOverride** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Hue_Override| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHueRotatonShader; CommonParameters=True; parameter=System.Object[]}} +``` From d6114ef280bfb412683456191c90921f800a1a86 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:28 +0000 Subject: [PATCH 1417/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSIntensityScopeShader.md | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSIntensityScopeShader.md diff --git a/docs/Get-OBSIntensityScopeShader.md b/docs/Get-OBSIntensityScopeShader.md new file mode 100644 index 000000000..4b12561a9 --- /dev/null +++ b/docs/Get-OBSIntensityScopeShader.md @@ -0,0 +1,78 @@ +Get-OBSIntensityScopeShader +--------------------------- + +### Synopsis + +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blend** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **Gain** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSIntensityScopeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9d052a52d0e5959ed17921aa9b64720fef22e11a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:28 +0000 Subject: [PATCH 1418/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSInvertLumaShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSInvertLumaShader.md diff --git a/docs/Get-OBSInvertLumaShader.md b/docs/Get-OBSInvertLumaShader.md new file mode 100644 index 000000000..7ef2ce620 --- /dev/null +++ b/docs/Get-OBSInvertLumaShader.md @@ -0,0 +1,90 @@ +Get-OBSInvertLumaShader +----------------------- + +### Synopsis + +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **GammaCorrection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Gamma_Correction| + +#### **InvertColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Invert_Color| + +#### **InvertLuma** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |Invert_Luma| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **TestRamp** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |Test_Ramp| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSInvertLumaShader; CommonParameters=True; parameter=System.Object[]}} +``` From 75906846ec5ff66e2378c02070d4c43c66714c82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:28 +0000 Subject: [PATCH 1419/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSLuminance2Shader.md | 114 ++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Get-OBSLuminance2Shader.md diff --git a/docs/Get-OBSLuminance2Shader.md b/docs/Get-OBSLuminance2Shader.md new file mode 100644 index 000000000..8fb61355b --- /dev/null +++ b/docs/Get-OBSLuminance2Shader.md @@ -0,0 +1,114 @@ +Get-OBSLuminance2Shader +----------------------- + +### Synopsis + +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **InvertImageColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LumaMax** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **LumaMaxSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminance2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From a98272885a7b04b2b48b07371afe73eec4a977e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:28 +0000 Subject: [PATCH 1420/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSLuminanceAlphaShader.md | 150 ++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSLuminanceAlphaShader.md diff --git a/docs/Get-OBSLuminanceAlphaShader.md b/docs/Get-OBSLuminanceAlphaShader.md new file mode 100644 index 000000000..efc796b6f --- /dev/null +++ b/docs/Get-OBSLuminanceAlphaShader.md @@ -0,0 +1,150 @@ +Get-OBSLuminanceAlphaShader +--------------------------- + +### Synopsis + +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AddVal** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |add_val| + +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |8 |false |color_matrix| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Level** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **MulVal** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |mul_val| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminanceAlphaShader; CommonParameters=True; parameter=System.Object[]}} +``` From df9fd308c9e65ff99a423577794231ca23991b22 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:29 +0000 Subject: [PATCH 1421/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSLuminanceShader.md | 96 ++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSLuminanceShader.md diff --git a/docs/Get-OBSLuminanceShader.md b/docs/Get-OBSLuminanceShader.md new file mode 100644 index 000000000..f7d3610ef --- /dev/null +++ b/docs/Get-OBSLuminanceShader.md @@ -0,0 +1,96 @@ +Get-OBSLuminanceShader +---------------------- + +### Synopsis + +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **InvertImageColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Level** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminanceShader; CommonParameters=True; parameter=System.Object[]}} +``` From 87aaff6245d11147f4a56c39ce4365f9277ba926 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:29 +0000 Subject: [PATCH 1422/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSMatrixShader.md | 180 ++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 docs/Get-OBSMatrixShader.md diff --git a/docs/Get-OBSMatrixShader.md b/docs/Get-OBSMatrixShader.md new file mode 100644 index 000000000..e192d3ec8 --- /dev/null +++ b/docs/Get-OBSMatrixShader.md @@ -0,0 +1,180 @@ +Get-OBSMatrixShader +------------------- + +### Synopsis + +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |16 |false |Alpha_Percentage| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |18 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InvertDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Invert_Direction| + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |14 |false | + +#### **Mouse** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |12 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **Ratio** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |15 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |19 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |17 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSMatrixShader; CommonParameters=True; parameter=System.Object[]}} +``` From 24e19af418cef8ed10f2c974c37265843402b992 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:29 +0000 Subject: [PATCH 1423/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSMultiplyShader.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSMultiplyShader.md diff --git a/docs/Get-OBSMultiplyShader.md b/docs/Get-OBSMultiplyShader.md new file mode 100644 index 000000000..2393ba8ee --- /dev/null +++ b/docs/Get-OBSMultiplyShader.md @@ -0,0 +1,72 @@ +Get-OBSMultiplyShader +--------------------- + +### Synopsis + +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OtherImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |other_image| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSMultiplyShader; CommonParameters=True; parameter=System.Object[]}} +``` From eafb23167e4c33a3799ac725dc8f3f2a1427bd17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:29 +0000 Subject: [PATCH 1424/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSNightSkyShader.md | 174 ++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 docs/Get-OBSNightSkyShader.md diff --git a/docs/Get-OBSNightSkyShader.md b/docs/Get-OBSNightSkyShader.md new file mode 100644 index 000000000..573c2ff97 --- /dev/null +++ b/docs/Get-OBSNightSkyShader.md @@ -0,0 +1,174 @@ +Get-OBSNightSkyShader +--------------------- + +### Synopsis + +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |3 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |2 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |1 |false |center_width_percentage| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **IncludeClouds** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Include_Clouds| + +#### **IncludeMoon** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Include_Moon| + +#### **LIGHTSKY** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |7 |false |LIGHT_SKY| + +#### **MOONCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |9 |false |MOON_COLOR| + +#### **MoonBumpSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |11 |false |moon_bump_size| + +#### **MoonPositionX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |12 |false |Moon_Position_x| + +#### **MoonPositionY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |Moon_Position_y| + +#### **MoonSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |10 |false |moon_size| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumberStars** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |4 |false |number_stars| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **SKYCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |5 |false |SKY_COLOR| + +#### **SKYLIGHTNESS** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |SKY_LIGHTNESS| + +#### **STARCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |6 |false |STAR_COLOR| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSNightSkyShader; CommonParameters=True; parameter=System.Object[]}} +``` From e3dbdbaf84ff0cabac4c630874a29f652b442903 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:29 +0000 Subject: [PATCH 1425/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSOpacityShader.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSOpacityShader.md diff --git a/docs/Get-OBSOpacityShader.md b/docs/Get-OBSOpacityShader.md new file mode 100644 index 000000000..514388b73 --- /dev/null +++ b/docs/Get-OBSOpacityShader.md @@ -0,0 +1,72 @@ +Get-OBSOpacityShader +-------------------- + +### Synopsis + +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSOpacityShader; CommonParameters=True; parameter=System.Object[]}} +``` From e434ad11263d2178feb6b459794c0f863b84e428 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:30 +0000 Subject: [PATCH 1426/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPagePeelShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSPagePeelShader.md diff --git a/docs/Get-OBSPagePeelShader.md b/docs/Get-OBSPagePeelShader.md new file mode 100644 index 000000000..f579da30c --- /dev/null +++ b/docs/Get-OBSPagePeelShader.md @@ -0,0 +1,78 @@ +Get-OBSPagePeelShader +--------------------- + +### Synopsis + +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Position** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPagePeelShader; CommonParameters=True; parameter=System.Object[]}} +``` From f7fc46e363bae14d928ad748ff43c3cc4d8c36e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:30 +0000 Subject: [PATCH 1427/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPagePeelTransitionShader.md | 102 ++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSPagePeelTransitionShader.md diff --git a/docs/Get-OBSPagePeelTransitionShader.md b/docs/Get-OBSPagePeelTransitionShader.md new file mode 100644 index 000000000..27c6f7daf --- /dev/null +++ b/docs/Get-OBSPagePeelTransitionShader.md @@ -0,0 +1,102 @@ +Get-OBSPagePeelTransitionShader +------------------------------- + +### Synopsis + +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |3 |false |page_color| + +#### **PageTransparency** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |4 |false |page_transparency| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPagePeelTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 53a6d109c4e57c596712948657cb2e0973e12fe9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:30 +0000 Subject: [PATCH 1428/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPerlinNoiseShader.md | 132 +++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSPerlinNoiseShader.md diff --git a/docs/Get-OBSPerlinNoiseShader.md b/docs/Get-OBSPerlinNoiseShader.md new file mode 100644 index 000000000..180276c32 --- /dev/null +++ b/docs/Get-OBSPerlinNoiseShader.md @@ -0,0 +1,132 @@ +Get-OBSPerlinNoiseShader +------------------------ + +### Synopsis + +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animated** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ApplyToChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |apply_to_channel| + +#### **BlackNoise** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |5 |false |black_noise| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Inverted** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Iterations** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +#### **Multiply** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **SpeedHorizonal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |1 |false |speed_horizonal| + +#### **SpeedVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |2 |false |speed_vertical| + +#### **WhiteNoise** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |white_noise| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPerlinNoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 351f4ecf36e6c956010bd9321c81bdd54d9db0d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:30 +0000 Subject: [PATCH 1429/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPieChartShader.md | 210 ++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 docs/Get-OBSPieChartShader.md diff --git a/docs/Get-OBSPieChartShader.md b/docs/Get-OBSPieChartShader.md new file mode 100644 index 000000000..9d45c327a --- /dev/null +++ b/docs/Get-OBSPieChartShader.md @@ -0,0 +1,210 @@ +Get-OBSPieChartShader +--------------------- + +### Synopsis + +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color1** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |5 |false |color_1| + +#### **Color10** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |23 |false |color_10| + +#### **Color2** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |7 |false |color_2| + +#### **Color3** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |9 |false |color_3| + +#### **Color4** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |11 |false |color_4| + +#### **Color5** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |13 |false |color_5| + +#### **Color6** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |15 |false |color_6| + +#### **Color7** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |17 |false |color_7| + +#### **Color8** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |19 |false |color_8| + +#### **Color9** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |21 |false |color_9| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |25 |true (ByPropertyName)| + +#### **InnerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |inner_radius| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OuterRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |1 |false |outer_radius| + +#### **Part1** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |4 |false |part_1 | + +#### **Part10** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |22 |false |part_10| + +#### **Part2** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |6 |false |part_2 | + +#### **Part3** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |8 |false |part_3 | + +#### **Part4** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |10 |false |part_4 | + +#### **Part5** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |12 |false |part_5 | + +#### **Part6** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |14 |false |part_6 | + +#### **Part7** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |16 |false |part_7 | + +#### **Part8** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |18 |false |part_8 | + +#### **Part9** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |20 |false |part_9 | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |26 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |24 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |start_angle| + +#### **Total** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPieChartShader; CommonParameters=True; parameter=System.Object[]}} +``` From c366b0734f2e3a63c490cca9a7e4952c965668fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:30 +0000 Subject: [PATCH 1430/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPixelationShader.md | 84 +++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSPixelationShader.md diff --git a/docs/Get-OBSPixelationShader.md b/docs/Get-OBSPixelationShader.md new file mode 100644 index 000000000..fab84d7bd --- /dev/null +++ b/docs/Get-OBSPixelationShader.md @@ -0,0 +1,84 @@ +Get-OBSPixelationShader +----------------------- + +### Synopsis + +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **TargetHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Target_Height| + +#### **TargetWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |Target_Width| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPixelationShader; CommonParameters=True; parameter=System.Object[]}} +``` From ed9bf8137f6a856d23df00f8bbbacaaab86f5a8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:30 +0000 Subject: [PATCH 1431/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPixelationTransitionShader.md | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSPixelationTransitionShader.md diff --git a/docs/Get-OBSPixelationTransitionShader.md b/docs/Get-OBSPixelationTransitionShader.md new file mode 100644 index 000000000..8d7f4bad4 --- /dev/null +++ b/docs/Get-OBSPixelationTransitionShader.md @@ -0,0 +1,96 @@ +Get-OBSPixelationTransitionShader +--------------------------------- + +### Synopsis + +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPixelationTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6f45262f4fea6e8e4279f9a5358c325c3745e2ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1432/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSPulseShader.md | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSPulseShader.md diff --git a/docs/Get-OBSPulseShader.md b/docs/Get-OBSPulseShader.md new file mode 100644 index 000000000..944a51b94 --- /dev/null +++ b/docs/Get-OBSPulseShader.md @@ -0,0 +1,132 @@ +Get-OBSPulseShader +------------------ + +### Synopsis + +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **MaxGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |10 |false |max_growth_pixels| + +#### **MinGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |min_growth_pixels| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |8 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPulseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8aeb821cab41a12a161753481b9a4049ec7b0708 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1433/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRainbowShader.md | 144 +++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Get-OBSRainbowShader.md diff --git a/docs/Get-OBSRainbowShader.md b/docs/Get-OBSRainbowShader.md new file mode 100644 index 000000000..d9c4b3399 --- /dev/null +++ b/docs/Get-OBSRainbowShader.md @@ -0,0 +1,144 @@ +Get-OBSRainbowShader +-------------------- + +### Synopsis + +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Luminosity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |5 |false |Rotation_Offset| + +#### **Rotational** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Saturation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Spread** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRainbowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8ea48df7b33f4bb3c81837b8561df49d78bc4a2c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1434/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRainWindowShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSRainWindowShader.md diff --git a/docs/Get-OBSRainWindowShader.md b/docs/Get-OBSRainWindowShader.md new file mode 100644 index 000000000..055e58bfc --- /dev/null +++ b/docs/Get-OBSRainWindowShader.md @@ -0,0 +1,102 @@ +Get-OBSRainWindowShader +----------------------- + +### Synopsis + +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BlurSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **DebugShader** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **Size** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **TrailColor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |trail_color| + +#### **TrailStrength** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |2 |false |trail_strength| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRainWindowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 36bb3fee597f982a3f9aac9f2f3cafa9cb74fecf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1435/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRectangularDropShadowShader.md | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSRectangularDropShadowShader.md diff --git a/docs/Get-OBSRectangularDropShadowShader.md b/docs/Get-OBSRectangularDropShadowShader.md new file mode 100644 index 000000000..db6542480 --- /dev/null +++ b/docs/Get-OBSRectangularDropShadowShader.md @@ -0,0 +1,90 @@ +Get-OBSRectangularDropShadowShader +---------------------------------- + +### Synopsis + +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |3 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRectangularDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 822507e659e00addc0addbeb47cb23f7dc7c2fd8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1436/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRemovePartialPixelsShader.md | 78 ++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSRemovePartialPixelsShader.md diff --git a/docs/Get-OBSRemovePartialPixelsShader.md b/docs/Get-OBSRemovePartialPixelsShader.md new file mode 100644 index 000000000..ec8112e5e --- /dev/null +++ b/docs/Get-OBSRemovePartialPixelsShader.md @@ -0,0 +1,78 @@ +Get-OBSRemovePartialPixelsShader +-------------------------------- + +### Synopsis + +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |0 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRemovePartialPixelsShader; CommonParameters=True; parameter=System.Object[]}} +``` From fd4d905734b5af9ef19c2da5048008f0038a5003 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1437/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRepeatShader.md | 150 ++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSRepeatShader.md diff --git a/docs/Get-OBSRepeatShader.md b/docs/Get-OBSRepeatShader.md new file mode 100644 index 000000000..6d2c22dcc --- /dev/null +++ b/docs/Get-OBSRepeatShader.md @@ -0,0 +1,150 @@ +Get-OBSRepeatShader +------------------- + +### Synopsis + +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alpha** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |1 |false |color_matrix| + +#### **ColorRangeMax** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |3 |false |color_range_max| + +#### **ColorRangeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |2 |false |color_range_min| + +#### **Copies** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |5 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |13 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |6 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |8 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |7 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |9 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRepeatShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4591fcd806fb412803f3c54ffef53959a9ea5255 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:31 +0000 Subject: [PATCH 1438/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRepeatTextureShader.md | 162 +++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 docs/Get-OBSRepeatTextureShader.md diff --git a/docs/Get-OBSRepeatTextureShader.md b/docs/Get-OBSRepeatTextureShader.md new file mode 100644 index 000000000..3b02198d5 --- /dev/null +++ b/docs/Get-OBSRepeatTextureShader.md @@ -0,0 +1,162 @@ +Get-OBSRepeatTextureShader +-------------------------- + +### Synopsis + +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |15 |false |alpha_percentage| + +#### **Blend** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |1 |false |color_matrix| + +#### **ColorRangeMax** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |3 |false |color_range_max| + +#### **ColorRangeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |2 |false |color_range_min| + +#### **Copies** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |17 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |14 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |18 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| + +#### **TexImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |5 |false |tex_image| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |7 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |9 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |8 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |10 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRepeatTextureShader; CommonParameters=True; parameter=System.Object[]}} +``` From bdbf20bfbdd1f1ac5c680326895ee673db138c42 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1439/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRgbColorWheelShader.md | 120 +++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSRgbColorWheelShader.md diff --git a/docs/Get-OBSRgbColorWheelShader.md b/docs/Get-OBSRgbColorWheelShader.md new file mode 100644 index 000000000..52a229d96 --- /dev/null +++ b/docs/Get-OBSRgbColorWheelShader.md @@ -0,0 +1,120 @@ +Get-OBSRgbColorWheelShader +-------------------------- + +### Synopsis + +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |3 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |5 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |4 |false |center_width_percentage| + +#### **ColorDepth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |1 |false |color_depth| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |2 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbColorWheelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8b8024e7efaeea58238c90d06fa1b4a8944eec6f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1440/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRgbSplitShader.md | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSRgbSplitShader.md diff --git a/docs/Get-OBSRgbSplitShader.md b/docs/Get-OBSRgbSplitShader.md new file mode 100644 index 000000000..3d6a3bbad --- /dev/null +++ b/docs/Get-OBSRgbSplitShader.md @@ -0,0 +1,102 @@ +Get-OBSRgbSplitShader +--------------------- + +### Synopsis + +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Bluex** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Bluey** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Greenx** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Greeny** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Redx** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **Redy** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbSplitShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1146d3937c4649afbb388de59f2bf10a72c6b0aa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1441/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRgbvisibilityShader.md | 108 +++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSRgbvisibilityShader.md diff --git a/docs/Get-OBSRgbvisibilityShader.md b/docs/Get-OBSRgbvisibilityShader.md new file mode 100644 index 000000000..96e19a467 --- /dev/null +++ b/docs/Get-OBSRgbvisibilityShader.md @@ -0,0 +1,108 @@ +Get-OBSRgbvisibilityShader +-------------------------- + +### Synopsis + +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blue** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **BlueVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Green** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **GreenVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Red** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **RedVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbvisibilityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 52b056c35392dcda5685c907016c3e79d574b6f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1442/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRippleShader.md | 96 +++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSRippleShader.md diff --git a/docs/Get-OBSRippleShader.md b/docs/Get-OBSRippleShader.md new file mode 100644 index 000000000..53e350f99 --- /dev/null +++ b/docs/Get-OBSRippleShader.md @@ -0,0 +1,96 @@ +Get-OBSRippleShader +------------------- + +### Synopsis + +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterPosX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |3 |false |center_pos_x| + +#### **CenterPosY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |4 |false |center_pos_y| + +#### **DistanceFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |distance_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PowerFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |power_factor| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **TimeFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |1 |false |time_factor| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRippleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 34340bfa34a242eeb9c327b1f6bca42ca88207e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1443/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRotatingSourceShader.md | 102 ++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSRotatingSourceShader.md diff --git a/docs/Get-OBSRotatingSourceShader.md b/docs/Get-OBSRotatingSourceShader.md new file mode 100644 index 000000000..3f3c7014e --- /dev/null +++ b/docs/Get-OBSRotatingSourceShader.md @@ -0,0 +1,102 @@ +Get-OBSRotatingSourceShader +--------------------------- + +### Synopsis + +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **KeepAspectratio** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |keep_aspectratio| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Rotation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **SpinSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |spin_speed| + +#### **XCenter** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |x_center| + +#### **YCenter** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |y_center| + +#### **Zoomin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRotatingSourceShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7be1ce274bff78628fe29c4b0f90ad4ee32c9a39 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1444/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRotatoeShader.md | 180 +++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 docs/Get-OBSRotatoeShader.md diff --git a/docs/Get-OBSRotatoeShader.md b/docs/Get-OBSRotatoeShader.md new file mode 100644 index 000000000..b6a7a83b6 --- /dev/null +++ b/docs/Get-OBSRotatoeShader.md @@ -0,0 +1,180 @@ +Get-OBSRotatoeShader +-------------------- + +### Synopsis + +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AngleDegrees** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |12 |false |Angle_Degrees| + +#### **AxisX** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |9 |false |Axis_X | + +#### **AxisY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |Axis_Y | + +#### **AxisZ** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |Axis_Z | + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |14 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |13 |false |center_width_percentage| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |17 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |15 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |Rotate_Colors| + +#### **RotatePixels** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |Rotate_Pixels| + +#### **RotateTransform** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Rotate_Transform| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |18 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |8 |false |speed_percent| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRotatoeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0f1587f7c7d7b32552f6846e33b14943015d1252 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1445/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRoundedRect2Shader.md | 108 ++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSRoundedRect2Shader.md diff --git a/docs/Get-OBSRoundedRect2Shader.md b/docs/Get-OBSRoundedRect2Shader.md new file mode 100644 index 000000000..8bf0925e4 --- /dev/null +++ b/docs/Get-OBSRoundedRect2Shader.md @@ -0,0 +1,108 @@ +Get-OBSRoundedRect2Shader +------------------------- + +### Synopsis + +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |3 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FasterScan** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |faster_scan| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRect2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From eb5caf7c364ff0fb7c04686c5e74e54b066c2714 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:32 +0000 Subject: [PATCH 1446/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRoundedRectPerCornerShader.md | 120 ++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSRoundedRectPerCornerShader.md diff --git a/docs/Get-OBSRoundedRectPerCornerShader.md b/docs/Get-OBSRoundedRectPerCornerShader.md new file mode 100644 index 000000000..21053e7e1 --- /dev/null +++ b/docs/Get-OBSRoundedRectPerCornerShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedRectPerCornerShader +--------------------------------- + +### Synopsis + +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerRadiusBl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |3 |false |corner_radius_bl| + +#### **CornerRadiusBr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |corner_radius_br| + +#### **CornerRadiusTl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |corner_radius_tl| + +#### **CornerRadiusTr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |corner_radius_tr| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6c36f9df728b5d4cd2cad4e4798065f75db371ed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:33 +0000 Subject: [PATCH 1447/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRoundedRectPerSideShader.md | 120 ++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSRoundedRectPerSideShader.md diff --git a/docs/Get-OBSRoundedRectPerSideShader.md b/docs/Get-OBSRoundedRectPerSideShader.md new file mode 100644 index 000000000..c5941de0a --- /dev/null +++ b/docs/Get-OBSRoundedRectPerSideShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedRectPerSideShader +------------------------------- + +### Synopsis + +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerRadiusBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------------| +|`[int]`|false |0 |false |corner_radius_bottom| + +#### **CornerRadiusLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |1 |false |corner_radius_left| + +#### **CornerRadiusRight** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |3 |false |corner_radius_right| + +#### **CornerRadiusTop** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |2 |false |corner_radius_top| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectPerSideShader; CommonParameters=True; parameter=System.Object[]}} +``` From ec9e7b8be5e35bed3839a68a06f84ac03be2f95d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:33 +0000 Subject: [PATCH 1448/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRoundedRectShader.md | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSRoundedRectShader.md diff --git a/docs/Get-OBSRoundedRectShader.md b/docs/Get-OBSRoundedRectShader.md new file mode 100644 index 000000000..11236ac07 --- /dev/null +++ b/docs/Get-OBSRoundedRectShader.md @@ -0,0 +1,84 @@ +Get-OBSRoundedRectShader +------------------------ + +### Synopsis + +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectShader; CommonParameters=True; parameter=System.Object[]}} +``` From 89a0937bec4bee01388bc25c59a0feba8dbd23cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:33 +0000 Subject: [PATCH 1449/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRoundedStrokeGradientShader.md | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSRoundedStrokeGradientShader.md diff --git a/docs/Get-OBSRoundedStrokeGradientShader.md b/docs/Get-OBSRoundedStrokeGradientShader.md new file mode 100644 index 000000000..0fba62aff --- /dev/null +++ b/docs/Get-OBSRoundedStrokeGradientShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedStrokeGradientShader +---------------------------------- + +### Synopsis + +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColorL** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |border_colorL| + +#### **BorderColorR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |border_colorR| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CenterHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |7 |false |center_height| + +#### **CenterWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |6 |false |center_width| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |2 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RotationSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |rotation_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedStrokeGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 331bdc372a7f3a367bd3d8905168d0032e813498 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:33 +0000 Subject: [PATCH 1450/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSRoundedStrokeShader.md | 96 ++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSRoundedStrokeShader.md diff --git a/docs/Get-OBSRoundedStrokeShader.md b/docs/Get-OBSRoundedStrokeShader.md new file mode 100644 index 000000000..c1e289a07 --- /dev/null +++ b/docs/Get-OBSRoundedStrokeShader.md @@ -0,0 +1,96 @@ +Get-OBSRoundedStrokeShader +-------------------------- + +### Synopsis + +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |3 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |2 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedStrokeShader; CommonParameters=True; parameter=System.Object[]}} +``` From ee09a35c3eb948fbea80e1ac18fbc847aac6221b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:33 +0000 Subject: [PATCH 1451/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSScanLineShader.md | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSScanLineShader.md diff --git a/docs/Get-OBSScanLineShader.md b/docs/Get-OBSScanLineShader.md new file mode 100644 index 000000000..53ed79fc2 --- /dev/null +++ b/docs/Get-OBSScanLineShader.md @@ -0,0 +1,120 @@ +Get-OBSScanLineShader +--------------------- + +### Synopsis + +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Boost** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Floor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Lengthwise** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Period** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **Shift** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSScanLineShader; CommonParameters=True; parameter=System.Object[]}} +``` From c225e3bddfe60cd6595ad057dc53204f2be49bd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:34 +0000 Subject: [PATCH 1452/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSeascapeShader.md | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSSeascapeShader.md diff --git a/docs/Get-OBSSeascapeShader.md b/docs/Get-OBSSeascapeShader.md new file mode 100644 index 000000000..d68851f55 --- /dev/null +++ b/docs/Get-OBSSeascapeShader.md @@ -0,0 +1,120 @@ +Get-OBSSeascapeShader +--------------------- + +### Synopsis + +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AA** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CAMERASPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |CAMERA_SPEED| + +#### **CAMERATURNSPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |CAMERA_TURN_SPEED| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SEABASE** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |4 |false |SEA_BASE| + +#### **SEACHOPPY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |SEA_CHOPPY| + +#### **SEAFREQ** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |SEA_FREQ| + +#### **SEAHEIGHT** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |SEA_HEIGHT| + +#### **SEASPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |2 |false |SEA_SPEED| + +#### **SEAWATERCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |5 |false |SEA_WATER_COLOR| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSeascapeShader; CommonParameters=True; parameter=System.Object[]}} +``` From e1e327cbbf4f3caf7060078ab8858aae9e188471 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:34 +0000 Subject: [PATCH 1453/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSeasickShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSSeasickShader.md diff --git a/docs/Get-OBSSeasickShader.md b/docs/Get-OBSSeasickShader.md new file mode 100644 index 000000000..58298e4f7 --- /dev/null +++ b/docs/Get-OBSSeasickShader.md @@ -0,0 +1,96 @@ +Get-OBSSeasickShader +-------------------- + +### Synopsis + +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Frequency** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSeasickShader; CommonParameters=True; parameter=System.Object[]}} +``` From 691eec0c474761d1e10888fe7c5009b186e4af0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:34 +0000 Subject: [PATCH 1454/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSelectiveColorShader.md | 132 ++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSSelectiveColorShader.md diff --git a/docs/Get-OBSSelectiveColorShader.md b/docs/Get-OBSSelectiveColorShader.md new file mode 100644 index 000000000..4dbe2174d --- /dev/null +++ b/docs/Get-OBSSelectiveColorShader.md @@ -0,0 +1,132 @@ +Get-OBSSelectiveColorShader +--------------------------- + +### Synopsis + +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AcceptanceAmplifier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |4 |false |acceptance_Amplifier| + +#### **BackgroundType** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |6 |false |background_type| + +#### **CutoffBlue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |cutoff_Blue| + +#### **CutoffGreen** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |1 |false |cutoff_Green| + +#### **CutoffRed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |cutoff_Red| + +#### **CutoffYellow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |3 |false |cutoff_Yellow| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **ShowBlue** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |show_Blue| + +#### **ShowGreen** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_Green| + +#### **ShowRed** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[switch]`|false |Named |false |show_Red| + +#### **ShowYellow** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |show_Yellow| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSelectiveColorShader; CommonParameters=True; parameter=System.Object[]}} +``` From 74b62d906cda51ae40404057bbb9bb6fff5c38fd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:34 +0000 Subject: [PATCH 1455/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSShakeShader.md | 162 +++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 docs/Get-OBSShakeShader.md diff --git a/docs/Get-OBSShakeShader.md b/docs/Get-OBSShakeShader.md new file mode 100644 index 000000000..0fb789c6d --- /dev/null +++ b/docs/Get-OBSShakeShader.md @@ -0,0 +1,162 @@ +Get-OBSShakeShader +------------------ + +### Synopsis + +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |8 |false |local_time| + +#### **MaxGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |12 |false |max_growth_pixels| + +#### **MinGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |11 |false |min_growth_pixels| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |13 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **RandomScale** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |9 |false |random_scale| + +#### **RandomizeMovement** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[switch]`|false |Named |false |randomize_movement| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |10 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +#### **Worble** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSShakeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6038f236645cbe14068a2e70c50df57dc5bc69f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:34 +0000 Subject: [PATCH 1456/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSShineShader.md | 150 +++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSShineShader.md diff --git a/docs/Get-OBSShineShader.md b/docs/Get-OBSShineShader.md new file mode 100644 index 000000000..7101b420f --- /dev/null +++ b/docs/Get-OBSShineShader.md @@ -0,0 +1,150 @@ +Get-OBSShineShader +------------------ + +### Synopsis + +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **DelayPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |4 |false |delay_percent| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GradientPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |3 |false |gradient_percent| + +#### **Hide** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LTex** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |l_tex | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **OneDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |One_Direction| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **ShineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |1 |false |shine_color| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |speed_percent| + +#### **StartAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |start_adjust| + +#### **StopAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |7 |false |stop_adjust| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSShineShader; CommonParameters=True; parameter=System.Object[]}} +``` From b963f32ff784cabe7ff6fedfd9f550eb66b781bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:34 +0000 Subject: [PATCH 1457/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSimpleGradientShader.md | 114 ++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Get-OBSSimpleGradientShader.md diff --git a/docs/Get-OBSSimpleGradientShader.md b/docs/Get-OBSSimpleGradientShader.md new file mode 100644 index 000000000..c6a9b2453 --- /dev/null +++ b/docs/Get-OBSSimpleGradientShader.md @@ -0,0 +1,114 @@ +Get-OBSSimpleGradientShader +--------------------------- + +### Synopsis + +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |alpha_percentage| + +#### **AnimateLensFlair** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[switch]`|false |Named |false |Animate_Lens_Flair| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |2 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **LensFlair** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |Lens_Flair| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |speed_percentage| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSimpleGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3a77651eeeac76b4482555d12ffec471d679114c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:35 +0000 Subject: [PATCH 1458/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSimplexNoiseShader.md | 120 ++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSSimplexNoiseShader.md diff --git a/docs/Get-OBSSimplexNoiseShader.md b/docs/Get-OBSSimplexNoiseShader.md new file mode 100644 index 000000000..19853adf9 --- /dev/null +++ b/docs/Get-OBSSimplexNoiseShader.md @@ -0,0 +1,120 @@ +Get-OBSSimplexNoiseShader +------------------------- + +### Synopsis + +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Alpha_Percent| + +#### **BackColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |4 |false |Back_Color| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **ForeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |3 |false |Fore_Color| + +#### **Fractal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Resolution** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SnapPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |Snap_Percent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Speed_Percent| + +#### **UseAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |Use_Alpha_Layer| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSimplexNoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From e467d1b42936f617855a82bdff5145e26b5fe9a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:35 +0000 Subject: [PATCH 1459/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSpotlightShader.md | 108 +++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSSpotlightShader.md diff --git a/docs/Get-OBSSpotlightShader.md b/docs/Get-OBSSpotlightShader.md new file mode 100644 index 000000000..dccc93508 --- /dev/null +++ b/docs/Get-OBSSpotlightShader.md @@ -0,0 +1,108 @@ +Get-OBSSpotlightShader +---------------------- + +### Synopsis + +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **FocusPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Focus_Percent| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HorizontalOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |3 |false |Horizontal_Offset| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Speed_Percent| + +#### **SpotlightColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |2 |false |Spotlight_Color| + +#### **VerticalOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |4 |false |Vertical_Offset| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSpotlightShader; CommonParameters=True; parameter=System.Object[]}} +``` From e5bc4633aef3ec0d40714e45956ecc0e270d3c3e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:35 +0000 Subject: [PATCH 1460/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSSwirlShader.md | 108 +++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSSwirlShader.md diff --git a/docs/Get-OBSSwirlShader.md b/docs/Get-OBSSwirlShader.md new file mode 100644 index 000000000..176305882 --- /dev/null +++ b/docs/Get-OBSSwirlShader.md @@ -0,0 +1,108 @@ +Get-OBSSwirlShader +------------------ + +### Synopsis + +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Inverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSwirlShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2e11eb6d7f49273ad6e3697d0e891cd34e7c9025 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:35 +0000 Subject: [PATCH 1461/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSThermalShader.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Get-OBSThermalShader.md diff --git a/docs/Get-OBSThermalShader.md b/docs/Get-OBSThermalShader.md new file mode 100644 index 000000000..c4b01af03 --- /dev/null +++ b/docs/Get-OBSThermalShader.md @@ -0,0 +1,72 @@ +Get-OBSThermalShader +-------------------- + +### Synopsis + +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSThermalShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3ea2a872ad187ff6b6459111be234d0823de59a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1462/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSTvCrtSubpixelShader.md | 90 ++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSTvCrtSubpixelShader.md diff --git a/docs/Get-OBSTvCrtSubpixelShader.md b/docs/Get-OBSTvCrtSubpixelShader.md new file mode 100644 index 000000000..1506f80ef --- /dev/null +++ b/docs/Get-OBSTvCrtSubpixelShader.md @@ -0,0 +1,90 @@ +Get-OBSTvCrtSubpixelShader +-------------------------- + +### Synopsis + +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ChannelHeight** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **ChannelWidth** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **HGap** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **VGap** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTvCrtSubpixelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5d63a3c30e420a57d245ae5cbb7dc7e3fe8187d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1463/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSTwistShader.md | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSTwistShader.md diff --git a/docs/Get-OBSTwistShader.md b/docs/Get-OBSTwistShader.md new file mode 100644 index 000000000..910001309 --- /dev/null +++ b/docs/Get-OBSTwistShader.md @@ -0,0 +1,90 @@ +Get-OBSTwistShader +------------------ + +### Synopsis + +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Rotation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTwistShader; CommonParameters=True; parameter=System.Object[]}} +``` From f04da70b08d156d644f68abb510d7026c56047b8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1464/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSTwoPassDropShadowShader.md | 144 +++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Get-OBSTwoPassDropShadowShader.md diff --git a/docs/Get-OBSTwoPassDropShadowShader.md b/docs/Get-OBSTwoPassDropShadowShader.md new file mode 100644 index 000000000..f730883f5 --- /dev/null +++ b/docs/Get-OBSTwoPassDropShadowShader.md @@ -0,0 +1,144 @@ +Get-OBSTwoPassDropShadowShader +------------------------------ + +### Synopsis + +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **IsAlphaPremultiplied** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------------| +|`[switch]`|false |Named |false |is_alpha_premultiplied| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |10 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |11 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |8 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |9 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3bfa21ee6c2aad9431f6158a85dda54647687cbc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1465/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSVCRShader.md | 102 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSVCRShader.md diff --git a/docs/Get-OBSVCRShader.md b/docs/Get-OBSVCRShader.md new file mode 100644 index 000000000..2245dab2f --- /dev/null +++ b/docs/Get-OBSVCRShader.md @@ -0,0 +1,102 @@ +Get-OBSVCRShader +---------------- + +### Synopsis + +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Distort** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Stripe** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **VerticalFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |4 |false |vertical_factor| + +#### **VerticalHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |5 |false |vertical_height| + +#### **VerticalShift** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |0 |false |vertical_shift| + +#### **Vignet** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVCRShader; CommonParameters=True; parameter=System.Object[]}} +``` From 078992aa5fa9697e525b1327aede77236689480c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1466/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSVHSShader.md | 126 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBSVHSShader.md diff --git a/docs/Get-OBSVHSShader.md b/docs/Get-OBSVHSShader.md new file mode 100644 index 000000000..43b99ca7d --- /dev/null +++ b/docs/Get-OBSVHSShader.md @@ -0,0 +1,126 @@ +Get-OBSVHSShader +---------------- + +### Synopsis + +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorOffsetIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoiseIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoiseQuality** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **OffsetIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Range** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVHSShader; CommonParameters=True; parameter=System.Object[]}} +``` From 15d678eb60e140999fca7fea326f3d6cb32f95bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1467/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSVignettingShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSVignettingShader.md diff --git a/docs/Get-OBSVignettingShader.md b/docs/Get-OBSVignettingShader.md new file mode 100644 index 000000000..7b4284ede --- /dev/null +++ b/docs/Get-OBSVignettingShader.md @@ -0,0 +1,90 @@ +Get-OBSVignettingShader +----------------------- + +### Synopsis + +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **InnerRadius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **OuterRadius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVignettingShader; CommonParameters=True; parameter=System.Object[]}} +``` From 678523b9b65d93c11f083fceddeef9047cb7fd4b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:36 +0000 Subject: [PATCH 1468/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSVoronoiPixelationShader.md | 78 ++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Get-OBSVoronoiPixelationShader.md diff --git a/docs/Get-OBSVoronoiPixelationShader.md b/docs/Get-OBSVoronoiPixelationShader.md new file mode 100644 index 000000000..199e0267f --- /dev/null +++ b/docs/Get-OBSVoronoiPixelationShader.md @@ -0,0 +1,78 @@ +Get-OBSVoronoiPixelationShader +------------------------------ + +### Synopsis + +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alternative** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixH** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVoronoiPixelationShader; CommonParameters=True; parameter=System.Object[]}} +``` From a11b349fb3b707b2b53d855727ee1b0fa4a5bbdd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:37 +0000 Subject: [PATCH 1469/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSZigZagShader.md | 120 ++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSZigZagShader.md diff --git a/docs/Get-OBSZigZagShader.md b/docs/Get-OBSZigZagShader.md new file mode 100644 index 000000000..1ea37ec5b --- /dev/null +++ b/docs/Get-OBSZigZagShader.md @@ -0,0 +1,120 @@ +Get-OBSZigZagShader +------------------- + +### Synopsis + +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |7 |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Period** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Phase** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZigZagShader; CommonParameters=True; parameter=System.Object[]}} +``` From f5a2ec1da4f2624c9e0b49065c9c87092ed0eef1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:37 +0000 Subject: [PATCH 1470/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSZoomBlurShader.md | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSZoomBlurShader.md diff --git a/docs/Get-OBSZoomBlurShader.md b/docs/Get-OBSZoomBlurShader.md new file mode 100644 index 000000000..377933c03 --- /dev/null +++ b/docs/Get-OBSZoomBlurShader.md @@ -0,0 +1,102 @@ +Get-OBSZoomBlurShader +--------------------- + +### Synopsis + +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Magnitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Samples** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |speed_percent| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From d6cb8d168fc2a05a9177bc1622e944ee8731c6cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:37 +0000 Subject: [PATCH 1471/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Get-OBSZoomShader.md | 84 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSZoomShader.md diff --git a/docs/Get-OBSZoomShader.md b/docs/Get-OBSZoomShader.md new file mode 100644 index 000000000..e0aba75c6 --- /dev/null +++ b/docs/Get-OBSZoomShader.md @@ -0,0 +1,84 @@ +Get-OBSZoomShader +----------------- + +### Synopsis + +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2c20d3652e1d8c39d532d9dd79a88015459fd02c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1472/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAddShader.md | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSAddShader.md diff --git a/docs/Add-OBSAddShader.md b/docs/Add-OBSAddShader.md new file mode 100644 index 000000000..a5b24f4f1 --- /dev/null +++ b/docs/Add-OBSAddShader.md @@ -0,0 +1,72 @@ +Get-OBSAddShader +---------------- + +### Synopsis + +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OtherImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |other_image| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAddShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8e2b54a65727adefc7267b1b6eb0dca4e8d5930e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1473/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAlphaBorderShader.md | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSAlphaBorderShader.md diff --git a/docs/Add-OBSAlphaBorderShader.md b/docs/Add-OBSAlphaBorderShader.md new file mode 100644 index 000000000..eb0229742 --- /dev/null +++ b/docs/Add-OBSAlphaBorderShader.md @@ -0,0 +1,84 @@ +Get-OBSAlphaBorderShader +------------------------ + +### Synopsis + +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |2 |false |alpha_cut_off| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |0 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAlphaBorderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 019cc7fa2cf2976eb85d59f3c63833ab258cc447 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1474/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAlphaGamingBentCameraShader.md | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSAlphaGamingBentCameraShader.md diff --git a/docs/Add-OBSAlphaGamingBentCameraShader.md b/docs/Add-OBSAlphaGamingBentCameraShader.md new file mode 100644 index 000000000..8eae8d867 --- /dev/null +++ b/docs/Add-OBSAlphaGamingBentCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSAlphaGamingBentCameraShader +---------------------------------- + +### Synopsis + +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **LeftFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |left_flip_shadow| + +#### **LeftFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |3 |false |left_flip_width| + +#### **LeftSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |2 |false |left_side_shadow| + +#### **LeftSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |left_side_size| + +#### **LeftSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |left_side_width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RightFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |right_flip_shadow| + +#### **RightFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |8 |false |right_flip_width| + +#### **RightSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |right_side_shadow| + +#### **RightSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |6 |false |right_side_size| + +#### **RightSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |right_side_width| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAlphaGamingBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 512e5e23fb0af731e0e7c345d4382ccaf94b4620 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1475/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAnimatedPathShader.md | 126 ++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSAnimatedPathShader.md diff --git a/docs/Add-OBSAnimatedPathShader.md b/docs/Add-OBSAnimatedPathShader.md new file mode 100644 index 000000000..5f440f970 --- /dev/null +++ b/docs/Add-OBSAnimatedPathShader.md @@ -0,0 +1,126 @@ +Get-OBSAnimatedPathShader +------------------------- + +### Synopsis + +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PathMap** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |8 |false |path_map| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |7 |false |speed_percent| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAnimatedPathShader; CommonParameters=True; parameter=System.Object[]}} +``` From c9c43d93d52770a2c38d006ee21f7af78388469e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1476/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAnimatedTextureShader.md | 204 +++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/Add-OBSAnimatedTextureShader.md diff --git a/docs/Add-OBSAnimatedTextureShader.md b/docs/Add-OBSAnimatedTextureShader.md new file mode 100644 index 000000000..a957f339d --- /dev/null +++ b/docs/Add-OBSAnimatedTextureShader.md @@ -0,0 +1,204 @@ +Get-OBSAnimatedTextureShader +---------------------------- + +### Synopsis + +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alpha** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **AnimationImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |9 |false |Animation_Image| + +#### **Bounce** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterAnimation** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |center_animation| + +#### **ColorizationImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[string]`|false |10 |false |Colorization_Image| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |19 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PolarAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |11 |false |polar_angle| + +#### **PolarAnimation** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |polar_animation| + +#### **PolarHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |12 |false |polar_height| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |20 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| + +#### **SpeedHorizontalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------------| +|`[float]`|false |13 |false |speed_horizontal_percent| + +#### **SpeedVerticalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |14 |false |speed_vertical_percent| + +#### **TintSpeedHorizontalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |15 |false |tint_speed_horizontal_percent| + +#### **TintSpeedVerticalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |16 |false |tint_speed_vertical_percent| + +#### **UseAnimationImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------------| +|`[switch]`|false |Named |false |Use_Animation_Image_Color| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAnimatedTextureShader; CommonParameters=True; parameter=System.Object[]}} +``` From 93d69f6b549fa79f197c804ba69098903bb67930 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1477/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAsciiShader.md | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSAsciiShader.md diff --git a/docs/Add-OBSAsciiShader.md b/docs/Add-OBSAsciiShader.md new file mode 100644 index 000000000..547c8783d --- /dev/null +++ b/docs/Add-OBSAsciiShader.md @@ -0,0 +1,96 @@ +Get-OBSAsciiShader +------------------ + +### Synopsis + +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BaseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |1 |false |base_color| + +#### **CharacterSet** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |character_set| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Monochrome** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Note** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAsciiShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9694ad51f1c47bc8c0b59ca4338724d0abad78fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1478/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSAspectRatioShader.md | 126 +++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSAspectRatioShader.md diff --git a/docs/Add-OBSAspectRatioShader.md b/docs/Add-OBSAspectRatioShader.md new file mode 100644 index 000000000..cf836393d --- /dev/null +++ b/docs/Add-OBSAspectRatioShader.md @@ -0,0 +1,126 @@ +Get-OBSAspectRatioShader +------------------------ + +### Synopsis + +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAspectRatioShader; CommonParameters=True; parameter=System.Object[]}} +``` From 970a2e84f11cbd4d5808ff9341ad35899d59943f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:44 +0000 Subject: [PATCH 1479/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBackgroundRemovalShader.md | 156 +++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 docs/Add-OBSBackgroundRemovalShader.md diff --git a/docs/Add-OBSBackgroundRemovalShader.md b/docs/Add-OBSBackgroundRemovalShader.md new file mode 100644 index 000000000..65b1fae79 --- /dev/null +++ b/docs/Add-OBSBackgroundRemovalShader.md @@ -0,0 +1,156 @@ +Get-OBSBackgroundRemovalShader +------------------------------ + +### Synopsis + +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **Convert601to709** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Convert_601to709| + +#### **Convert709to601** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Convert_709to601| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **Target** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBackgroundRemovalShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3d18bbd5db2ef4162b43a5065781ecd558230eb3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1480/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBlendOpacityShader.md | 120 ++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSBlendOpacityShader.md diff --git a/docs/Add-OBSBlendOpacityShader.md b/docs/Add-OBSBlendOpacityShader.md new file mode 100644 index 000000000..be37ba2cb --- /dev/null +++ b/docs/Add-OBSBlendOpacityShader.md @@ -0,0 +1,120 @@ +Get-OBSBlendOpacityShader +------------------------- + +### Synopsis + +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **OpacityEndPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------------| +|`[float]`|false |2 |false |Opacity_End_Percent| + +#### **OpacityStartPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |1 |false |Opacity_Start_Percent| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |Rotation_Offset| + +#### **Rotational** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Spread** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBlendOpacityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6b7b9c5d920abacf9282195119de034d02cf92be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1481/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBlinkShader.md | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSBlinkShader.md diff --git a/docs/Add-OBSBlinkShader.md b/docs/Add-OBSBlinkShader.md new file mode 100644 index 000000000..27529a6b5 --- /dev/null +++ b/docs/Add-OBSBlinkShader.md @@ -0,0 +1,72 @@ +Get-OBSBlinkShader +------------------ + +### Synopsis + +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBlinkShader; CommonParameters=True; parameter=System.Object[]}} +``` From e74213a6a652b10cc563af5cb999e7b086b3e9d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1482/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBloomShader.md | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSBloomShader.md diff --git a/docs/Add-OBSBloomShader.md b/docs/Add-OBSBloomShader.md new file mode 100644 index 000000000..0ea848a99 --- /dev/null +++ b/docs/Add-OBSBloomShader.md @@ -0,0 +1,90 @@ +Get-OBSBloomShader +------------------ + +### Synopsis + +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBloomShader; CommonParameters=True; parameter=System.Object[]}} +``` From 058027973631f2a23c107a2029e46f23623058b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1483/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBorderShader.md | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSBorderShader.md diff --git a/docs/Add-OBSBorderShader.md b/docs/Add-OBSBorderShader.md new file mode 100644 index 000000000..189107e70 --- /dev/null +++ b/docs/Add-OBSBorderShader.md @@ -0,0 +1,72 @@ +Get-OBSBorderShader +------------------- + +### Synopsis + +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBorderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 644e5f4ef2a6d19b270ce1b8a97207831bb0f64a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1484/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBoxBlurShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSBoxBlurShader.md diff --git a/docs/Add-OBSBoxBlurShader.md b/docs/Add-OBSBoxBlurShader.md new file mode 100644 index 000000000..c0e6cfcf2 --- /dev/null +++ b/docs/Add-OBSBoxBlurShader.md @@ -0,0 +1,96 @@ +Get-OBSBoxBlurShader +-------------------- + +### Synopsis + +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |2 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBoxBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From d67ee4330880a198cd3b7b66102411b07f8d9010 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1485/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBulgePinchShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSBulgePinchShader.md diff --git a/docs/Add-OBSBulgePinchShader.md b/docs/Add-OBSBulgePinchShader.md new file mode 100644 index 000000000..9b256b68a --- /dev/null +++ b/docs/Add-OBSBulgePinchShader.md @@ -0,0 +1,102 @@ +Get-OBSBulgePinchShader +----------------------- + +### Synopsis + +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Magnitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBulgePinchShader; CommonParameters=True; parameter=System.Object[]}} +``` From 053819fbe443ad65e5f46d109f8126da745e14bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1486/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSBurnShader.md | 132 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSBurnShader.md diff --git a/docs/Add-OBSBurnShader.md b/docs/Add-OBSBurnShader.md new file mode 100644 index 000000000..960ca8967 --- /dev/null +++ b/docs/Add-OBSBurnShader.md @@ -0,0 +1,132 @@ +Get-OBSBurnShader +----------------- + +### Synopsis + +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animated** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ApplySmoke** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |Apply_Smoke| + +#### **ApplyToChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Apply_to_Channel| + +#### **BurnGradient** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |0 |false |Burn_Gradient| + +#### **DissolveValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |3 |false |Dissolve_Value| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **GradientAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |Gradient_Adjust| + +#### **Iterations** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SmokeHorizonalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |4 |false |Smoke_Horizonal_Speed| + +#### **SmokeVerticalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |5 |false |Smoke_Vertical_Speed| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBurnShader; CommonParameters=True; parameter=System.Object[]}} +``` From 914adf1965c768c016a358305d25108fef9be330 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1487/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCartoonShader.md | 138 +++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Add-OBSCartoonShader.md diff --git a/docs/Add-OBSCartoonShader.md b/docs/Add-OBSCartoonShader.md new file mode 100644 index 000000000..d2ea4374d --- /dev/null +++ b/docs/Add-OBSCartoonShader.md @@ -0,0 +1,138 @@ +Get-OBSCartoonShader +-------------------- + +### Synopsis + +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **HueSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |9 |false |hue_steps| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ValueSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |10 |false |value_steps| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCartoonShader; CommonParameters=True; parameter=System.Object[]}} +``` From 50607ad628ec614b15de6cf3259660b268f28b00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1488/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCellShadedShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSCellShadedShader.md diff --git a/docs/Add-OBSCellShadedShader.md b/docs/Add-OBSCellShadedShader.md new file mode 100644 index 000000000..3f39b14ec --- /dev/null +++ b/docs/Add-OBSCellShadedShader.md @@ -0,0 +1,90 @@ +Get-OBSCellShadedShader +----------------------- + +### Synopsis + +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCellShadedShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9c2e6318be2f1f80d0652458e2803cd629e7b48e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1489/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSChromaticAberrationShader.md | 114 +++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Add-OBSChromaticAberrationShader.md diff --git a/docs/Add-OBSChromaticAberrationShader.md b/docs/Add-OBSChromaticAberrationShader.md new file mode 100644 index 000000000..fb81e3460 --- /dev/null +++ b/docs/Add-OBSChromaticAberrationShader.md @@ -0,0 +1,114 @@ +Get-OBSChromaticAberrationShader +-------------------------------- + +### Synopsis + +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DistortBarrel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |distort_barrel| + +#### **DistortRadial** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |distort_radial| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Gamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumIter** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------| +|`[int]`|false |2 |false |num_iter| + +#### **OffsetSpectrumYcgco** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------------| +|`[switch]`|false |Named |false |offset_spectrum_ycgco| + +#### **OffsetSpectrumYuv** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |offset_spectrum_yuv| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **UseRandom** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |use_random| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSChromaticAberrationShader; CommonParameters=True; parameter=System.Object[]}} +``` From e38325a2dfcff5cb3ddd57dfb70074bde992c043 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1490/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSChromaUVDistortionShader.md | 84 +++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSChromaUVDistortionShader.md diff --git a/docs/Add-OBSChromaUVDistortionShader.md b/docs/Add-OBSChromaUVDistortionShader.md new file mode 100644 index 000000000..bf55ffa54 --- /dev/null +++ b/docs/Add-OBSChromaUVDistortionShader.md @@ -0,0 +1,84 @@ +Get-OBSChromaUVDistortionShader +------------------------------- + +### Synopsis + +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Chroma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Distortion** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSChromaUVDistortionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9089367cc3244a0e03542f1fa716d92512b9747d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:45 +0000 Subject: [PATCH 1491/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCircleMaskFilterShader.md | 102 ++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSCircleMaskFilterShader.md diff --git a/docs/Add-OBSCircleMaskFilterShader.md b/docs/Add-OBSCircleMaskFilterShader.md new file mode 100644 index 000000000..f6e2308c9 --- /dev/null +++ b/docs/Add-OBSCircleMaskFilterShader.md @@ -0,0 +1,102 @@ +Get-OBSCircleMaskFilterShader +----------------------------- + +### Synopsis + +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Antialiasing** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CircleOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |Circle_Offset_X| + +#### **CircleOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |2 |false |Circle_Offset_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **SourceOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |3 |false |Source_Offset_X| + +#### **SourceOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |4 |false |Source_Offset_Y| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCircleMaskFilterShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9dc00c627076aca1f30e73b43c1652aea6d22944 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1492/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSColorDepthShader.md | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSColorDepthShader.md diff --git a/docs/Add-OBSColorDepthShader.md b/docs/Add-OBSColorDepthShader.md new file mode 100644 index 000000000..ce70ce642 --- /dev/null +++ b/docs/Add-OBSColorDepthShader.md @@ -0,0 +1,78 @@ +Get-OBSColorDepthShader +----------------------- + +### Synopsis + +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ColorDepth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSColorDepthShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5fea4584122e5a3e4a9b7d3a41bfcedc40e2ff98 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1493/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSColorGradeFilterShader.md | 96 +++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSColorGradeFilterShader.md diff --git a/docs/Add-OBSColorGradeFilterShader.md b/docs/Add-OBSColorGradeFilterShader.md new file mode 100644 index 000000000..67a9e2233 --- /dev/null +++ b/docs/Add-OBSColorGradeFilterShader.md @@ -0,0 +1,96 @@ +Get-OBSColorGradeFilterShader +----------------------------- + +### Synopsis + +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Lut** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LutAmountPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |2 |false |lut_amount_percent| + +#### **LutOffsetPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |4 |false |lut_offset_percent| + +#### **LutScalePercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |lut_scale_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSColorGradeFilterShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3b1124f1bfdbc3c256a591074ad386d7c50f3f60 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1494/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCornerPinShader.md | 120 +++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSCornerPinShader.md diff --git a/docs/Add-OBSCornerPinShader.md b/docs/Add-OBSCornerPinShader.md new file mode 100644 index 000000000..59f1ca217 --- /dev/null +++ b/docs/Add-OBSCornerPinShader.md @@ -0,0 +1,120 @@ +Get-OBSCornerPinShader +---------------------- + +### Synopsis + +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AntialiasEdges** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |Antialias_Edges| + +#### **BottomLeftX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |4 |false |Bottom_Left_X| + +#### **BottomLeftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Bottom_Left_Y| + +#### **BottomRightX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |6 |false |Bottom_Right_X| + +#### **BottomRightY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |7 |false |Bottom_Right_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **TopLeftX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |Top_Left_X| + +#### **TopLeftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |Top_Left_Y| + +#### **TopRightX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Top_Right_X| + +#### **TopRightY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |Top_Right_Y| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCornerPinShader; CommonParameters=True; parameter=System.Object[]}} +``` From d3d9f9fe6b63c4af3bbce107d414de7e47b073b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1495/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCrtCurvatureShader.md | 84 +++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSCrtCurvatureShader.md diff --git a/docs/Add-OBSCrtCurvatureShader.md b/docs/Add-OBSCrtCurvatureShader.md new file mode 100644 index 000000000..a52832279 --- /dev/null +++ b/docs/Add-OBSCrtCurvatureShader.md @@ -0,0 +1,84 @@ +Get-OBSCrtCurvatureShader +------------------------- + +### Synopsis + +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Border** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Feathering** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCrtCurvatureShader; CommonParameters=True; parameter=System.Object[]}} +``` From 32a18cad6c0e2dda48659e9e4f22bb2f361b3338 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1496/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCutRectPerCornerShader.md | 120 ++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSCutRectPerCornerShader.md diff --git a/docs/Add-OBSCutRectPerCornerShader.md b/docs/Add-OBSCutRectPerCornerShader.md new file mode 100644 index 000000000..6ab6819b2 --- /dev/null +++ b/docs/Add-OBSCutRectPerCornerShader.md @@ -0,0 +1,120 @@ +Get-OBSCutRectPerCornerShader +----------------------------- + +### Synopsis + +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerBl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |3 |false |corner_bl| + +#### **CornerBr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |2 |false |corner_br| + +#### **CornerTl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |0 |false |corner_tl| + +#### **CornerTr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |1 |false |corner_tr| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCutRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +``` From d553d8baba104a69a0065af3a219b659cbd1dd5a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1497/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSCylinderShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSCylinderShader.md diff --git a/docs/Add-OBSCylinderShader.md b/docs/Add-OBSCylinderShader.md new file mode 100644 index 000000000..650553fc5 --- /dev/null +++ b/docs/Add-OBSCylinderShader.md @@ -0,0 +1,78 @@ +Get-OBSCylinderShader +--------------------- + +### Synopsis + +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundCut** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |background_cut| + +#### **CylinderFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |cylinder_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCylinderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 75137e8382f4c4bec76db9e1824ec403b48c1f0a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1498/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDarkenShader.md | 84 +++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSDarkenShader.md diff --git a/docs/Add-OBSDarkenShader.md b/docs/Add-OBSDarkenShader.md new file mode 100644 index 000000000..52acb2ee0 --- /dev/null +++ b/docs/Add-OBSDarkenShader.md @@ -0,0 +1,84 @@ +Get-OBSDarkenShader +------------------- + +### Synopsis + +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FillPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |1 |false |Fill_Percentage| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **OpacityPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |0 |false |Opacity_Percentage| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDarkenShader; CommonParameters=True; parameter=System.Object[]}} +``` From 439c066695cd1ad79f11389c954b60693f172fb3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1499/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDeadPixelFixerShader.md | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSDeadPixelFixerShader.md diff --git a/docs/Add-OBSDeadPixelFixerShader.md b/docs/Add-OBSDeadPixelFixerShader.md new file mode 100644 index 000000000..240cf09ca --- /dev/null +++ b/docs/Add-OBSDeadPixelFixerShader.md @@ -0,0 +1,78 @@ +Get-OBSDeadPixelFixerShader +--------------------------- + +### Synopsis + +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DeadPixelX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |0 |false |Dead_Pixel_X| + +#### **DeadPixelY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Dead_Pixel_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDeadPixelFixerShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6ef762a725852171b10ce4c58cd98a1bef90bc5b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1500/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDivideRotateShader.md | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSDivideRotateShader.md diff --git a/docs/Add-OBSDivideRotateShader.md b/docs/Add-OBSDivideRotateShader.md new file mode 100644 index 000000000..72daf0664 --- /dev/null +++ b/docs/Add-OBSDivideRotateShader.md @@ -0,0 +1,96 @@ +Get-OBSDivideRotateShader +------------------------- + +### Synopsis + +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |alpha_percentage| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **IChannel0** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |speed_percentage| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDivideRotateShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7dfc4859e19b13448a7be9394144a3e316613e07 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:46 +0000 Subject: [PATCH 1501/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDoodleShader.md | 132 ++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSDoodleShader.md diff --git a/docs/Add-OBSDoodleShader.md b/docs/Add-OBSDoodleShader.md new file mode 100644 index 000000000..47f7d4e54 --- /dev/null +++ b/docs/Add-OBSDoodleShader.md @@ -0,0 +1,132 @@ +Get-OBSDoodleShader +------------------- + +### Synopsis + +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DoodleScalePercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |8 |false |Doodle_Scale_Percent| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SnapPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |9 |false |Snap_Percent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDoodleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 62ec24837461072c43dc37abd7716b474b4a4f8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1502/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDrawingsShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSDrawingsShader.md diff --git a/docs/Add-OBSDrawingsShader.md b/docs/Add-OBSDrawingsShader.md new file mode 100644 index 000000000..07b0d863c --- /dev/null +++ b/docs/Add-OBSDrawingsShader.md @@ -0,0 +1,78 @@ +Get-OBSDrawingsShader +--------------------- + +### Synopsis + +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AngleNum** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SampNum** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDrawingsShader; CommonParameters=True; parameter=System.Object[]}} +``` From 81edf8d61507b6a113489b41618a110d2ce34ecb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1503/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDropShadowShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSDropShadowShader.md diff --git a/docs/Add-OBSDropShadowShader.md b/docs/Add-OBSDropShadowShader.md new file mode 100644 index 000000000..0822f6f2a --- /dev/null +++ b/docs/Add-OBSDropShadowShader.md @@ -0,0 +1,102 @@ +Get-OBSDropShadowShader +----------------------- + +### Synopsis + +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **IsAlphaPremultiplied** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------------| +|`[switch]`|false |Named |false |is_alpha_premultiplied| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |4 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 05d13f0f44723f1fcf17bf3674f44a0a276a45aa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1504/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDrunkShader.md | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSDrunkShader.md diff --git a/docs/Add-OBSDrunkShader.md b/docs/Add-OBSDrunkShader.md new file mode 100644 index 000000000..c4f47f808 --- /dev/null +++ b/docs/Add-OBSDrunkShader.md @@ -0,0 +1,132 @@ +Get-OBSDrunkShader +------------------ + +### Synopsis + +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **Blur** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |0 |false |color_matrix| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |6 |false |glow_color| + +#### **GlowPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |glow_percent| + +#### **MaxBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |4 |false |max_brightness| + +#### **MinBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |min_brightness| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |5 |false |pulse_speed_percent| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDrunkShader; CommonParameters=True; parameter=System.Object[]}} +``` From 23458780f1e3b414f4d0d27f4dc6f6444f8b501e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1505/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSDynamicMaskShader.md | 216 +++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 docs/Add-OBSDynamicMaskShader.md diff --git a/docs/Add-OBSDynamicMaskShader.md b/docs/Add-OBSDynamicMaskShader.md new file mode 100644 index 000000000..d3c8ee96c --- /dev/null +++ b/docs/Add-OBSDynamicMaskShader.md @@ -0,0 +1,216 @@ +Get-OBSDynamicMaskShader +------------------------ + +### Synopsis + +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |23 |false |alpha_alpha_input_value| + +#### **AlphaBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |19 |false |alpha_base_value| + +#### **AlphaBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |22 |false |alpha_blue_input_value| + +#### **AlphaGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |21 |false |alpha_green_input_value| + +#### **AlphaMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |24 |false |alpha_multiplier| + +#### **AlphaRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |20 |false |alpha_red_input_value| + +#### **BlueAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |17 |false |blue_alpha_input_value| + +#### **BlueBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |blue_base_value| + +#### **BlueBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |16 |false |blue_blue_input_value| + +#### **BlueGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |15 |false |blue_green_input_value| + +#### **BlueMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |18 |false |blue_multiplier| + +#### **BlueRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |14 |false |blue_red_input_value| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |26 |true (ByPropertyName)| + +#### **GreenAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |11 |false |green_alpha_input_value| + +#### **GreenBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |green_base_value| + +#### **GreenBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |10 |false |green_blue_input_value| + +#### **GreenGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |9 |false |green_green_input_value| + +#### **GreenMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |12 |false |green_multiplier| + +#### **GreenRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |8 |false |green_red_input_value| + +#### **InputSource** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |0 |false |input_source| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |5 |false |red_alpha_input_value| + +#### **RedBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |red_base_value| + +#### **RedBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |4 |false |red_blue_input_value| + +#### **RedGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |3 |false |red_green_input_value| + +#### **RedMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |6 |false |red_multiplier| + +#### **RedRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------------| +|`[float]`|false |2 |false |red_red_input_value| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |27 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |25 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDynamicMaskShader; CommonParameters=True; parameter=System.Object[]}} +``` From 786d7ff84e6d68adf41d64d2c2f326f558cd8b98 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1506/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSEdgeDetectionShader.md | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSEdgeDetectionShader.md diff --git a/docs/Add-OBSEdgeDetectionShader.md b/docs/Add-OBSEdgeDetectionShader.md new file mode 100644 index 000000000..1abf3e579 --- /dev/null +++ b/docs/Add-OBSEdgeDetectionShader.md @@ -0,0 +1,132 @@ +Get-OBSEdgeDetectionShader +-------------------------- + +### Synopsis + +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |alpha_channel| + +#### **AlphaInvert** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |alpha_invert| + +#### **AlphaLevel** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |alpha_level| + +#### **EdgeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |1 |false |edge_color| + +#### **EdgeMultiply** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |edge_multiply| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **InvertEdge** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |invert_edge| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NonEdgeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[string]`|false |2 |false |non_edge_color| + +#### **NonEdgeMultiply** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |non_edge_multiply| + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |4 |false |rand_f | + +#### **Sensitivity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEdgeDetectionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2e35113239af35d6dbcadc3cd35778fc0f8390fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1507/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSEmbersShader.md | 198 ++++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 docs/Add-OBSEmbersShader.md diff --git a/docs/Add-OBSEmbersShader.md b/docs/Add-OBSEmbersShader.md new file mode 100644 index 000000000..9373e6d97 --- /dev/null +++ b/docs/Add-OBSEmbersShader.md @@ -0,0 +1,198 @@ +Get-OBSEmbersShader +------------------- + +### Synopsis + +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |20 |false |Alpha_Percentage| + +#### **AnimationSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |Animation_Speed| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |22 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LayersCount** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |17 |false |Layers_Count| + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |18 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |19 |false | + +#### **MovementDirectionHorizontal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |14 |false |Movement_Direction_Horizontal| + +#### **MovementDirectionVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |15 |false |Movement_Direction_Vertical| + +#### **MovementSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------------| +|`[int]`|false |16 |false |Movement_Speed_Percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |12 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |23 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbersShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8269f46f2e01b972de678d0534ce97957a387c69 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1508/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSEmbossColorShader.md | 102 +++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSEmbossColorShader.md diff --git a/docs/Add-OBSEmbossColorShader.md b/docs/Add-OBSEmbossColorShader.md new file mode 100644 index 000000000..a93dc14dd --- /dev/null +++ b/docs/Add-OBSEmbossColorShader.md @@ -0,0 +1,102 @@ +Get-OBSEmbossColorShader +------------------------ + +### Synopsis + +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **UpDownPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |3 |false |Up_Down_Percent| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbossColorShader; CommonParameters=True; parameter=System.Object[]}} +``` From ebcfe64550599c14409f760c724f754c49ce4800 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1509/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSEmbossShader.md | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSEmbossShader.md diff --git a/docs/Add-OBSEmbossShader.md b/docs/Add-OBSEmbossShader.md new file mode 100644 index 000000000..279cc5f03 --- /dev/null +++ b/docs/Add-OBSEmbossShader.md @@ -0,0 +1,78 @@ +Get-OBSEmbossShader +------------------- + +### Synopsis + +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |Use_Color| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbossShader; CommonParameters=True; parameter=System.Object[]}} +``` From 83cf85ccb6d34ac372ae4d1734c36ca3bc663e87 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1510/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSExeldroBentCameraShader.md | 126 +++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSExeldroBentCameraShader.md diff --git a/docs/Add-OBSExeldroBentCameraShader.md b/docs/Add-OBSExeldroBentCameraShader.md new file mode 100644 index 000000000..b769bedf2 --- /dev/null +++ b/docs/Add-OBSExeldroBentCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSExeldroBentCameraShader +------------------------------ + +### Synopsis + +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **LeftFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |left_flip_shadow| + +#### **LeftFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |3 |false |left_flip_width| + +#### **LeftSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |2 |false |left_side_shadow| + +#### **LeftSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |left_side_size| + +#### **LeftSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |left_side_width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RightFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |right_flip_shadow| + +#### **RightFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |8 |false |right_flip_width| + +#### **RightSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |right_side_shadow| + +#### **RightSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |6 |false |right_side_size| + +#### **RightSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |right_side_width| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSExeldroBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9e49d76a68edef2172f0e26badc57c48632c8711 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:47 +0000 Subject: [PATCH 1511/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFadeTransitionShader.md | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSFadeTransitionShader.md diff --git a/docs/Add-OBSFadeTransitionShader.md b/docs/Add-OBSFadeTransitionShader.md new file mode 100644 index 000000000..c8edec111 --- /dev/null +++ b/docs/Add-OBSFadeTransitionShader.md @@ -0,0 +1,90 @@ +Get-OBSFadeTransitionShader +--------------------------- + +### Synopsis + +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFadeTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 362ffd56c0c674eca059894238cf99d67145ec38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1512/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFillColorGradientShader.md | 96 ++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSFillColorGradientShader.md diff --git a/docs/Add-OBSFillColorGradientShader.md b/docs/Add-OBSFillColorGradientShader.md new file mode 100644 index 000000000..7dbf28078 --- /dev/null +++ b/docs/Add-OBSFillColorGradientShader.md @@ -0,0 +1,96 @@ +Get-OBSFillColorGradientShader +------------------------------ + +### Synopsis + +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |4 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **GradientOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |Gradient_Offset| + +#### **GradientWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |Gradient_Width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From d6b7322153168bade9879129e0976fe9d17a1958 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1513/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFillColorLinearShader.md | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSFillColorLinearShader.md diff --git a/docs/Add-OBSFillColorLinearShader.md b/docs/Add-OBSFillColorLinearShader.md new file mode 100644 index 000000000..545919b83 --- /dev/null +++ b/docs/Add-OBSFillColorLinearShader.md @@ -0,0 +1,84 @@ +Get-OBSFillColorLinearShader +---------------------------- + +### Synopsis + +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |2 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |1 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorLinearShader; CommonParameters=True; parameter=System.Object[]}} +``` From bfdc3da3f8305cec6f3db83eaeaad6d63d86fa62 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1514/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFillColorRadialDegreesShader.md | 102 ++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSFillColorRadialDegreesShader.md diff --git a/docs/Add-OBSFillColorRadialDegreesShader.md b/docs/Add-OBSFillColorRadialDegreesShader.md new file mode 100644 index 000000000..8c378b101 --- /dev/null +++ b/docs/Add-OBSFillColorRadialDegreesShader.md @@ -0,0 +1,102 @@ +Get-OBSFillColorRadialDegreesShader +----------------------------------- + +### Synopsis + +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |5 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |0 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Start_Angle| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorRadialDegreesShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0aefdffd77e74ceae29c203308f4df5662d4a5f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1515/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- .../Add-OBSFillColorRadialPercentageShader.md | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSFillColorRadialPercentageShader.md diff --git a/docs/Add-OBSFillColorRadialPercentageShader.md b/docs/Add-OBSFillColorRadialPercentageShader.md new file mode 100644 index 000000000..48a183b10 --- /dev/null +++ b/docs/Add-OBSFillColorRadialPercentageShader.md @@ -0,0 +1,102 @@ +Get-OBSFillColorRadialPercentageShader +-------------------------------------- + +### Synopsis + +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |5 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |0 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Start_Angle| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorRadialPercentageShader; CommonParameters=True; parameter=System.Object[]}} +``` From bbf2f71fea1d1e53648ce4fd45750654641393ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1516/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFilterTemplateShader.md | 144 ++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Add-OBSFilterTemplateShader.md diff --git a/docs/Add-OBSFilterTemplateShader.md b/docs/Add-OBSFilterTemplateShader.md new file mode 100644 index 000000000..751c318d6 --- /dev/null +++ b/docs/Add-OBSFilterTemplateShader.md @@ -0,0 +1,144 @@ +Get-OBSFilterTemplateShader +--------------------------- + +### Synopsis + +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |12 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFilterTemplateShader; CommonParameters=True; parameter=System.Object[]}} +``` From c5982e43f9fbb1a1fbb82918afe44f603a525cf7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1517/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFire3Shader.md | 234 +++++++++++++++++++++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 docs/Add-OBSFire3Shader.md diff --git a/docs/Add-OBSFire3Shader.md b/docs/Add-OBSFire3Shader.md new file mode 100644 index 000000000..e959aa16e --- /dev/null +++ b/docs/Add-OBSFire3Shader.md @@ -0,0 +1,234 @@ +Get-OBSFire3Shader +------------------ + +### Synopsis + +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |14 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |18 |false |Color_To_Replace| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |24 |true (ByPropertyName)| + +#### **FlameModifier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |21 |false |Flame_Modifier| + +#### **FlameSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |19 |false |Flame_Size| + +#### **FlameTongueSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |22 |false |Flame_Tongue_Size| + +#### **FullWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |Full_Width| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |16 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **MovementDirectionHorizontal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |12 |false |Movement_Direction_Horizontal| + +#### **MovementDirectionVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |13 |false |Movement_Direction_Vertical| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |25 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |23 |true (ByPropertyName)|SceneItemName| + +#### **SparkGridHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |20 |false |Spark_Grid_Height| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |15 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFire3Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 0e4d3773785cace883964a7f114be7c696bf6450 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1518/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFireShader.md | 138 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Add-OBSFireShader.md diff --git a/docs/Add-OBSFireShader.md b/docs/Add-OBSFireShader.md new file mode 100644 index 000000000..3118685d1 --- /dev/null +++ b/docs/Add-OBSFireShader.md @@ -0,0 +1,138 @@ +Get-OBSFireShader +----------------- + +### Synopsis + +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **FireType** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |3 |false |Fire_Type| + +#### **FlameSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------| +|`[int]`|false |2 |false |Flame_Size| + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireShader; CommonParameters=True; parameter=System.Object[]}} +``` From e6037c2db1f3a7f152de7b7ee4aeec9752f79423 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1519/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFireworksShader.md | 84 ++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSFireworksShader.md diff --git a/docs/Add-OBSFireworksShader.md b/docs/Add-OBSFireworksShader.md new file mode 100644 index 000000000..3df2dcb2c --- /dev/null +++ b/docs/Add-OBSFireworksShader.md @@ -0,0 +1,84 @@ +Get-OBSFireworksShader +---------------------- + +### Synopsis + +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **ShowFlash** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_flash| + +#### **ShowStars** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_stars| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseTransparancy** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |use_transparancy| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireworksShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5d4009fe5937d405469dabb10e143cd1bf0f2912 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1520/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFisheyeShader.md | 84 ++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSFisheyeShader.md diff --git a/docs/Add-OBSFisheyeShader.md b/docs/Add-OBSFisheyeShader.md new file mode 100644 index 000000000..7edab9344 --- /dev/null +++ b/docs/Add-OBSFisheyeShader.md @@ -0,0 +1,84 @@ +Get-OBSFisheyeShader +-------------------- + +### Synopsis + +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFisheyeShader; CommonParameters=True; parameter=System.Object[]}} +``` From e4cbfd17c8cdf5aefcbb58a13cfa3a95b19432f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1521/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFisheyeXyShader.md | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSFisheyeXyShader.md diff --git a/docs/Add-OBSFisheyeXyShader.md b/docs/Add-OBSFisheyeXyShader.md new file mode 100644 index 000000000..7a568dcbd --- /dev/null +++ b/docs/Add-OBSFisheyeXyShader.md @@ -0,0 +1,90 @@ +Get-OBSFisheyeXyShader +---------------------- + +### Synopsis + +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PowerX** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |power_x| + +#### **PowerY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |3 |false |power_y| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFisheyeXyShader; CommonParameters=True; parameter=System.Object[]}} +``` From b23c95f9b2b03e75ca663f72b22ab76e55b57678 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:48 +0000 Subject: [PATCH 1522/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSFrostedGlassShader.md | 114 ++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Add-OBSFrostedGlassShader.md diff --git a/docs/Add-OBSFrostedGlassShader.md b/docs/Add-OBSFrostedGlassShader.md new file mode 100644 index 000000000..a6b5989d1 --- /dev/null +++ b/docs/Add-OBSFrostedGlassShader.md @@ -0,0 +1,114 @@ +Get-OBSFrostedGlassShader +------------------------- + +### Synopsis + +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Alpha_Percent| + +#### **Amount** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |4 |false |Border_Color| + +#### **BorderOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |3 |false |Border_Offset| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **HorizontalBorder** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |Horizontal_Border| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFrostedGlassShader; CommonParameters=True; parameter=System.Object[]}} +``` From eabba3d0bdb0c6d835e6943e22e569149903e7a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1523/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGammaCorrectionShader.md | 90 ++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSGammaCorrectionShader.md diff --git a/docs/Add-OBSGammaCorrectionShader.md b/docs/Add-OBSGammaCorrectionShader.md new file mode 100644 index 000000000..8dd4f1488 --- /dev/null +++ b/docs/Add-OBSGammaCorrectionShader.md @@ -0,0 +1,90 @@ +Get-OBSGammaCorrectionShader +---------------------------- + +### Synopsis + +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blue** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Green** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Red** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGammaCorrectionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0c7bcffa74d8607a718c3836aff7613a7aed73f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1524/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGaussianBlurAdvancedShader.md | 108 ++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSGaussianBlurAdvancedShader.md diff --git a/docs/Add-OBSGaussianBlurAdvancedShader.md b/docs/Add-OBSGaussianBlurAdvancedShader.md new file mode 100644 index 000000000..0c7cc6805 --- /dev/null +++ b/docs/Add-OBSGaussianBlurAdvancedShader.md @@ -0,0 +1,108 @@ +Get-OBSGaussianBlurAdvancedShader +--------------------------------- + +### Synopsis + +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Directions** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |6 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |3 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |4 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Quality** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **Size** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurAdvancedShader; CommonParameters=True; parameter=System.Object[]}} +``` From 76a9a2088c1b2e6f842c00c4381542b888ddb6e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1525/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGaussianBlurShader.md | 150 ++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSGaussianBlurShader.md diff --git a/docs/Add-OBSGaussianBlurShader.md b/docs/Add-OBSGaussianBlurShader.md new file mode 100644 index 000000000..d782d0cab --- /dev/null +++ b/docs/Add-OBSGaussianBlurShader.md @@ -0,0 +1,150 @@ +Get-OBSGaussianBlurShader +------------------------- + +### Synopsis + +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |7 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **ImageSize** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |2 |false | + +#### **ImageTexel** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |3 |false | + +#### **Kernel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |11 |false | + +#### **KernelTexel** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |12 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |13 |false |pixel_size| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UDiameter** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------| +|`[int]`|false |5 |false |u_diameter| + +#### **URadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------| +|`[int]`|false |4 |false |u_radius| + +#### **UTexelDelta** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|------------| +|`[float[]]`|false |6 |false |u_texelDelta| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |8 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |10 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |9 |false |uv_scale| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From 919da8e3fa492b0d2d97e1c2fddbdea770f00001 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1526/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGaussianBlurSimpleShader.md | 96 +++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSGaussianBlurSimpleShader.md diff --git a/docs/Add-OBSGaussianBlurSimpleShader.md b/docs/Add-OBSGaussianBlurSimpleShader.md new file mode 100644 index 000000000..c739e36f2 --- /dev/null +++ b/docs/Add-OBSGaussianBlurSimpleShader.md @@ -0,0 +1,96 @@ +Get-OBSGaussianBlurSimpleShader +------------------------------- + +### Synopsis + +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |2 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From b974e419c0ee1b11f355f0d950e7b185b99310ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1527/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGaussianExampleShader.md | 144 +++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Add-OBSGaussianExampleShader.md diff --git a/docs/Add-OBSGaussianExampleShader.md b/docs/Add-OBSGaussianExampleShader.md new file mode 100644 index 000000000..e9782cb4b --- /dev/null +++ b/docs/Add-OBSGaussianExampleShader.md @@ -0,0 +1,144 @@ +Get-OBSGaussianExampleShader +---------------------------- + +### Synopsis + +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AfterImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |9 |false |after_image| + +#### **BeforeImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |8 |false |before_image| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **Exp** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InitialImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |initial_image| + +#### **MaxDistance** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |11 |false |max_distance| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **TextColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |10 |false |text_color| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianExampleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 21ba2540211943b13c62ba8a72ddf08c8f361bf7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1528/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGaussianSimpleShader.md | 150 ++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSGaussianSimpleShader.md diff --git a/docs/Add-OBSGaussianSimpleShader.md b/docs/Add-OBSGaussianSimpleShader.md new file mode 100644 index 000000000..6c5c17d13 --- /dev/null +++ b/docs/Add-OBSGaussianSimpleShader.md @@ -0,0 +1,150 @@ +Get-OBSGaussianSimpleShader +--------------------------- + +### Synopsis + +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LOD** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |13 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **Samples** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |12 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From c15af01e68ceab0dcd95e521bd3cae478a516bb3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1529/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGbCameraShader.md | 126 ++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSGbCameraShader.md diff --git a/docs/Add-OBSGbCameraShader.md b/docs/Add-OBSGbCameraShader.md new file mode 100644 index 000000000..8bea27383 --- /dev/null +++ b/docs/Add-OBSGbCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSGbCameraShader +--------------------- + +### Synopsis + +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlternativeBayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |alternative_bayer| + +#### **Brightness** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Color1** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |5 |false |color_1| + +#### **Color2** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |6 |false |color_2| + +#### **Color3** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |7 |false |color_3| + +#### **Color4** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |8 |false |color_4| + +#### **Contrast** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **DitherFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |dither_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **Gamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGbCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From d2f83ca4f77f83f34f3bf2e22518ba7fe266ac58 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1530/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGlassShader.md | 126 +++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSGlassShader.md diff --git a/docs/Add-OBSGlassShader.md b/docs/Add-OBSGlassShader.md new file mode 100644 index 000000000..7d252f273 --- /dev/null +++ b/docs/Add-OBSGlassShader.md @@ -0,0 +1,126 @@ +Get-OBSGlassShader +------------------ + +### Synopsis + +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Alpha_Percent| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |6 |false |Border_Color| + +#### **BorderOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Border_Offset| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **GlassColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |7 |false |Glass_Color| + +#### **HorizontalBorder** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |Horizontal_Border| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **OffsetAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Offset_Amount| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReflectionOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |4 |false |Reflection_Offset| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **XSize** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **YSize** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlassShader; CommonParameters=True; parameter=System.Object[]}} +``` From c2db83bd1f1f4eeaea27fee33d92bf959aad12b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1531/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGlitchAnalogShader.md | 156 ++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 docs/Add-OBSGlitchAnalogShader.md diff --git a/docs/Add-OBSGlitchAnalogShader.md b/docs/Add-OBSGlitchAnalogShader.md new file mode 100644 index 000000000..16e496c36 --- /dev/null +++ b/docs/Add-OBSGlitchAnalogShader.md @@ -0,0 +1,156 @@ +Get-OBSGlitchAnalogShader +------------------------- + +### Synopsis + +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |8 |false |alpha_percent| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorDriftAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |5 |false |color_drift_amount| + +#### **ColorDriftSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |6 |false |color_drift_speed| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |9 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **HorizontalShake** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |horizontal_shake| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |7 |false |pulse_speed_percent| + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |rotate_colors| + +#### **ScanLineJitterDisplacement** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |0 |false |scan_line_jitter_displacement| + +#### **ScanLineJitterThresholdPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------------------------| +|`[int]`|false |1 |false |scan_line_jitter_threshold_percent| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **VerticalJumpAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |2 |false |vertical_jump_amount| + +#### **VerticalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |3 |false |vertical_speed| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlitchAnalogShader; CommonParameters=True; parameter=System.Object[]}} +``` From cf51c9b9f2b0f5e60a3a513b085b0a92ab365159 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1532/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGlitchShader.md | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSGlitchShader.md diff --git a/docs/Add-OBSGlitchShader.md b/docs/Add-OBSGlitchShader.md new file mode 100644 index 000000000..2407c538e --- /dev/null +++ b/docs/Add-OBSGlitchShader.md @@ -0,0 +1,78 @@ +Get-OBSGlitchShader +------------------- + +### Synopsis + +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AMT** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SPEED** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlitchShader; CommonParameters=True; parameter=System.Object[]}} +``` From 34b176e33a662e05fae59f4ab9f110568d0d8699 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:49 +0000 Subject: [PATCH 1533/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGlowShader.md | 108 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSGlowShader.md diff --git a/docs/Add-OBSGlowShader.md b/docs/Add-OBSGlowShader.md new file mode 100644 index 000000000..3afe0fde2 --- /dev/null +++ b/docs/Add-OBSGlowShader.md @@ -0,0 +1,108 @@ +Get-OBSGlowShader +----------------- + +### Synopsis + +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blur** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **GlowPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |0 |false |glow_percent| + +#### **MaxBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |max_brightness| + +#### **MinBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |2 |false |min_brightness| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |4 |false |pulse_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlowShader; CommonParameters=True; parameter=System.Object[]}} +``` From c886ccd04702db9b27b948ea862fff3403ab5cbc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1534/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSGradientShader.md | 174 ++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 docs/Add-OBSGradientShader.md diff --git a/docs/Add-OBSGradientShader.md b/docs/Add-OBSGradientShader.md new file mode 100644 index 000000000..3799643b1 --- /dev/null +++ b/docs/Add-OBSGradientShader.md @@ -0,0 +1,174 @@ +Get-OBSGradientShader +--------------------- + +### Synopsis + +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |6 |false |alpha_percent| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |8 |false |Color_To_Replace| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **EndColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |4 |false |end_color| + +#### **EndStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |end_step| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **GradientCenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------------------| +|`[int]`|false |10 |false |gradient_center_height_percentage| + +#### **GradientCenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------------------------| +|`[int]`|false |9 |false |gradient_center_width_percentage| + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **MiddleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |middle_color| + +#### **MiddleStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |middle_step| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |11 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |7 |false |pulse_speed| + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |rotate_colors| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **StartColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |start_color| + +#### **StartStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |start_step| + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6f1e1007ff0186ec3de6ed50c232ccb93e1ec98e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1535/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSHalftoneShader.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSHalftoneShader.md diff --git a/docs/Add-OBSHalftoneShader.md b/docs/Add-OBSHalftoneShader.md new file mode 100644 index 000000000..fdde28062 --- /dev/null +++ b/docs/Add-OBSHalftoneShader.md @@ -0,0 +1,72 @@ +Get-OBSHalftoneShader +--------------------- + +### Synopsis + +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Threshold** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHalftoneShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6a3722ba652af7863011cb9e8e3687b8f74dfd4c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1536/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSHeatWaveSimpleShader.md | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSHeatWaveSimpleShader.md diff --git a/docs/Add-OBSHeatWaveSimpleShader.md b/docs/Add-OBSHeatWaveSimpleShader.md new file mode 100644 index 000000000..37061c366 --- /dev/null +++ b/docs/Add-OBSHeatWaveSimpleShader.md @@ -0,0 +1,90 @@ +Get-OBSHeatWaveSimpleShader +--------------------------- + +### Synopsis + +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Distortion** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Rate** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHeatWaveSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From c86c65179aa05c88608743e4931252908dc9753a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1537/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSHexagonShader.md | 150 +++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSHexagonShader.md diff --git a/docs/Add-OBSHexagonShader.md b/docs/Add-OBSHexagonShader.md new file mode 100644 index 000000000..95d2cbf58 --- /dev/null +++ b/docs/Add-OBSHexagonShader.md @@ -0,0 +1,150 @@ +Get-OBSHexagonShader +-------------------- + +### Synopsis + +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |1 |false |Alpha_Percent| + +#### **Blend** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **BorderWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |3 |false |Border_Width| + +#### **DistortX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |5 |false |Distort_X| + +#### **DistortY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |6 |false |Distort_Y| + +#### **Equilateral** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HexColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |0 |false |Hex_Color| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |7 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |8 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Quantity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |4 |false |Speed_Percent| + +#### **ZoomAnimate** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Zoom_Animate| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHexagonShader; CommonParameters=True; parameter=System.Object[]}} +``` From f9e2dbe00ffc957ed8f9a0a012834caaaa2fe2ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1538/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSHslHsvSaturationShader.md | 90 +++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSHslHsvSaturationShader.md diff --git a/docs/Add-OBSHslHsvSaturationShader.md b/docs/Add-OBSHslHsvSaturationShader.md new file mode 100644 index 000000000..5fb514dfe --- /dev/null +++ b/docs/Add-OBSHslHsvSaturationShader.md @@ -0,0 +1,90 @@ +Get-OBSHslHsvSaturationShader +----------------------------- + +### Synopsis + +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AdjustmentOrder** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **HslSaturationFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **HsvSaturationFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHslHsvSaturationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4c26bdbdb2f52e4c183054264d309fa19c3e730c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1539/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSHueRotatonShader.md | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSHueRotatonShader.md diff --git a/docs/Add-OBSHueRotatonShader.md b/docs/Add-OBSHueRotatonShader.md new file mode 100644 index 000000000..3ff9806e3 --- /dev/null +++ b/docs/Add-OBSHueRotatonShader.md @@ -0,0 +1,78 @@ +Get-OBSHueRotatonShader +----------------------- + +### Synopsis + +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **HueOverride** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Hue_Override| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHueRotatonShader; CommonParameters=True; parameter=System.Object[]}} +``` From ea551eff6640d8e00815cbd03a83515bba1368d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1540/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSIntensityScopeShader.md | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSIntensityScopeShader.md diff --git a/docs/Add-OBSIntensityScopeShader.md b/docs/Add-OBSIntensityScopeShader.md new file mode 100644 index 000000000..4b12561a9 --- /dev/null +++ b/docs/Add-OBSIntensityScopeShader.md @@ -0,0 +1,78 @@ +Get-OBSIntensityScopeShader +--------------------------- + +### Synopsis + +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blend** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **Gain** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSIntensityScopeShader; CommonParameters=True; parameter=System.Object[]}} +``` From d0b2c27d9de50f68c87159e89a3a38d7867e86f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1541/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSInvertLumaShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSInvertLumaShader.md diff --git a/docs/Add-OBSInvertLumaShader.md b/docs/Add-OBSInvertLumaShader.md new file mode 100644 index 000000000..7ef2ce620 --- /dev/null +++ b/docs/Add-OBSInvertLumaShader.md @@ -0,0 +1,90 @@ +Get-OBSInvertLumaShader +----------------------- + +### Synopsis + +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **GammaCorrection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Gamma_Correction| + +#### **InvertColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Invert_Color| + +#### **InvertLuma** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |Invert_Luma| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **TestRamp** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |Test_Ramp| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSInvertLumaShader; CommonParameters=True; parameter=System.Object[]}} +``` From 875165ee69ae8c36ed3abf75e3d7ad53374668a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1542/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSLuminance2Shader.md | 114 ++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Add-OBSLuminance2Shader.md diff --git a/docs/Add-OBSLuminance2Shader.md b/docs/Add-OBSLuminance2Shader.md new file mode 100644 index 000000000..8fb61355b --- /dev/null +++ b/docs/Add-OBSLuminance2Shader.md @@ -0,0 +1,114 @@ +Get-OBSLuminance2Shader +----------------------- + +### Synopsis + +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **InvertImageColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LumaMax** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **LumaMaxSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminance2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 6d8906b8e9896614e89c7bdac42309aa85db04f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1543/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSLuminanceAlphaShader.md | 150 ++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSLuminanceAlphaShader.md diff --git a/docs/Add-OBSLuminanceAlphaShader.md b/docs/Add-OBSLuminanceAlphaShader.md new file mode 100644 index 000000000..efc796b6f --- /dev/null +++ b/docs/Add-OBSLuminanceAlphaShader.md @@ -0,0 +1,150 @@ +Get-OBSLuminanceAlphaShader +--------------------------- + +### Synopsis + +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AddVal** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |add_val| + +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |8 |false |color_matrix| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Level** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **MulVal** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |mul_val| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminanceAlphaShader; CommonParameters=True; parameter=System.Object[]}} +``` From a7b756de23c4f7d20313dda7aabbada10d0b89a3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1544/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSLuminanceShader.md | 96 ++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSLuminanceShader.md diff --git a/docs/Add-OBSLuminanceShader.md b/docs/Add-OBSLuminanceShader.md new file mode 100644 index 000000000..f7d3610ef --- /dev/null +++ b/docs/Add-OBSLuminanceShader.md @@ -0,0 +1,96 @@ +Get-OBSLuminanceShader +---------------------- + +### Synopsis + +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **InvertImageColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Level** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminanceShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5b6119d745290f2fd7fd21acdcf8a3a1ba5c24e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:50 +0000 Subject: [PATCH 1545/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSMatrixShader.md | 180 ++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 docs/Add-OBSMatrixShader.md diff --git a/docs/Add-OBSMatrixShader.md b/docs/Add-OBSMatrixShader.md new file mode 100644 index 000000000..e192d3ec8 --- /dev/null +++ b/docs/Add-OBSMatrixShader.md @@ -0,0 +1,180 @@ +Get-OBSMatrixShader +------------------- + +### Synopsis + +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |16 |false |Alpha_Percentage| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |18 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InvertDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Invert_Direction| + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |14 |false | + +#### **Mouse** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |12 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **Ratio** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |15 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |19 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |17 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSMatrixShader; CommonParameters=True; parameter=System.Object[]}} +``` From 79c085e1cd5f88886f2f6aa3b9fd58176230f5bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1546/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSMultiplyShader.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSMultiplyShader.md diff --git a/docs/Add-OBSMultiplyShader.md b/docs/Add-OBSMultiplyShader.md new file mode 100644 index 000000000..2393ba8ee --- /dev/null +++ b/docs/Add-OBSMultiplyShader.md @@ -0,0 +1,72 @@ +Get-OBSMultiplyShader +--------------------- + +### Synopsis + +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OtherImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |other_image| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSMultiplyShader; CommonParameters=True; parameter=System.Object[]}} +``` From 90028b7e4b086107d814a1f3bf6fbbe33002baf1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1547/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSNightSkyShader.md | 174 ++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 docs/Add-OBSNightSkyShader.md diff --git a/docs/Add-OBSNightSkyShader.md b/docs/Add-OBSNightSkyShader.md new file mode 100644 index 000000000..573c2ff97 --- /dev/null +++ b/docs/Add-OBSNightSkyShader.md @@ -0,0 +1,174 @@ +Get-OBSNightSkyShader +--------------------- + +### Synopsis + +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |3 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |2 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |1 |false |center_width_percentage| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **IncludeClouds** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Include_Clouds| + +#### **IncludeMoon** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Include_Moon| + +#### **LIGHTSKY** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |7 |false |LIGHT_SKY| + +#### **MOONCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |9 |false |MOON_COLOR| + +#### **MoonBumpSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |11 |false |moon_bump_size| + +#### **MoonPositionX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |12 |false |Moon_Position_x| + +#### **MoonPositionY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |Moon_Position_y| + +#### **MoonSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |10 |false |moon_size| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumberStars** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |4 |false |number_stars| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **SKYCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |5 |false |SKY_COLOR| + +#### **SKYLIGHTNESS** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |SKY_LIGHTNESS| + +#### **STARCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |6 |false |STAR_COLOR| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSNightSkyShader; CommonParameters=True; parameter=System.Object[]}} +``` From b6c8baf6a0ee3368e059580ac460f67a331ac305 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1548/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSOpacityShader.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSOpacityShader.md diff --git a/docs/Add-OBSOpacityShader.md b/docs/Add-OBSOpacityShader.md new file mode 100644 index 000000000..514388b73 --- /dev/null +++ b/docs/Add-OBSOpacityShader.md @@ -0,0 +1,72 @@ +Get-OBSOpacityShader +-------------------- + +### Synopsis + +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSOpacityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3d069961c7ee68ced1678a74e5b7d76696859c27 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1549/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPagePeelShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSPagePeelShader.md diff --git a/docs/Add-OBSPagePeelShader.md b/docs/Add-OBSPagePeelShader.md new file mode 100644 index 000000000..f579da30c --- /dev/null +++ b/docs/Add-OBSPagePeelShader.md @@ -0,0 +1,78 @@ +Get-OBSPagePeelShader +--------------------- + +### Synopsis + +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Position** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPagePeelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 953ed6795fb098b16b3c61af355124c5d06132fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1550/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPagePeelTransitionShader.md | 102 ++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSPagePeelTransitionShader.md diff --git a/docs/Add-OBSPagePeelTransitionShader.md b/docs/Add-OBSPagePeelTransitionShader.md new file mode 100644 index 000000000..27c6f7daf --- /dev/null +++ b/docs/Add-OBSPagePeelTransitionShader.md @@ -0,0 +1,102 @@ +Get-OBSPagePeelTransitionShader +------------------------------- + +### Synopsis + +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |3 |false |page_color| + +#### **PageTransparency** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |4 |false |page_transparency| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPagePeelTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 42616641ad8fbff18b8e63ebc580154c504a19b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1551/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPerlinNoiseShader.md | 132 +++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSPerlinNoiseShader.md diff --git a/docs/Add-OBSPerlinNoiseShader.md b/docs/Add-OBSPerlinNoiseShader.md new file mode 100644 index 000000000..180276c32 --- /dev/null +++ b/docs/Add-OBSPerlinNoiseShader.md @@ -0,0 +1,132 @@ +Get-OBSPerlinNoiseShader +------------------------ + +### Synopsis + +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animated** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ApplyToChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |apply_to_channel| + +#### **BlackNoise** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |5 |false |black_noise| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Inverted** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Iterations** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +#### **Multiply** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **SpeedHorizonal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |1 |false |speed_horizonal| + +#### **SpeedVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |2 |false |speed_vertical| + +#### **WhiteNoise** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |white_noise| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPerlinNoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From d9b881477422f6611588fb42e3a7290a6222d9fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1552/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPieChartShader.md | 210 ++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 docs/Add-OBSPieChartShader.md diff --git a/docs/Add-OBSPieChartShader.md b/docs/Add-OBSPieChartShader.md new file mode 100644 index 000000000..9d45c327a --- /dev/null +++ b/docs/Add-OBSPieChartShader.md @@ -0,0 +1,210 @@ +Get-OBSPieChartShader +--------------------- + +### Synopsis + +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color1** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |5 |false |color_1| + +#### **Color10** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |23 |false |color_10| + +#### **Color2** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |7 |false |color_2| + +#### **Color3** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |9 |false |color_3| + +#### **Color4** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |11 |false |color_4| + +#### **Color5** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |13 |false |color_5| + +#### **Color6** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |15 |false |color_6| + +#### **Color7** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |17 |false |color_7| + +#### **Color8** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |19 |false |color_8| + +#### **Color9** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |21 |false |color_9| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |25 |true (ByPropertyName)| + +#### **InnerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |inner_radius| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OuterRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |1 |false |outer_radius| + +#### **Part1** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |4 |false |part_1 | + +#### **Part10** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |22 |false |part_10| + +#### **Part2** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |6 |false |part_2 | + +#### **Part3** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |8 |false |part_3 | + +#### **Part4** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |10 |false |part_4 | + +#### **Part5** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |12 |false |part_5 | + +#### **Part6** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |14 |false |part_6 | + +#### **Part7** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |16 |false |part_7 | + +#### **Part8** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |18 |false |part_8 | + +#### **Part9** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |20 |false |part_9 | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |26 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |24 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |start_angle| + +#### **Total** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPieChartShader; CommonParameters=True; parameter=System.Object[]}} +``` From 792c371a66798b3e13aa9c9d2850114cf65530ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1553/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPixelationShader.md | 84 +++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSPixelationShader.md diff --git a/docs/Add-OBSPixelationShader.md b/docs/Add-OBSPixelationShader.md new file mode 100644 index 000000000..fab84d7bd --- /dev/null +++ b/docs/Add-OBSPixelationShader.md @@ -0,0 +1,84 @@ +Get-OBSPixelationShader +----------------------- + +### Synopsis + +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **TargetHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Target_Height| + +#### **TargetWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |Target_Width| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPixelationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 40e1b764894fc1b959f85b96c524a37b8b8f498a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:51 +0000 Subject: [PATCH 1554/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPixelationTransitionShader.md | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSPixelationTransitionShader.md diff --git a/docs/Add-OBSPixelationTransitionShader.md b/docs/Add-OBSPixelationTransitionShader.md new file mode 100644 index 000000000..8d7f4bad4 --- /dev/null +++ b/docs/Add-OBSPixelationTransitionShader.md @@ -0,0 +1,96 @@ +Get-OBSPixelationTransitionShader +--------------------------------- + +### Synopsis + +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPixelationTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 61b5d8cdb6860efb7f8a0a2446ea0c0fe2c6808a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1555/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSPulseShader.md | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSPulseShader.md diff --git a/docs/Add-OBSPulseShader.md b/docs/Add-OBSPulseShader.md new file mode 100644 index 000000000..944a51b94 --- /dev/null +++ b/docs/Add-OBSPulseShader.md @@ -0,0 +1,132 @@ +Get-OBSPulseShader +------------------ + +### Synopsis + +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **MaxGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |10 |false |max_growth_pixels| + +#### **MinGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |min_growth_pixels| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |8 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPulseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 67d548a13734b2d553aed326f3fee29c735bada3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1556/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRainbowShader.md | 144 +++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Add-OBSRainbowShader.md diff --git a/docs/Add-OBSRainbowShader.md b/docs/Add-OBSRainbowShader.md new file mode 100644 index 000000000..d9c4b3399 --- /dev/null +++ b/docs/Add-OBSRainbowShader.md @@ -0,0 +1,144 @@ +Get-OBSRainbowShader +-------------------- + +### Synopsis + +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Luminosity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |5 |false |Rotation_Offset| + +#### **Rotational** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Saturation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Spread** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRainbowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 80a67e2290bc34c50f5bf2df76c38f37bc29f095 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1557/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRainWindowShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSRainWindowShader.md diff --git a/docs/Add-OBSRainWindowShader.md b/docs/Add-OBSRainWindowShader.md new file mode 100644 index 000000000..055e58bfc --- /dev/null +++ b/docs/Add-OBSRainWindowShader.md @@ -0,0 +1,102 @@ +Get-OBSRainWindowShader +----------------------- + +### Synopsis + +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BlurSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **DebugShader** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **Size** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **TrailColor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |trail_color| + +#### **TrailStrength** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |2 |false |trail_strength| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRainWindowShader; CommonParameters=True; parameter=System.Object[]}} +``` From ebcf65970529b2e28dd1841ed21dc12e213f65eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1558/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRectangularDropShadowShader.md | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSRectangularDropShadowShader.md diff --git a/docs/Add-OBSRectangularDropShadowShader.md b/docs/Add-OBSRectangularDropShadowShader.md new file mode 100644 index 000000000..db6542480 --- /dev/null +++ b/docs/Add-OBSRectangularDropShadowShader.md @@ -0,0 +1,90 @@ +Get-OBSRectangularDropShadowShader +---------------------------------- + +### Synopsis + +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |3 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRectangularDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From b44a8f42194986baaec5b93a5e41fd9562347453 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1559/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRemovePartialPixelsShader.md | 78 ++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSRemovePartialPixelsShader.md diff --git a/docs/Add-OBSRemovePartialPixelsShader.md b/docs/Add-OBSRemovePartialPixelsShader.md new file mode 100644 index 000000000..ec8112e5e --- /dev/null +++ b/docs/Add-OBSRemovePartialPixelsShader.md @@ -0,0 +1,78 @@ +Get-OBSRemovePartialPixelsShader +-------------------------------- + +### Synopsis + +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |0 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRemovePartialPixelsShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2844c1cd3c8137620323162c578ed69fea05ffd2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1560/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRepeatShader.md | 150 ++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSRepeatShader.md diff --git a/docs/Add-OBSRepeatShader.md b/docs/Add-OBSRepeatShader.md new file mode 100644 index 000000000..6d2c22dcc --- /dev/null +++ b/docs/Add-OBSRepeatShader.md @@ -0,0 +1,150 @@ +Get-OBSRepeatShader +------------------- + +### Synopsis + +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alpha** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |1 |false |color_matrix| + +#### **ColorRangeMax** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |3 |false |color_range_max| + +#### **ColorRangeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |2 |false |color_range_min| + +#### **Copies** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |5 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |13 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |6 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |8 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |7 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |9 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRepeatShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9145aea15acadabf4bb64b3ad7281049f9aba7bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1561/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRepeatTextureShader.md | 162 +++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 docs/Add-OBSRepeatTextureShader.md diff --git a/docs/Add-OBSRepeatTextureShader.md b/docs/Add-OBSRepeatTextureShader.md new file mode 100644 index 000000000..3b02198d5 --- /dev/null +++ b/docs/Add-OBSRepeatTextureShader.md @@ -0,0 +1,162 @@ +Get-OBSRepeatTextureShader +-------------------------- + +### Synopsis + +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |15 |false |alpha_percentage| + +#### **Blend** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |1 |false |color_matrix| + +#### **ColorRangeMax** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |3 |false |color_range_max| + +#### **ColorRangeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |2 |false |color_range_min| + +#### **Copies** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |17 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |14 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |18 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| + +#### **TexImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |5 |false |tex_image| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |7 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |9 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |8 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |10 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRepeatTextureShader; CommonParameters=True; parameter=System.Object[]}} +``` From 73680e42d14044ee491daf67985d013e42813974 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1562/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRgbColorWheelShader.md | 120 +++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSRgbColorWheelShader.md diff --git a/docs/Add-OBSRgbColorWheelShader.md b/docs/Add-OBSRgbColorWheelShader.md new file mode 100644 index 000000000..52a229d96 --- /dev/null +++ b/docs/Add-OBSRgbColorWheelShader.md @@ -0,0 +1,120 @@ +Get-OBSRgbColorWheelShader +-------------------------- + +### Synopsis + +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |3 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |5 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |4 |false |center_width_percentage| + +#### **ColorDepth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |1 |false |color_depth| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |2 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbColorWheelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1d52397031e6d1411c228a725f2c09039f43f83d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1563/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRgbSplitShader.md | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSRgbSplitShader.md diff --git a/docs/Add-OBSRgbSplitShader.md b/docs/Add-OBSRgbSplitShader.md new file mode 100644 index 000000000..3d6a3bbad --- /dev/null +++ b/docs/Add-OBSRgbSplitShader.md @@ -0,0 +1,102 @@ +Get-OBSRgbSplitShader +--------------------- + +### Synopsis + +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Bluex** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Bluey** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Greenx** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Greeny** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Redx** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **Redy** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbSplitShader; CommonParameters=True; parameter=System.Object[]}} +``` From 80076c0014979617ed7a1c3376bf5f766e06b0d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1564/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRgbvisibilityShader.md | 108 +++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSRgbvisibilityShader.md diff --git a/docs/Add-OBSRgbvisibilityShader.md b/docs/Add-OBSRgbvisibilityShader.md new file mode 100644 index 000000000..96e19a467 --- /dev/null +++ b/docs/Add-OBSRgbvisibilityShader.md @@ -0,0 +1,108 @@ +Get-OBSRgbvisibilityShader +-------------------------- + +### Synopsis + +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blue** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **BlueVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Green** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **GreenVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Red** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **RedVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbvisibilityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 14c81cda09f8a08052edb9e7767fbe535438a3d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:52 +0000 Subject: [PATCH 1565/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRippleShader.md | 96 +++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSRippleShader.md diff --git a/docs/Add-OBSRippleShader.md b/docs/Add-OBSRippleShader.md new file mode 100644 index 000000000..53e350f99 --- /dev/null +++ b/docs/Add-OBSRippleShader.md @@ -0,0 +1,96 @@ +Get-OBSRippleShader +------------------- + +### Synopsis + +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterPosX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |3 |false |center_pos_x| + +#### **CenterPosY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |4 |false |center_pos_y| + +#### **DistanceFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |distance_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PowerFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |power_factor| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **TimeFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |1 |false |time_factor| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRippleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6a2ba73ec6e441326084f641e2d48754370badd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1566/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRotatingSourceShader.md | 102 ++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSRotatingSourceShader.md diff --git a/docs/Add-OBSRotatingSourceShader.md b/docs/Add-OBSRotatingSourceShader.md new file mode 100644 index 000000000..3f3c7014e --- /dev/null +++ b/docs/Add-OBSRotatingSourceShader.md @@ -0,0 +1,102 @@ +Get-OBSRotatingSourceShader +--------------------------- + +### Synopsis + +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **KeepAspectratio** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |keep_aspectratio| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Rotation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **SpinSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |spin_speed| + +#### **XCenter** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |x_center| + +#### **YCenter** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |y_center| + +#### **Zoomin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRotatingSourceShader; CommonParameters=True; parameter=System.Object[]}} +``` From a99ef881fe6dbc00e1bb6e0284758f1ffd02c20b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1567/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRotatoeShader.md | 180 +++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 docs/Add-OBSRotatoeShader.md diff --git a/docs/Add-OBSRotatoeShader.md b/docs/Add-OBSRotatoeShader.md new file mode 100644 index 000000000..b6a7a83b6 --- /dev/null +++ b/docs/Add-OBSRotatoeShader.md @@ -0,0 +1,180 @@ +Get-OBSRotatoeShader +-------------------- + +### Synopsis + +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AngleDegrees** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |12 |false |Angle_Degrees| + +#### **AxisX** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |9 |false |Axis_X | + +#### **AxisY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |Axis_Y | + +#### **AxisZ** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |Axis_Z | + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |14 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |13 |false |center_width_percentage| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |17 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |15 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |Rotate_Colors| + +#### **RotatePixels** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |Rotate_Pixels| + +#### **RotateTransform** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Rotate_Transform| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |18 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |8 |false |speed_percent| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRotatoeShader; CommonParameters=True; parameter=System.Object[]}} +``` From c73b3af5d0aa0d12d3a9ff085726319419d65500 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1568/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRoundedRect2Shader.md | 108 ++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSRoundedRect2Shader.md diff --git a/docs/Add-OBSRoundedRect2Shader.md b/docs/Add-OBSRoundedRect2Shader.md new file mode 100644 index 000000000..8bf0925e4 --- /dev/null +++ b/docs/Add-OBSRoundedRect2Shader.md @@ -0,0 +1,108 @@ +Get-OBSRoundedRect2Shader +------------------------- + +### Synopsis + +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |3 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FasterScan** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |faster_scan| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRect2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 3f342a015a2c91c616fedb614b70e53386d2464d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1569/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRoundedRectPerCornerShader.md | 120 ++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSRoundedRectPerCornerShader.md diff --git a/docs/Add-OBSRoundedRectPerCornerShader.md b/docs/Add-OBSRoundedRectPerCornerShader.md new file mode 100644 index 000000000..21053e7e1 --- /dev/null +++ b/docs/Add-OBSRoundedRectPerCornerShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedRectPerCornerShader +--------------------------------- + +### Synopsis + +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerRadiusBl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |3 |false |corner_radius_bl| + +#### **CornerRadiusBr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |corner_radius_br| + +#### **CornerRadiusTl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |corner_radius_tl| + +#### **CornerRadiusTr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |corner_radius_tr| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +``` From ec4d351b70edeadbc13d436471b935f1734c96ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1570/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRoundedRectPerSideShader.md | 120 ++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSRoundedRectPerSideShader.md diff --git a/docs/Add-OBSRoundedRectPerSideShader.md b/docs/Add-OBSRoundedRectPerSideShader.md new file mode 100644 index 000000000..c5941de0a --- /dev/null +++ b/docs/Add-OBSRoundedRectPerSideShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedRectPerSideShader +------------------------------- + +### Synopsis + +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerRadiusBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------------| +|`[int]`|false |0 |false |corner_radius_bottom| + +#### **CornerRadiusLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |1 |false |corner_radius_left| + +#### **CornerRadiusRight** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |3 |false |corner_radius_right| + +#### **CornerRadiusTop** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |2 |false |corner_radius_top| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectPerSideShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7ff004c7dd2db16247d2ea3c4614bb07b2bffa25 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1571/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRoundedRectShader.md | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSRoundedRectShader.md diff --git a/docs/Add-OBSRoundedRectShader.md b/docs/Add-OBSRoundedRectShader.md new file mode 100644 index 000000000..11236ac07 --- /dev/null +++ b/docs/Add-OBSRoundedRectShader.md @@ -0,0 +1,84 @@ +Get-OBSRoundedRectShader +------------------------ + +### Synopsis + +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectShader; CommonParameters=True; parameter=System.Object[]}} +``` From f5c5ba7cda6f6de69454291fe52b049bd3459285 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1572/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRoundedStrokeGradientShader.md | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSRoundedStrokeGradientShader.md diff --git a/docs/Add-OBSRoundedStrokeGradientShader.md b/docs/Add-OBSRoundedStrokeGradientShader.md new file mode 100644 index 000000000..0fba62aff --- /dev/null +++ b/docs/Add-OBSRoundedStrokeGradientShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedStrokeGradientShader +---------------------------------- + +### Synopsis + +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColorL** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |border_colorL| + +#### **BorderColorR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |border_colorR| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CenterHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |7 |false |center_height| + +#### **CenterWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |6 |false |center_width| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |2 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RotationSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |rotation_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedStrokeGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4ffafc38e1e95e49b408128f18452140e3020844 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1573/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSRoundedStrokeShader.md | 96 ++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSRoundedStrokeShader.md diff --git a/docs/Add-OBSRoundedStrokeShader.md b/docs/Add-OBSRoundedStrokeShader.md new file mode 100644 index 000000000..c1e289a07 --- /dev/null +++ b/docs/Add-OBSRoundedStrokeShader.md @@ -0,0 +1,96 @@ +Get-OBSRoundedStrokeShader +-------------------------- + +### Synopsis + +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |3 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |2 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedStrokeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0992c1cf8f20985a2dab89427026eceb2032555e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1574/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSScanLineShader.md | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSScanLineShader.md diff --git a/docs/Add-OBSScanLineShader.md b/docs/Add-OBSScanLineShader.md new file mode 100644 index 000000000..53ed79fc2 --- /dev/null +++ b/docs/Add-OBSScanLineShader.md @@ -0,0 +1,120 @@ +Get-OBSScanLineShader +--------------------- + +### Synopsis + +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Boost** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Floor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Lengthwise** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Period** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **Shift** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSScanLineShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5b80c4faae8d7a9a80d0c5bf348595ea2246113e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1575/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSeascapeShader.md | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSSeascapeShader.md diff --git a/docs/Add-OBSSeascapeShader.md b/docs/Add-OBSSeascapeShader.md new file mode 100644 index 000000000..d68851f55 --- /dev/null +++ b/docs/Add-OBSSeascapeShader.md @@ -0,0 +1,120 @@ +Get-OBSSeascapeShader +--------------------- + +### Synopsis + +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AA** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CAMERASPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |CAMERA_SPEED| + +#### **CAMERATURNSPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |CAMERA_TURN_SPEED| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SEABASE** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |4 |false |SEA_BASE| + +#### **SEACHOPPY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |SEA_CHOPPY| + +#### **SEAFREQ** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |SEA_FREQ| + +#### **SEAHEIGHT** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |SEA_HEIGHT| + +#### **SEASPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |2 |false |SEA_SPEED| + +#### **SEAWATERCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |5 |false |SEA_WATER_COLOR| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSeascapeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 55d89596a5269300a96e8319b686633151f2424a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:53 +0000 Subject: [PATCH 1576/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSeasickShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSSeasickShader.md diff --git a/docs/Add-OBSSeasickShader.md b/docs/Add-OBSSeasickShader.md new file mode 100644 index 000000000..58298e4f7 --- /dev/null +++ b/docs/Add-OBSSeasickShader.md @@ -0,0 +1,96 @@ +Get-OBSSeasickShader +-------------------- + +### Synopsis + +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Frequency** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSeasickShader; CommonParameters=True; parameter=System.Object[]}} +``` From 11af06708bb14210e93ab6e340eb3e5799a2bd1d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1577/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSelectiveColorShader.md | 132 ++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSSelectiveColorShader.md diff --git a/docs/Add-OBSSelectiveColorShader.md b/docs/Add-OBSSelectiveColorShader.md new file mode 100644 index 000000000..4dbe2174d --- /dev/null +++ b/docs/Add-OBSSelectiveColorShader.md @@ -0,0 +1,132 @@ +Get-OBSSelectiveColorShader +--------------------------- + +### Synopsis + +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AcceptanceAmplifier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |4 |false |acceptance_Amplifier| + +#### **BackgroundType** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |6 |false |background_type| + +#### **CutoffBlue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |cutoff_Blue| + +#### **CutoffGreen** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |1 |false |cutoff_Green| + +#### **CutoffRed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |cutoff_Red| + +#### **CutoffYellow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |3 |false |cutoff_Yellow| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **ShowBlue** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |show_Blue| + +#### **ShowGreen** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_Green| + +#### **ShowRed** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[switch]`|false |Named |false |show_Red| + +#### **ShowYellow** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |show_Yellow| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSelectiveColorShader; CommonParameters=True; parameter=System.Object[]}} +``` From 028ddb3c035259e56c27d079c00031aaaaf1cc8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1578/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSShakeShader.md | 162 +++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 docs/Add-OBSShakeShader.md diff --git a/docs/Add-OBSShakeShader.md b/docs/Add-OBSShakeShader.md new file mode 100644 index 000000000..0fb789c6d --- /dev/null +++ b/docs/Add-OBSShakeShader.md @@ -0,0 +1,162 @@ +Get-OBSShakeShader +------------------ + +### Synopsis + +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |8 |false |local_time| + +#### **MaxGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |12 |false |max_growth_pixels| + +#### **MinGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |11 |false |min_growth_pixels| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |13 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **RandomScale** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |9 |false |random_scale| + +#### **RandomizeMovement** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[switch]`|false |Named |false |randomize_movement| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |10 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +#### **Worble** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSShakeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 31bcf60954ff80ae16715ee6c6278aa0b6d3ab77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1579/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSShineShader.md | 150 +++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSShineShader.md diff --git a/docs/Add-OBSShineShader.md b/docs/Add-OBSShineShader.md new file mode 100644 index 000000000..7101b420f --- /dev/null +++ b/docs/Add-OBSShineShader.md @@ -0,0 +1,150 @@ +Get-OBSShineShader +------------------ + +### Synopsis + +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **DelayPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |4 |false |delay_percent| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GradientPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |3 |false |gradient_percent| + +#### **Hide** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LTex** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |l_tex | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **OneDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |One_Direction| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **ShineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |1 |false |shine_color| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |speed_percent| + +#### **StartAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |start_adjust| + +#### **StopAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |7 |false |stop_adjust| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSShineShader; CommonParameters=True; parameter=System.Object[]}} +``` From 25dab3660c9b54740321ca5270cda1f137d47cde Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1580/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSimpleGradientShader.md | 114 ++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Add-OBSSimpleGradientShader.md diff --git a/docs/Add-OBSSimpleGradientShader.md b/docs/Add-OBSSimpleGradientShader.md new file mode 100644 index 000000000..c6a9b2453 --- /dev/null +++ b/docs/Add-OBSSimpleGradientShader.md @@ -0,0 +1,114 @@ +Get-OBSSimpleGradientShader +--------------------------- + +### Synopsis + +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |alpha_percentage| + +#### **AnimateLensFlair** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[switch]`|false |Named |false |Animate_Lens_Flair| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |2 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **LensFlair** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |Lens_Flair| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |speed_percentage| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSimpleGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From fb9c0b4d55a5a255f2bd4e0aaa287c67315dfa49 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1581/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSimplexNoiseShader.md | 120 ++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSSimplexNoiseShader.md diff --git a/docs/Add-OBSSimplexNoiseShader.md b/docs/Add-OBSSimplexNoiseShader.md new file mode 100644 index 000000000..19853adf9 --- /dev/null +++ b/docs/Add-OBSSimplexNoiseShader.md @@ -0,0 +1,120 @@ +Get-OBSSimplexNoiseShader +------------------------- + +### Synopsis + +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Alpha_Percent| + +#### **BackColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |4 |false |Back_Color| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **ForeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |3 |false |Fore_Color| + +#### **Fractal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Resolution** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SnapPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |Snap_Percent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Speed_Percent| + +#### **UseAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |Use_Alpha_Layer| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSimplexNoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 22e2edb668bccfd1675ebd10477653f95386dfce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1582/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSpotlightShader.md | 108 +++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSSpotlightShader.md diff --git a/docs/Add-OBSSpotlightShader.md b/docs/Add-OBSSpotlightShader.md new file mode 100644 index 000000000..dccc93508 --- /dev/null +++ b/docs/Add-OBSSpotlightShader.md @@ -0,0 +1,108 @@ +Get-OBSSpotlightShader +---------------------- + +### Synopsis + +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **FocusPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Focus_Percent| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HorizontalOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |3 |false |Horizontal_Offset| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Speed_Percent| + +#### **SpotlightColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |2 |false |Spotlight_Color| + +#### **VerticalOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |4 |false |Vertical_Offset| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSpotlightShader; CommonParameters=True; parameter=System.Object[]}} +``` From ca6b3899faea59536c0fa04f9e6298c342a43cc6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1583/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSSwirlShader.md | 108 +++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSSwirlShader.md diff --git a/docs/Add-OBSSwirlShader.md b/docs/Add-OBSSwirlShader.md new file mode 100644 index 000000000..176305882 --- /dev/null +++ b/docs/Add-OBSSwirlShader.md @@ -0,0 +1,108 @@ +Get-OBSSwirlShader +------------------ + +### Synopsis + +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Inverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSwirlShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5e7442e7eb5b881e52a29239ed57908b8f1d8e56 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1584/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSThermalShader.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Add-OBSThermalShader.md diff --git a/docs/Add-OBSThermalShader.md b/docs/Add-OBSThermalShader.md new file mode 100644 index 000000000..c4b01af03 --- /dev/null +++ b/docs/Add-OBSThermalShader.md @@ -0,0 +1,72 @@ +Get-OBSThermalShader +-------------------- + +### Synopsis + +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSThermalShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5bf9b42aa0a603ea8d09900e393df69023535e9e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:54 +0000 Subject: [PATCH 1585/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSTvCrtSubpixelShader.md | 90 ++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSTvCrtSubpixelShader.md diff --git a/docs/Add-OBSTvCrtSubpixelShader.md b/docs/Add-OBSTvCrtSubpixelShader.md new file mode 100644 index 000000000..1506f80ef --- /dev/null +++ b/docs/Add-OBSTvCrtSubpixelShader.md @@ -0,0 +1,90 @@ +Get-OBSTvCrtSubpixelShader +-------------------------- + +### Synopsis + +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ChannelHeight** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **ChannelWidth** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **HGap** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **VGap** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTvCrtSubpixelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 482f91dbcfdf46d42cdd4d7b902e184c8b761680 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1586/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSTwistShader.md | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSTwistShader.md diff --git a/docs/Add-OBSTwistShader.md b/docs/Add-OBSTwistShader.md new file mode 100644 index 000000000..910001309 --- /dev/null +++ b/docs/Add-OBSTwistShader.md @@ -0,0 +1,90 @@ +Get-OBSTwistShader +------------------ + +### Synopsis + +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Rotation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTwistShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5ed9a0c57477f86a923fdabfe67bdf031b92be0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1587/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSTwoPassDropShadowShader.md | 144 +++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Add-OBSTwoPassDropShadowShader.md diff --git a/docs/Add-OBSTwoPassDropShadowShader.md b/docs/Add-OBSTwoPassDropShadowShader.md new file mode 100644 index 000000000..f730883f5 --- /dev/null +++ b/docs/Add-OBSTwoPassDropShadowShader.md @@ -0,0 +1,144 @@ +Get-OBSTwoPassDropShadowShader +------------------------------ + +### Synopsis + +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **IsAlphaPremultiplied** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------------| +|`[switch]`|false |Named |false |is_alpha_premultiplied| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |10 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |11 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |8 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |9 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 693fc38f40318252f5762a5f58768fc6d3968397 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1588/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSVCRShader.md | 102 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSVCRShader.md diff --git a/docs/Add-OBSVCRShader.md b/docs/Add-OBSVCRShader.md new file mode 100644 index 000000000..2245dab2f --- /dev/null +++ b/docs/Add-OBSVCRShader.md @@ -0,0 +1,102 @@ +Get-OBSVCRShader +---------------- + +### Synopsis + +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Distort** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Stripe** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **VerticalFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |4 |false |vertical_factor| + +#### **VerticalHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |5 |false |vertical_height| + +#### **VerticalShift** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |0 |false |vertical_shift| + +#### **Vignet** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVCRShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9564d87d39c4ee653945dda80f618f17c5e1f9f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1589/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSVHSShader.md | 126 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBSVHSShader.md diff --git a/docs/Add-OBSVHSShader.md b/docs/Add-OBSVHSShader.md new file mode 100644 index 000000000..43b99ca7d --- /dev/null +++ b/docs/Add-OBSVHSShader.md @@ -0,0 +1,126 @@ +Get-OBSVHSShader +---------------- + +### Synopsis + +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorOffsetIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoiseIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoiseQuality** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **OffsetIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Range** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVHSShader; CommonParameters=True; parameter=System.Object[]}} +``` From a7ba95cca663d0e1f575bdcdac11772a3d2de39f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1590/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSVignettingShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSVignettingShader.md diff --git a/docs/Add-OBSVignettingShader.md b/docs/Add-OBSVignettingShader.md new file mode 100644 index 000000000..7b4284ede --- /dev/null +++ b/docs/Add-OBSVignettingShader.md @@ -0,0 +1,90 @@ +Get-OBSVignettingShader +----------------------- + +### Synopsis + +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **InnerRadius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **OuterRadius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVignettingShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6088c69c6666dfe4faf3f800df1ee1ddf58d9a68 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1591/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSVoronoiPixelationShader.md | 78 ++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Add-OBSVoronoiPixelationShader.md diff --git a/docs/Add-OBSVoronoiPixelationShader.md b/docs/Add-OBSVoronoiPixelationShader.md new file mode 100644 index 000000000..199e0267f --- /dev/null +++ b/docs/Add-OBSVoronoiPixelationShader.md @@ -0,0 +1,78 @@ +Get-OBSVoronoiPixelationShader +------------------------------ + +### Synopsis + +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alternative** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixH** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVoronoiPixelationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4e08287e430494deee1fdb8cbe9f825ec6b28867 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1592/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSZigZagShader.md | 120 ++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSZigZagShader.md diff --git a/docs/Add-OBSZigZagShader.md b/docs/Add-OBSZigZagShader.md new file mode 100644 index 000000000..1ea37ec5b --- /dev/null +++ b/docs/Add-OBSZigZagShader.md @@ -0,0 +1,120 @@ +Get-OBSZigZagShader +------------------- + +### Synopsis + +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |7 |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Period** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Phase** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZigZagShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7adec0f691aba783ea3f3ce9988d3b3dbb258b02 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1593/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSZoomBlurShader.md | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSZoomBlurShader.md diff --git a/docs/Add-OBSZoomBlurShader.md b/docs/Add-OBSZoomBlurShader.md new file mode 100644 index 000000000..377933c03 --- /dev/null +++ b/docs/Add-OBSZoomBlurShader.md @@ -0,0 +1,102 @@ +Get-OBSZoomBlurShader +--------------------- + +### Synopsis + +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Magnitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Samples** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |speed_percent| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4ae4f983a6483891667c11d64a3166986959f5cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:57:55 +0000 Subject: [PATCH 1594/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Add-OBSZoomShader.md | 84 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSZoomShader.md diff --git a/docs/Add-OBSZoomShader.md b/docs/Add-OBSZoomShader.md new file mode 100644 index 000000000..e0aba75c6 --- /dev/null +++ b/docs/Add-OBSZoomShader.md @@ -0,0 +1,84 @@ +Get-OBSZoomShader +----------------- + +### Synopsis + +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0dc64735e13cd9885d6229ab6b4a93c05609a2b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1595/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAddShader.md | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSAddShader.md diff --git a/docs/Set-OBSAddShader.md b/docs/Set-OBSAddShader.md new file mode 100644 index 000000000..a5b24f4f1 --- /dev/null +++ b/docs/Set-OBSAddShader.md @@ -0,0 +1,72 @@ +Get-OBSAddShader +---------------- + +### Synopsis + +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OtherImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |other_image| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAddShader; CommonParameters=True; parameter=System.Object[]}} +``` From c446412387ba245abe852c35bd19d850b9df6a45 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1596/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAlphaBorderShader.md | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSAlphaBorderShader.md diff --git a/docs/Set-OBSAlphaBorderShader.md b/docs/Set-OBSAlphaBorderShader.md new file mode 100644 index 000000000..eb0229742 --- /dev/null +++ b/docs/Set-OBSAlphaBorderShader.md @@ -0,0 +1,84 @@ +Get-OBSAlphaBorderShader +------------------------ + +### Synopsis + +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |2 |false |alpha_cut_off| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |0 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAlphaBorderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2fa5770b8c34328751c900270af8bc64cc4d2bbd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1597/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAlphaGamingBentCameraShader.md | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSAlphaGamingBentCameraShader.md diff --git a/docs/Set-OBSAlphaGamingBentCameraShader.md b/docs/Set-OBSAlphaGamingBentCameraShader.md new file mode 100644 index 000000000..8eae8d867 --- /dev/null +++ b/docs/Set-OBSAlphaGamingBentCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSAlphaGamingBentCameraShader +---------------------------------- + +### Synopsis + +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **LeftFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |left_flip_shadow| + +#### **LeftFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |3 |false |left_flip_width| + +#### **LeftSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |2 |false |left_side_shadow| + +#### **LeftSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |left_side_size| + +#### **LeftSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |left_side_width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RightFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |right_flip_shadow| + +#### **RightFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |8 |false |right_flip_width| + +#### **RightSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |right_side_shadow| + +#### **RightSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |6 |false |right_side_size| + +#### **RightSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |right_side_width| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAlphaGamingBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1db89e74f3abe41ef193510e4e8fa30c8f83ea30 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1598/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAnimatedPathShader.md | 126 ++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSAnimatedPathShader.md diff --git a/docs/Set-OBSAnimatedPathShader.md b/docs/Set-OBSAnimatedPathShader.md new file mode 100644 index 000000000..5f440f970 --- /dev/null +++ b/docs/Set-OBSAnimatedPathShader.md @@ -0,0 +1,126 @@ +Get-OBSAnimatedPathShader +------------------------- + +### Synopsis + +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PathMap** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |8 |false |path_map| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |7 |false |speed_percent| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAnimatedPathShader; CommonParameters=True; parameter=System.Object[]}} +``` From e470cf8a0328fd86876ac124343358699ab531ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1599/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAnimatedTextureShader.md | 204 +++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/Set-OBSAnimatedTextureShader.md diff --git a/docs/Set-OBSAnimatedTextureShader.md b/docs/Set-OBSAnimatedTextureShader.md new file mode 100644 index 000000000..a957f339d --- /dev/null +++ b/docs/Set-OBSAnimatedTextureShader.md @@ -0,0 +1,204 @@ +Get-OBSAnimatedTextureShader +---------------------------- + +### Synopsis + +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alpha** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **AnimationImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |9 |false |Animation_Image| + +#### **Bounce** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterAnimation** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |center_animation| + +#### **ColorizationImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[string]`|false |10 |false |Colorization_Image| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |19 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PolarAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |11 |false |polar_angle| + +#### **PolarAnimation** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |polar_animation| + +#### **PolarHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |12 |false |polar_height| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |20 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| + +#### **SpeedHorizontalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------------| +|`[float]`|false |13 |false |speed_horizontal_percent| + +#### **SpeedVerticalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |14 |false |speed_vertical_percent| + +#### **TintSpeedHorizontalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |15 |false |tint_speed_horizontal_percent| + +#### **TintSpeedVerticalPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |16 |false |tint_speed_vertical_percent| + +#### **UseAnimationImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------------| +|`[switch]`|false |Named |false |Use_Animation_Image_Color| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAnimatedTextureShader; CommonParameters=True; parameter=System.Object[]}} +``` From 90d6777bd8511bc1a98dab17998c50f35e78af77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1600/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAsciiShader.md | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSAsciiShader.md diff --git a/docs/Set-OBSAsciiShader.md b/docs/Set-OBSAsciiShader.md new file mode 100644 index 000000000..547c8783d --- /dev/null +++ b/docs/Set-OBSAsciiShader.md @@ -0,0 +1,96 @@ +Get-OBSAsciiShader +------------------ + +### Synopsis + +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BaseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |1 |false |base_color| + +#### **CharacterSet** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |character_set| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Monochrome** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Note** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAsciiShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4181bb998bcc8a0046b4434303a383f138891ac7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1601/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSAspectRatioShader.md | 126 +++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSAspectRatioShader.md diff --git a/docs/Set-OBSAspectRatioShader.md b/docs/Set-OBSAspectRatioShader.md new file mode 100644 index 000000000..cf836393d --- /dev/null +++ b/docs/Set-OBSAspectRatioShader.md @@ -0,0 +1,126 @@ +Get-OBSAspectRatioShader +------------------------ + +### Synopsis + +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSAspectRatioShader; CommonParameters=True; parameter=System.Object[]}} +``` From bd8d3cc38de07c7df1fd871abc4c33fb8c2ace33 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1602/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBackgroundRemovalShader.md | 156 +++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 docs/Set-OBSBackgroundRemovalShader.md diff --git a/docs/Set-OBSBackgroundRemovalShader.md b/docs/Set-OBSBackgroundRemovalShader.md new file mode 100644 index 000000000..65b1fae79 --- /dev/null +++ b/docs/Set-OBSBackgroundRemovalShader.md @@ -0,0 +1,156 @@ +Get-OBSBackgroundRemovalShader +------------------------------ + +### Synopsis + +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **Convert601to709** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Convert_601to709| + +#### **Convert709to601** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Convert_709to601| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **Target** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBackgroundRemovalShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3e819349e1e6e3920517e0c1c0c48f1529960060 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1603/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBlendOpacityShader.md | 120 ++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSBlendOpacityShader.md diff --git a/docs/Set-OBSBlendOpacityShader.md b/docs/Set-OBSBlendOpacityShader.md new file mode 100644 index 000000000..be37ba2cb --- /dev/null +++ b/docs/Set-OBSBlendOpacityShader.md @@ -0,0 +1,120 @@ +Get-OBSBlendOpacityShader +------------------------- + +### Synopsis + +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **OpacityEndPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------------| +|`[float]`|false |2 |false |Opacity_End_Percent| + +#### **OpacityStartPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |1 |false |Opacity_Start_Percent| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |Rotation_Offset| + +#### **Rotational** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Spread** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBlendOpacityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 014d1d8f193aab013638e330f3fb8a4302fd8bc7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1604/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBlinkShader.md | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSBlinkShader.md diff --git a/docs/Set-OBSBlinkShader.md b/docs/Set-OBSBlinkShader.md new file mode 100644 index 000000000..27529a6b5 --- /dev/null +++ b/docs/Set-OBSBlinkShader.md @@ -0,0 +1,72 @@ +Get-OBSBlinkShader +------------------ + +### Synopsis + +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBlinkShader; CommonParameters=True; parameter=System.Object[]}} +``` From d396f153306216dfa1ef4e70148afe87fbd8acae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1605/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBloomShader.md | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSBloomShader.md diff --git a/docs/Set-OBSBloomShader.md b/docs/Set-OBSBloomShader.md new file mode 100644 index 000000000..0ea848a99 --- /dev/null +++ b/docs/Set-OBSBloomShader.md @@ -0,0 +1,90 @@ +Get-OBSBloomShader +------------------ + +### Synopsis + +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBloomShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6cd90e9e4bcb6c6d654f7e44365b51563913a5eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:02 +0000 Subject: [PATCH 1606/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBorderShader.md | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSBorderShader.md diff --git a/docs/Set-OBSBorderShader.md b/docs/Set-OBSBorderShader.md new file mode 100644 index 000000000..189107e70 --- /dev/null +++ b/docs/Set-OBSBorderShader.md @@ -0,0 +1,72 @@ +Get-OBSBorderShader +------------------- + +### Synopsis + +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBorderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2ec49a769847e7dfe824c5f4f619130291caf08e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1607/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBoxBlurShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSBoxBlurShader.md diff --git a/docs/Set-OBSBoxBlurShader.md b/docs/Set-OBSBoxBlurShader.md new file mode 100644 index 000000000..c0e6cfcf2 --- /dev/null +++ b/docs/Set-OBSBoxBlurShader.md @@ -0,0 +1,96 @@ +Get-OBSBoxBlurShader +-------------------- + +### Synopsis + +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |2 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBoxBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3d3661c9de74d1c0aefc82008be0b61b2f447d38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1608/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBulgePinchShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSBulgePinchShader.md diff --git a/docs/Set-OBSBulgePinchShader.md b/docs/Set-OBSBulgePinchShader.md new file mode 100644 index 000000000..9b256b68a --- /dev/null +++ b/docs/Set-OBSBulgePinchShader.md @@ -0,0 +1,102 @@ +Get-OBSBulgePinchShader +----------------------- + +### Synopsis + +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Magnitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBulgePinchShader; CommonParameters=True; parameter=System.Object[]}} +``` From 24d52ac36022ccf6d68d99a5445f17f8a626048b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1609/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSBurnShader.md | 132 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSBurnShader.md diff --git a/docs/Set-OBSBurnShader.md b/docs/Set-OBSBurnShader.md new file mode 100644 index 000000000..960ca8967 --- /dev/null +++ b/docs/Set-OBSBurnShader.md @@ -0,0 +1,132 @@ +Get-OBSBurnShader +----------------- + +### Synopsis + +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animated** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ApplySmoke** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |Apply_Smoke| + +#### **ApplyToChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Apply_to_Channel| + +#### **BurnGradient** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |0 |false |Burn_Gradient| + +#### **DissolveValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |3 |false |Dissolve_Value| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **GradientAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |Gradient_Adjust| + +#### **Iterations** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SmokeHorizonalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |4 |false |Smoke_Horizonal_Speed| + +#### **SmokeVerticalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |5 |false |Smoke_Vertical_Speed| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSBurnShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1823c90a2c391a2f608824f72237b58b1f6b4795 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1610/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCartoonShader.md | 138 +++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Set-OBSCartoonShader.md diff --git a/docs/Set-OBSCartoonShader.md b/docs/Set-OBSCartoonShader.md new file mode 100644 index 000000000..d2ea4374d --- /dev/null +++ b/docs/Set-OBSCartoonShader.md @@ -0,0 +1,138 @@ +Get-OBSCartoonShader +-------------------- + +### Synopsis + +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **HueSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |9 |false |hue_steps| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ValueSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |10 |false |value_steps| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCartoonShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5bca13c993882f524258be40156c3e7e9b1684b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1611/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCellShadedShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSCellShadedShader.md diff --git a/docs/Set-OBSCellShadedShader.md b/docs/Set-OBSCellShadedShader.md new file mode 100644 index 000000000..3f39b14ec --- /dev/null +++ b/docs/Set-OBSCellShadedShader.md @@ -0,0 +1,90 @@ +Get-OBSCellShadedShader +----------------------- + +### Synopsis + +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCellShadedShader; CommonParameters=True; parameter=System.Object[]}} +``` From a0d36ff5d02e9bb22d682261782cc48df12cc3c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1612/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSChromaticAberrationShader.md | 114 +++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Set-OBSChromaticAberrationShader.md diff --git a/docs/Set-OBSChromaticAberrationShader.md b/docs/Set-OBSChromaticAberrationShader.md new file mode 100644 index 000000000..fb81e3460 --- /dev/null +++ b/docs/Set-OBSChromaticAberrationShader.md @@ -0,0 +1,114 @@ +Get-OBSChromaticAberrationShader +-------------------------------- + +### Synopsis + +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DistortBarrel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |distort_barrel| + +#### **DistortRadial** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |distort_radial| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Gamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumIter** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------| +|`[int]`|false |2 |false |num_iter| + +#### **OffsetSpectrumYcgco** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------------| +|`[switch]`|false |Named |false |offset_spectrum_ycgco| + +#### **OffsetSpectrumYuv** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |offset_spectrum_yuv| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **UseRandom** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |use_random| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSChromaticAberrationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 01791e016926b51744b973dcc9ef476ad1b947d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1613/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSChromaUVDistortionShader.md | 84 +++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSChromaUVDistortionShader.md diff --git a/docs/Set-OBSChromaUVDistortionShader.md b/docs/Set-OBSChromaUVDistortionShader.md new file mode 100644 index 000000000..bf55ffa54 --- /dev/null +++ b/docs/Set-OBSChromaUVDistortionShader.md @@ -0,0 +1,84 @@ +Get-OBSChromaUVDistortionShader +------------------------------- + +### Synopsis + +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Chroma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Distortion** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSChromaUVDistortionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 23eaa7a9250f2340ac0a20317496dd2bab73ee5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1614/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCircleMaskFilterShader.md | 102 ++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSCircleMaskFilterShader.md diff --git a/docs/Set-OBSCircleMaskFilterShader.md b/docs/Set-OBSCircleMaskFilterShader.md new file mode 100644 index 000000000..f6e2308c9 --- /dev/null +++ b/docs/Set-OBSCircleMaskFilterShader.md @@ -0,0 +1,102 @@ +Get-OBSCircleMaskFilterShader +----------------------------- + +### Synopsis + +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Antialiasing** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CircleOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |Circle_Offset_X| + +#### **CircleOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |2 |false |Circle_Offset_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **SourceOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |3 |false |Source_Offset_X| + +#### **SourceOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |4 |false |Source_Offset_Y| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCircleMaskFilterShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1ac0bab8dbc936b1b92b8d905c965ad502175948 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1615/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSColorDepthShader.md | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSColorDepthShader.md diff --git a/docs/Set-OBSColorDepthShader.md b/docs/Set-OBSColorDepthShader.md new file mode 100644 index 000000000..ce70ce642 --- /dev/null +++ b/docs/Set-OBSColorDepthShader.md @@ -0,0 +1,78 @@ +Get-OBSColorDepthShader +----------------------- + +### Synopsis + +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ColorDepth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSColorDepthShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8ec95cd2450a20c3c91fa97014f9732b31bb3aae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1616/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSColorGradeFilterShader.md | 96 +++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSColorGradeFilterShader.md diff --git a/docs/Set-OBSColorGradeFilterShader.md b/docs/Set-OBSColorGradeFilterShader.md new file mode 100644 index 000000000..67a9e2233 --- /dev/null +++ b/docs/Set-OBSColorGradeFilterShader.md @@ -0,0 +1,96 @@ +Get-OBSColorGradeFilterShader +----------------------------- + +### Synopsis + +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Lut** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LutAmountPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |2 |false |lut_amount_percent| + +#### **LutOffsetPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |4 |false |lut_offset_percent| + +#### **LutScalePercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |lut_scale_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSColorGradeFilterShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1ff63e7a6d69897a88c03310a1b26caff458ce81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1617/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCornerPinShader.md | 120 +++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSCornerPinShader.md diff --git a/docs/Set-OBSCornerPinShader.md b/docs/Set-OBSCornerPinShader.md new file mode 100644 index 000000000..59f1ca217 --- /dev/null +++ b/docs/Set-OBSCornerPinShader.md @@ -0,0 +1,120 @@ +Get-OBSCornerPinShader +---------------------- + +### Synopsis + +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AntialiasEdges** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |Antialias_Edges| + +#### **BottomLeftX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |4 |false |Bottom_Left_X| + +#### **BottomLeftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Bottom_Left_Y| + +#### **BottomRightX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |6 |false |Bottom_Right_X| + +#### **BottomRightY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |7 |false |Bottom_Right_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **TopLeftX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |Top_Left_X| + +#### **TopLeftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |Top_Left_Y| + +#### **TopRightX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Top_Right_X| + +#### **TopRightY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |Top_Right_Y| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCornerPinShader; CommonParameters=True; parameter=System.Object[]}} +``` From d2ca45543d52c02e491ea6d365b0ccfd3f3afd51 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:03 +0000 Subject: [PATCH 1618/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCrtCurvatureShader.md | 84 +++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSCrtCurvatureShader.md diff --git a/docs/Set-OBSCrtCurvatureShader.md b/docs/Set-OBSCrtCurvatureShader.md new file mode 100644 index 000000000..a52832279 --- /dev/null +++ b/docs/Set-OBSCrtCurvatureShader.md @@ -0,0 +1,84 @@ +Get-OBSCrtCurvatureShader +------------------------- + +### Synopsis + +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Border** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Feathering** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCrtCurvatureShader; CommonParameters=True; parameter=System.Object[]}} +``` From 48fd7fc3a83b4415ef0a60fdd5fe265557fda310 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1619/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCutRectPerCornerShader.md | 120 ++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSCutRectPerCornerShader.md diff --git a/docs/Set-OBSCutRectPerCornerShader.md b/docs/Set-OBSCutRectPerCornerShader.md new file mode 100644 index 000000000..6ab6819b2 --- /dev/null +++ b/docs/Set-OBSCutRectPerCornerShader.md @@ -0,0 +1,120 @@ +Get-OBSCutRectPerCornerShader +----------------------------- + +### Synopsis + +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerBl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |3 |false |corner_bl| + +#### **CornerBr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |2 |false |corner_br| + +#### **CornerTl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |0 |false |corner_tl| + +#### **CornerTr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |1 |false |corner_tr| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCutRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3aef9b63d84c0bc7939b0846030ed76fb1052b9e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1620/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSCylinderShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSCylinderShader.md diff --git a/docs/Set-OBSCylinderShader.md b/docs/Set-OBSCylinderShader.md new file mode 100644 index 000000000..650553fc5 --- /dev/null +++ b/docs/Set-OBSCylinderShader.md @@ -0,0 +1,78 @@ +Get-OBSCylinderShader +--------------------- + +### Synopsis + +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundCut** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |background_cut| + +#### **CylinderFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |cylinder_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCylinderShader; CommonParameters=True; parameter=System.Object[]}} +``` From 59d6bcd12bf809e9a3622a429032b9c87a975e48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1621/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDarkenShader.md | 84 +++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSDarkenShader.md diff --git a/docs/Set-OBSDarkenShader.md b/docs/Set-OBSDarkenShader.md new file mode 100644 index 000000000..52acb2ee0 --- /dev/null +++ b/docs/Set-OBSDarkenShader.md @@ -0,0 +1,84 @@ +Get-OBSDarkenShader +------------------- + +### Synopsis + +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FillPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |1 |false |Fill_Percentage| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **OpacityPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |0 |false |Opacity_Percentage| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDarkenShader; CommonParameters=True; parameter=System.Object[]}} +``` From a0cd30433bf7c63e53e135e323882fbbef2e1baf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1622/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDeadPixelFixerShader.md | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSDeadPixelFixerShader.md diff --git a/docs/Set-OBSDeadPixelFixerShader.md b/docs/Set-OBSDeadPixelFixerShader.md new file mode 100644 index 000000000..240cf09ca --- /dev/null +++ b/docs/Set-OBSDeadPixelFixerShader.md @@ -0,0 +1,78 @@ +Get-OBSDeadPixelFixerShader +--------------------------- + +### Synopsis + +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DeadPixelX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |0 |false |Dead_Pixel_X| + +#### **DeadPixelY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Dead_Pixel_Y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDeadPixelFixerShader; CommonParameters=True; parameter=System.Object[]}} +``` From 72398e9c68e346e794db8511ad83b0791b7ef3a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1623/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDivideRotateShader.md | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSDivideRotateShader.md diff --git a/docs/Set-OBSDivideRotateShader.md b/docs/Set-OBSDivideRotateShader.md new file mode 100644 index 000000000..72daf0664 --- /dev/null +++ b/docs/Set-OBSDivideRotateShader.md @@ -0,0 +1,96 @@ +Get-OBSDivideRotateShader +------------------------- + +### Synopsis + +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |alpha_percentage| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **IChannel0** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |speed_percentage| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDivideRotateShader; CommonParameters=True; parameter=System.Object[]}} +``` From e576064dd5cecf2413e5b6434a1de0deabe2715a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1624/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDoodleShader.md | 132 ++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSDoodleShader.md diff --git a/docs/Set-OBSDoodleShader.md b/docs/Set-OBSDoodleShader.md new file mode 100644 index 000000000..47f7d4e54 --- /dev/null +++ b/docs/Set-OBSDoodleShader.md @@ -0,0 +1,132 @@ +Get-OBSDoodleShader +------------------- + +### Synopsis + +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **DoodleScalePercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |8 |false |Doodle_Scale_Percent| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SnapPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |9 |false |Snap_Percent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDoodleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 14a6f9a6636e5246ea4a7247edeed882bffe1624 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1625/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDrawingsShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSDrawingsShader.md diff --git a/docs/Set-OBSDrawingsShader.md b/docs/Set-OBSDrawingsShader.md new file mode 100644 index 000000000..07b0d863c --- /dev/null +++ b/docs/Set-OBSDrawingsShader.md @@ -0,0 +1,78 @@ +Get-OBSDrawingsShader +--------------------- + +### Synopsis + +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AngleNum** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SampNum** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDrawingsShader; CommonParameters=True; parameter=System.Object[]}} +``` From 73219b1ed6887fd9466556949e82f8983fe7cad4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1626/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDropShadowShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSDropShadowShader.md diff --git a/docs/Set-OBSDropShadowShader.md b/docs/Set-OBSDropShadowShader.md new file mode 100644 index 000000000..0822f6f2a --- /dev/null +++ b/docs/Set-OBSDropShadowShader.md @@ -0,0 +1,102 @@ +Get-OBSDropShadowShader +----------------------- + +### Synopsis + +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **IsAlphaPremultiplied** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------------| +|`[switch]`|false |Named |false |is_alpha_premultiplied| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |4 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3d7eb90ca467d7748e6495e2b0c76f1ad9194f0b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1627/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDrunkShader.md | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSDrunkShader.md diff --git a/docs/Set-OBSDrunkShader.md b/docs/Set-OBSDrunkShader.md new file mode 100644 index 000000000..c4f47f808 --- /dev/null +++ b/docs/Set-OBSDrunkShader.md @@ -0,0 +1,132 @@ +Get-OBSDrunkShader +------------------ + +### Synopsis + +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **Blur** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |0 |false |color_matrix| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |6 |false |glow_color| + +#### **GlowPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |glow_percent| + +#### **MaxBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |4 |false |max_brightness| + +#### **MinBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |min_brightness| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |5 |false |pulse_speed_percent| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDrunkShader; CommonParameters=True; parameter=System.Object[]}} +``` From e5b7506a0542c149a104e09ff74b09bed4186319 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1628/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSDynamicMaskShader.md | 216 +++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 docs/Set-OBSDynamicMaskShader.md diff --git a/docs/Set-OBSDynamicMaskShader.md b/docs/Set-OBSDynamicMaskShader.md new file mode 100644 index 000000000..d3c8ee96c --- /dev/null +++ b/docs/Set-OBSDynamicMaskShader.md @@ -0,0 +1,216 @@ +Get-OBSDynamicMaskShader +------------------------ + +### Synopsis + +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |23 |false |alpha_alpha_input_value| + +#### **AlphaBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |19 |false |alpha_base_value| + +#### **AlphaBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |22 |false |alpha_blue_input_value| + +#### **AlphaGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |21 |false |alpha_green_input_value| + +#### **AlphaMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |24 |false |alpha_multiplier| + +#### **AlphaRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |20 |false |alpha_red_input_value| + +#### **BlueAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |17 |false |blue_alpha_input_value| + +#### **BlueBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |blue_base_value| + +#### **BlueBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |16 |false |blue_blue_input_value| + +#### **BlueGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |15 |false |blue_green_input_value| + +#### **BlueMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |18 |false |blue_multiplier| + +#### **BlueRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |14 |false |blue_red_input_value| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |26 |true (ByPropertyName)| + +#### **GreenAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |11 |false |green_alpha_input_value| + +#### **GreenBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |green_base_value| + +#### **GreenBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------------| +|`[float]`|false |10 |false |green_blue_input_value| + +#### **GreenGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------| +|`[float]`|false |9 |false |green_green_input_value| + +#### **GreenMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |12 |false |green_multiplier| + +#### **GreenRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |8 |false |green_red_input_value| + +#### **InputSource** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |0 |false |input_source| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedAlphaInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |5 |false |red_alpha_input_value| + +#### **RedBaseValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |red_base_value| + +#### **RedBlueInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |4 |false |red_blue_input_value| + +#### **RedGreenInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------| +|`[float]`|false |3 |false |red_green_input_value| + +#### **RedMultiplier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |6 |false |red_multiplier| + +#### **RedRedInputValue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------------| +|`[float]`|false |2 |false |red_red_input_value| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |27 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |25 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDynamicMaskShader; CommonParameters=True; parameter=System.Object[]}} +``` From ffa171dd84778763a01ae2ab63a6010ae31df544 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:04 +0000 Subject: [PATCH 1629/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSEdgeDetectionShader.md | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSEdgeDetectionShader.md diff --git a/docs/Set-OBSEdgeDetectionShader.md b/docs/Set-OBSEdgeDetectionShader.md new file mode 100644 index 000000000..1abf3e579 --- /dev/null +++ b/docs/Set-OBSEdgeDetectionShader.md @@ -0,0 +1,132 @@ +Get-OBSEdgeDetectionShader +-------------------------- + +### Synopsis + +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |alpha_channel| + +#### **AlphaInvert** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |alpha_invert| + +#### **AlphaLevel** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |alpha_level| + +#### **EdgeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |1 |false |edge_color| + +#### **EdgeMultiply** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |edge_multiply| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **InvertEdge** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |invert_edge| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NonEdgeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[string]`|false |2 |false |non_edge_color| + +#### **NonEdgeMultiply** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |non_edge_multiply| + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |4 |false |rand_f | + +#### **Sensitivity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEdgeDetectionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8890a1809d27e99eb500c7cced871856e36bc827 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1630/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSEmbersShader.md | 198 ++++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 docs/Set-OBSEmbersShader.md diff --git a/docs/Set-OBSEmbersShader.md b/docs/Set-OBSEmbersShader.md new file mode 100644 index 000000000..9373e6d97 --- /dev/null +++ b/docs/Set-OBSEmbersShader.md @@ -0,0 +1,198 @@ +Get-OBSEmbersShader +------------------- + +### Synopsis + +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |20 |false |Alpha_Percentage| + +#### **AnimationSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |Animation_Speed| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |22 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LayersCount** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |17 |false |Layers_Count| + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |18 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |19 |false | + +#### **MovementDirectionHorizontal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |14 |false |Movement_Direction_Horizontal| + +#### **MovementDirectionVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |15 |false |Movement_Direction_Vertical| + +#### **MovementSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------------| +|`[int]`|false |16 |false |Movement_Speed_Percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |12 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |23 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbersShader; CommonParameters=True; parameter=System.Object[]}} +``` From 970ee7749a97ab4b5eb66b414e7c50456c57861c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1631/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSEmbossColorShader.md | 102 +++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSEmbossColorShader.md diff --git a/docs/Set-OBSEmbossColorShader.md b/docs/Set-OBSEmbossColorShader.md new file mode 100644 index 000000000..a93dc14dd --- /dev/null +++ b/docs/Set-OBSEmbossColorShader.md @@ -0,0 +1,102 @@ +Get-OBSEmbossColorShader +------------------------ + +### Synopsis + +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AmpFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **AngleSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |0 |false |Angle_Steps| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RadiusSteps** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |1 |false |Radius_Steps| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **UpDownPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |3 |false |Up_Down_Percent| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbossColorShader; CommonParameters=True; parameter=System.Object[]}} +``` From bda37cddae2430f6e5440c6db7349d1a970fc8ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1632/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSEmbossShader.md | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSEmbossShader.md diff --git a/docs/Set-OBSEmbossShader.md b/docs/Set-OBSEmbossShader.md new file mode 100644 index 000000000..279cc5f03 --- /dev/null +++ b/docs/Set-OBSEmbossShader.md @@ -0,0 +1,78 @@ +Get-OBSEmbossShader +------------------- + +### Synopsis + +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |Use_Color| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSEmbossShader; CommonParameters=True; parameter=System.Object[]}} +``` From 97e2223446af9f817e6019fd3f8a7b0098881822 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1633/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSExeldroBentCameraShader.md | 126 +++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSExeldroBentCameraShader.md diff --git a/docs/Set-OBSExeldroBentCameraShader.md b/docs/Set-OBSExeldroBentCameraShader.md new file mode 100644 index 000000000..b769bedf2 --- /dev/null +++ b/docs/Set-OBSExeldroBentCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSExeldroBentCameraShader +------------------------------ + +### Synopsis + +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **LeftFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |left_flip_shadow| + +#### **LeftFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |3 |false |left_flip_width| + +#### **LeftSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |2 |false |left_side_shadow| + +#### **LeftSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |left_side_size| + +#### **LeftSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |left_side_width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RightFlipShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |right_flip_shadow| + +#### **RightFlipWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |8 |false |right_flip_width| + +#### **RightSideShadow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |right_side_shadow| + +#### **RightSideSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |6 |false |right_side_size| + +#### **RightSideWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |right_side_width| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSExeldroBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From b873e679cc6e143e2c1ef1a9a380b2fdc67e2ddb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1634/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFadeTransitionShader.md | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSFadeTransitionShader.md diff --git a/docs/Set-OBSFadeTransitionShader.md b/docs/Set-OBSFadeTransitionShader.md new file mode 100644 index 000000000..c8edec111 --- /dev/null +++ b/docs/Set-OBSFadeTransitionShader.md @@ -0,0 +1,90 @@ +Get-OBSFadeTransitionShader +--------------------------- + +### Synopsis + +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFadeTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From e95a917bf319d09b61637fb7e86fc171a73df0fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1635/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFillColorGradientShader.md | 96 ++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSFillColorGradientShader.md diff --git a/docs/Set-OBSFillColorGradientShader.md b/docs/Set-OBSFillColorGradientShader.md new file mode 100644 index 000000000..7dbf28078 --- /dev/null +++ b/docs/Set-OBSFillColorGradientShader.md @@ -0,0 +1,96 @@ +Get-OBSFillColorGradientShader +------------------------------ + +### Synopsis + +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |4 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **GradientOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |Gradient_Offset| + +#### **GradientWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |1 |false |Gradient_Width| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 83484d3bda7d85968d2c5d2e53c6307be3efa810 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1636/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFillColorLinearShader.md | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSFillColorLinearShader.md diff --git a/docs/Set-OBSFillColorLinearShader.md b/docs/Set-OBSFillColorLinearShader.md new file mode 100644 index 000000000..545919b83 --- /dev/null +++ b/docs/Set-OBSFillColorLinearShader.md @@ -0,0 +1,84 @@ +Get-OBSFillColorLinearShader +---------------------------- + +### Synopsis + +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |2 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |1 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorLinearShader; CommonParameters=True; parameter=System.Object[]}} +``` From 774727c3c07f1dbe5c8ea6badd6267480f1541c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1637/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFillColorRadialDegreesShader.md | 102 ++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSFillColorRadialDegreesShader.md diff --git a/docs/Set-OBSFillColorRadialDegreesShader.md b/docs/Set-OBSFillColorRadialDegreesShader.md new file mode 100644 index 000000000..8c378b101 --- /dev/null +++ b/docs/Set-OBSFillColorRadialDegreesShader.md @@ -0,0 +1,102 @@ +Get-OBSFillColorRadialDegreesShader +----------------------------------- + +### Synopsis + +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |5 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |0 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Start_Angle| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorRadialDegreesShader; CommonParameters=True; parameter=System.Object[]}} +``` From e77fa54744de308928ed3f65f3903c4c0bf18cdd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1638/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- .../Set-OBSFillColorRadialPercentageShader.md | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSFillColorRadialPercentageShader.md diff --git a/docs/Set-OBSFillColorRadialPercentageShader.md b/docs/Set-OBSFillColorRadialPercentageShader.md new file mode 100644 index 000000000..48a183b10 --- /dev/null +++ b/docs/Set-OBSFillColorRadialPercentageShader.md @@ -0,0 +1,102 @@ +Get-OBSFillColorRadialPercentageShader +-------------------------------------- + +### Synopsis + +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Fill** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FillColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |5 |false |Fill_Color| + +#### **FillDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |0 |false |Fill_Direction| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |Start_Angle| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFillColorRadialPercentageShader; CommonParameters=True; parameter=System.Object[]}} +``` From f7e0009498c6075393e980055ad7c52b1a5cb4bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1639/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFilterTemplateShader.md | 144 ++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Set-OBSFilterTemplateShader.md diff --git a/docs/Set-OBSFilterTemplateShader.md b/docs/Set-OBSFilterTemplateShader.md new file mode 100644 index 000000000..751c318d6 --- /dev/null +++ b/docs/Set-OBSFilterTemplateShader.md @@ -0,0 +1,144 @@ +Get-OBSFilterTemplateShader +--------------------------- + +### Synopsis + +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |12 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFilterTemplateShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1b67e036b35a3296b459e35d4765477225551ae1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:05 +0000 Subject: [PATCH 1640/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFire3Shader.md | 234 +++++++++++++++++++++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 docs/Set-OBSFire3Shader.md diff --git a/docs/Set-OBSFire3Shader.md b/docs/Set-OBSFire3Shader.md new file mode 100644 index 000000000..e959aa16e --- /dev/null +++ b/docs/Set-OBSFire3Shader.md @@ -0,0 +1,234 @@ +Get-OBSFire3Shader +------------------ + +### Synopsis + +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |14 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |18 |false |Color_To_Replace| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |24 |true (ByPropertyName)| + +#### **FlameModifier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |21 |false |Flame_Modifier| + +#### **FlameSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |19 |false |Flame_Size| + +#### **FlameTongueSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |22 |false |Flame_Tongue_Size| + +#### **FullWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |Full_Width| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |16 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **MovementDirectionHorizontal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |12 |false |Movement_Direction_Horizontal| + +#### **MovementDirectionVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------------------| +|`[float]`|false |13 |false |Movement_Direction_Vertical| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |25 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |23 |true (ByPropertyName)|SceneItemName| + +#### **SparkGridHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |20 |false |Spark_Grid_Height| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |15 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFire3Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 1f1e77e926df506468e65f64c5ae87ae4a269760 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1641/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFireShader.md | 138 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Set-OBSFireShader.md diff --git a/docs/Set-OBSFireShader.md b/docs/Set-OBSFireShader.md new file mode 100644 index 000000000..3118685d1 --- /dev/null +++ b/docs/Set-OBSFireShader.md @@ -0,0 +1,138 @@ +Get-OBSFireShader +----------------- + +### Synopsis + +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **FireType** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------| +|`[int]`|false |3 |false |Fire_Type| + +#### **FlameSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------| +|`[int]`|false |2 |false |Flame_Size| + +#### **Invert** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireShader; CommonParameters=True; parameter=System.Object[]}} +``` From 99c461f62ee94ede651f05d05ba1e7a063cd1819 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1642/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFireworksShader.md | 84 ++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSFireworksShader.md diff --git a/docs/Set-OBSFireworksShader.md b/docs/Set-OBSFireworksShader.md new file mode 100644 index 000000000..3df2dcb2c --- /dev/null +++ b/docs/Set-OBSFireworksShader.md @@ -0,0 +1,84 @@ +Get-OBSFireworksShader +---------------------- + +### Synopsis + +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **ShowFlash** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_flash| + +#### **ShowStars** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_stars| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseTransparancy** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |use_transparancy| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireworksShader; CommonParameters=True; parameter=System.Object[]}} +``` From 40ab4c549b0893785f3f68d41b3897916c6e847f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1643/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFisheyeShader.md | 84 ++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSFisheyeShader.md diff --git a/docs/Set-OBSFisheyeShader.md b/docs/Set-OBSFisheyeShader.md new file mode 100644 index 000000000..7edab9344 --- /dev/null +++ b/docs/Set-OBSFisheyeShader.md @@ -0,0 +1,84 @@ +Get-OBSFisheyeShader +-------------------- + +### Synopsis + +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFisheyeShader; CommonParameters=True; parameter=System.Object[]}} +``` From a1c82ee5cf0f290d007a1948a814fd05de357e24 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1644/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFisheyeXyShader.md | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSFisheyeXyShader.md diff --git a/docs/Set-OBSFisheyeXyShader.md b/docs/Set-OBSFisheyeXyShader.md new file mode 100644 index 000000000..7a568dcbd --- /dev/null +++ b/docs/Set-OBSFisheyeXyShader.md @@ -0,0 +1,90 @@ +Get-OBSFisheyeXyShader +---------------------- + +### Synopsis + +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PowerX** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |power_x| + +#### **PowerY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |3 |false |power_y| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFisheyeXyShader; CommonParameters=True; parameter=System.Object[]}} +``` From ef8fdf2e62a520a15a31c40fab5363b69a4df548 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1645/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSFrostedGlassShader.md | 114 ++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Set-OBSFrostedGlassShader.md diff --git a/docs/Set-OBSFrostedGlassShader.md b/docs/Set-OBSFrostedGlassShader.md new file mode 100644 index 000000000..a6b5989d1 --- /dev/null +++ b/docs/Set-OBSFrostedGlassShader.md @@ -0,0 +1,114 @@ +Get-OBSFrostedGlassShader +------------------------- + +### Synopsis + +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Alpha_Percent| + +#### **Amount** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |4 |false |Border_Color| + +#### **BorderOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |3 |false |Border_Offset| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **HorizontalBorder** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |Horizontal_Border| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFrostedGlassShader; CommonParameters=True; parameter=System.Object[]}} +``` From 708194a706e5ad77d22c6b4b1f9d90fd1a742a08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1646/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGammaCorrectionShader.md | 90 ++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSGammaCorrectionShader.md diff --git a/docs/Set-OBSGammaCorrectionShader.md b/docs/Set-OBSGammaCorrectionShader.md new file mode 100644 index 000000000..8dd4f1488 --- /dev/null +++ b/docs/Set-OBSGammaCorrectionShader.md @@ -0,0 +1,90 @@ +Get-OBSGammaCorrectionShader +---------------------------- + +### Synopsis + +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blue** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Green** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Red** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGammaCorrectionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 59e3679baed599accf8123cac48cf5dd6822e860 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1647/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGaussianBlurAdvancedShader.md | 108 ++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSGaussianBlurAdvancedShader.md diff --git a/docs/Set-OBSGaussianBlurAdvancedShader.md b/docs/Set-OBSGaussianBlurAdvancedShader.md new file mode 100644 index 000000000..0c7cc6805 --- /dev/null +++ b/docs/Set-OBSGaussianBlurAdvancedShader.md @@ -0,0 +1,108 @@ +Get-OBSGaussianBlurAdvancedShader +--------------------------------- + +### Synopsis + +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Directions** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |6 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |3 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |4 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Quality** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **Size** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurAdvancedShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7fc46a9abbdf49538194ea4e2812112343366a91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1648/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGaussianBlurShader.md | 150 ++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSGaussianBlurShader.md diff --git a/docs/Set-OBSGaussianBlurShader.md b/docs/Set-OBSGaussianBlurShader.md new file mode 100644 index 000000000..d782d0cab --- /dev/null +++ b/docs/Set-OBSGaussianBlurShader.md @@ -0,0 +1,150 @@ +Get-OBSGaussianBlurShader +------------------------- + +### Synopsis + +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |7 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **ImageSize** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |2 |false | + +#### **ImageTexel** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |3 |false | + +#### **Kernel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |11 |false | + +#### **KernelTexel** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |12 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |13 |false |pixel_size| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UDiameter** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------| +|`[int]`|false |5 |false |u_diameter| + +#### **URadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------| +|`[int]`|false |4 |false |u_radius| + +#### **UTexelDelta** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|------------| +|`[float[]]`|false |6 |false |u_texelDelta| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |8 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |10 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |9 |false |uv_scale| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From f93538ac49095c81b47d7f0de96331838ca1468e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1649/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGaussianBlurSimpleShader.md | 96 +++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSGaussianBlurSimpleShader.md diff --git a/docs/Set-OBSGaussianBlurSimpleShader.md b/docs/Set-OBSGaussianBlurSimpleShader.md new file mode 100644 index 000000000..c739e36f2 --- /dev/null +++ b/docs/Set-OBSGaussianBlurSimpleShader.md @@ -0,0 +1,96 @@ +Get-OBSGaussianBlurSimpleShader +------------------------------- + +### Synopsis + +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MaskBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |Mask_Bottom| + +#### **MaskLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |Mask_Left| + +#### **MaskRight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |2 |false |Mask_Right| + +#### **MaskTop** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |Mask_Top| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianBlurSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 37e3daa452b575c0a5ac0e7c81a92c53cf7f189f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1650/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGaussianExampleShader.md | 144 +++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Set-OBSGaussianExampleShader.md diff --git a/docs/Set-OBSGaussianExampleShader.md b/docs/Set-OBSGaussianExampleShader.md new file mode 100644 index 000000000..e9782cb4b --- /dev/null +++ b/docs/Set-OBSGaussianExampleShader.md @@ -0,0 +1,144 @@ +Get-OBSGaussianExampleShader +---------------------------- + +### Synopsis + +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AfterImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |9 |false |after_image| + +#### **BeforeImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |8 |false |before_image| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **Exp** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InitialImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |initial_image| + +#### **MaxDistance** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |11 |false |max_distance| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **TextColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |10 |false |text_color| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianExampleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4539c60aa7ab285725124a79070000e0be53ee16 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:06 +0000 Subject: [PATCH 1651/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGaussianSimpleShader.md | 150 ++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSGaussianSimpleShader.md diff --git a/docs/Set-OBSGaussianSimpleShader.md b/docs/Set-OBSGaussianSimpleShader.md new file mode 100644 index 000000000..6c5c17d13 --- /dev/null +++ b/docs/Set-OBSGaussianSimpleShader.md @@ -0,0 +1,150 @@ +Get-OBSGaussianSimpleShader +--------------------------- + +### Synopsis + +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LOD** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |13 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **Samples** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |12 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |6 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGaussianSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From a854c6d5a61b66462ad5274a9c72f11dcd46f9b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1652/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGbCameraShader.md | 126 ++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSGbCameraShader.md diff --git a/docs/Set-OBSGbCameraShader.md b/docs/Set-OBSGbCameraShader.md new file mode 100644 index 000000000..8bea27383 --- /dev/null +++ b/docs/Set-OBSGbCameraShader.md @@ -0,0 +1,126 @@ +Get-OBSGbCameraShader +--------------------- + +### Synopsis + +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlternativeBayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |alternative_bayer| + +#### **Brightness** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Color1** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |5 |false |color_1| + +#### **Color2** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |6 |false |color_2| + +#### **Color3** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |7 |false |color_3| + +#### **Color4** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |8 |false |color_4| + +#### **Contrast** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **DitherFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |dither_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **Gamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixelSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGbCameraShader; CommonParameters=True; parameter=System.Object[]}} +``` From f1e17084b14c5d76529378be319bddae05294d17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1653/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGlassShader.md | 126 +++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSGlassShader.md diff --git a/docs/Set-OBSGlassShader.md b/docs/Set-OBSGlassShader.md new file mode 100644 index 000000000..7d252f273 --- /dev/null +++ b/docs/Set-OBSGlassShader.md @@ -0,0 +1,126 @@ +Get-OBSGlassShader +------------------ + +### Synopsis + +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Alpha_Percent| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |6 |false |Border_Color| + +#### **BorderOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Border_Offset| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **GlassColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |7 |false |Glass_Color| + +#### **HorizontalBorder** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------| +|`[switch]`|false |Named |false |Horizontal_Border| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **OffsetAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Offset_Amount| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReflectionOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |4 |false |Reflection_Offset| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **XSize** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **YSize** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlassShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4af28d309edab476ca252d9797eccab435f9e994 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1654/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGlitchAnalogShader.md | 156 ++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 docs/Set-OBSGlitchAnalogShader.md diff --git a/docs/Set-OBSGlitchAnalogShader.md b/docs/Set-OBSGlitchAnalogShader.md new file mode 100644 index 000000000..16e496c36 --- /dev/null +++ b/docs/Set-OBSGlitchAnalogShader.md @@ -0,0 +1,156 @@ +Get-OBSGlitchAnalogShader +------------------------- + +### Synopsis + +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |8 |false |alpha_percent| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorDriftAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |5 |false |color_drift_amount| + +#### **ColorDriftSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |6 |false |color_drift_speed| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |9 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **HorizontalShake** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |horizontal_shake| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |10 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |7 |false |pulse_speed_percent| + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |rotate_colors| + +#### **ScanLineJitterDisplacement** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------------------| +|`[float]`|false |0 |false |scan_line_jitter_displacement| + +#### **ScanLineJitterThresholdPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------------------------| +|`[int]`|false |1 |false |scan_line_jitter_threshold_percent| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **VerticalJumpAmount** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |2 |false |vertical_jump_amount| + +#### **VerticalSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |3 |false |vertical_speed| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlitchAnalogShader; CommonParameters=True; parameter=System.Object[]}} +``` From a2b47ff594111a3a62e7fd3443b2a73b4989dc82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1655/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGlitchShader.md | 78 +++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSGlitchShader.md diff --git a/docs/Set-OBSGlitchShader.md b/docs/Set-OBSGlitchShader.md new file mode 100644 index 000000000..2407c538e --- /dev/null +++ b/docs/Set-OBSGlitchShader.md @@ -0,0 +1,78 @@ +Get-OBSGlitchShader +------------------- + +### Synopsis + +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AMT** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SPEED** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlitchShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9363c55ebc7eb564c77c85e583d464a82383df5a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1656/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGlowShader.md | 108 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSGlowShader.md diff --git a/docs/Set-OBSGlowShader.md b/docs/Set-OBSGlowShader.md new file mode 100644 index 000000000..3afe0fde2 --- /dev/null +++ b/docs/Set-OBSGlowShader.md @@ -0,0 +1,108 @@ +Get-OBSGlowShader +----------------- + +### Synopsis + +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blur** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **GlowPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |0 |false |glow_percent| + +#### **MaxBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |max_brightness| + +#### **MinBrightness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |2 |false |min_brightness| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |4 |false |pulse_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGlowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 67b6cb217a6bd5c7de547fc56fdd62910f79f98b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1657/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSGradientShader.md | 174 ++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 docs/Set-OBSGradientShader.md diff --git a/docs/Set-OBSGradientShader.md b/docs/Set-OBSGradientShader.md new file mode 100644 index 000000000..3799643b1 --- /dev/null +++ b/docs/Set-OBSGradientShader.md @@ -0,0 +1,174 @@ +Get-OBSGradientShader +--------------------- + +### Synopsis + +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |6 |false |alpha_percent| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |8 |false |Color_To_Replace| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **EndColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |4 |false |end_color| + +#### **EndStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |end_step| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **GradientCenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------------------| +|`[int]`|false |10 |false |gradient_center_height_percentage| + +#### **GradientCenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------------------------| +|`[int]`|false |9 |false |gradient_center_width_percentage| + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **MiddleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |middle_color| + +#### **MiddleStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |middle_step| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |11 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PulseSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |7 |false |pulse_speed| + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |rotate_colors| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **StartColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |start_color| + +#### **StartStep** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |start_step| + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4156296f16114835d37cbd5edac1872786c5c908 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1658/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSHalftoneShader.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSHalftoneShader.md diff --git a/docs/Set-OBSHalftoneShader.md b/docs/Set-OBSHalftoneShader.md new file mode 100644 index 000000000..fdde28062 --- /dev/null +++ b/docs/Set-OBSHalftoneShader.md @@ -0,0 +1,72 @@ +Get-OBSHalftoneShader +--------------------- + +### Synopsis + +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Threshold** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHalftoneShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9f6932a6f689fa528229d9a69713815ae630c673 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1659/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSHeatWaveSimpleShader.md | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSHeatWaveSimpleShader.md diff --git a/docs/Set-OBSHeatWaveSimpleShader.md b/docs/Set-OBSHeatWaveSimpleShader.md new file mode 100644 index 000000000..37061c366 --- /dev/null +++ b/docs/Set-OBSHeatWaveSimpleShader.md @@ -0,0 +1,90 @@ +Get-OBSHeatWaveSimpleShader +--------------------------- + +### Synopsis + +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Distortion** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Rate** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHeatWaveSimpleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9a24ac57767c65bf8a866ce19d6e270a92bc84c3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1660/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSHexagonShader.md | 150 +++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSHexagonShader.md diff --git a/docs/Set-OBSHexagonShader.md b/docs/Set-OBSHexagonShader.md new file mode 100644 index 000000000..95d2cbf58 --- /dev/null +++ b/docs/Set-OBSHexagonShader.md @@ -0,0 +1,150 @@ +Get-OBSHexagonShader +-------------------- + +### Synopsis + +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |1 |false |Alpha_Percent| + +#### **Blend** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **BorderWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |3 |false |Border_Width| + +#### **DistortX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |5 |false |Distort_X| + +#### **DistortY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |6 |false |Distort_Y| + +#### **Equilateral** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |11 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HexColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |0 |false |Hex_Color| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **OffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |7 |false |Offset_X| + +#### **OffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |8 |false |Offset_Y| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Quantity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |12 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |4 |false |Speed_Percent| + +#### **ZoomAnimate** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Zoom_Animate| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHexagonShader; CommonParameters=True; parameter=System.Object[]}} +``` From bf1df8c3a685247adb035adba08da3921a23ee81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1661/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSHslHsvSaturationShader.md | 90 +++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSHslHsvSaturationShader.md diff --git a/docs/Set-OBSHslHsvSaturationShader.md b/docs/Set-OBSHslHsvSaturationShader.md new file mode 100644 index 000000000..5fb514dfe --- /dev/null +++ b/docs/Set-OBSHslHsvSaturationShader.md @@ -0,0 +1,90 @@ +Get-OBSHslHsvSaturationShader +----------------------------- + +### Synopsis + +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AdjustmentOrder** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **HslSaturationFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **HsvSaturationFactor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHslHsvSaturationShader; CommonParameters=True; parameter=System.Object[]}} +``` From b9a7e0eb15541a37bc14aad9e4647b3dfdc1b73d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1662/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSHueRotatonShader.md | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSHueRotatonShader.md diff --git a/docs/Set-OBSHueRotatonShader.md b/docs/Set-OBSHueRotatonShader.md new file mode 100644 index 000000000..3ff9806e3 --- /dev/null +++ b/docs/Set-OBSHueRotatonShader.md @@ -0,0 +1,78 @@ +Get-OBSHueRotatonShader +----------------------- + +### Synopsis + +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **HueOverride** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Hue_Override| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSHueRotatonShader; CommonParameters=True; parameter=System.Object[]}} +``` From 04aec6fe7442898fff1438709fca88abb65a45eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:07 +0000 Subject: [PATCH 1663/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSIntensityScopeShader.md | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSIntensityScopeShader.md diff --git a/docs/Set-OBSIntensityScopeShader.md b/docs/Set-OBSIntensityScopeShader.md new file mode 100644 index 000000000..4b12561a9 --- /dev/null +++ b/docs/Set-OBSIntensityScopeShader.md @@ -0,0 +1,78 @@ +Get-OBSIntensityScopeShader +--------------------------- + +### Synopsis + +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blend** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **Gain** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSIntensityScopeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7a66e2b70cf8c0b578b0d262db7093cbf644352d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1664/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSInvertLumaShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSInvertLumaShader.md diff --git a/docs/Set-OBSInvertLumaShader.md b/docs/Set-OBSInvertLumaShader.md new file mode 100644 index 000000000..7ef2ce620 --- /dev/null +++ b/docs/Set-OBSInvertLumaShader.md @@ -0,0 +1,90 @@ +Get-OBSInvertLumaShader +----------------------- + +### Synopsis + +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **GammaCorrection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Gamma_Correction| + +#### **InvertColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Invert_Color| + +#### **InvertLuma** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |Invert_Luma| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **TestRamp** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |Test_Ramp| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSInvertLumaShader; CommonParameters=True; parameter=System.Object[]}} +``` From 42fb50a7f1106b185f18e5fa74f3553c87e5811c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1665/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSLuminance2Shader.md | 114 ++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Set-OBSLuminance2Shader.md diff --git a/docs/Set-OBSLuminance2Shader.md b/docs/Set-OBSLuminance2Shader.md new file mode 100644 index 000000000..8fb61355b --- /dev/null +++ b/docs/Set-OBSLuminance2Shader.md @@ -0,0 +1,114 @@ +Get-OBSLuminance2Shader +----------------------- + +### Synopsis + +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **InvertImageColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LumaMax** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **LumaMaxSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminance2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 928a142217087a300a2df9a9129fa9b7af89e688 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1666/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSLuminanceAlphaShader.md | 150 ++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSLuminanceAlphaShader.md diff --git a/docs/Set-OBSLuminanceAlphaShader.md b/docs/Set-OBSLuminanceAlphaShader.md new file mode 100644 index 000000000..efc796b6f --- /dev/null +++ b/docs/Set-OBSLuminanceAlphaShader.md @@ -0,0 +1,150 @@ +Get-OBSLuminanceAlphaShader +--------------------------- + +### Synopsis + +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AddVal** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |add_val| + +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |9 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |8 |false |color_matrix| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |14 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Level** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **MulVal** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |mul_val| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |15 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminanceAlphaShader; CommonParameters=True; parameter=System.Object[]}} +``` From abc4424410b94fb242fd036f7353cda8614005a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1667/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSLuminanceShader.md | 96 ++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSLuminanceShader.md diff --git a/docs/Set-OBSLuminanceShader.md b/docs/Set-OBSLuminanceShader.md new file mode 100644 index 000000000..f7d3610ef --- /dev/null +++ b/docs/Set-OBSLuminanceShader.md @@ -0,0 +1,96 @@ +Get-OBSLuminanceShader +---------------------- + +### Synopsis + +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **InvertAlphaChannel** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **InvertImageColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Level** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSLuminanceShader; CommonParameters=True; parameter=System.Object[]}} +``` From 748e08052fa30e296a62a46285cb5b2bb14d419f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1668/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSMatrixShader.md | 180 ++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 docs/Set-OBSMatrixShader.md diff --git a/docs/Set-OBSMatrixShader.md b/docs/Set-OBSMatrixShader.md new file mode 100644 index 000000000..e192d3ec8 --- /dev/null +++ b/docs/Set-OBSMatrixShader.md @@ -0,0 +1,180 @@ +Get-OBSMatrixShader +------------------- + +### Synopsis + +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |16 |false |Alpha_Percentage| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |18 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **InvertDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Invert_Direction| + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |11 |false |local_time| + +#### **Loops** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |10 |false | + +#### **LumaMin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **LumaMinSmooth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |14 |false | + +#### **Mouse** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |12 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandActivationF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |rand_activation_f| + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |7 |false |rand_f | + +#### **RandInstanceF** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |8 |false |rand_instance_f| + +#### **Ratio** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |15 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |19 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |17 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |6 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |5 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSMatrixShader; CommonParameters=True; parameter=System.Object[]}} +``` From 887c0986afe3c734d4aa8408a9cd57951534888a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1669/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSMultiplyShader.md | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSMultiplyShader.md diff --git a/docs/Set-OBSMultiplyShader.md b/docs/Set-OBSMultiplyShader.md new file mode 100644 index 000000000..2393ba8ee --- /dev/null +++ b/docs/Set-OBSMultiplyShader.md @@ -0,0 +1,72 @@ +Get-OBSMultiplyShader +--------------------- + +### Synopsis + +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OtherImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |0 |false |other_image| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSMultiplyShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0f2b6865d4d23b126cb01f680781c4166802dc39 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1670/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSNightSkyShader.md | 174 ++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 docs/Set-OBSNightSkyShader.md diff --git a/docs/Set-OBSNightSkyShader.md b/docs/Set-OBSNightSkyShader.md new file mode 100644 index 000000000..573c2ff97 --- /dev/null +++ b/docs/Set-OBSNightSkyShader.md @@ -0,0 +1,174 @@ +Get-OBSNightSkyShader +--------------------- + +### Synopsis + +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |3 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |2 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |1 |false |center_width_percentage| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **IncludeClouds** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Include_Clouds| + +#### **IncludeMoon** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[switch]`|false |Named |false |Include_Moon| + +#### **LIGHTSKY** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |7 |false |LIGHT_SKY| + +#### **MOONCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |9 |false |MOON_COLOR| + +#### **MoonBumpSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |11 |false |moon_bump_size| + +#### **MoonPositionX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |12 |false |Moon_Position_x| + +#### **MoonPositionY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |13 |false |Moon_Position_y| + +#### **MoonSize** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |10 |false |moon_size| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumberStars** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |4 |false |number_stars| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **SKYCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |5 |false |SKY_COLOR| + +#### **SKYLIGHTNESS** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |SKY_LIGHTNESS| + +#### **STARCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |6 |false |STAR_COLOR| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSNightSkyShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8977afd0427104010709cdf0805aa1f4a6bb0eff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1671/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSOpacityShader.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSOpacityShader.md diff --git a/docs/Set-OBSOpacityShader.md b/docs/Set-OBSOpacityShader.md new file mode 100644 index 000000000..514388b73 --- /dev/null +++ b/docs/Set-OBSOpacityShader.md @@ -0,0 +1,72 @@ +Get-OBSOpacityShader +-------------------- + +### Synopsis + +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSOpacityShader; CommonParameters=True; parameter=System.Object[]}} +``` From 366443705d34b4d70fc037c5b5969bf4cbd49fc7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1672/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPagePeelShader.md | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSPagePeelShader.md diff --git a/docs/Set-OBSPagePeelShader.md b/docs/Set-OBSPagePeelShader.md new file mode 100644 index 000000000..f579da30c --- /dev/null +++ b/docs/Set-OBSPagePeelShader.md @@ -0,0 +1,78 @@ +Get-OBSPagePeelShader +--------------------- + +### Synopsis + +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Position** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPagePeelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 863203810ac3cc645dc669846605d314da5fc21f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1673/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPagePeelTransitionShader.md | 102 ++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSPagePeelTransitionShader.md diff --git a/docs/Set-OBSPagePeelTransitionShader.md b/docs/Set-OBSPagePeelTransitionShader.md new file mode 100644 index 000000000..27c6f7daf --- /dev/null +++ b/docs/Set-OBSPagePeelTransitionShader.md @@ -0,0 +1,102 @@ +Get-OBSPagePeelTransitionShader +------------------------------- + +### Synopsis + +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |3 |false |page_color| + +#### **PageTransparency** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |4 |false |page_transparency| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPagePeelTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 249859c584fca085c88200098c1682cf5fa6a77c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:08 +0000 Subject: [PATCH 1674/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPerlinNoiseShader.md | 132 +++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSPerlinNoiseShader.md diff --git a/docs/Set-OBSPerlinNoiseShader.md b/docs/Set-OBSPerlinNoiseShader.md new file mode 100644 index 000000000..180276c32 --- /dev/null +++ b/docs/Set-OBSPerlinNoiseShader.md @@ -0,0 +1,132 @@ +Get-OBSPerlinNoiseShader +------------------------ + +### Synopsis + +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Animated** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ApplyToChannel** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |apply_to_channel| + +#### **BlackNoise** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |5 |false |black_noise| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Inverted** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Iterations** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +#### **Multiply** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **SpeedHorizonal** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |1 |false |speed_horizonal| + +#### **SpeedVertical** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |2 |false |speed_vertical| + +#### **WhiteNoise** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |4 |false |white_noise| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPerlinNoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 89e17fcb6faa3cfc2bc668173e853d399903023b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1675/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPieChartShader.md | 210 ++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 docs/Set-OBSPieChartShader.md diff --git a/docs/Set-OBSPieChartShader.md b/docs/Set-OBSPieChartShader.md new file mode 100644 index 000000000..9d45c327a --- /dev/null +++ b/docs/Set-OBSPieChartShader.md @@ -0,0 +1,210 @@ +Get-OBSPieChartShader +--------------------- + +### Synopsis + +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Color1** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |5 |false |color_1| + +#### **Color10** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |23 |false |color_10| + +#### **Color2** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |7 |false |color_2| + +#### **Color3** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |9 |false |color_3| + +#### **Color4** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |11 |false |color_4| + +#### **Color5** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |13 |false |color_5| + +#### **Color6** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |15 |false |color_6| + +#### **Color7** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |17 |false |color_7| + +#### **Color8** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |19 |false |color_8| + +#### **Color9** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |21 |false |color_9| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |25 |true (ByPropertyName)| + +#### **InnerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |inner_radius| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OuterRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |1 |false |outer_radius| + +#### **Part1** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |4 |false |part_1 | + +#### **Part10** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |22 |false |part_10| + +#### **Part2** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |6 |false |part_2 | + +#### **Part3** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |8 |false |part_3 | + +#### **Part4** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |10 |false |part_4 | + +#### **Part5** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |12 |false |part_5 | + +#### **Part6** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |14 |false |part_6 | + +#### **Part7** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |16 |false |part_7 | + +#### **Part8** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |18 |false |part_8 | + +#### **Part9** + +|Type |Required|Position|PipelineInput|Aliases| +|-------|--------|--------|-------------|-------| +|`[int]`|false |20 |false |part_9 | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |26 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |24 |true (ByPropertyName)|SceneItemName| + +#### **StartAngle** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |start_angle| + +#### **Total** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPieChartShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9c1bc07671644e43394364e03281f006cce680f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1676/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPixelationShader.md | 84 +++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSPixelationShader.md diff --git a/docs/Set-OBSPixelationShader.md b/docs/Set-OBSPixelationShader.md new file mode 100644 index 000000000..fab84d7bd --- /dev/null +++ b/docs/Set-OBSPixelationShader.md @@ -0,0 +1,84 @@ +Get-OBSPixelationShader +----------------------- + +### Synopsis + +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **TargetHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Target_Height| + +#### **TargetWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |Target_Width| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPixelationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0243faddf34350261c60957890a606b9ab5e171b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1677/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPixelationTransitionShader.md | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSPixelationTransitionShader.md diff --git a/docs/Set-OBSPixelationTransitionShader.md b/docs/Set-OBSPixelationTransitionShader.md new file mode 100644 index 000000000..8d7f4bad4 --- /dev/null +++ b/docs/Set-OBSPixelationTransitionShader.md @@ -0,0 +1,96 @@ +Get-OBSPixelationTransitionShader +--------------------------------- + +### Synopsis + +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |transition_time| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPixelationTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 50d709c2140aff8c02488d33adb4eec67c47cb9f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1678/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSPulseShader.md | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSPulseShader.md diff --git a/docs/Set-OBSPulseShader.md b/docs/Set-OBSPulseShader.md new file mode 100644 index 000000000..944a51b94 --- /dev/null +++ b/docs/Set-OBSPulseShader.md @@ -0,0 +1,132 @@ +Get-OBSPulseShader +------------------ + +### Synopsis + +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **MaxGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |10 |false |max_growth_pixels| + +#### **MinGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |9 |false |min_growth_pixels| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |8 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPulseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7411014944040e35a89a9ff8bebbcecb8b892f5c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1679/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRainbowShader.md | 144 +++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Set-OBSRainbowShader.md diff --git a/docs/Set-OBSRainbowShader.md b/docs/Set-OBSRainbowShader.md new file mode 100644 index 000000000..d9c4b3399 --- /dev/null +++ b/docs/Set-OBSRainbowShader.md @@ -0,0 +1,144 @@ +Get-OBSRainbowShader +-------------------- + +### Synopsis + +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Luminosity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |7 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |5 |false |Rotation_Offset| + +#### **Rotational** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Saturation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Spread** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRainbowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2b5936dc8eabf3d765856b9233d9f037e7a34e50 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1680/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRainWindowShader.md | 102 ++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSRainWindowShader.md diff --git a/docs/Set-OBSRainWindowShader.md b/docs/Set-OBSRainWindowShader.md new file mode 100644 index 000000000..055e58bfc --- /dev/null +++ b/docs/Set-OBSRainWindowShader.md @@ -0,0 +1,102 @@ +Get-OBSRainWindowShader +----------------------- + +### Synopsis + +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BlurSize** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **DebugShader** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **Size** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **TrailColor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |3 |false |trail_color| + +#### **TrailStrength** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |2 |false |trail_strength| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRainWindowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5c28db7caa2465dbfff8c39e938324aedad47263 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1681/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRectangularDropShadowShader.md | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSRectangularDropShadowShader.md diff --git a/docs/Set-OBSRectangularDropShadowShader.md b/docs/Set-OBSRectangularDropShadowShader.md new file mode 100644 index 000000000..db6542480 --- /dev/null +++ b/docs/Set-OBSRectangularDropShadowShader.md @@ -0,0 +1,90 @@ +Get-OBSRectangularDropShadowShader +---------------------------------- + +### Synopsis + +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |3 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |1 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRectangularDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 28f13ebe9e5126a7c75555e09c9ec11a2854745d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1682/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRemovePartialPixelsShader.md | 78 ++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSRemovePartialPixelsShader.md diff --git a/docs/Set-OBSRemovePartialPixelsShader.md b/docs/Set-OBSRemovePartialPixelsShader.md new file mode 100644 index 000000000..ec8112e5e --- /dev/null +++ b/docs/Set-OBSRemovePartialPixelsShader.md @@ -0,0 +1,78 @@ +Get-OBSRemovePartialPixelsShader +-------------------------------- + +### Synopsis + +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |0 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRemovePartialPixelsShader; CommonParameters=True; parameter=System.Object[]}} +``` From 15afa3d9dd3a3ba42e8095cbd27a576b96b0d575 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1683/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRepeatShader.md | 150 ++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSRepeatShader.md diff --git a/docs/Set-OBSRepeatShader.md b/docs/Set-OBSRepeatShader.md new file mode 100644 index 000000000..6d2c22dcc --- /dev/null +++ b/docs/Set-OBSRepeatShader.md @@ -0,0 +1,150 @@ +Get-OBSRepeatShader +------------------- + +### Synopsis + +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alpha** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |1 |false |color_matrix| + +#### **ColorRangeMax** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |3 |false |color_range_max| + +#### **ColorRangeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |2 |false |color_range_min| + +#### **Copies** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |5 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |13 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |6 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |8 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |7 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |9 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRepeatShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6b5e59f6e26b81da5d12c50c678466dba8d0e284 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:09 +0000 Subject: [PATCH 1684/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRepeatTextureShader.md | 162 +++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 docs/Set-OBSRepeatTextureShader.md diff --git a/docs/Set-OBSRepeatTextureShader.md b/docs/Set-OBSRepeatTextureShader.md new file mode 100644 index 000000000..3b02198d5 --- /dev/null +++ b/docs/Set-OBSRepeatTextureShader.md @@ -0,0 +1,162 @@ +Get-OBSRepeatTextureShader +-------------------------- + +### Synopsis + +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |15 |false |alpha_percentage| + +#### **Blend** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **ColorMatrix** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------|--------|--------|-------------|------------| +|`[float[][]]`|false |1 |false |color_matrix| + +#### **ColorRangeMax** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |3 |false |color_range_max| + +#### **ColorRangeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------------| +|`[float[]]`|false |2 |false |color_range_min| + +#### **Copies** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |17 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |14 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |18 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| + +#### **TexImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[string]`|false |5 |false |tex_image| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |7 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |9 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |8 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |10 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRepeatTextureShader; CommonParameters=True; parameter=System.Object[]}} +``` From ac4d0e8777adce7c5436fc44bad0545fd463b94d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1685/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRgbColorWheelShader.md | 120 +++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSRgbColorWheelShader.md diff --git a/docs/Set-OBSRgbColorWheelShader.md b/docs/Set-OBSRgbColorWheelShader.md new file mode 100644 index 000000000..52a229d96 --- /dev/null +++ b/docs/Set-OBSRgbColorWheelShader.md @@ -0,0 +1,120 @@ +Get-OBSRgbColorWheelShader +-------------------------- + +### Synopsis + +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |3 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |5 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |4 |false |center_width_percentage| + +#### **ColorDepth** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |1 |false |color_depth| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |2 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbColorWheelShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0f5ce9c2de68754624afb934f5a8b4dcc3740b66 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1686/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRgbSplitShader.md | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSRgbSplitShader.md diff --git a/docs/Set-OBSRgbSplitShader.md b/docs/Set-OBSRgbSplitShader.md new file mode 100644 index 000000000..3d6a3bbad --- /dev/null +++ b/docs/Set-OBSRgbSplitShader.md @@ -0,0 +1,102 @@ +Get-OBSRgbSplitShader +--------------------- + +### Synopsis + +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Bluex** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Bluey** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Greenx** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Greeny** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Redx** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **Redy** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbSplitShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6eb340419fd57d9db842efa4c7d983fd57065a12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1687/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRgbvisibilityShader.md | 108 +++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSRgbvisibilityShader.md diff --git a/docs/Set-OBSRgbvisibilityShader.md b/docs/Set-OBSRgbvisibilityShader.md new file mode 100644 index 000000000..96e19a467 --- /dev/null +++ b/docs/Set-OBSRgbvisibilityShader.md @@ -0,0 +1,108 @@ +Get-OBSRgbvisibilityShader +-------------------------- + +### Synopsis + +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Blue** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **BlueVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Green** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **GreenVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Red** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **RedVisibility** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRgbvisibilityShader; CommonParameters=True; parameter=System.Object[]}} +``` From f179c9228f2300fa0ab5defb58bb6bc57bc37eb5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1688/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRippleShader.md | 96 +++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSRippleShader.md diff --git a/docs/Set-OBSRippleShader.md b/docs/Set-OBSRippleShader.md new file mode 100644 index 000000000..53e350f99 --- /dev/null +++ b/docs/Set-OBSRippleShader.md @@ -0,0 +1,96 @@ +Get-OBSRippleShader +------------------- + +### Synopsis + +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterPosX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |3 |false |center_pos_x| + +#### **CenterPosY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |4 |false |center_pos_y| + +#### **DistanceFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |0 |false |distance_factor| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PowerFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |power_factor| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **TimeFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |1 |false |time_factor| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRippleShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8f5e718285ede6be8ef6c70404756045ba50008b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1689/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRotatingSourceShader.md | 102 ++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSRotatingSourceShader.md diff --git a/docs/Set-OBSRotatingSourceShader.md b/docs/Set-OBSRotatingSourceShader.md new file mode 100644 index 000000000..3f3c7014e --- /dev/null +++ b/docs/Set-OBSRotatingSourceShader.md @@ -0,0 +1,102 @@ +Get-OBSRotatingSourceShader +--------------------------- + +### Synopsis + +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **KeepAspectratio** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |keep_aspectratio| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Rotation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **SpinSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |spin_speed| + +#### **XCenter** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |x_center| + +#### **YCenter** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |y_center| + +#### **Zoomin** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRotatingSourceShader; CommonParameters=True; parameter=System.Object[]}} +``` From e4c3fc592cbfdc3188407ddc15ceaeb96293d343 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1690/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRotatoeShader.md | 180 +++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 docs/Set-OBSRotatoeShader.md diff --git a/docs/Set-OBSRotatoeShader.md b/docs/Set-OBSRotatoeShader.md new file mode 100644 index 000000000..b6a7a83b6 --- /dev/null +++ b/docs/Set-OBSRotatoeShader.md @@ -0,0 +1,180 @@ +Get-OBSRotatoeShader +-------------------- + +### Synopsis + +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AngleDegrees** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |12 |false |Angle_Degrees| + +#### **AxisX** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |9 |false |Axis_X | + +#### **AxisY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |10 |false |Axis_Y | + +#### **AxisZ** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |11 |false |Axis_Z | + +#### **CenterHeightPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------------| +|`[int]`|false |14 |false |center_height_percentage| + +#### **CenterWidthPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------------| +|`[int]`|false |13 |false |center_width_percentage| + +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |17 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |15 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **RotateColors** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |Rotate_Colors| + +#### **RotatePixels** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |Rotate_Pixels| + +#### **RotateTransform** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[switch]`|false |Named |false |Rotate_Transform| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |18 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |8 |false |speed_percent| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRotatoeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1a11a66c1c2780593cde26107d272089f8a3c321 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1691/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRoundedRect2Shader.md | 108 ++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSRoundedRect2Shader.md diff --git a/docs/Set-OBSRoundedRect2Shader.md b/docs/Set-OBSRoundedRect2Shader.md new file mode 100644 index 000000000..8bf0925e4 --- /dev/null +++ b/docs/Set-OBSRoundedRect2Shader.md @@ -0,0 +1,108 @@ +Get-OBSRoundedRect2Shader +------------------------- + +### Synopsis + +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |4 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |3 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FasterScan** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |faster_scan| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRect2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From bbe0661402ea3c3d357098bf0dc37d204dcc827b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1692/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRoundedRectPerCornerShader.md | 120 ++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSRoundedRectPerCornerShader.md diff --git a/docs/Set-OBSRoundedRectPerCornerShader.md b/docs/Set-OBSRoundedRectPerCornerShader.md new file mode 100644 index 000000000..21053e7e1 --- /dev/null +++ b/docs/Set-OBSRoundedRectPerCornerShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedRectPerCornerShader +--------------------------------- + +### Synopsis + +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerRadiusBl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |3 |false |corner_radius_bl| + +#### **CornerRadiusBr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |corner_radius_br| + +#### **CornerRadiusTl** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |corner_radius_tl| + +#### **CornerRadiusTr** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |corner_radius_tr| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +``` From cec9543b11b59c6e71ce1e762f6c8bf92dc9be69 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1693/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRoundedRectPerSideShader.md | 120 ++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSRoundedRectPerSideShader.md diff --git a/docs/Set-OBSRoundedRectPerSideShader.md b/docs/Set-OBSRoundedRectPerSideShader.md new file mode 100644 index 000000000..c5941de0a --- /dev/null +++ b/docs/Set-OBSRoundedRectPerSideShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedRectPerSideShader +------------------------------- + +### Synopsis + +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaCutOff** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |8 |false |alpha_cut_off| + +#### **BorderAlphaEnd** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |7 |false |border_alpha_end| + +#### **BorderAlphaStart** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------------| +|`[float]`|false |6 |false |border_alpha_start| + +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |5 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |4 |false |border_thickness| + +#### **CornerRadiusBottom** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------------| +|`[int]`|false |0 |false |corner_radius_bottom| + +#### **CornerRadiusLeft** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------------| +|`[int]`|false |1 |false |corner_radius_left| + +#### **CornerRadiusRight** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------------| +|`[int]`|false |3 |false |corner_radius_right| + +#### **CornerRadiusTop** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |2 |false |corner_radius_top| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectPerSideShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8cd0876a588cf634894bee769e38a75c24ef7013 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1694/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRoundedRectShader.md | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSRoundedRectShader.md diff --git a/docs/Set-OBSRoundedRectShader.md b/docs/Set-OBSRoundedRectShader.md new file mode 100644 index 000000000..11236ac07 --- /dev/null +++ b/docs/Set-OBSRoundedRectShader.md @@ -0,0 +1,84 @@ +Get-OBSRoundedRectShader +------------------------ + +### Synopsis + +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |2 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedRectShader; CommonParameters=True; parameter=System.Object[]}} +``` From 419fff3aa6ad4ce482bb15621acc844757446743 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1695/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRoundedStrokeGradientShader.md | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSRoundedStrokeGradientShader.md diff --git a/docs/Set-OBSRoundedStrokeGradientShader.md b/docs/Set-OBSRoundedStrokeGradientShader.md new file mode 100644 index 000000000..0fba62aff --- /dev/null +++ b/docs/Set-OBSRoundedStrokeGradientShader.md @@ -0,0 +1,120 @@ +Get-OBSRoundedStrokeGradientShader +---------------------------------- + +### Synopsis + +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColorL** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |border_colorL| + +#### **BorderColorR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |border_colorR| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CenterHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |7 |false |center_height| + +#### **CenterWidth** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|------------| +|`[int]`|false |6 |false |center_width| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |2 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RotationSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|--------------| +|`[int]`|false |3 |false |rotation_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedStrokeGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From 356a82d016ba57688655b971276e76dbfdadc07f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:10 +0000 Subject: [PATCH 1696/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSRoundedStrokeShader.md | 96 ++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSRoundedStrokeShader.md diff --git a/docs/Set-OBSRoundedStrokeShader.md b/docs/Set-OBSRoundedStrokeShader.md new file mode 100644 index 000000000..c1e289a07 --- /dev/null +++ b/docs/Set-OBSRoundedStrokeShader.md @@ -0,0 +1,96 @@ +Get-OBSRoundedStrokeShader +-------------------------- + +### Synopsis + +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **BorderColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |3 |false |border_color| + +#### **BorderThickness** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |border_thickness| + +#### **CornerRadius** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |0 |false |corner_radius| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **MinimumAlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------------| +|`[int]`|false |2 |false |minimum_alpha_percent| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRoundedStrokeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6458926d69b6ae6d13b0116b89012f94b6881763 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1697/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSScanLineShader.md | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSScanLineShader.md diff --git a/docs/Set-OBSScanLineShader.md b/docs/Set-OBSScanLineShader.md new file mode 100644 index 000000000..53ed79fc2 --- /dev/null +++ b/docs/Set-OBSScanLineShader.md @@ -0,0 +1,120 @@ +Get-OBSScanLineShader +--------------------- + +### Synopsis + +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Boost** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Floor** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Lengthwise** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Period** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **Shift** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSScanLineShader; CommonParameters=True; parameter=System.Object[]}} +``` From 03cc77eed5eab8ffc1c2a196a279603c277233e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1698/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSeascapeShader.md | 120 ++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSSeascapeShader.md diff --git a/docs/Set-OBSSeascapeShader.md b/docs/Set-OBSSeascapeShader.md new file mode 100644 index 000000000..d68851f55 --- /dev/null +++ b/docs/Set-OBSSeascapeShader.md @@ -0,0 +1,120 @@ +Get-OBSSeascapeShader +--------------------- + +### Synopsis + +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AA** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CAMERASPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |CAMERA_SPEED| + +#### **CAMERATURNSPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |7 |false |CAMERA_TURN_SPEED| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SEABASE** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[string]`|false |4 |false |SEA_BASE| + +#### **SEACHOPPY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |1 |false |SEA_CHOPPY| + +#### **SEAFREQ** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |SEA_FREQ| + +#### **SEAHEIGHT** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |SEA_HEIGHT| + +#### **SEASPEED** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |2 |false |SEA_SPEED| + +#### **SEAWATERCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |5 |false |SEA_WATER_COLOR| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSeascapeShader; CommonParameters=True; parameter=System.Object[]}} +``` From 1e9fabab073f9f3cbe5ef2429f958b5a9012d449 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1699/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSeasickShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSSeasickShader.md diff --git a/docs/Set-OBSSeasickShader.md b/docs/Set-OBSSeasickShader.md new file mode 100644 index 000000000..58298e4f7 --- /dev/null +++ b/docs/Set-OBSSeasickShader.md @@ -0,0 +1,96 @@ +Get-OBSSeasickShader +-------------------- + +### Synopsis + +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Frequency** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSeasickShader; CommonParameters=True; parameter=System.Object[]}} +``` From ff501ee8047e0fee1df87e15234844168f07c34f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1700/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSelectiveColorShader.md | 132 ++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSSelectiveColorShader.md diff --git a/docs/Set-OBSSelectiveColorShader.md b/docs/Set-OBSSelectiveColorShader.md new file mode 100644 index 000000000..4dbe2174d --- /dev/null +++ b/docs/Set-OBSSelectiveColorShader.md @@ -0,0 +1,132 @@ +Get-OBSSelectiveColorShader +--------------------------- + +### Synopsis + +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AcceptanceAmplifier** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------------| +|`[float]`|false |4 |false |acceptance_Amplifier| + +#### **BackgroundType** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |6 |false |background_type| + +#### **CutoffBlue** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |2 |false |cutoff_Blue| + +#### **CutoffGreen** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |1 |false |cutoff_Green| + +#### **CutoffRed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |0 |false |cutoff_Red| + +#### **CutoffYellow** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |3 |false |cutoff_Yellow| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **ShowBlue** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------| +|`[switch]`|false |Named |false |show_Blue| + +#### **ShowGreen** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |show_Green| + +#### **ShowRed** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------| +|`[switch]`|false |Named |false |show_Red| + +#### **ShowYellow** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[switch]`|false |Named |false |show_Yellow| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSelectiveColorShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5e3602924231a00ef98717bd84982f326b8c2015 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1701/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSShakeShader.md | 162 +++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 docs/Set-OBSShakeShader.md diff --git a/docs/Set-OBSShakeShader.md b/docs/Set-OBSShakeShader.md new file mode 100644 index 000000000..0fb789c6d --- /dev/null +++ b/docs/Set-OBSShakeShader.md @@ -0,0 +1,162 @@ +Get-OBSShakeShader +------------------ + +### Synopsis + +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |15 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **LocalTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |8 |false |local_time| + +#### **MaxGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |12 |false |max_growth_pixels| + +#### **MinGrowthPixels** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |11 |false |min_growth_pixels| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |13 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **RandomScale** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |9 |false |random_scale| + +#### **RandomizeMovement** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[switch]`|false |Named |false |randomize_movement| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |16 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |10 |false | + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +#### **Worble** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSShakeShader; CommonParameters=True; parameter=System.Object[]}} +``` From ef790456f4e010475f2896e0ce169f486f24748a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1702/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSShineShader.md | 150 +++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSShineShader.md diff --git a/docs/Set-OBSShineShader.md b/docs/Set-OBSShineShader.md new file mode 100644 index 000000000..7101b420f --- /dev/null +++ b/docs/Set-OBSShineShader.md @@ -0,0 +1,150 @@ +Get-OBSShineShader +------------------ + +### Synopsis + +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **DelayPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |4 |false |delay_percent| + +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |9 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GradientPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |3 |false |gradient_percent| + +#### **Hide** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LTex** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |l_tex | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **OneDirection** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[switch]`|false |Named |false |One_Direction| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Reverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |10 |false |ShaderContent| + +#### **ShineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |1 |false |shine_color| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |speed_percent| + +#### **StartAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |6 |false |start_adjust| + +#### **StopAdjust** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------| +|`[float]`|false |7 |false |stop_adjust| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSShineShader; CommonParameters=True; parameter=System.Object[]}} +``` From d9b1d0fe547e9ed42a7834903ccd6a590c17f35f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1703/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSimpleGradientShader.md | 114 ++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Set-OBSSimpleGradientShader.md diff --git a/docs/Set-OBSSimpleGradientShader.md b/docs/Set-OBSSimpleGradientShader.md new file mode 100644 index 000000000..c6a9b2453 --- /dev/null +++ b/docs/Set-OBSSimpleGradientShader.md @@ -0,0 +1,114 @@ +Get-OBSSimpleGradientShader +--------------------------- + +### Synopsis + +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |alpha_percentage| + +#### **AnimateLensFlair** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------------| +|`[switch]`|false |Named |false |Animate_Lens_Flair| + +#### **ApplyToAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------------| +|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |2 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **LensFlair** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[switch]`|false |Named |false |Lens_Flair| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |speed_percentage| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSimpleGradientShader; CommonParameters=True; parameter=System.Object[]}} +``` From f1d0ad6f5c1aeb81f92fdd7a605a23777d91c237 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1704/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSimplexNoiseShader.md | 120 ++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSSimplexNoiseShader.md diff --git a/docs/Set-OBSSimplexNoiseShader.md b/docs/Set-OBSSimplexNoiseShader.md new file mode 100644 index 000000000..19853adf9 --- /dev/null +++ b/docs/Set-OBSSimplexNoiseShader.md @@ -0,0 +1,120 @@ +Get-OBSSimplexNoiseShader +------------------------- + +### Synopsis + +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |Alpha_Percent| + +#### **BackColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |4 |false |Back_Color| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **ForeColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |3 |false |Fore_Color| + +#### **Fractal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Resolution** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SnapPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |0 |false |Snap_Percent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Speed_Percent| + +#### **UseAlphaLayer** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[switch]`|false |Named |false |Use_Alpha_Layer| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSimplexNoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From b06e0e72701f4eb83e9b319e17dc8eebc0230454 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1705/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSpotlightShader.md | 108 +++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSSpotlightShader.md diff --git a/docs/Set-OBSSpotlightShader.md b/docs/Set-OBSSpotlightShader.md new file mode 100644 index 000000000..dccc93508 --- /dev/null +++ b/docs/Set-OBSSpotlightShader.md @@ -0,0 +1,108 @@ +Get-OBSSpotlightShader +---------------------- + +### Synopsis + +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **FocusPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |1 |false |Focus_Percent| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HorizontalOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |3 |false |Horizontal_Offset| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |5 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |0 |false |Speed_Percent| + +#### **SpotlightColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|---------------| +|`[string]`|false |2 |false |Spotlight_Color| + +#### **VerticalOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |4 |false |Vertical_Offset| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSpotlightShader; CommonParameters=True; parameter=System.Object[]}} +``` From c074c6dbe209901508c0852d96918c07565c6655 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1706/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSSwirlShader.md | 108 +++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSSwirlShader.md diff --git a/docs/Set-OBSSwirlShader.md b/docs/Set-OBSSwirlShader.md new file mode 100644 index 000000000..176305882 --- /dev/null +++ b/docs/Set-OBSSwirlShader.md @@ -0,0 +1,108 @@ +Get-OBSSwirlShader +------------------ + +### Synopsis + +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |2 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |3 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |6 |true (ByPropertyName)| + +#### **Inverse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |7 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSwirlShader; CommonParameters=True; parameter=System.Object[]}} +``` From e4554115ca4bf6f1b95fa65ad068f046b0509766 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1707/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSThermalShader.md | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/Set-OBSThermalShader.md diff --git a/docs/Set-OBSThermalShader.md b/docs/Set-OBSThermalShader.md new file mode 100644 index 000000000..c4b01af03 --- /dev/null +++ b/docs/Set-OBSThermalShader.md @@ -0,0 +1,72 @@ +Get-OBSThermalShader +-------------------- + +### Synopsis + +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSThermalShader; CommonParameters=True; parameter=System.Object[]}} +``` From 13220c401459adea00920415c33545da023a61e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:11 +0000 Subject: [PATCH 1708/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSTvCrtSubpixelShader.md | 90 ++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSTvCrtSubpixelShader.md diff --git a/docs/Set-OBSTvCrtSubpixelShader.md b/docs/Set-OBSTvCrtSubpixelShader.md new file mode 100644 index 000000000..1506f80ef --- /dev/null +++ b/docs/Set-OBSTvCrtSubpixelShader.md @@ -0,0 +1,90 @@ +Get-OBSTvCrtSubpixelShader +-------------------------- + +### Synopsis + +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ChannelHeight** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |1 |false | + +#### **ChannelWidth** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **HGap** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **VGap** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTvCrtSubpixelShader; CommonParameters=True; parameter=System.Object[]}} +``` From cf98e2bc5d6ffbe43f2e365378739a8ba520e52b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1709/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSTwistShader.md | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSTwistShader.md diff --git a/docs/Set-OBSTwistShader.md b/docs/Set-OBSTwistShader.md new file mode 100644 index 000000000..910001309 --- /dev/null +++ b/docs/Set-OBSTwistShader.md @@ -0,0 +1,90 @@ +Get-OBSTwistShader +------------------ + +### Synopsis + +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Rotation** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTwistShader; CommonParameters=True; parameter=System.Object[]}} +``` From d8b1c5d1e8287218875a22fb612b8da6eef792e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1710/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSTwoPassDropShadowShader.md | 144 +++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Set-OBSTwoPassDropShadowShader.md diff --git a/docs/Set-OBSTwoPassDropShadowShader.md b/docs/Set-OBSTwoPassDropShadowShader.md new file mode 100644 index 000000000..f730883f5 --- /dev/null +++ b/docs/Set-OBSTwoPassDropShadowShader.md @@ -0,0 +1,144 @@ +Get-OBSTwoPassDropShadowShader +------------------------------ + +### Synopsis + +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **ElapsedTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |elapsed_time| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Image** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **IsAlphaPremultiplied** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------------| +|`[switch]`|false |Named |false |is_alpha_premultiplied| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RandF** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |6 |false |rand_f | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **ShadowBlurSize** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |10 |false |shadow_blur_size| + +#### **ShadowColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|------------| +|`[string]`|false |11 |false |shadow_color| + +#### **ShadowOffsetX** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |8 |false |shadow_offset_x| + +#### **ShadowOffsetY** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |9 |false |shadow_offset_y| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **UvOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|---------| +|`[float[]]`|false |3 |false |uv_offset| + +#### **UvPixelInterval** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |5 |false |uv_pixel_interval| + +#### **UvScale** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------| +|`[float[]]`|false |4 |false |uv_scale| + +#### **UvSize** + +|Type |Required|Position|PipelineInput|Aliases| +|-----------|--------|--------|-------------|-------| +|`[float[]]`|false |7 |false |uv_size| + +#### **ViewProj** + +|Type |Required|Position|PipelineInput| +|-------------|--------|--------|-------------| +|`[float[][]]`|false |0 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0b8aa046fe843d7c82160e15733612f50fb630bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1711/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSVCRShader.md | 102 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSVCRShader.md diff --git a/docs/Set-OBSVCRShader.md b/docs/Set-OBSVCRShader.md new file mode 100644 index 000000000..2245dab2f --- /dev/null +++ b/docs/Set-OBSVCRShader.md @@ -0,0 +1,102 @@ +Get-OBSVCRShader +---------------- + +### Synopsis + +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Distort** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **Stripe** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **VerticalFactor** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |4 |false |vertical_factor| + +#### **VerticalHeight** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |5 |false |vertical_height| + +#### **VerticalShift** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |0 |false |vertical_shift| + +#### **Vignet** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVCRShader; CommonParameters=True; parameter=System.Object[]}} +``` From 681092126c0c6dfda5832449a6f3730f77e995e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1712/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSVHSShader.md | 126 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBSVHSShader.md diff --git a/docs/Set-OBSVHSShader.md b/docs/Set-OBSVHSShader.md new file mode 100644 index 000000000..43b99ca7d --- /dev/null +++ b/docs/Set-OBSVHSShader.md @@ -0,0 +1,126 @@ +Get-OBSVHSShader +---------------- + +### Synopsis + +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercentage** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------------| +|`[float]`|false |5 |false |Alpha_Percentage| + +#### **ApplyToImage** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |Apply_To_Image| + +#### **ApplyToSpecificColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------------------| +|`[switch]`|false |Named |false |Apply_To_Specific_Color| + +#### **ColorOffsetIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **ColorToReplace** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |Color_To_Replace| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoiseIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **NoiseQuality** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |2 |false | + +#### **OffsetIntensity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Range** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ReplaceImageColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------------| +|`[switch]`|false |Named |false |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVHSShader; CommonParameters=True; parameter=System.Object[]}} +``` From 607f2bc5d07d991c9555a9f8341ba14e12a99230 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1713/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSVignettingShader.md | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSVignettingShader.md diff --git a/docs/Set-OBSVignettingShader.md b/docs/Set-OBSVignettingShader.md new file mode 100644 index 000000000..7b4284ede --- /dev/null +++ b/docs/Set-OBSVignettingShader.md @@ -0,0 +1,90 @@ +Get-OBSVignettingShader +----------------------- + +### Synopsis + +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **InnerRadius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **Opacity** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **OuterRadius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVignettingShader; CommonParameters=True; parameter=System.Object[]}} +``` From e48b1a000f5319d1e9a55d0e6d3b3914a0ab7861 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1714/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSVoronoiPixelationShader.md | 78 ++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 docs/Set-OBSVoronoiPixelationShader.md diff --git a/docs/Set-OBSVoronoiPixelationShader.md b/docs/Set-OBSVoronoiPixelationShader.md new file mode 100644 index 000000000..199e0267f --- /dev/null +++ b/docs/Set-OBSVoronoiPixelationShader.md @@ -0,0 +1,78 @@ +Get-OBSVoronoiPixelationShader +------------------------------ + +### Synopsis + +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Alternative** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PixH** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSVoronoiPixelationShader; CommonParameters=True; parameter=System.Object[]}} +``` From 66a2966d26436d790468931fd3c090e9fa60b8b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1715/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSZigZagShader.md | 120 ++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSZigZagShader.md diff --git a/docs/Set-OBSZigZagShader.md b/docs/Set-OBSZigZagShader.md new file mode 100644 index 000000000..1ea37ec5b --- /dev/null +++ b/docs/Set-OBSZigZagShader.md @@ -0,0 +1,120 @@ +Get-OBSZigZagShader +------------------- + +### Synopsis + +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Amplitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Angle** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **Animate** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |7 |false | + +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |4 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |5 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |8 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Period** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **Phase** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **Radius** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZigZagShader; CommonParameters=True; parameter=System.Object[]}} +``` From f675c70aee02063a56545e326acd383e4da5ab93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1716/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSZoomBlurShader.md | 102 ++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSZoomBlurShader.md diff --git a/docs/Set-OBSZoomBlurShader.md b/docs/Set-OBSZoomBlurShader.md new file mode 100644 index 000000000..377933c03 --- /dev/null +++ b/docs/Set-OBSZoomBlurShader.md @@ -0,0 +1,102 @@ +Get-OBSZoomBlurShader +--------------------- + +### Synopsis + +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **Ease** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Glitch** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Magnitude** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |3 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Samples** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **SpeedPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-------------| +|`[int]`|false |2 |false |speed_percent| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomBlurShader; CommonParameters=True; parameter=System.Object[]}} +``` From a1e328f3c7afa046ce678e9f63d6bf379d06c745 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:12 +0000 Subject: [PATCH 1717/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/Set-OBSZoomShader.md | 84 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSZoomShader.md diff --git a/docs/Set-OBSZoomShader.md b/docs/Set-OBSZoomShader.md new file mode 100644 index 000000000..e0aba75c6 --- /dev/null +++ b/docs/Set-OBSZoomShader.md @@ -0,0 +1,84 @@ +Get-OBSZoomShader +----------------- + +### Synopsis + +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Power** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomShader; CommonParameters=True; parameter=System.Object[]}} +``` From 82d569b8dcd98cb379440b6cef745aa42833fa39 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Tue, 13 Feb 2024 19:58:27 +0000 Subject: [PATCH 1718/4768] feat: Generating Shaders ( Fixes #163 ) Avoiding Debug as an alias. --- docs/obs-powershell-commands.md | 250 +++++++++++++++++++++++++++++++- 1 file changed, 248 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index b9774f2ae..9035e8d19 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 361 commands -(174 functions and 187 aliases) +obs-powershell exports 730 commands +(297 functions and 433 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -25,14 +25,82 @@ Functions |[Copy-OBSSceneItem](Copy-OBSSceneItem.md) |Copy-OBSSceneItem : DuplicateSceneItem | |[Disconnect-OBS](Disconnect-OBS.md) |Disconnects OBS | |[Get-OBS](Get-OBS.md) |Gets OBS | +|[Get-OBSAddShader](Get-OBSAddShader.md) | +|[Get-OBSAlphaBorderShader](Get-OBSAlphaBorderShader.md) | +|[Get-OBSAlphaGamingBentCameraShader](Get-OBSAlphaGamingBentCameraShader.md) | +|[Get-OBSAnimatedPathShader](Get-OBSAnimatedPathShader.md) | +|[Get-OBSAnimatedTextureShader](Get-OBSAnimatedTextureShader.md) | +|[Get-OBSAsciiShader](Get-OBSAsciiShader.md) | +|[Get-OBSAspectRatioShader](Get-OBSAspectRatioShader.md) | +|[Get-OBSBackgroundRemovalShader](Get-OBSBackgroundRemovalShader.md) | +|[Get-OBSBlendOpacityShader](Get-OBSBlendOpacityShader.md) | +|[Get-OBSBlinkShader](Get-OBSBlinkShader.md) | +|[Get-OBSBloomShader](Get-OBSBloomShader.md) | +|[Get-OBSBorderShader](Get-OBSBorderShader.md) | +|[Get-OBSBoxBlurShader](Get-OBSBoxBlurShader.md) | +|[Get-OBSBulgePinchShader](Get-OBSBulgePinchShader.md) | +|[Get-OBSBurnShader](Get-OBSBurnShader.md) | +|[Get-OBSCartoonShader](Get-OBSCartoonShader.md) | +|[Get-OBSCellShadedShader](Get-OBSCellShadedShader.md) | +|[Get-OBSChromaticAberrationShader](Get-OBSChromaticAberrationShader.md) | +|[Get-OBSChromaUVDistortionShader](Get-OBSChromaUVDistortionShader.md) | +|[Get-OBSCircleMaskFilterShader](Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSColorDepthShader](Get-OBSColorDepthShader.md) | +|[Get-OBSColorGradeFilterShader](Get-OBSColorGradeFilterShader.md) | +|[Get-OBSCornerPinShader](Get-OBSCornerPinShader.md) | +|[Get-OBSCrtCurvatureShader](Get-OBSCrtCurvatureShader.md) | |[Get-OBSCurrentPreviewScene](Get-OBSCurrentPreviewScene.md) |Get-OBSCurrentPreviewScene : GetCurrentPreviewScene | |[Get-OBSCurrentProgramScene](Get-OBSCurrentProgramScene.md) |Get-OBSCurrentProgramScene : GetCurrentProgramScene | |[Get-OBSCurrentSceneTransition](Get-OBSCurrentSceneTransition.md) |Get-OBSCurrentSceneTransition : GetCurrentSceneTransition | |[Get-OBSCurrentSceneTransitionCursor](Get-OBSCurrentSceneTransitionCursor.md) |Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor | +|[Get-OBSCutRectPerCornerShader](Get-OBSCutRectPerCornerShader.md) | +|[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | +|[Get-OBSDarkenShader](Get-OBSDarkenShader.md) | +|[Get-OBSDeadPixelFixerShader](Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDivideRotateShader](Get-OBSDivideRotateShader.md) | +|[Get-OBSDoodleShader](Get-OBSDoodleShader.md) | +|[Get-OBSDrawingsShader](Get-OBSDrawingsShader.md) | +|[Get-OBSDropShadowShader](Get-OBSDropShadowShader.md) | +|[Get-OBSDrunkShader](Get-OBSDrunkShader.md) | +|[Get-OBSDynamicMaskShader](Get-OBSDynamicMaskShader.md) | +|[Get-OBSEdgeDetectionShader](Get-OBSEdgeDetectionShader.md) | |[Get-OBSEffect](Get-OBSEffect.md) |Gets OBS Effects | +|[Get-OBSEmbersShader](Get-OBSEmbersShader.md) | +|[Get-OBSEmbossColorShader](Get-OBSEmbossColorShader.md) | +|[Get-OBSEmbossShader](Get-OBSEmbossShader.md) | +|[Get-OBSExeldroBentCameraShader](Get-OBSExeldroBentCameraShader.md) | +|[Get-OBSFadeTransitionShader](Get-OBSFadeTransitionShader.md) | +|[Get-OBSFillColorGradientShader](Get-OBSFillColorGradientShader.md) | +|[Get-OBSFillColorLinearShader](Get-OBSFillColorLinearShader.md) | +|[Get-OBSFillColorRadialDegreesShader](Get-OBSFillColorRadialDegreesShader.md) | +|[Get-OBSFillColorRadialPercentageShader](Get-OBSFillColorRadialPercentageShader.md) | +|[Get-OBSFilterTemplateShader](Get-OBSFilterTemplateShader.md) | +|[Get-OBSFire3Shader](Get-OBSFire3Shader.md) | +|[Get-OBSFireShader](Get-OBSFireShader.md) | +|[Get-OBSFireworksShader](Get-OBSFireworksShader.md) | +|[Get-OBSFisheyeShader](Get-OBSFisheyeShader.md) | +|[Get-OBSFisheyeXyShader](Get-OBSFisheyeXyShader.md) | +|[Get-OBSFrostedGlassShader](Get-OBSFrostedGlassShader.md) | +|[Get-OBSGammaCorrectionShader](Get-OBSGammaCorrectionShader.md) | +|[Get-OBSGaussianBlurAdvancedShader](Get-OBSGaussianBlurAdvancedShader.md) | +|[Get-OBSGaussianBlurShader](Get-OBSGaussianBlurShader.md) | +|[Get-OBSGaussianBlurSimpleShader](Get-OBSGaussianBlurSimpleShader.md) | +|[Get-OBSGaussianExampleShader](Get-OBSGaussianExampleShader.md) | +|[Get-OBSGaussianSimpleShader](Get-OBSGaussianSimpleShader.md) | +|[Get-OBSGbCameraShader](Get-OBSGbCameraShader.md) | +|[Get-OBSGlassShader](Get-OBSGlassShader.md) | +|[Get-OBSGlitchAnalogShader](Get-OBSGlitchAnalogShader.md) | +|[Get-OBSGlitchShader](Get-OBSGlitchShader.md) | +|[Get-OBSGlowShader](Get-OBSGlowShader.md) | +|[Get-OBSGradientShader](Get-OBSGradientShader.md) | |[Get-OBSGroup](Get-OBSGroup.md) |Get-OBSGroup : GetGroupList | |[Get-OBSGroupSceneItem](Get-OBSGroupSceneItem.md) |Get-OBSGroupSceneItem : GetGroupSceneItemList | +|[Get-OBSHalftoneShader](Get-OBSHalftoneShader.md) | +|[Get-OBSHeatWaveSimpleShader](Get-OBSHeatWaveSimpleShader.md) | +|[Get-OBSHexagonShader](Get-OBSHexagonShader.md) | |[Get-OBSHotkey](Get-OBSHotkey.md) |Get-OBSHotkey : GetHotkeyList | +|[Get-OBSHslHsvSaturationShader](Get-OBSHslHsvSaturationShader.md) | +|[Get-OBSHueRotatonShader](Get-OBSHueRotatonShader.md) | |[Get-OBSInput](Get-OBSInput.md) |Get-OBSInput : GetInputList | |[Get-OBSInputAudioBalance](Get-OBSInputAudioBalance.md) |Get-OBSInputAudioBalance : GetInputAudioBalance | |[Get-OBSInputAudioMonitorType](Get-OBSInputAudioMonitorType.md) |Get-OBSInputAudioMonitorType : GetInputAudioMonitorType | @@ -44,18 +112,53 @@ Functions |[Get-OBSInputPropertiesListPropertyItems](Get-OBSInputPropertiesListPropertyItems.md)|Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems| |[Get-OBSInputSettings](Get-OBSInputSettings.md) |Get-OBSInputSettings : GetInputSettings | |[Get-OBSInputVolume](Get-OBSInputVolume.md) |Get-OBSInputVolume : GetInputVolume | +|[Get-OBSIntensityScopeShader](Get-OBSIntensityScopeShader.md) | +|[Get-OBSInvertLumaShader](Get-OBSInvertLumaShader.md) | |[Get-OBSLastReplayBufferReplay](Get-OBSLastReplayBufferReplay.md) |Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay | +|[Get-OBSLuminance2Shader](Get-OBSLuminance2Shader.md) | +|[Get-OBSLuminanceAlphaShader](Get-OBSLuminanceAlphaShader.md) | +|[Get-OBSLuminanceShader](Get-OBSLuminanceShader.md) | +|[Get-OBSMatrixShader](Get-OBSMatrixShader.md) | |[Get-OBSMediaInputStatus](Get-OBSMediaInputStatus.md) |Get-OBSMediaInputStatus : GetMediaInputStatus | |[Get-OBSMonitor](Get-OBSMonitor.md) |Get-OBSMonitor : GetMonitorList | +|[Get-OBSMultiplyShader](Get-OBSMultiplyShader.md) | +|[Get-OBSNightSkyShader](Get-OBSNightSkyShader.md) | +|[Get-OBSOpacityShader](Get-OBSOpacityShader.md) | |[Get-OBSOutput](Get-OBSOutput.md) |Get-OBSOutput : GetOutputList | |[Get-OBSOutputSettings](Get-OBSOutputSettings.md) |Get-OBSOutputSettings : GetOutputSettings | |[Get-OBSOutputStatus](Get-OBSOutputStatus.md) |Get-OBSOutputStatus : GetOutputStatus | +|[Get-OBSPagePeelShader](Get-OBSPagePeelShader.md) | +|[Get-OBSPagePeelTransitionShader](Get-OBSPagePeelTransitionShader.md) | +|[Get-OBSPerlinNoiseShader](Get-OBSPerlinNoiseShader.md) | |[Get-OBSPersistentData](Get-OBSPersistentData.md) |Get-OBSPersistentData : GetPersistentData | +|[Get-OBSPieChartShader](Get-OBSPieChartShader.md) | +|[Get-OBSPixelationShader](Get-OBSPixelationShader.md) | +|[Get-OBSPixelationTransitionShader](Get-OBSPixelationTransitionShader.md) | |[Get-OBSProfile](Get-OBSProfile.md) |Get-OBSProfile : GetProfileList | |[Get-OBSProfileParameter](Get-OBSProfileParameter.md) |Get-OBSProfileParameter : GetProfileParameter | +|[Get-OBSPulseShader](Get-OBSPulseShader.md) | +|[Get-OBSRainbowShader](Get-OBSRainbowShader.md) | +|[Get-OBSRainWindowShader](Get-OBSRainWindowShader.md) | |[Get-OBSRecordDirectory](Get-OBSRecordDirectory.md) |Get-OBSRecordDirectory : GetRecordDirectory | |[Get-OBSRecordStatus](Get-OBSRecordStatus.md) |Get-OBSRecordStatus : GetRecordStatus | +|[Get-OBSRectangularDropShadowShader](Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSRemovePartialPixelsShader](Get-OBSRemovePartialPixelsShader.md) | +|[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | +|[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](Get-OBSReplayBufferStatus.md) |Get-OBSReplayBufferStatus : GetReplayBufferStatus | +|[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | +|[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | +|[Get-OBSRgbvisibilityShader](Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRippleShader](Get-OBSRippleShader.md) | +|[Get-OBSRotatingSourceShader](Get-OBSRotatingSourceShader.md) | +|[Get-OBSRotatoeShader](Get-OBSRotatoeShader.md) | +|[Get-OBSRoundedRect2Shader](Get-OBSRoundedRect2Shader.md) | +|[Get-OBSRoundedRectPerCornerShader](Get-OBSRoundedRectPerCornerShader.md) | +|[Get-OBSRoundedRectPerSideShader](Get-OBSRoundedRectPerSideShader.md) | +|[Get-OBSRoundedRectShader](Get-OBSRoundedRectShader.md) | +|[Get-OBSRoundedStrokeGradientShader](Get-OBSRoundedStrokeGradientShader.md) | +|[Get-OBSRoundedStrokeShader](Get-OBSRoundedStrokeShader.md) | +|[Get-OBSScanLineShader](Get-OBSScanLineShader.md) | |[Get-OBSScene](Get-OBSScene.md) |Get-OBSScene : GetSceneList | |[Get-OBSSceneCollection](Get-OBSSceneCollection.md) |Get-OBSSceneCollection : GetSceneCollectionList | |[Get-OBSSceneItem](Get-OBSSceneItem.md) |Get-OBSSceneItem : GetSceneItemList | @@ -68,6 +171,13 @@ Functions |[Get-OBSSceneItemTransform](Get-OBSSceneItemTransform.md) |Get-OBSSceneItemTransform : GetSceneItemTransform | |[Get-OBSSceneSceneTransitionOverride](Get-OBSSceneSceneTransitionOverride.md) |Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride | |[Get-OBSSceneTransition](Get-OBSSceneTransition.md) |Get-OBSSceneTransition : GetSceneTransitionList | +|[Get-OBSSeascapeShader](Get-OBSSeascapeShader.md) | +|[Get-OBSSeasickShader](Get-OBSSeasickShader.md) | +|[Get-OBSSelectiveColorShader](Get-OBSSelectiveColorShader.md) | +|[Get-OBSShakeShader](Get-OBSShakeShader.md) | +|[Get-OBSShineShader](Get-OBSShineShader.md) | +|[Get-OBSSimpleGradientShader](Get-OBSSimpleGradientShader.md) | +|[Get-OBSSimplexNoiseShader](Get-OBSSimplexNoiseShader.md) | |[Get-OBSSourceActive](Get-OBSSourceActive.md) |Get-OBSSourceActive : GetSourceActive | |[Get-OBSSourceFilter](Get-OBSSourceFilter.md) |Get-OBSSourceFilter : GetSourceFilter | |[Get-OBSSourceFilterDefaultSettings](Get-OBSSourceFilterDefaultSettings.md) |Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings | @@ -75,14 +185,27 @@ Functions |[Get-OBSSourceFilterList](Get-OBSSourceFilterList.md) |Get-OBSSourceFilterList : GetSourceFilterList | |[Get-OBSSourceScreenshot](Get-OBSSourceScreenshot.md) |Get-OBSSourceScreenshot : GetSourceScreenshot | |[Get-OBSSpecialInputs](Get-OBSSpecialInputs.md) |Get-OBSSpecialInputs : GetSpecialInputs | +|[Get-OBSSpotlightShader](Get-OBSSpotlightShader.md) | |[Get-OBSStats](Get-OBSStats.md) |Get-OBSStats : GetStats | |[Get-OBSStreamServiceSettings](Get-OBSStreamServiceSettings.md) |Get-OBSStreamServiceSettings : GetStreamServiceSettings | |[Get-OBSStreamStatus](Get-OBSStreamStatus.md) |Get-OBSStreamStatus : GetStreamStatus | |[Get-OBSStudioModeEnabled](Get-OBSStudioModeEnabled.md) |Get-OBSStudioModeEnabled : GetStudioModeEnabled | +|[Get-OBSSwirlShader](Get-OBSSwirlShader.md) | +|[Get-OBSThermalShader](Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](Get-OBSTransitionKind.md) |Get-OBSTransitionKind : GetTransitionKindList | +|[Get-OBSTvCrtSubpixelShader](Get-OBSTvCrtSubpixelShader.md) | +|[Get-OBSTwistShader](Get-OBSTwistShader.md) | +|[Get-OBSTwoPassDropShadowShader](Get-OBSTwoPassDropShadowShader.md) | +|[Get-OBSVCRShader](Get-OBSVCRShader.md) | |[Get-OBSVersion](Get-OBSVersion.md) |Get-OBSVersion : GetVersion | +|[Get-OBSVHSShader](Get-OBSVHSShader.md) | |[Get-OBSVideoSettings](Get-OBSVideoSettings.md) |Get-OBSVideoSettings : GetVideoSettings | +|[Get-OBSVignettingShader](Get-OBSVignettingShader.md) | |[Get-OBSVirtualCamStatus](Get-OBSVirtualCamStatus.md) |Get-OBSVirtualCamStatus : GetVirtualCamStatus | +|[Get-OBSVoronoiPixelationShader](Get-OBSVoronoiPixelationShader.md) | +|[Get-OBSZigZagShader](Get-OBSZigZagShader.md) | +|[Get-OBSZoomBlurShader](Get-OBSZoomBlurShader.md) | +|[Get-OBSZoomShader](Get-OBSZoomShader.md) | |[Hide-OBS](Hide-OBS.md) |Hide OBS | |[Import-OBSEffect](Import-OBSEffect.md) |Imports Effects | |[Open-OBSInputFiltersDialog](Open-OBSInputFiltersDialog.md) |Open-OBSInputFiltersDialog : OpenInputFiltersDialog | @@ -208,14 +331,82 @@ Aliases |[Copy-OBSSceneItem](Copy-OBSSceneItem.md) | |[Disconnect-OBS](Disconnect-OBS.md) | |[Get-OBS](Get-OBS.md) | +|[Get-OBSAddShader](Get-OBSAddShader.md) | +|[Get-OBSAlphaBorderShader](Get-OBSAlphaBorderShader.md) | +|[Get-OBSAlphaGamingBentCameraShader](Get-OBSAlphaGamingBentCameraShader.md) | +|[Get-OBSAnimatedPathShader](Get-OBSAnimatedPathShader.md) | +|[Get-OBSAnimatedTextureShader](Get-OBSAnimatedTextureShader.md) | +|[Get-OBSAsciiShader](Get-OBSAsciiShader.md) | +|[Get-OBSAspectRatioShader](Get-OBSAspectRatioShader.md) | +|[Get-OBSBackgroundRemovalShader](Get-OBSBackgroundRemovalShader.md) | +|[Get-OBSBlendOpacityShader](Get-OBSBlendOpacityShader.md) | +|[Get-OBSBlinkShader](Get-OBSBlinkShader.md) | +|[Get-OBSBloomShader](Get-OBSBloomShader.md) | +|[Get-OBSBorderShader](Get-OBSBorderShader.md) | +|[Get-OBSBoxBlurShader](Get-OBSBoxBlurShader.md) | +|[Get-OBSBulgePinchShader](Get-OBSBulgePinchShader.md) | +|[Get-OBSBurnShader](Get-OBSBurnShader.md) | +|[Get-OBSCartoonShader](Get-OBSCartoonShader.md) | +|[Get-OBSCellShadedShader](Get-OBSCellShadedShader.md) | +|[Get-OBSChromaticAberrationShader](Get-OBSChromaticAberrationShader.md) | +|[Get-OBSChromaUVDistortionShader](Get-OBSChromaUVDistortionShader.md) | +|[Get-OBSCircleMaskFilterShader](Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSColorDepthShader](Get-OBSColorDepthShader.md) | +|[Get-OBSColorGradeFilterShader](Get-OBSColorGradeFilterShader.md) | +|[Get-OBSCornerPinShader](Get-OBSCornerPinShader.md) | +|[Get-OBSCrtCurvatureShader](Get-OBSCrtCurvatureShader.md) | |[Get-OBSCurrentPreviewScene](Get-OBSCurrentPreviewScene.md) | |[Get-OBSCurrentProgramScene](Get-OBSCurrentProgramScene.md) | |[Get-OBSCurrentSceneTransition](Get-OBSCurrentSceneTransition.md) | |[Get-OBSCurrentSceneTransitionCursor](Get-OBSCurrentSceneTransitionCursor.md) | +|[Get-OBSCutRectPerCornerShader](Get-OBSCutRectPerCornerShader.md) | +|[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | +|[Get-OBSDarkenShader](Get-OBSDarkenShader.md) | +|[Get-OBSDeadPixelFixerShader](Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDivideRotateShader](Get-OBSDivideRotateShader.md) | +|[Get-OBSDoodleShader](Get-OBSDoodleShader.md) | +|[Get-OBSDrawingsShader](Get-OBSDrawingsShader.md) | +|[Get-OBSDropShadowShader](Get-OBSDropShadowShader.md) | +|[Get-OBSDrunkShader](Get-OBSDrunkShader.md) | +|[Get-OBSDynamicMaskShader](Get-OBSDynamicMaskShader.md) | +|[Get-OBSEdgeDetectionShader](Get-OBSEdgeDetectionShader.md) | |[Get-OBSEffect](Get-OBSEffect.md) | +|[Get-OBSEmbersShader](Get-OBSEmbersShader.md) | +|[Get-OBSEmbossColorShader](Get-OBSEmbossColorShader.md) | +|[Get-OBSEmbossShader](Get-OBSEmbossShader.md) | +|[Get-OBSExeldroBentCameraShader](Get-OBSExeldroBentCameraShader.md) | +|[Get-OBSFadeTransitionShader](Get-OBSFadeTransitionShader.md) | +|[Get-OBSFillColorGradientShader](Get-OBSFillColorGradientShader.md) | +|[Get-OBSFillColorLinearShader](Get-OBSFillColorLinearShader.md) | +|[Get-OBSFillColorRadialDegreesShader](Get-OBSFillColorRadialDegreesShader.md) | +|[Get-OBSFillColorRadialPercentageShader](Get-OBSFillColorRadialPercentageShader.md) | +|[Get-OBSFilterTemplateShader](Get-OBSFilterTemplateShader.md) | +|[Get-OBSFire3Shader](Get-OBSFire3Shader.md) | +|[Get-OBSFireShader](Get-OBSFireShader.md) | +|[Get-OBSFireworksShader](Get-OBSFireworksShader.md) | +|[Get-OBSFisheyeShader](Get-OBSFisheyeShader.md) | +|[Get-OBSFisheyeXyShader](Get-OBSFisheyeXyShader.md) | +|[Get-OBSFrostedGlassShader](Get-OBSFrostedGlassShader.md) | +|[Get-OBSGammaCorrectionShader](Get-OBSGammaCorrectionShader.md) | +|[Get-OBSGaussianBlurAdvancedShader](Get-OBSGaussianBlurAdvancedShader.md) | +|[Get-OBSGaussianBlurShader](Get-OBSGaussianBlurShader.md) | +|[Get-OBSGaussianBlurSimpleShader](Get-OBSGaussianBlurSimpleShader.md) | +|[Get-OBSGaussianExampleShader](Get-OBSGaussianExampleShader.md) | +|[Get-OBSGaussianSimpleShader](Get-OBSGaussianSimpleShader.md) | +|[Get-OBSGbCameraShader](Get-OBSGbCameraShader.md) | +|[Get-OBSGlassShader](Get-OBSGlassShader.md) | +|[Get-OBSGlitchAnalogShader](Get-OBSGlitchAnalogShader.md) | +|[Get-OBSGlitchShader](Get-OBSGlitchShader.md) | +|[Get-OBSGlowShader](Get-OBSGlowShader.md) | +|[Get-OBSGradientShader](Get-OBSGradientShader.md) | |[Get-OBSGroup](Get-OBSGroup.md) | |[Get-OBSGroupSceneItem](Get-OBSGroupSceneItem.md) | +|[Get-OBSHalftoneShader](Get-OBSHalftoneShader.md) | +|[Get-OBSHeatWaveSimpleShader](Get-OBSHeatWaveSimpleShader.md) | +|[Get-OBSHexagonShader](Get-OBSHexagonShader.md) | |[Get-OBSHotkey](Get-OBSHotkey.md) | +|[Get-OBSHslHsvSaturationShader](Get-OBSHslHsvSaturationShader.md) | +|[Get-OBSHueRotatonShader](Get-OBSHueRotatonShader.md) | |[Get-OBSInput](Get-OBSInput.md) | |[Get-OBSInputAudioBalance](Get-OBSInputAudioBalance.md) | |[Get-OBSInputAudioMonitorType](Get-OBSInputAudioMonitorType.md) | @@ -227,18 +418,53 @@ Aliases |[Get-OBSInputPropertiesListPropertyItems](Get-OBSInputPropertiesListPropertyItems.md)| |[Get-OBSInputSettings](Get-OBSInputSettings.md) | |[Get-OBSInputVolume](Get-OBSInputVolume.md) | +|[Get-OBSIntensityScopeShader](Get-OBSIntensityScopeShader.md) | +|[Get-OBSInvertLumaShader](Get-OBSInvertLumaShader.md) | |[Get-OBSLastReplayBufferReplay](Get-OBSLastReplayBufferReplay.md) | +|[Get-OBSLuminance2Shader](Get-OBSLuminance2Shader.md) | +|[Get-OBSLuminanceAlphaShader](Get-OBSLuminanceAlphaShader.md) | +|[Get-OBSLuminanceShader](Get-OBSLuminanceShader.md) | +|[Get-OBSMatrixShader](Get-OBSMatrixShader.md) | |[Get-OBSMediaInputStatus](Get-OBSMediaInputStatus.md) | |[Get-OBSMonitor](Get-OBSMonitor.md) | +|[Get-OBSMultiplyShader](Get-OBSMultiplyShader.md) | +|[Get-OBSNightSkyShader](Get-OBSNightSkyShader.md) | +|[Get-OBSOpacityShader](Get-OBSOpacityShader.md) | |[Get-OBSOutput](Get-OBSOutput.md) | |[Get-OBSOutputSettings](Get-OBSOutputSettings.md) | |[Get-OBSOutputStatus](Get-OBSOutputStatus.md) | +|[Get-OBSPagePeelShader](Get-OBSPagePeelShader.md) | +|[Get-OBSPagePeelTransitionShader](Get-OBSPagePeelTransitionShader.md) | +|[Get-OBSPerlinNoiseShader](Get-OBSPerlinNoiseShader.md) | |[Get-OBSPersistentData](Get-OBSPersistentData.md) | +|[Get-OBSPieChartShader](Get-OBSPieChartShader.md) | +|[Get-OBSPixelationShader](Get-OBSPixelationShader.md) | +|[Get-OBSPixelationTransitionShader](Get-OBSPixelationTransitionShader.md) | |[Get-OBSProfile](Get-OBSProfile.md) | |[Get-OBSProfileParameter](Get-OBSProfileParameter.md) | +|[Get-OBSPulseShader](Get-OBSPulseShader.md) | +|[Get-OBSRainbowShader](Get-OBSRainbowShader.md) | +|[Get-OBSRainWindowShader](Get-OBSRainWindowShader.md) | |[Get-OBSRecordDirectory](Get-OBSRecordDirectory.md) | |[Get-OBSRecordStatus](Get-OBSRecordStatus.md) | +|[Get-OBSRectangularDropShadowShader](Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSRemovePartialPixelsShader](Get-OBSRemovePartialPixelsShader.md) | +|[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | +|[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](Get-OBSReplayBufferStatus.md) | +|[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | +|[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | +|[Get-OBSRgbvisibilityShader](Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRippleShader](Get-OBSRippleShader.md) | +|[Get-OBSRotatingSourceShader](Get-OBSRotatingSourceShader.md) | +|[Get-OBSRotatoeShader](Get-OBSRotatoeShader.md) | +|[Get-OBSRoundedRect2Shader](Get-OBSRoundedRect2Shader.md) | +|[Get-OBSRoundedRectPerCornerShader](Get-OBSRoundedRectPerCornerShader.md) | +|[Get-OBSRoundedRectPerSideShader](Get-OBSRoundedRectPerSideShader.md) | +|[Get-OBSRoundedRectShader](Get-OBSRoundedRectShader.md) | +|[Get-OBSRoundedStrokeGradientShader](Get-OBSRoundedStrokeGradientShader.md) | +|[Get-OBSRoundedStrokeShader](Get-OBSRoundedStrokeShader.md) | +|[Get-OBSScanLineShader](Get-OBSScanLineShader.md) | |[Get-OBSScene](Get-OBSScene.md) | |[Get-OBSSceneCollection](Get-OBSSceneCollection.md) | |[Get-OBSSceneItem](Get-OBSSceneItem.md) | @@ -251,6 +477,13 @@ Aliases |[Get-OBSSceneItemTransform](Get-OBSSceneItemTransform.md) | |[Get-OBSSceneSceneTransitionOverride](Get-OBSSceneSceneTransitionOverride.md) | |[Get-OBSSceneTransition](Get-OBSSceneTransition.md) | +|[Get-OBSSeascapeShader](Get-OBSSeascapeShader.md) | +|[Get-OBSSeasickShader](Get-OBSSeasickShader.md) | +|[Get-OBSSelectiveColorShader](Get-OBSSelectiveColorShader.md) | +|[Get-OBSShakeShader](Get-OBSShakeShader.md) | +|[Get-OBSShineShader](Get-OBSShineShader.md) | +|[Get-OBSSimpleGradientShader](Get-OBSSimpleGradientShader.md) | +|[Get-OBSSimplexNoiseShader](Get-OBSSimplexNoiseShader.md) | |[Get-OBSSourceActive](Get-OBSSourceActive.md) | |[Get-OBSSourceFilter](Get-OBSSourceFilter.md) | |[Get-OBSSourceFilterDefaultSettings](Get-OBSSourceFilterDefaultSettings.md) | @@ -258,14 +491,27 @@ Aliases |[Get-OBSSourceFilterList](Get-OBSSourceFilterList.md) | |[Get-OBSSourceScreenshot](Get-OBSSourceScreenshot.md) | |[Get-OBSSpecialInputs](Get-OBSSpecialInputs.md) | +|[Get-OBSSpotlightShader](Get-OBSSpotlightShader.md) | |[Get-OBSStats](Get-OBSStats.md) | |[Get-OBSStreamServiceSettings](Get-OBSStreamServiceSettings.md) | |[Get-OBSStreamStatus](Get-OBSStreamStatus.md) | |[Get-OBSStudioModeEnabled](Get-OBSStudioModeEnabled.md) | +|[Get-OBSSwirlShader](Get-OBSSwirlShader.md) | +|[Get-OBSThermalShader](Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](Get-OBSTransitionKind.md) | +|[Get-OBSTvCrtSubpixelShader](Get-OBSTvCrtSubpixelShader.md) | +|[Get-OBSTwistShader](Get-OBSTwistShader.md) | +|[Get-OBSTwoPassDropShadowShader](Get-OBSTwoPassDropShadowShader.md) | +|[Get-OBSVCRShader](Get-OBSVCRShader.md) | |[Get-OBSVersion](Get-OBSVersion.md) | +|[Get-OBSVHSShader](Get-OBSVHSShader.md) | |[Get-OBSVideoSettings](Get-OBSVideoSettings.md) | +|[Get-OBSVignettingShader](Get-OBSVignettingShader.md) | |[Get-OBSVirtualCamStatus](Get-OBSVirtualCamStatus.md) | +|[Get-OBSVoronoiPixelationShader](Get-OBSVoronoiPixelationShader.md) | +|[Get-OBSZigZagShader](Get-OBSZigZagShader.md) | +|[Get-OBSZoomBlurShader](Get-OBSZoomBlurShader.md) | +|[Get-OBSZoomShader](Get-OBSZoomShader.md) | |[Hide-OBS](Hide-OBS.md) | |[Import-OBSEffect](Import-OBSEffect.md) | |[Open-OBSInputFiltersDialog](Open-OBSInputFiltersDialog.md) | From 8c66c61c65f21a7c03ce250ccff864544204f374 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 19:29:52 -0800 Subject: [PATCH 1719/4768] feat: Making Shader Build Conditional ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index e7ba5488f..f095b3f57 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -2,8 +2,32 @@ .SYNOPSIS Generates obs-powershell commands for PixelShaders .DESCRIPTION - + Generates `*-OBS*Shader` commands, based off of pixel shaders. +.NOTES + Most of the shaders come from the excellent [obs-shaderfilter](https://github.com/Exeldro/obs-shaderfilter) plugin. + This plugin is required for any of these shader functions to work. + + This file should only build if the commit message matches "shader" +.LINK + https://github.com/Exeldro/obs-shaderfilter #> +[ValidatePattern("Shader")] +param() + + +$logOutput = git log -n 1 +foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { + if ($myAttribute -is [ValidatePattern]) { + $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') + if ( + ($logOutput.CommitMessage -and $logOutput.CommitMessage -match $myRegex) -or + ($logOutput -match $myRegex) + ) { + Write-Warning "Skipping $($MyInvocation.MyCommand), because the last commit did not match $($myRegex)" + return + } + } +} if ($env:GITHUB_STEP_SUMMARY) { @" From ac694c722d57ca5dcf65b58dcbf1822433cffef6 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 19:32:07 -0800 Subject: [PATCH 1720/4768] feat: $obs.Beat ( Fixes #186 ) --- Types/OBS.PowerShell/get_Beat.ps1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Types/OBS.PowerShell/get_Beat.ps1 diff --git a/Types/OBS.PowerShell/get_Beat.ps1 b/Types/OBS.PowerShell/get_Beat.ps1 new file mode 100644 index 000000000..42e905ced --- /dev/null +++ b/Types/OBS.PowerShell/get_Beat.ps1 @@ -0,0 +1,14 @@ +<# +.SYNOPSIS + Gets the Beat +.DESCRIPTION + Gets the Beat Controller for obs-powershell. + + The beat controller allows you to control effects on a beat. +#> +if (-not $this.'.Beat') { + $this | Add-Member NoteProperty '.Beat' ([PSCustomObject]@{ + PSTypeName = "OBS.Beat" + }) -Force +} +return $this.'.Beat' \ No newline at end of file From f50c56b2e90c91eafff0f5e6c0620c005c63b6ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 03:40:41 +0000 Subject: [PATCH 1721/4768] feat: $obs.Beat ( Fixes #186 ) --- obs-powershell.types.ps1xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index c80645751..a1ab50437 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1275,6 +1275,25 @@ $this | Set-OBSInputSettings -InputSettings ([Ordered]@{color=$realColor}) Stats Statistics + + Beat + + <# +.SYNOPSIS + Gets the Beat +.DESCRIPTION + Gets the Beat Controller for obs-powershell. + + The beat controller allows you to control effects on a beat. +#> +if (-not $this.'.Beat') { + $this | Add-Member NoteProperty '.Beat' ([PSCustomObject]@{ + PSTypeName = "OBS.Beat" + }) -Force +} +return $this.'.Beat' + + Commands From 0400f3696af360fa3447ad58d5201a4d6ed637e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 03:41:51 +0000 Subject: [PATCH 1722/4768] feat: $obs.Beat ( Fixes #186 ) --- docs/OBS/PowerShell/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/OBS/PowerShell/README.md b/docs/OBS/PowerShell/README.md index 92a405378..c06be0388 100644 --- a/docs/OBS/PowerShell/README.md +++ b/docs/OBS/PowerShell/README.md @@ -4,6 +4,7 @@ ### Script Methods +* [get_Beat](get_Beat.md) * [get_Commands](get_Commands.md) * [get_CurrentScene](get_CurrentScene.md) * [get_Inputs](get_Inputs.md) From f43b9f1778d146c5c2e8c1a7ba86c49c4872a0ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 03:41:51 +0000 Subject: [PATCH 1723/4768] feat: $obs.Beat ( Fixes #186 ) --- docs/OBS/PowerShell/get_Beat.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/OBS/PowerShell/get_Beat.md diff --git a/docs/OBS/PowerShell/get_Beat.md b/docs/OBS/PowerShell/get_Beat.md new file mode 100644 index 000000000..b901de09a --- /dev/null +++ b/docs/OBS/PowerShell/get_Beat.md @@ -0,0 +1,15 @@ +OBS.PowerShell.get_Beat() +------------------------- + +### Synopsis +Gets the Beat + +--- + +### Description + +Gets the Beat Controller for obs-powershell. + +The beat controller allows you to control effects on a beat. + +--- From 06a04e8589e41549206fc86408e6f15f3f36ec3b Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 20:05:06 -0800 Subject: [PATCH 1724/4768] feat: OBS.Beat.BPM ( Fixes #187 ) --- Types/OBS.Beat/get_BPM.ps1 | 9 +++++++++ Types/OBS.Beat/set_BPM.ps1 | 14 ++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 Types/OBS.Beat/get_BPM.ps1 create mode 100644 Types/OBS.Beat/set_BPM.ps1 diff --git a/Types/OBS.Beat/get_BPM.ps1 b/Types/OBS.Beat/get_BPM.ps1 new file mode 100644 index 000000000..76a95c563 --- /dev/null +++ b/Types/OBS.Beat/get_BPM.ps1 @@ -0,0 +1,9 @@ +<# +.SYNOPSIS + Gets the BPM +.DESCRIPTION + Gets the Beats Per Minute (BPM) of obs-powershell. + + This can be used to time effects to a beat. +#> +return $this.'.BPM' diff --git a/Types/OBS.Beat/set_BPM.ps1 b/Types/OBS.Beat/set_BPM.ps1 new file mode 100644 index 000000000..d26b532ec --- /dev/null +++ b/Types/OBS.Beat/set_BPM.ps1 @@ -0,0 +1,14 @@ +<# +.SYNOPSIS + Sets the BPM +.DESCRIPTION + Set the Beats Per Minute (BPM) of obs-powershell. + + This can be used to time effects to a beat. +#> +param( +# The new BPM +[double] +$BPM +) +$this | Add-Member NoteProperty ".BPM" $BPM -Force -PassThru From 66292940699f33eb3407a1dc31079d8cb35e2f92 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:13:50 +0000 Subject: [PATCH 1725/4768] feat: OBS.Beat.BPM ( Fixes #187 ) --- obs-powershell.types.ps1xml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index a1ab50437..01eded474 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1,6 +1,43 @@ + + OBS.Beat + + + BPM + + <# +.SYNOPSIS + Gets the BPM +.DESCRIPTION + Gets the Beats Per Minute (BPM) of obs-powershell. + + This can be used to time effects to a beat. +#> +return $this.'.BPM' + + + + <# +.SYNOPSIS + Sets the BPM +.DESCRIPTION + Set the Beats Per Minute (BPM) of obs-powershell. + + This can be used to time effects to a beat. +#> +param( +# The new BPM +[double] +$BPM +) +$this | Add-Member NoteProperty ".BPM" $BPM -Force -PassThru + + + + + OBS.GetSourceFilterList.Response From 182d6c360fdc4b578c7d0e8e82f77ba4090f534e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:15:00 +0000 Subject: [PATCH 1726/4768] feat: OBS.Beat.BPM ( Fixes #187 ) --- docs/OBS/Beat/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/OBS/Beat/README.md diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md new file mode 100644 index 000000000..7a1365035 --- /dev/null +++ b/docs/OBS/Beat/README.md @@ -0,0 +1,8 @@ +## OBS.Beat + + +### Script Methods + + +* [get_BPM](get_BPM.md) +* [set_BPM](set_BPM.md) From 17327611612e7540867e94f6fecf8ad11973b4ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:15:01 +0000 Subject: [PATCH 1727/4768] feat: OBS.Beat.BPM ( Fixes #187 ) --- docs/OBS/Beat/get_BPM.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/OBS/Beat/get_BPM.md diff --git a/docs/OBS/Beat/get_BPM.md b/docs/OBS/Beat/get_BPM.md new file mode 100644 index 000000000..81c67997c --- /dev/null +++ b/docs/OBS/Beat/get_BPM.md @@ -0,0 +1,15 @@ +OBS.Beat.get_BPM() +------------------ + +### Synopsis +Gets the BPM + +--- + +### Description + +Gets the Beats Per Minute (BPM) of obs-powershell. + +This can be used to time effects to a beat. + +--- From 4e76db6a5c15ad5c906a9b07ee013ed22383e113 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:15:01 +0000 Subject: [PATCH 1728/4768] feat: OBS.Beat.BPM ( Fixes #187 ) --- docs/OBS/Beat/set_BPM.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/OBS/Beat/set_BPM.md diff --git a/docs/OBS/Beat/set_BPM.md b/docs/OBS/Beat/set_BPM.md new file mode 100644 index 000000000..b611c3690 --- /dev/null +++ b/docs/OBS/Beat/set_BPM.md @@ -0,0 +1,25 @@ +OBS.Beat.set_BPM() +------------------ + +### Synopsis +Sets the BPM + +--- + +### Description + +Set the Beats Per Minute (BPM) of obs-powershell. + +This can be used to time effects to a beat. + +--- + +### Parameters +#### **BPM** +The new BPM + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Double]`|false |1 |false | + +--- From abede743719aeb438ea0c9ad152d490cb9f6db65 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 20:44:25 -0800 Subject: [PATCH 1729/4768] feat: OBS.Beat.BeatStart ( Fixes #188 ) --- Build/obs--shaders.build.ps1 | 8 +++++++- Types/OBS.Beat/get_BeatStart.ps1 | 7 +++++++ Types/OBS.Beat/set_BeatStart.ps1 | 13 +++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 Types/OBS.Beat/get_BeatStart.ps1 create mode 100644 Types/OBS.Beat/set_BeatStart.ps1 diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index f095b3f57..16e23628b 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -18,12 +18,18 @@ param() $logOutput = git log -n 1 foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { if ($myAttribute -is [ValidatePattern]) { + if ($env:GITHUB_STEP_SUMMARY) { + "* Validating Build Pattern ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') if ( ($logOutput.CommitMessage -and $logOutput.CommitMessage -match $myRegex) -or ($logOutput -match $myRegex) ) { - Write-Warning "Skipping $($MyInvocation.MyCommand), because the last commit did not match $($myRegex)" + if ($env:GITHUB_STEP_SUMMARY) { + "* SKIPPING SHADER BUILD because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" return } } diff --git a/Types/OBS.Beat/get_BeatStart.ps1 b/Types/OBS.Beat/get_BeatStart.ps1 new file mode 100644 index 000000000..1f9ec9bab --- /dev/null +++ b/Types/OBS.Beat/get_BeatStart.ps1 @@ -0,0 +1,7 @@ +<# +.SYNOPSIS + Gets the Beat Start Time +.DESCRIPTION + Gets the time when the beat started. +#> +return $this.'.BeatStart' diff --git a/Types/OBS.Beat/set_BeatStart.ps1 b/Types/OBS.Beat/set_BeatStart.ps1 new file mode 100644 index 000000000..94d24479b --- /dev/null +++ b/Types/OBS.Beat/set_BeatStart.ps1 @@ -0,0 +1,13 @@ +<# +.SYNOPSIS + Sets the Beat Start Time +.DESCRIPTION + Sets the time when the beat started. +#> +param( + # The Beat Start Time + [DateTime]$BeatStartTime +) +$this | Add-Member NoteProperty ".BeatStart" ( + $BeatStartTime +) -Force From 59108b841ef7bf83faabd1a6dd9d31c17869fac1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:53:04 +0000 Subject: [PATCH 1730/4768] feat: OBS.Beat.BeatStart ( Fixes #188 ) --- obs-powershell.types.ps1xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 01eded474..f2d4419b0 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -4,6 +4,35 @@ OBS.Beat + + BeatStart + + <# +.SYNOPSIS + Gets the Beat Start Time +.DESCRIPTION + Gets the time when the beat started. +#> +return $this.'.BeatStart' + + + + <# +.SYNOPSIS + Sets the Beat Start Time +.DESCRIPTION + Sets the time when the beat started. +#> +param( + # The Beat Start Time + [DateTime]$BeatStartTime +) +$this | Add-Member NoteProperty ".BeatStart" ( + $BeatStartTime +) -Force + + + BPM From 5d870d8bfcd5dd480780a3245f5582e7837e27bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:54:14 +0000 Subject: [PATCH 1731/4768] feat: OBS.Beat.BeatStart ( Fixes #188 ) --- docs/OBS/Beat/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index 7a1365035..93906a6b7 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -4,5 +4,7 @@ ### Script Methods +* [get_BeatStart](get_BeatStart.md) +* [set_BeatStart](set_BeatStart.md) * [get_BPM](get_BPM.md) * [set_BPM](set_BPM.md) From e9978ab98922cffadc3af526505d841463cf2d58 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:54:14 +0000 Subject: [PATCH 1732/4768] feat: OBS.Beat.BeatStart ( Fixes #188 ) --- docs/OBS/Beat/get_BeatStart.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/OBS/Beat/get_BeatStart.md diff --git a/docs/OBS/Beat/get_BeatStart.md b/docs/OBS/Beat/get_BeatStart.md new file mode 100644 index 000000000..1edf77449 --- /dev/null +++ b/docs/OBS/Beat/get_BeatStart.md @@ -0,0 +1,13 @@ +OBS.Beat.get_BeatStart() +------------------------ + +### Synopsis +Gets the Beat Start Time + +--- + +### Description + +Gets the time when the beat started. + +--- From 0a20326803a0d222d741b39bedd298d19a70323b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 04:54:14 +0000 Subject: [PATCH 1733/4768] feat: OBS.Beat.BeatStart ( Fixes #188 ) --- docs/OBS/Beat/set_BeatStart.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/OBS/Beat/set_BeatStart.md diff --git a/docs/OBS/Beat/set_BeatStart.md b/docs/OBS/Beat/set_BeatStart.md new file mode 100644 index 000000000..9f3a1a095 --- /dev/null +++ b/docs/OBS/Beat/set_BeatStart.md @@ -0,0 +1,23 @@ +OBS.Beat.set_BeatStart() +------------------------ + +### Synopsis +Sets the Beat Start Time + +--- + +### Description + +Sets the time when the beat started. + +--- + +### Parameters +#### **BeatStartTime** +The Beat Start Time + +|Type |Required|Position|PipelineInput| +|------------|--------|--------|-------------| +|`[DateTime]`|false |1 |false | + +--- From e39dcf84edd0f871a7ad24fc28e6d6d2d08f92c8 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 21:55:42 -0800 Subject: [PATCH 1734/4768] feat: OBS.Beat.BeatCount ( Fixes #190 ) --- Build/obs--shaders.build.ps1 | 6 +++--- Types/OBS.Beat/get_BeatCount.ps1 | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 Types/OBS.Beat/get_BeatCount.ps1 diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 16e23628b..8ab9e5a14 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -19,12 +19,12 @@ $logOutput = git log -n 1 foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { if ($myAttribute -is [ValidatePattern]) { if ($env:GITHUB_STEP_SUMMARY) { - "* Validating Build Pattern ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* Validating Build Pattern (``$($myAttribute.RegexPattern)``) against $($logOutput.CommitMessage,$logOutput -join [Environment]::Newline)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') if ( - ($logOutput.CommitMessage -and $logOutput.CommitMessage -match $myRegex) -or - ($logOutput -match $myRegex) + ($logOutput.CommitMessage -and $myRegex.IsMatch("$($logOutput.CommitMessage)")) -or + ($myRegex.IsMatch("$logOutput")) ) { if ($env:GITHUB_STEP_SUMMARY) { "* SKIPPING SHADER BUILD because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append diff --git a/Types/OBS.Beat/get_BeatCount.ps1 b/Types/OBS.Beat/get_BeatCount.ps1 new file mode 100644 index 000000000..7e531094f --- /dev/null +++ b/Types/OBS.Beat/get_BeatCount.ps1 @@ -0,0 +1,12 @@ +<# +.SYNOPSIS + Gets the Beat Count +.DESCRIPTION + Gets the number of beats since the beat started. +.EXAMPLE + $obs.Beat.BeatCount +#> +if ($this.'.BPM' -and $this.'.BeatStart') { + ([DateTime]::Now - $this.'.BeatStart').TotalMilliseconds / + ((60 * 1000) / $this.'.BPM') +} From 6de36d6d77f733f6e830d01f8fb4f400c833707b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:04:12 +0000 Subject: [PATCH 1735/4768] feat: OBS.Beat.BeatCount ( Fixes #190 ) --- obs-powershell.types.ps1xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index f2d4419b0..949270147 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -4,6 +4,24 @@ OBS.Beat + + BeatCount + + <# +.SYNOPSIS + Gets the Beat Count +.DESCRIPTION + Gets the number of beats since the beat started. +.EXAMPLE + $obs.Beat.BeatCount +#> +if ($this.'.BPM' -and $this.'.BeatStart') { + ([DateTime]::Now - $this.'.BeatStart').TotalMilliseconds / + ((60 * 1000) / $this.'.BPM') +} + + + BeatStart From 5da3127662c8be4d72346e2c76958e21baf333b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:05:22 +0000 Subject: [PATCH 1736/4768] feat: OBS.Beat.BeatCount ( Fixes #190 ) --- docs/OBS/Beat/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index 93906a6b7..dff2a4d61 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -4,6 +4,7 @@ ### Script Methods +* [get_BeatCount](get_BeatCount.md) * [get_BeatStart](get_BeatStart.md) * [set_BeatStart](set_BeatStart.md) * [get_BPM](get_BPM.md) From bd9f8d2233b362c49f9036e2efbe11e30024c7f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:05:22 +0000 Subject: [PATCH 1737/4768] feat: OBS.Beat.BeatCount ( Fixes #190 ) --- docs/OBS/Beat/get_BeatCount.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/OBS/Beat/get_BeatCount.md diff --git a/docs/OBS/Beat/get_BeatCount.md b/docs/OBS/Beat/get_BeatCount.md new file mode 100644 index 000000000..074580f38 --- /dev/null +++ b/docs/OBS/Beat/get_BeatCount.md @@ -0,0 +1,22 @@ +OBS.Beat.get_BeatCount() +------------------------ + +### Synopsis +Gets the Beat Count + +--- + +### Description + +Gets the number of beats since the beat started. + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +$obs.Beat.BeatCount +``` + +--- From ed4830ffa28b2af3e9615b6ec459bd205bb8051e Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 22:16:18 -0800 Subject: [PATCH 1738/4768] feat: Fixing Shader Build Condition ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 8ab9e5a14..2e32f4aee 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -23,8 +23,8 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') if ( - ($logOutput.CommitMessage -and $myRegex.IsMatch("$($logOutput.CommitMessage)")) -or - ($myRegex.IsMatch("$logOutput")) + ($logOutput.CommitMessage -and -not $myRegex.IsMatch("$($logOutput.CommitMessage)")) -or + (-not $myRegex.IsMatch("$logOutput")) ) { if ($env:GITHUB_STEP_SUMMARY) { "* SKIPPING SHADER BUILD because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append From 6d09cb7547b02054e24b659dffdb064d8e53b7c5 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 22:21:34 -0800 Subject: [PATCH 1739/4768] feat: OBS.Beat.Duration ( Fixes #189 ) --- Types/OBS.Beat/get_Duration.ps1 | 11 +++++++++++ Types/OBS.Beat/set_Duration.ps1 | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 Types/OBS.Beat/get_Duration.ps1 create mode 100644 Types/OBS.Beat/set_Duration.ps1 diff --git a/Types/OBS.Beat/get_Duration.ps1 b/Types/OBS.Beat/get_Duration.ps1 new file mode 100644 index 000000000..2337666c6 --- /dev/null +++ b/Types/OBS.Beat/get_Duration.ps1 @@ -0,0 +1,11 @@ +<# +.SYNOPSIS + Gets the Duration +.DESCRIPTION + Gets the Duration of a Beat +.OUTPUTS + [TimeSpan] +#> +if ($this.'.BPM') { + [Timespan]::FromMilliseconds((60 * 1000) / $this.'.BPM') +} diff --git a/Types/OBS.Beat/set_Duration.ps1 b/Types/OBS.Beat/set_Duration.ps1 new file mode 100644 index 000000000..774e63492 --- /dev/null +++ b/Types/OBS.Beat/set_Duration.ps1 @@ -0,0 +1,19 @@ +<# +.SYNOPSIS + Gets the Duration +.DESCRIPTION + Gets the Duration of a Beat +.OUTPUTSobs + [TimeSpan] +#> +param( +# The new duration. +# This will also set the BPM +[timespan] +$Duration +) + +$this | Add-Member NoteProperty ".BPM" ( + (60 * 1000) / $Duration.TotalMilliseconds +) -Force -PassThru + From 5f9d8253cd31a5f5ba824047f635efa03173ad57 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:27:01 +0000 Subject: [PATCH 1740/4768] feat: OBS.Beat.Duration ( Fixes #189 ) --- obs-powershell.types.ps1xml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 949270147..5a24dcc2b 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -81,6 +81,45 @@ $BPM ) $this | Add-Member NoteProperty ".BPM" $BPM -Force -PassThru + + + + Duration + + <# +.SYNOPSIS + Gets the Duration +.DESCRIPTION + Gets the Duration of a Beat +.OUTPUTS + [TimeSpan] +#> +if ($this.'.BPM') { + [Timespan]::FromMilliseconds((60 * 1000) / $this.'.BPM') +} + + + + <# +.SYNOPSIS + Gets the Duration +.DESCRIPTION + Gets the Duration of a Beat +.OUTPUTSobs + [TimeSpan] +#> +param( +# The new duration. +# This will also set the BPM +[timespan] +$Duration +) + +$this | Add-Member NoteProperty ".BPM" ( + (60 * 1000) / $Duration.TotalMilliseconds +) -Force -PassThru + + From a065708d293b9bf412e7c366386dbd1dccca34cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:28:13 +0000 Subject: [PATCH 1741/4768] feat: OBS.Beat.Duration ( Fixes #189 ) --- docs/OBS/Beat/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index dff2a4d61..9276d9825 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -9,3 +9,5 @@ * [set_BeatStart](set_BeatStart.md) * [get_BPM](get_BPM.md) * [set_BPM](set_BPM.md) +* [get_Duration](get_Duration.md) +* [set_Duration](set_Duration.md) From 5b5c220a206b6e6bbe2bdfa3984d04a1c1ae313e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:28:13 +0000 Subject: [PATCH 1742/4768] feat: OBS.Beat.Duration ( Fixes #189 ) --- docs/OBS/Beat/get_Duration.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/OBS/Beat/get_Duration.md diff --git a/docs/OBS/Beat/get_Duration.md b/docs/OBS/Beat/get_Duration.md new file mode 100644 index 000000000..8d2ab9b1e --- /dev/null +++ b/docs/OBS/Beat/get_Duration.md @@ -0,0 +1,18 @@ +OBS.Beat.get_Duration() +----------------------- + +### Synopsis +Gets the Duration + +--- + +### Description + +Gets the Duration of a Beat + +--- + +### Outputs +* [TimeSpan] + +--- From 333d67f87efea9f295038e710603616a11162acb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:28:13 +0000 Subject: [PATCH 1743/4768] feat: OBS.Beat.Duration ( Fixes #189 ) --- docs/OBS/Beat/set_Duration.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/OBS/Beat/set_Duration.md diff --git a/docs/OBS/Beat/set_Duration.md b/docs/OBS/Beat/set_Duration.md new file mode 100644 index 000000000..37f7e6362 --- /dev/null +++ b/docs/OBS/Beat/set_Duration.md @@ -0,0 +1,31 @@ +OBS.Beat.set_Duration() +----------------------- + +### Synopsis + +OBS.Beat.set_Duration [[-Duration] ] + +--- + +### Description + +--- + +### Parameters +#### **Duration** + +|Type |Required|Position|PipelineInput| +|------------|--------|--------|-------------| +|`[timespan]`|false |0 |false | + +--- + +### Inputs +None + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- From f2cfea70d58bf088f84fe60762d4e541d26c2f8d Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 22:40:50 -0800 Subject: [PATCH 1744/4768] build: Updating Build Conditions Adding ValidateScript support to both build files --- Build/obs--shaders.build.ps1 | 14 ++++++++++++ Build/obs-powershell.build.ps1 | 41 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 2e32f4aee..574e8aa33 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -33,6 +33,20 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { return } } + + if ($myAttribute -is [ValidateScript]) { + $validationOutput = . $myAttribute.ScriptBlock $logOutput + if (-not $validationOutput) { + if ($env:GITHUB_STEP_SUMMARY) { + "* Skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not meet the validation criteria:" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "$($myAttribute.ScriptBlock)" + "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" + return + } + } } if ($env:GITHUB_STEP_SUMMARY) { diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index 8e53c2ea2..fe54f8714 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -1,5 +1,46 @@ #requires -Module PipeScript +[ValidateScript({ + $args -match 'websocket' +})] +param() + +#region Build Condition +$logOutput = git log -n 1 +foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { + if ($myAttribute -is [ValidatePattern]) { + if ($env:GITHUB_STEP_SUMMARY) { + "* Validating Build Pattern (``$($myAttribute.RegexPattern)``) against $($logOutput.CommitMessage,$logOutput -join [Environment]::Newline)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') + if ( + ($logOutput.CommitMessage -and -not $myRegex.IsMatch("$($logOutput.CommitMessage)")) -or + (-not $myRegex.IsMatch("$logOutput")) + ) { + if ($env:GITHUB_STEP_SUMMARY) { + "* skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" + return + } + } + + if ($myAttribute -is [ValidateScript]) { + $validationOutput = . $myAttribute.ScriptBlock $logOutput + if (-not $validationOutput) { + if ($env:GITHUB_STEP_SUMMARY) { + "* Skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not meet the validation criteria:" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "$($myAttribute.ScriptBlock)" + "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } + Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" + return + } + } +} +#endregion Build Condition + # The WebSocket is nice enough to provide it's documentation in JSON $obsWebSocketProtocol = Invoke-RestMethod https://raw.githubusercontent.com/obsproject/obs-websocket/master/docs/generated/protocol.json From f8708d1b75864147b97f0fa52c8c1a5e5bcbbc9d Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 22:41:56 -0800 Subject: [PATCH 1745/4768] feat: OBS.Beat.TapBPM ( Fixes #191 ) --- Types/OBS.Beat/TapBPM.ps1 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Types/OBS.Beat/TapBPM.ps1 diff --git a/Types/OBS.Beat/TapBPM.ps1 b/Types/OBS.Beat/TapBPM.ps1 new file mode 100644 index 000000000..30bd0bc06 --- /dev/null +++ b/Types/OBS.Beat/TapBPM.ps1 @@ -0,0 +1,36 @@ +<# +.SYNOPSIS + Tap BPM +.DESCRIPTION + Tap out a BPM by pressing ENTER on N beats. + + The BPM will be set to the average time between taps, and the beat will be started. +#> +param( +# The number of taps. +[int] +$TapCount = 8 +) + +Write-Host "Press ENTER on the next..." +$beatTimes = @() +$beatTimeStart = [datetime]::Now +$lastBeatTime = [timespan]::FromMilliseconds(0) +$beatTimes = do { + Write-Host "$($TapCount -$beatTimes.Length) beats:" -NoNewline + $readNothing = Read-Host + $beatTimes += [datetime]::Now + $lastBeatTime = $beatTimes[-1] - $beatTimeStart + $beatTimeStart = [datetime]::Now + $lastBeatTime +} while ($beatTimes.Length -lt $TapCount) + +$averageTimeBetweenBeats = + $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average + +$TappedBpm = (60 * 1000) / $averageTimeBetweenBeats +$this.BPM = $TappedBpm +$this.BeatStart = $beatTimes[-1] +$TappedBpm + + From 9a1f78aea798482dea2e2ea2f475f815b698c943 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:44:09 +0000 Subject: [PATCH 1746/4768] feat: OBS.Beat.TapBPM ( Fixes #191 ) --- obs-powershell.types.ps1xml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 5a24dcc2b..fe3577332 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -4,6 +4,48 @@ OBS.Beat + + TapBPM + + BeatCount From e307c42c47f3bd49ad6fe0d0cd018f2e0c35f9e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:45:17 +0000 Subject: [PATCH 1747/4768] feat: OBS.Beat.TapBPM ( Fixes #191 ) --- docs/OBS/Beat/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index 9276d9825..b4f21e2ec 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -4,6 +4,7 @@ ### Script Methods +* [TapBPM](TapBPM.md) * [get_BeatCount](get_BeatCount.md) * [get_BeatStart](get_BeatStart.md) * [set_BeatStart](set_BeatStart.md) From 4c5282d6b995aafd1ba481e9df1dc6f113993d97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 06:45:18 +0000 Subject: [PATCH 1748/4768] feat: OBS.Beat.TapBPM ( Fixes #191 ) --- docs/OBS/Beat/TapBPM.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/OBS/Beat/TapBPM.md diff --git a/docs/OBS/Beat/TapBPM.md b/docs/OBS/Beat/TapBPM.md new file mode 100644 index 000000000..22d934f32 --- /dev/null +++ b/docs/OBS/Beat/TapBPM.md @@ -0,0 +1,25 @@ +OBS.Beat.TapBPM() +----------------- + +### Synopsis +Tap BPM + +--- + +### Description + +Tap out a BPM by pressing ENTER on N beats. + +The BPM will be set to the average time between taps, and the beat will be started. + +--- + +### Parameters +#### **TapCount** +The number of taps. + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[Int32]`|false |1 |false | + +--- From cc6ff8615fe076f31f252ad1d06d775ed49dcdcc Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 23:04:44 -0800 Subject: [PATCH 1749/4768] feat: OBS.Beat.Angle ( Fixes #194 ) --- Build/obs--shaders.build.ps1 | 41 ++++++++++++++-------------------- Build/obs-powershell.build.ps1 | 13 ++++++++--- Types/OBS.Beat/get_Angle.ps1 | 9 ++++++++ 3 files changed, 36 insertions(+), 27 deletions(-) create mode 100644 Types/OBS.Beat/get_Angle.ps1 diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 574e8aa33..994f5b3de 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -15,9 +15,10 @@ param() +#region Build Condition $logOutput = git log -n 1 foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { - if ($myAttribute -is [ValidatePattern]) { + if ($myAttribute.RegexPattern) { if ($env:GITHUB_STEP_SUMMARY) { "* Validating Build Pattern (``$($myAttribute.RegexPattern)``) against $($logOutput.CommitMessage,$logOutput -join [Environment]::Newline)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } @@ -27,14 +28,21 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { (-not $myRegex.IsMatch("$logOutput")) ) { if ($env:GITHUB_STEP_SUMMARY) { - "* SKIPPING SHADER BUILD because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" return } } - - if ($myAttribute -is [ValidateScript]) { + elseif ($myAttribute -is [ValidateScript]) + { + if ($env:GITHUB_STEP_SUMMARY) { + "* Validating Build Against Script: +~~~PowerShell +$($myAttribute.ScriptBlock) +~~~ +" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } $validationOutput = . $myAttribute.ScriptBlock $logOutput if (-not $validationOutput) { if ($env:GITHUB_STEP_SUMMARY) { @@ -48,6 +56,7 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { } } } +#endregion Build Condition if ($env:GITHUB_STEP_SUMMARY) { @" @@ -369,29 +378,13 @@ switch -regex ($myVerb) { $NewPipeScriptSplat.Alias = "Set-$ShaderNoun", "Add-$ShaderNoun" $NewPipeScriptSplat.OutputPath = (Join-Path $ShaderCommandsPath "Get-$ShaderNoun.ps1") $NewPipeScriptSplat.Process = $ShaderProcess - <# - $generatingJobs += Start-ThreadJob -ScriptBlock { - param($PipeScriptPath, $NewPipeScriptSplat) - - Import-Module $pipeScriptPath - New-PipeScript @NewPipeScriptSplat - } -ArgumentList "$(Get-Module PipeScript | Split-Path | Join-Path -ChildPath PipeScript.psd1)", - $NewPipeScriptSplat - #> New-PipeScript @NewPipeScriptSplat - <#$generatedFunction = New-PipeScript -FunctionName "Get-$ShaderNoun" -Parameter $ShaderParameters -Alias "Set-$ShaderNoun", - "Add-$ShaderNoun" -outputPath (Join-Path $ShaderCommandsPath "Get-$ShaderNoun.ps1") -Process $ShaderProcess - $generatedFunction - $null = $null #> } -<# -do { - $generatingJobs | Receive-Job - $generatingJobStates = @($generatingJobs | Select-Object -ExpandProperty State -Unique | Sort-Object) - Start-Sleep -Seconds 1 -} while (($generatingJobStates -match '(?>NotStarted|Running)')) -#> +if (Test-Path "obs-shaderfilter") { + Remove-Item -Recurse -Force -Path "obs-shaderfilter" +} + trap [Exception] { if ($env:GITHUB_STEP_SUMMARY) { diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index fe54f8714..a6d67bf3d 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -8,7 +8,7 @@ param() #region Build Condition $logOutput = git log -n 1 foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { - if ($myAttribute -is [ValidatePattern]) { + if ($myAttribute.RegexPattern) { if ($env:GITHUB_STEP_SUMMARY) { "* Validating Build Pattern (``$($myAttribute.RegexPattern)``) against $($logOutput.CommitMessage,$logOutput -join [Environment]::Newline)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } @@ -24,8 +24,15 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { return } } - - if ($myAttribute -is [ValidateScript]) { + elseif ($myAttribute -is [ValidateScript]) + { + if ($env:GITHUB_STEP_SUMMARY) { + "* Validating Build Against Script: +~~~PowerShell +$($myAttribute.ScriptBlock) +~~~ +" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } $validationOutput = . $myAttribute.ScriptBlock $logOutput if (-not $validationOutput) { if ($env:GITHUB_STEP_SUMMARY) { diff --git a/Types/OBS.Beat/get_Angle.ps1 b/Types/OBS.Beat/get_Angle.ps1 new file mode 100644 index 000000000..5987f46fc --- /dev/null +++ b/Types/OBS.Beat/get_Angle.ps1 @@ -0,0 +1,9 @@ +<# +.SYNOPSIS + Gets the Beat Angle +.DESCRIPTION + Gets the Angle of the Beat. + + If we imagine that as the beat is moving, we are rotating around a circle, this should be the angle at any given moment. +#> +$this.BeatCount * 180/[Math]::PI \ No newline at end of file From a480120020444f0fd0d2a52d97cab22fb2cc162a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 07:07:06 +0000 Subject: [PATCH 1750/4768] feat: OBS.Beat.Angle ( Fixes #194 ) --- obs-powershell.types.ps1xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index fe3577332..bd3e7f8e7 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -46,6 +46,20 @@ $TappedBpm + + Angle + + <# +.SYNOPSIS + Gets the Beat Angle +.DESCRIPTION + Gets the Angle of the Beat. + + If we imagine that as the beat is moving, we are rotating around a circle, this should be the angle at any given moment. +#> +$this.BeatCount * 180/[Math]::PI + + BeatCount From a1fb555d000fb2b020a2ec20940cd46e3fd65437 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 07:08:14 +0000 Subject: [PATCH 1751/4768] feat: OBS.Beat.Angle ( Fixes #194 ) --- docs/OBS/Beat/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index b4f21e2ec..fba01ca64 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -5,6 +5,7 @@ * [TapBPM](TapBPM.md) +* [get_Angle](get_Angle.md) * [get_BeatCount](get_BeatCount.md) * [get_BeatStart](get_BeatStart.md) * [set_BeatStart](set_BeatStart.md) From a327d715c72e095a53ddb6248ee158a9e1bab9ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 07:08:15 +0000 Subject: [PATCH 1752/4768] feat: OBS.Beat.Angle ( Fixes #194 ) --- docs/OBS/Beat/get_Angle.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/OBS/Beat/get_Angle.md diff --git a/docs/OBS/Beat/get_Angle.md b/docs/OBS/Beat/get_Angle.md new file mode 100644 index 000000000..4f22e89ea --- /dev/null +++ b/docs/OBS/Beat/get_Angle.md @@ -0,0 +1,15 @@ +OBS.Beat.get_Angle() +-------------------- + +### Synopsis +Gets the Beat Angle + +--- + +### Description + +Gets the Angle of the Beat. + +If we imagine that as the beat is moving, we are rotating around a circle, this should be the angle at any given moment. + +--- From e4a9df0c1c4bc93782574b1cae08736a1e36c7e6 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 23:32:46 -0800 Subject: [PATCH 1753/4768] build: Updating Build Conditions Improving Format and Logging --- Build/obs--shaders.build.ps1 | 28 ++++++++++++++++++---------- Build/obs-powershell.build.ps1 | 28 ++++++++++++++++++---------- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 994f5b3de..760b57008 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -17,18 +17,22 @@ param() #region Build Condition $logOutput = git log -n 1 +$checkIfThisIsValid = $logOutput.CommitMessage ? $logOutput.CommitMessage : $logOutput -join [Environment]::Newline foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { if ($myAttribute.RegexPattern) { + if ($env:GITHUB_STEP_SUMMARY) { - "* Validating Build Pattern (``$($myAttribute.RegexPattern)``) against $($logOutput.CommitMessage,$logOutput -join [Environment]::Newline)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + @( + "* $($MyInvocation.MyCommand.Name) has a Build Validation Pattern: (``$($myAttribute.RegexPattern)``)." + "* $($MyInvocation.MyCommand.Name) Validating Commit: ``$checkIfThisIsValid``" + ) -join [Environment]::Newline | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') - if ( - ($logOutput.CommitMessage -and -not $myRegex.IsMatch("$($logOutput.CommitMessage)")) -or - (-not $myRegex.IsMatch("$logOutput")) + if ($myRegex.IsMatch($checkIfThisIsValid) -or + (-not $myRegex.IsMatch("$checkIfThisIsValid")) ) { if ($env:GITHUB_STEP_SUMMARY) { - "* skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* skipping $($MyInvocation.MyCommand.Name) because $checkIfThisIsValid did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" return @@ -43,13 +47,17 @@ $($myAttribute.ScriptBlock) ~~~ " | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - $validationOutput = . $myAttribute.ScriptBlock $logOutput + $validationOutput = . $myAttribute.ScriptBlock $checkIfThisIsValid if (-not $validationOutput) { if ($env:GITHUB_STEP_SUMMARY) { - "* Skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not meet the validation criteria:" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - "$($myAttribute.ScriptBlock)" - "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* Skipping $($MyInvocation.MyCommand.Name) because $($checkIfThisIsValid) did not meet the validation criteria:" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + @( + "~~~PowerShell" + "$($myAttribute.ScriptBlock)" + "~~~" + ) -join [Environment]::Newline | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" return diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index a6d67bf3d..351cec0bf 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -7,18 +7,22 @@ param() #region Build Condition $logOutput = git log -n 1 +$checkIfThisIsValid = $logOutput.CommitMessage ? $logOutput.CommitMessage : $logOutput -join [Environment]::Newline foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { if ($myAttribute.RegexPattern) { + if ($env:GITHUB_STEP_SUMMARY) { - "* Validating Build Pattern (``$($myAttribute.RegexPattern)``) against $($logOutput.CommitMessage,$logOutput -join [Environment]::Newline)" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + @( + "* $($MyInvocation.MyCommand.Name) has a Build Validation Pattern: (``$($myAttribute.RegexPattern)``)." + "* $($MyInvocation.MyCommand.Name) Validating Commit: ``$checkIfThisIsValid``" + ) -join [Environment]::Newline | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') - if ( - ($logOutput.CommitMessage -and -not $myRegex.IsMatch("$($logOutput.CommitMessage)")) -or - (-not $myRegex.IsMatch("$logOutput")) + if ($myRegex.IsMatch($checkIfThisIsValid) -or + (-not $myRegex.IsMatch("$checkIfThisIsValid")) ) { if ($env:GITHUB_STEP_SUMMARY) { - "* skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* skipping $($MyInvocation.MyCommand.Name) because $checkIfThisIsValid did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" return @@ -33,13 +37,17 @@ $($myAttribute.ScriptBlock) ~~~ " | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - $validationOutput = . $myAttribute.ScriptBlock $logOutput + $validationOutput = . $myAttribute.ScriptBlock $checkIfThisIsValid if (-not $validationOutput) { if ($env:GITHUB_STEP_SUMMARY) { - "* Skipping $($MyInvocation.MyCommand.Name) because $($logOutput) did not meet the validation criteria:" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - "$($myAttribute.ScriptBlock)" - "~~~PowerShell" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* Skipping $($MyInvocation.MyCommand.Name) because $($checkIfThisIsValid) did not meet the validation criteria:" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + @( + "~~~PowerShell" + "$($myAttribute.ScriptBlock)" + "~~~" + ) -join [Environment]::Newline | + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + } Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" return From f922ede48bfeb296e6aaebf8c17577ae72fd4268 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 13 Feb 2024 23:33:44 -0800 Subject: [PATCH 1754/4768] feat: OBS.Beat.Cosine ( Fixes #193 ) --- Types/OBS.Beat/get_Cosine.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Types/OBS.Beat/get_Cosine.ps1 diff --git a/Types/OBS.Beat/get_Cosine.ps1 b/Types/OBS.Beat/get_Cosine.ps1 new file mode 100644 index 000000000..211865988 --- /dev/null +++ b/Types/OBS.Beat/get_Cosine.ps1 @@ -0,0 +1,9 @@ +<# +.SYNOPSIS + Gets the Beat Cosine +.DESCRIPTION + Gets the Cosine of the BeatCount. + + Since this starts at 1, this would be at its highest value during the top of the beat. +#> +[Math]::Cos($this.BeatCount * [Math]::PI/2) \ No newline at end of file From 1292b30d6c84c8bf00d05a30a402b4a316f27f80 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 07:36:03 +0000 Subject: [PATCH 1755/4768] feat: OBS.Beat.Cosine ( Fixes #193 ) --- obs-powershell.types.ps1xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index bd3e7f8e7..a0cc51e06 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -139,6 +139,20 @@ $this | Add-Member NoteProperty ".BPM" $BPM -Force -PassThru + + Cosine + + <# +.SYNOPSIS + Gets the Beat Cosine +.DESCRIPTION + Gets the Cosine of the BeatCount. + + Since this starts at 1, this would be at its highest value during the top of the beat. +#> +[Math]::Cos($this.BeatCount * [Math]::PI/2) + + Duration From f573cd6765ed6fd545e72ae23091d0ac2b2043f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 07:37:13 +0000 Subject: [PATCH 1756/4768] feat: OBS.Beat.Cosine ( Fixes #193 ) --- docs/OBS/Beat/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index fba01ca64..8741cb4d2 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -11,5 +11,6 @@ * [set_BeatStart](set_BeatStart.md) * [get_BPM](get_BPM.md) * [set_BPM](set_BPM.md) +* [get_Cosine](get_Cosine.md) * [get_Duration](get_Duration.md) * [set_Duration](set_Duration.md) From 827ba6c2879c2e96b8d0fac1b961ab486d79905c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 07:37:13 +0000 Subject: [PATCH 1757/4768] feat: OBS.Beat.Cosine ( Fixes #193 ) --- docs/OBS/Beat/get_Cosine.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/OBS/Beat/get_Cosine.md diff --git a/docs/OBS/Beat/get_Cosine.md b/docs/OBS/Beat/get_Cosine.md new file mode 100644 index 000000000..e9174dc33 --- /dev/null +++ b/docs/OBS/Beat/get_Cosine.md @@ -0,0 +1,15 @@ +OBS.Beat.get_Cosine() +--------------------- + +### Synopsis +Gets the Beat Cosine + +--- + +### Description + +Gets the Cosine of the BeatCount. + +Since this starts at 1, this would be at its highest value during the top of the beat. + +--- From c8c41abce35f0083b60662bd87e296af598f28b0 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 10:54:58 -0800 Subject: [PATCH 1758/4768] feat: OBS.Beat.Sine ( Fixes #192 ) --- Types/OBS.Beat/get_Sine.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Types/OBS.Beat/get_Sine.ps1 diff --git a/Types/OBS.Beat/get_Sine.ps1 b/Types/OBS.Beat/get_Sine.ps1 new file mode 100644 index 000000000..51066ac0a --- /dev/null +++ b/Types/OBS.Beat/get_Sine.ps1 @@ -0,0 +1,9 @@ +<# +.SYNOPSIS + Gets the Beat Sine +.DESCRIPTION + Gets the Sine of the BeatCount. + + Since this starts at 0, this would be at its highest value during the middle of the beat. +#> +[Math]::Cos($this.BeatCount * [Math]::PI/2) \ No newline at end of file From 1f82176af764ecc52fdc2673584d8b858f0fbb46 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 18:57:30 +0000 Subject: [PATCH 1759/4768] feat: OBS.Beat.Sine ( Fixes #192 ) --- obs-powershell.types.ps1xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index a0cc51e06..591ea1428 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -192,6 +192,20 @@ $this | Add-Member NoteProperty ".BPM" ( + + Sine + + <# +.SYNOPSIS + Gets the Beat Sine +.DESCRIPTION + Gets the Sine of the BeatCount. + + Since this starts at 0, this would be at its highest value during the middle of the beat. +#> +[Math]::Cos($this.BeatCount * [Math]::PI/2) + + From 888f399d4d6355305c455322926e19794df87110 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 18:58:39 +0000 Subject: [PATCH 1760/4768] feat: OBS.Beat.Sine ( Fixes #192 ) --- docs/OBS/Beat/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index 8741cb4d2..d4ce8153c 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -14,3 +14,4 @@ * [get_Cosine](get_Cosine.md) * [get_Duration](get_Duration.md) * [set_Duration](set_Duration.md) +* [get_Sine](get_Sine.md) From 397a4a637d81cb25e384e5cdc68f4c3d89671792 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 18:58:40 +0000 Subject: [PATCH 1761/4768] feat: OBS.Beat.Sine ( Fixes #192 ) --- docs/OBS/Beat/get_Sine.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/OBS/Beat/get_Sine.md diff --git a/docs/OBS/Beat/get_Sine.md b/docs/OBS/Beat/get_Sine.md new file mode 100644 index 000000000..aba4c876a --- /dev/null +++ b/docs/OBS/Beat/get_Sine.md @@ -0,0 +1,15 @@ +OBS.Beat.get_Sine() +------------------- + +### Synopsis +Gets the Beat Sine + +--- + +### Description + +Gets the Sine of the BeatCount. + +Since this starts at 0, this would be at its highest value during the middle of the beat. + +--- From 394bc071e14e7efe77e2742ad689c4f1f77dd10e Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 11:15:25 -0800 Subject: [PATCH 1762/4768] feat: OBSSoundCloudSource ( Fixes #179 ) --- .../Sources/Set-OBSSoundCloudSource.ps.ps1 | 360 ++++++++++++++++++ 1 file changed, 360 insertions(+) create mode 100644 Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 diff --git a/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 b/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 new file mode 100644 index 000000000..a72c191fa --- /dev/null +++ b/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 @@ -0,0 +1,360 @@ +function Set-OBSSoundCloudSource +{ + <# + .SYNOPSIS + Sets a Sound Cloud Source + .DESCRIPTION + Adds or changes a Sound Cloud source OBS. + + Sound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget). + .EXAMPLE + Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth + #> + [inherit(Command={ + Import-Module ..\..\obs-powershell.psd1 -Global + "Add-OBSInput" + }, Dynamic, Abstract, ExcludeParameter='inputKind','sceneName','inputName')] + [Alias('Add-OBSSoundCloudSource','Get-OBSSoundCloudSource')] + param( + # The uri to display. This must point to a SoundCloud URL. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('Url','SoundCloudUri','SoundCloudUrl')] + [uri] + $Uri, + + # If set, will not autoplay. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoAutoPlay, + + # If set, will not display album artwork. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoArtwork, + + # If set, will not display play count. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoPlayCount, + + # If set, will not display uploader info. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoUploaderInfo, + + # If provided, will start playing at a given track number. + [Parameter(ValueFromPipelineByPropertyName)] + [int] + $TrackNumber, + + # If set, will show a share link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowShare, + + # If set, will show a download link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowDownload, + + # If set, will show a buy link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowBuy, + + # The color used for the SoundCloud audio bars and buttons. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Color, + + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The css style used to render the browser page. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + + # If set, the browser source will shutdown when it is hidden + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("shutdown")] + [switch] + $ShutdownWhenHidden, + + # If set, the browser source will restart when it is activated. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("restart_when_active")] + [switch] + $RestartWhenActived, + + # If set, audio from the browser source will be rerouted into OBS. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("reroute_audio")] + [switch] + $RerouteAudio, + + # If provided, the browser source will render at a custom frame rate. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fps")] + [Alias('FPS')] + [int] + $FramesPerSecond, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + + begin { + # Browser Sources are built into OBS. Their input kind is browser_source. + # Sound Cloud Sources are really Browser Sources. + $inputKind = "browser_source" + } + + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + + if (-not $uri.DnsSafeHost -or $uri.DnsSafeHost -notmatch 'SoundCloud\.com$') { + Write-Error "URI must be from SoundCloud.com" + return + } + + if ($uri.Query) { + $uri = "https://$($uri.DnsSafeHost)" + $($uri.Segments -join '') + } + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } | + Where-Object { + $_.Settings['LocalFile'] -like '*.SoundCloud.*' + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if ($fps -and $fps -ne 30) { + $myParameterData["custom_fps"] = $true + } + + $MyObsPowerShellPath = if ($home) { + Join-Path $home ".obs-powershell" + } + + $ThisSoundCloudSourceFileName = + if ($name) { + "${name}.SoundCloudSource.html" + } else { + "SoundCloudSource.html" + } + + $ThisSoundCloudSourceFilePath = Join-Path $MyObsPowerShellPath $ThisSoundCloudSourceFileName + + + $soundCloudSrc = @( + "https://w.soundcloud.com/player/?url=" + $Uri + "&" + @( + if ($PSBoundParameters["TrackNumber"]) {"start_track=$trackNumber"} + if ($color) { "color=$color" -replace "\#",'%23'} + if ($NoAutoPlay) { "auto_play=false" } else { "auto_play=true"} + if ($NoArtwork) { "show_artwork=false" } else {"show_artwork=true" } + if ($NoUploaderInfo) { "show_user=false" } else {"show_user=true"} + if ($NoPlayCount) { "show_playcount=false" } else {"show_playcount=true" } + if ($ShowDownload) { "download=true"} else { "download=false" } + if ($ShowBuy) { "buying=true"} else { "buying=false" } + if ($ShowShare) { "sharing=true"} else { "sharing=false" } + ) -join '&' + ) -join '' + + $soundCloudWidget = @( + "" + "" + "" + "" + "" + ) -join ' ' + + $newHtmlFile = New-Item -Value $soundCloudWidget -ItemType File -Path $ThisSoundCloudSourceFilePath -Force + + $myParameterData["local_file"] = ([uri]$newHtmlFile.FullName) -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["is_local_file"] = $true + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($uri.Segments) { + $uri.Segments[-1] -replace '\.html$' + } elseif ($uri -match '[\\/]') { + @($uri -split '[\\/]')[-1] + } else { + $uri + } + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + } +} \ No newline at end of file From 305799a976dd79dc3378439d845a24ab57b2e668 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:17:38 +0000 Subject: [PATCH 1763/4768] feat: OBSSoundCloudSource ( Fixes #179 ) --- Commands/Sources/Set-OBSSoundCloudSource.ps1 | 394 +++++++++++++++++++ 1 file changed, 394 insertions(+) create mode 100644 Commands/Sources/Set-OBSSoundCloudSource.ps1 diff --git a/Commands/Sources/Set-OBSSoundCloudSource.ps1 b/Commands/Sources/Set-OBSSoundCloudSource.ps1 new file mode 100644 index 000000000..99c8eb530 --- /dev/null +++ b/Commands/Sources/Set-OBSSoundCloudSource.ps1 @@ -0,0 +1,394 @@ +function Set-OBSSoundCloudSource { + <# + + .SYNOPSIS + Sets a Sound Cloud Source + .DESCRIPTION + Adds or changes a Sound Cloud source OBS. + Sound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget). + .EXAMPLE + Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth + + #> + + [Alias('Add-OBSSoundCloudSource','Get-OBSSoundCloudSource')] + param( + # The uri to display. This must point to a SoundCloud URL. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('Url','SoundCloudUri','SoundCloudUrl')] + [uri] + $Uri, + + # If set, will not autoplay. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoAutoPlay, + + # If set, will not display album artwork. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoArtwork, + + # If set, will not display play count. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoPlayCount, + + # If set, will not display uploader info. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoUploaderInfo, + + # If provided, will start playing at a given track number. + [Parameter(ValueFromPipelineByPropertyName)] + [int] + $TrackNumber, + + # If set, will show a share link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowShare, + + # If set, will show a download link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowDownload, + + # If set, will show a buy link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowBuy, + + # The color used for the SoundCloud audio bars and buttons. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Color, + + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The css style used to render the browser page. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + + # If set, the browser source will shutdown when it is hidden + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("shutdown")] + [switch] + $ShutdownWhenHidden, + + # If set, the browser source will restart when it is activated. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("restart_when_active")] + [switch] + $RestartWhenActived, + + # If set, audio from the browser source will be rerouted into OBS. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("reroute_audio")] + [switch] + $RerouteAudio, + + # If provided, the browser source will render at a custom frame rate. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fps")] + [Alias('FPS')] + [int] + $FramesPerSecond, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + # Browser Sources are built into OBS. Their input kind is browser_source. + # Sound Cloud Sources are really Browser Sources. + $inputKind = "browser_source" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + + if (-not $uri.DnsSafeHost -or $uri.DnsSafeHost -notmatch 'SoundCloud\.com$') { + Write-Error "URI must be from SoundCloud.com" + return + } + + if ($uri.Query) { + $uri = "https://$($uri.DnsSafeHost)" + $($uri.Segments -join '') + } + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } | + Where-Object { + $_.Settings['LocalFile'] -like '*.SoundCloud.*' + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if ($fps -and $fps -ne 30) { + $myParameterData["custom_fps"] = $true + } + + $MyObsPowerShellPath = if ($home) { + Join-Path $home ".obs-powershell" + } + + $ThisSoundCloudSourceFileName = + if ($name) { + "${name}.SoundCloudSource.html" + } else { + "SoundCloudSource.html" + } + + $ThisSoundCloudSourceFilePath = Join-Path $MyObsPowerShellPath $ThisSoundCloudSourceFileName + + + $soundCloudSrc = @( + "https://w.soundcloud.com/player/?url=" + $Uri + "&" + @( + if ($PSBoundParameters["TrackNumber"]) {"start_track=$trackNumber"} + if ($color) { "color=$color" -replace "\#",'%23'} + if ($NoAutoPlay) { "auto_play=false" } else { "auto_play=true"} + if ($NoArtwork) { "show_artwork=false" } else {"show_artwork=true" } + if ($NoUploaderInfo) { "show_user=false" } else {"show_user=true"} + if ($NoPlayCount) { "show_playcount=false" } else {"show_playcount=true" } + if ($ShowDownload) { "download=true"} else { "download=false" } + if ($ShowBuy) { "buying=true"} else { "buying=false" } + if ($ShowShare) { "sharing=true"} else { "sharing=false" } + ) -join '&' + ) -join '' + + $soundCloudWidget = @( + "" + "" + "" + "" + "" + ) -join ' ' + + $newHtmlFile = New-Item -Value $soundCloudWidget -ItemType File -Path $ThisSoundCloudSourceFilePath -Force + + $myParameterData["local_file"] = ([uri]$newHtmlFile.FullName) -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["is_local_file"] = $true + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($uri.Segments) { + $uri.Segments[-1] -replace '\.html$' + } elseif ($uri -match '[\\/]') { + @($uri -split '[\\/]')[-1] + } else { + $uri + } + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} From 18a7fa257a5641f9116d27e8d6656788c488d588 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:17:38 +0000 Subject: [PATCH 1764/4768] feat: OBSSoundCloudSource ( Fixes #179 ) --- obs-powershell.psd1 | 1 + 1 file changed, 1 insertion(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index ee40f801d..2ad549ac9 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -335,6 +335,7 @@ Initial Release of obs-powershell 'Set-OBSDisplaySource', 'Set-OBSMarkdownSource', 'Set-OBSMediaSource', +'Set-OBSSoundCloudSource', 'Set-OBSSwitchSource', 'Set-OBSVLCSource', 'Set-OBSWaveformSource', From 492c376dd6dbe00ad328abf7ff2d5eac823013bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:18:16 +0000 Subject: [PATCH 1765/4768] feat: OBSSoundCloudSource ( Fixes #179 ) --- docs/Set-OBSSoundCloudSource.md | 176 ++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 docs/Set-OBSSoundCloudSource.md diff --git a/docs/Set-OBSSoundCloudSource.md b/docs/Set-OBSSoundCloudSource.md new file mode 100644 index 000000000..87f894821 --- /dev/null +++ b/docs/Set-OBSSoundCloudSource.md @@ -0,0 +1,176 @@ +Set-OBSSoundCloudSource +----------------------- + +### Synopsis +Sets a Sound Cloud Source + +--- + +### Description + +Adds or changes a Sound Cloud source OBS. +Sound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget). + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth +``` + +--- + +### Parameters +#### **Uri** +The uri to display. This must point to a SoundCloud URL. + +|Type |Required|Position|PipelineInput |Aliases | +|-------|--------|--------|---------------------|---------------------------------------| +|`[Uri]`|false |1 |true (ByPropertyName)|Url
SoundCloudUri
SoundCloudUrl| + +#### **NoAutoPlay** +If set, will not autoplay. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoArtwork** +If set, will not display album artwork. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoPlayCount** +If set, will not display play count. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoUploaderInfo** +If set, will not display uploader info. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **TrackNumber** +If provided, will start playing at a given track number. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + +#### **ShowShare** +If set, will show a share link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **ShowDownload** +If set, will show a download link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **ShowBuy** +If set, will show a buy link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **Color** +The color used for the SoundCloud audio bars and buttons. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + +#### **Width** +The width of the browser source. +If none is provided, this will be the output width of the video settings. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |4 |true (ByPropertyName)| + +#### **Height** +The width of the browser source. +If none is provided, this will be the output height of the video settings. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |5 |true (ByPropertyName)| + +#### **CSS** +The css style used to render the browser page. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + +#### **ShutdownWhenHidden** +If set, the browser source will shutdown when it is hidden + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **RestartWhenActived** +If set, the browser source will restart when it is activated. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **RerouteAudio** +If set, audio from the browser source will be rerouted into OBS. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **FramesPerSecond** +If provided, the browser source will render at a custom frame rate. + +|Type |Required|Position|PipelineInput |Aliases| +|---------|--------|--------|---------------------|-------| +|`[Int32]`|false |7 |true (ByPropertyName)|FPS | + +#### **Scene** +The name of the scene. +If no scene name is provided, the current program scene will be used. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |8 |true (ByPropertyName)| + +#### **Name** +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |9 |true (ByPropertyName)|InputName
SourceName| + +#### **Force** +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +--- + +### Syntax +```PowerShell +Set-OBSSoundCloudSource [[-Uri] ] [-NoAutoPlay] [-NoArtwork] [-NoPlayCount] [-NoUploaderInfo] [[-TrackNumber] ] [-ShowShare] [-ShowDownload] [-ShowBuy] [[-Color] ] [[-Width] ] [[-Height] ] [[-CSS] ] [-ShutdownWhenHidden] [-RestartWhenActived] [-RerouteAudio] [[-FramesPerSecond] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From dc4a4980bf1c0383c42708b6671b0ba138203055 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:18:25 +0000 Subject: [PATCH 1766/4768] feat: OBSSoundCloudSource ( Fixes #179 ) --- docs/Add-OBSSoundCloudSource.md | 176 ++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 docs/Add-OBSSoundCloudSource.md diff --git a/docs/Add-OBSSoundCloudSource.md b/docs/Add-OBSSoundCloudSource.md new file mode 100644 index 000000000..87f894821 --- /dev/null +++ b/docs/Add-OBSSoundCloudSource.md @@ -0,0 +1,176 @@ +Set-OBSSoundCloudSource +----------------------- + +### Synopsis +Sets a Sound Cloud Source + +--- + +### Description + +Adds or changes a Sound Cloud source OBS. +Sound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget). + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth +``` + +--- + +### Parameters +#### **Uri** +The uri to display. This must point to a SoundCloud URL. + +|Type |Required|Position|PipelineInput |Aliases | +|-------|--------|--------|---------------------|---------------------------------------| +|`[Uri]`|false |1 |true (ByPropertyName)|Url
SoundCloudUri
SoundCloudUrl| + +#### **NoAutoPlay** +If set, will not autoplay. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoArtwork** +If set, will not display album artwork. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoPlayCount** +If set, will not display play count. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoUploaderInfo** +If set, will not display uploader info. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **TrackNumber** +If provided, will start playing at a given track number. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + +#### **ShowShare** +If set, will show a share link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **ShowDownload** +If set, will show a download link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **ShowBuy** +If set, will show a buy link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **Color** +The color used for the SoundCloud audio bars and buttons. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + +#### **Width** +The width of the browser source. +If none is provided, this will be the output width of the video settings. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |4 |true (ByPropertyName)| + +#### **Height** +The width of the browser source. +If none is provided, this will be the output height of the video settings. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |5 |true (ByPropertyName)| + +#### **CSS** +The css style used to render the browser page. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + +#### **ShutdownWhenHidden** +If set, the browser source will shutdown when it is hidden + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **RestartWhenActived** +If set, the browser source will restart when it is activated. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **RerouteAudio** +If set, audio from the browser source will be rerouted into OBS. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **FramesPerSecond** +If provided, the browser source will render at a custom frame rate. + +|Type |Required|Position|PipelineInput |Aliases| +|---------|--------|--------|---------------------|-------| +|`[Int32]`|false |7 |true (ByPropertyName)|FPS | + +#### **Scene** +The name of the scene. +If no scene name is provided, the current program scene will be used. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |8 |true (ByPropertyName)| + +#### **Name** +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |9 |true (ByPropertyName)|InputName
SourceName| + +#### **Force** +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +--- + +### Syntax +```PowerShell +Set-OBSSoundCloudSource [[-Uri] ] [-NoAutoPlay] [-NoArtwork] [-NoPlayCount] [-NoUploaderInfo] [[-TrackNumber] ] [-ShowShare] [-ShowDownload] [-ShowBuy] [[-Color] ] [[-Width] ] [[-Height] ] [[-CSS] ] [-ShutdownWhenHidden] [-RestartWhenActived] [-RerouteAudio] [[-FramesPerSecond] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From 419142b9fac0b4c4c214273b98fd37e0bf783a02 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:18:27 +0000 Subject: [PATCH 1767/4768] feat: OBSSoundCloudSource ( Fixes #179 ) --- docs/Get-OBSSoundCloudSource.md | 176 ++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 docs/Get-OBSSoundCloudSource.md diff --git a/docs/Get-OBSSoundCloudSource.md b/docs/Get-OBSSoundCloudSource.md new file mode 100644 index 000000000..87f894821 --- /dev/null +++ b/docs/Get-OBSSoundCloudSource.md @@ -0,0 +1,176 @@ +Set-OBSSoundCloudSource +----------------------- + +### Synopsis +Sets a Sound Cloud Source + +--- + +### Description + +Adds or changes a Sound Cloud source OBS. +Sound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget). + +--- + +### Examples +> EXAMPLE 1 + +```PowerShell +Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth +``` + +--- + +### Parameters +#### **Uri** +The uri to display. This must point to a SoundCloud URL. + +|Type |Required|Position|PipelineInput |Aliases | +|-------|--------|--------|---------------------|---------------------------------------| +|`[Uri]`|false |1 |true (ByPropertyName)|Url
SoundCloudUri
SoundCloudUrl| + +#### **NoAutoPlay** +If set, will not autoplay. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoArtwork** +If set, will not display album artwork. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoPlayCount** +If set, will not display play count. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **NoUploaderInfo** +If set, will not display uploader info. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **TrackNumber** +If provided, will start playing at a given track number. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |2 |true (ByPropertyName)| + +#### **ShowShare** +If set, will show a share link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **ShowDownload** +If set, will show a download link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **ShowBuy** +If set, will show a buy link. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **Color** +The color used for the SoundCloud audio bars and buttons. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |3 |true (ByPropertyName)| + +#### **Width** +The width of the browser source. +If none is provided, this will be the output width of the video settings. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |4 |true (ByPropertyName)| + +#### **Height** +The width of the browser source. +If none is provided, this will be the output height of the video settings. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |5 |true (ByPropertyName)| + +#### **CSS** +The css style used to render the browser page. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |6 |true (ByPropertyName)| + +#### **ShutdownWhenHidden** +If set, the browser source will shutdown when it is hidden + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **RestartWhenActived** +If set, the browser source will restart when it is activated. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **RerouteAudio** +If set, audio from the browser source will be rerouted into OBS. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +#### **FramesPerSecond** +If provided, the browser source will render at a custom frame rate. + +|Type |Required|Position|PipelineInput |Aliases| +|---------|--------|--------|---------------------|-------| +|`[Int32]`|false |7 |true (ByPropertyName)|FPS | + +#### **Scene** +The name of the scene. +If no scene name is provided, the current program scene will be used. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[String]`|false |8 |true (ByPropertyName)| + +#### **Name** +The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|------------------------| +|`[String]`|false |9 |true (ByPropertyName)|InputName
SourceName| + +#### **Force** +If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[Switch]`|false |named |true (ByPropertyName)| + +--- + +### Syntax +```PowerShell +Set-OBSSoundCloudSource [[-Uri] ] [-NoAutoPlay] [-NoArtwork] [-NoPlayCount] [-NoUploaderInfo] [[-TrackNumber] ] [-ShowShare] [-ShowDownload] [-ShowBuy] [[-Color] ] [[-Width] ] [[-Height] ] [[-CSS] ] [-ShutdownWhenHidden] [-RestartWhenActived] [-RerouteAudio] [[-FramesPerSecond] ] [[-Scene] ] [[-Name] ] [-Force] [] +``` From b4128d02064798c63fcad3b194dce295682f4f0b Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 11:50:35 -0800 Subject: [PATCH 1768/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 760b57008..12f38d4c9 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -59,7 +59,7 @@ $($myAttribute.ScriptBlock) Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" + Write-Warning "Skipping $($MyInvocation.MyCommand) : The $CheckIfThisIsValid was not valid" return } } @@ -342,6 +342,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -368,8 +377,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From e1b0e735c930af27605fd468782e769717f7c42f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:53:02 +0000 Subject: [PATCH 1769/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index c5786d54c..3c4f6ebaa 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 730 commands -(297 functions and 433 aliases) +obs-powershell exports 733 commands +(298 functions and 435 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -278,6 +278,7 @@ Functions |[Set-OBSScrollFilter](docs/Set-OBSScrollFilter.md) |Sets a scroll filter. | |[Set-OBSShaderFilter](docs/Set-OBSShaderFilter.md) |Sets a Shader filter. | |[Set-OBSSharpnessFilter](docs/Set-OBSSharpnessFilter.md) |Sets a Sharpness filter. | +|[Set-OBSSoundCloudSource](docs/Set-OBSSoundCloudSource.md) |Sets a Sound Cloud Source | |[Set-OBSSourceFilterEnabled](docs/Set-OBSSourceFilterEnabled.md) |Set-OBSSourceFilterEnabled : SetSourceFilterEnabled | |[Set-OBSSourceFilterIndex](docs/Set-OBSSourceFilterIndex.md) |Set-OBSSourceFilterIndex : SetSourceFilterIndex | |[Set-OBSSourceFilterName](docs/Set-OBSSourceFilterName.md) |Set-OBSSourceFilterName : SetSourceFilterName | @@ -584,6 +585,7 @@ Aliases |[Set-OBSScrollFilter](docs/Set-OBSScrollFilter.md) | |[Set-OBSShaderFilter](docs/Set-OBSShaderFilter.md) | |[Set-OBSSharpnessFilter](docs/Set-OBSSharpnessFilter.md) | +|[Set-OBSSoundCloudSource](docs/Set-OBSSoundCloudSource.md) | |[Set-OBSSourceFilterEnabled](docs/Set-OBSSourceFilterEnabled.md) | |[Set-OBSSourceFilterIndex](docs/Set-OBSSourceFilterIndex.md) | |[Set-OBSSourceFilterName](docs/Set-OBSSourceFilterName.md) | From c48b47f528a4319489022b08c2e8a95cbab99361 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 19:54:15 +0000 Subject: [PATCH 1770/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) --- docs/obs-powershell-commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 9035e8d19..ad0302a25 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 730 commands -(297 functions and 433 aliases) +obs-powershell exports 733 commands +(298 functions and 435 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -278,6 +278,7 @@ Functions |[Set-OBSScrollFilter](Set-OBSScrollFilter.md) |Sets a scroll filter. | |[Set-OBSShaderFilter](Set-OBSShaderFilter.md) |Sets a Shader filter. | |[Set-OBSSharpnessFilter](Set-OBSSharpnessFilter.md) |Sets a Sharpness filter. | +|[Set-OBSSoundCloudSource](Set-OBSSoundCloudSource.md) |Sets a Sound Cloud Source | |[Set-OBSSourceFilterEnabled](Set-OBSSourceFilterEnabled.md) |Set-OBSSourceFilterEnabled : SetSourceFilterEnabled | |[Set-OBSSourceFilterIndex](Set-OBSSourceFilterIndex.md) |Set-OBSSourceFilterIndex : SetSourceFilterIndex | |[Set-OBSSourceFilterName](Set-OBSSourceFilterName.md) |Set-OBSSourceFilterName : SetSourceFilterName | @@ -584,6 +585,7 @@ Aliases |[Set-OBSScrollFilter](Set-OBSScrollFilter.md) | |[Set-OBSShaderFilter](Set-OBSShaderFilter.md) | |[Set-OBSSharpnessFilter](Set-OBSSharpnessFilter.md) | +|[Set-OBSSoundCloudSource](Set-OBSSoundCloudSource.md) | |[Set-OBSSourceFilterEnabled](Set-OBSSourceFilterEnabled.md) | |[Set-OBSSourceFilterIndex](Set-OBSSourceFilterIndex.md) | |[Set-OBSSourceFilterName](Set-OBSSourceFilterName.md) | From 38d43dd5084ecc43890c0136a1b6a234d8e0c0ee Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 11:58:16 -0800 Subject: [PATCH 1771/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Build/obs--shaders.build.ps1 | 15 ++++----------- Build/obs-powershell.build.ps1 | 15 ++++----------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 12f38d4c9..c4a6533ec 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -28,9 +28,7 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { ) -join [Environment]::Newline | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') - if ($myRegex.IsMatch($checkIfThisIsValid) -or - (-not $myRegex.IsMatch("$checkIfThisIsValid")) - ) { + if (-not $myRegex.IsMatch($checkIfThisIsValid)) { if ($env:GITHUB_STEP_SUMMARY) { "* skipping $($MyInvocation.MyCommand.Name) because $checkIfThisIsValid did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } @@ -41,11 +39,7 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { elseif ($myAttribute -is [ValidateScript]) { if ($env:GITHUB_STEP_SUMMARY) { - "* Validating Build Against Script: -~~~PowerShell -$($myAttribute.ScriptBlock) -~~~ -" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* $($MyInvocation.MyCommand.Name) has a Build Validation Script." | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $validationOutput = . $myAttribute.ScriptBlock $checkIfThisIsValid if (-not $validationOutput) { @@ -56,8 +50,7 @@ $($myAttribute.ScriptBlock) "$($myAttribute.ScriptBlock)" "~~~" ) -join [Environment]::Newline | - Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } Write-Warning "Skipping $($MyInvocation.MyCommand) : The $CheckIfThisIsValid was not valid" return @@ -392,7 +385,7 @@ switch -regex ($myVerb) { } else { $ShaderFilterSplat.ShaderText = $shaderText } - + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { diff --git a/Build/obs-powershell.build.ps1 b/Build/obs-powershell.build.ps1 index 351cec0bf..b75f563ea 100644 --- a/Build/obs-powershell.build.ps1 +++ b/Build/obs-powershell.build.ps1 @@ -18,9 +18,7 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { ) -join [Environment]::Newline | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $myRegex = [Regex]::new($myAttribute.RegexPattern, $myAttribute.Options, '00:00:00.1') - if ($myRegex.IsMatch($checkIfThisIsValid) -or - (-not $myRegex.IsMatch("$checkIfThisIsValid")) - ) { + if (-not $myRegex.IsMatch($checkIfThisIsValid)) { if ($env:GITHUB_STEP_SUMMARY) { "* skipping $($MyInvocation.MyCommand.Name) because $checkIfThisIsValid did not match ($($myAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } @@ -31,11 +29,7 @@ foreach ($myAttribute in $MyInvocation.MyCommand.ScriptBlock.Attributes) { elseif ($myAttribute -is [ValidateScript]) { if ($env:GITHUB_STEP_SUMMARY) { - "* Validating Build Against Script: -~~~PowerShell -$($myAttribute.ScriptBlock) -~~~ -" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append + "* $($MyInvocation.MyCommand.Name) has a Build Validation Script." | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } $validationOutput = . $myAttribute.ScriptBlock $checkIfThisIsValid if (-not $validationOutput) { @@ -46,10 +40,9 @@ $($myAttribute.ScriptBlock) "$($myAttribute.ScriptBlock)" "~~~" ) -join [Environment]::Newline | - Out-File -Path $env:GITHUB_STEP_SUMMARY -Append - + Out-File -Path $env:GITHUB_STEP_SUMMARY -Append } - Write-Warning "Skipping $($MyInvocation.MyCommand) :The last commit did not match $($myRegex)" + Write-Warning "Skipping $($MyInvocation.MyCommand) : The $CheckIfThisIsValid was not valid" return } } From 478d97404d084e6cbef424d62b532c5c4114bcce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1772/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSAddShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAddShader.ps1 b/Commands/Shaders/Get-OBSAddShader.ps1 index a6592be26..f199da395 100644 --- a/Commands/Shaders/Get-OBSAddShader.ps1 +++ b/Commands/Shaders/Get-OBSAddShader.ps1 @@ -71,6 +71,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -97,8 +106,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 43b206a126c0eba94f35605af7524439438e9f38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1773/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSAlphaBorderShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 index 7741f2799..f5e78c4e3 100644 --- a/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 +++ b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 @@ -106,6 +106,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -132,8 +141,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5a787bd21cfeca7d0877e36503baf85700cdbf43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1774/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSAlphaGamingBentCameraShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 index b61539ab6..fc67d9c9b 100644 --- a/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 @@ -224,6 +224,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -250,8 +259,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 644bac196bf09b69d83ab91d65a85ced6c9a9c9f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1775/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSAnimatedPathShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 index ee340587b..71a84857d 100644 --- a/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 +++ b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 @@ -194,6 +194,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -220,8 +229,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 22821635b0e4319fdc307eed19560447069b3854 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1776/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSAnimatedTextureShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 index 7c9813ec7..3f3bad5c1 100644 --- a/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 +++ b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 @@ -327,6 +327,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -353,8 +362,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5b7e3ae4265ee22ed6e8b93d7b682f24da543747 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1777/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSAsciiShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAsciiShader.ps1 b/Commands/Shaders/Get-OBSAsciiShader.ps1 index 84076a707..9d3b41333 100644 --- a/Commands/Shaders/Get-OBSAsciiShader.ps1 +++ b/Commands/Shaders/Get-OBSAsciiShader.ps1 @@ -180,6 +180,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -206,8 +215,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 7ac4832c15da80ec0e6784d5eedd233fb5fd4b7c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1778/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSAspectRatioShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAspectRatioShader.ps1 b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 index 51d7bc223..bb96832de 100644 --- a/Commands/Shaders/Get-OBSAspectRatioShader.ps1 +++ b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 @@ -196,6 +196,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -222,8 +231,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From d920882c5472cfde3f022981d333ff47370745f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1779/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSBackgroundRemovalShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 index 6aaad6c57..f94814df5 100644 --- a/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 +++ b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 @@ -239,6 +239,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -265,8 +274,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From c5266441e10b32665a9797a1f8e1dd7f43446b14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:39 +0000 Subject: [PATCH 1780/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSBlendOpacityShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 index f3cdc950b..6c481f91e 100644 --- a/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 +++ b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 @@ -179,6 +179,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -205,8 +214,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 558a445adcfbc8608bcf7e0f4449010b4e175cfc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1781/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSBlinkShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBlinkShader.ps1 b/Commands/Shaders/Get-OBSBlinkShader.ps1 index 0e0f4d5c9..0e5e30e7d 100644 --- a/Commands/Shaders/Get-OBSBlinkShader.ps1 +++ b/Commands/Shaders/Get-OBSBlinkShader.ps1 @@ -76,6 +76,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -102,8 +111,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 72c05977ca56a0f73f88b5b565286ef14abc03e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1782/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSBloomShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBloomShader.ps1 b/Commands/Shaders/Get-OBSBloomShader.ps1 index 85f786586..6e42cb06a 100644 --- a/Commands/Shaders/Get-OBSBloomShader.ps1 +++ b/Commands/Shaders/Get-OBSBloomShader.ps1 @@ -142,6 +142,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -168,8 +177,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5d722f1fb09aca242f108728c413508c66ed3fe2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1783/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSBorderShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBorderShader.ps1 b/Commands/Shaders/Get-OBSBorderShader.ps1 index 4e3c370b8..80b21854a 100644 --- a/Commands/Shaders/Get-OBSBorderShader.ps1 +++ b/Commands/Shaders/Get-OBSBorderShader.ps1 @@ -75,6 +75,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -101,8 +110,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From dd0eb91918912d786add68235a94a20bbe0998ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1784/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSBoxBlurShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBoxBlurShader.ps1 b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 index 94707b91d..c26377b72 100644 --- a/Commands/Shaders/Get-OBSBoxBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 @@ -161,6 +161,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -187,8 +196,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 2d4f3f57f6acbe41f41fbebd07b37f54b3ea5f7c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1785/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSBulgePinchShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBulgePinchShader.ps1 b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 index 58904c8f6..bb595e914 100644 --- a/Commands/Shaders/Get-OBSBulgePinchShader.ps1 +++ b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 @@ -151,6 +151,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -177,8 +186,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From e75d6cc773b1cf7de76021bd145cb707bac8a96c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1786/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSBurnShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBurnShader.ps1 b/Commands/Shaders/Get-OBSBurnShader.ps1 index 9f9491a49..ee6c6a886 100644 --- a/Commands/Shaders/Get-OBSBurnShader.ps1 +++ b/Commands/Shaders/Get-OBSBurnShader.ps1 @@ -267,6 +267,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -293,8 +302,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 0e33b43022fecc54e40de6e9c3ed52cec8a339f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1787/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSCartoonShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCartoonShader.ps1 b/Commands/Shaders/Get-OBSCartoonShader.ps1 index 39785d5d5..39d4887bf 100644 --- a/Commands/Shaders/Get-OBSCartoonShader.ps1 +++ b/Commands/Shaders/Get-OBSCartoonShader.ps1 @@ -210,6 +210,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -236,8 +245,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 18f9cfb5ecedca1d5395c7e5c3f66671ac6c32d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1788/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSCellShadedShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCellShadedShader.ps1 b/Commands/Shaders/Get-OBSCellShadedShader.ps1 index fc8c6a761..8c0b35b6a 100644 --- a/Commands/Shaders/Get-OBSCellShadedShader.ps1 +++ b/Commands/Shaders/Get-OBSCellShadedShader.ps1 @@ -141,6 +141,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -167,8 +176,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 721c68a1c3b7b6dd83519efbedb419abedd43495 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1789/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSChromaUVDistortionShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 index fbb6d1bf5..700c4f954 100644 --- a/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 +++ b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 @@ -129,6 +129,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -155,8 +164,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 336f07e93ade152d081f140b3bcb99d9f339e35c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1790/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSChromaticAberrationShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 index f4b6dfa96..43a01db45 100644 --- a/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 +++ b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 @@ -300,6 +300,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -326,8 +335,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From e44e7157d0cc727b3762b75adb9cbff64f5ff89a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1791/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSCircleMaskFilterShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 index 6c6eb4c9c..df42a5c1d 100644 --- a/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 +++ b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 @@ -162,6 +162,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -188,8 +197,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From fce380422b09bc72a11e0477d877f207735581f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1792/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSColorGradeFilterShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 index 28d55d9cb..da09adfcd 100644 --- a/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 +++ b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 @@ -149,6 +149,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -175,8 +184,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 1d54f0f72e8bc52f82e95f9c4ba08c3a3c4eed5e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1793/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSColorDepthShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSColorDepthShader.ps1 b/Commands/Shaders/Get-OBSColorDepthShader.ps1 index a94f60d2a..3fe717d3d 100644 --- a/Commands/Shaders/Get-OBSColorDepthShader.ps1 +++ b/Commands/Shaders/Get-OBSColorDepthShader.ps1 @@ -96,6 +96,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -122,8 +131,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From ce3a0b0787a6cd7891ab59f9f8aa7a844fad3ea8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1794/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSCornerPinShader.ps1 | 26 ++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCornerPinShader.ps1 b/Commands/Shaders/Get-OBSCornerPinShader.ps1 index 4e49f4ba9..bec15b4ae 100644 --- a/Commands/Shaders/Get-OBSCornerPinShader.ps1 +++ b/Commands/Shaders/Get-OBSCornerPinShader.ps1 @@ -282,6 +282,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -308,8 +317,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 75d727ff3c057a64e8512d18e0ba6c3264f8b74e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1795/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSCrtCurvatureShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 index a61444f0e..3a1dda811 100644 --- a/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 +++ b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 @@ -109,6 +109,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -135,8 +144,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5160f61ea992a21189ae58495ea1238ddf261d66 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1796/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSCutRectPerCornerShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 index f71e904be..29c3e0e7e 100644 --- a/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 +++ b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 @@ -278,6 +278,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -304,8 +313,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From bc9335634c9130b290ee05e7f6b9c0658b3c7831 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1797/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSCylinderShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCylinderShader.ps1 b/Commands/Shaders/Get-OBSCylinderShader.ps1 index d86517c67..fe0568569 100644 --- a/Commands/Shaders/Get-OBSCylinderShader.ps1 +++ b/Commands/Shaders/Get-OBSCylinderShader.ps1 @@ -116,6 +116,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -142,8 +151,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 35535065aa0cdfce1c243f8d1b1bd481b3046514 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1798/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSDarkenShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDarkenShader.ps1 b/Commands/Shaders/Get-OBSDarkenShader.ps1 index 5b699ad90..9f43c03b4 100644 --- a/Commands/Shaders/Get-OBSDarkenShader.ps1 +++ b/Commands/Shaders/Get-OBSDarkenShader.ps1 @@ -85,6 +85,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -111,8 +120,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From b6948cd1041ce8599a83eb756a1e1ccdcc869197 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1799/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSDeadPixelFixerShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 index e939d3136..03cf6e584 100644 --- a/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 +++ b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 @@ -122,6 +122,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -148,8 +157,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 942ea7d04c173499f29515619c25816198efca27 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1800/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSDivideRotateShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDivideRotateShader.ps1 b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 index 1606399b1..4a9270546 100644 --- a/Commands/Shaders/Get-OBSDivideRotateShader.ps1 +++ b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 @@ -160,6 +160,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -186,8 +195,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From ead459c5eaef8fb1d9acc854a6fd7db3432d81bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:40 +0000 Subject: [PATCH 1801/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSDoodleShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDoodleShader.ps1 b/Commands/Shaders/Get-OBSDoodleShader.ps1 index 4526662a5..fcedec451 100644 --- a/Commands/Shaders/Get-OBSDoodleShader.ps1 +++ b/Commands/Shaders/Get-OBSDoodleShader.ps1 @@ -195,6 +195,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -221,8 +230,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From c8b4ff2260bc7d8b3a7a42b829651035d712ff40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1802/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSDrawingsShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDrawingsShader.ps1 b/Commands/Shaders/Get-OBSDrawingsShader.ps1 index 1d74b8283..a9a4a0087 100644 --- a/Commands/Shaders/Get-OBSDrawingsShader.ps1 +++ b/Commands/Shaders/Get-OBSDrawingsShader.ps1 @@ -199,6 +199,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -225,8 +234,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 6e937c1163b251db22fcf0abb21eb026a89ebac7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1803/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSDropShadowShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDropShadowShader.ps1 b/Commands/Shaders/Get-OBSDropShadowShader.ps1 index 04a9af0ca..e91e40c57 100644 --- a/Commands/Shaders/Get-OBSDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSDropShadowShader.ps1 @@ -142,6 +142,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -168,8 +177,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From b1065d2c561c5267b2d9765c275d458587edbf76 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1804/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSDrunkShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDrunkShader.ps1 b/Commands/Shaders/Get-OBSDrunkShader.ps1 index 800b65356..353ef68aa 100644 --- a/Commands/Shaders/Get-OBSDrunkShader.ps1 +++ b/Commands/Shaders/Get-OBSDrunkShader.ps1 @@ -260,6 +260,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -286,8 +295,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From d210185490595f186f330d193a29cf394311c377 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1805/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSDynamicMaskShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 index 21a63ed43..5d116fc8a 100644 --- a/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 +++ b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 @@ -394,6 +394,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -420,8 +429,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 0f4f384c3053dee6c237e57292b9a741ae340a9f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1806/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSEdgeDetectionShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 index 2f5ce074a..b48e5974b 100644 --- a/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 +++ b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 @@ -202,6 +202,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -228,8 +237,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 7c82ecbe3c252511b6ea940868eedddc0408dc43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1807/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSEmbersShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEmbersShader.ps1 b/Commands/Shaders/Get-OBSEmbersShader.ps1 index c7b353f03..fa6015778 100644 --- a/Commands/Shaders/Get-OBSEmbersShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbersShader.ps1 @@ -523,6 +523,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -549,8 +558,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 65c18568cb55f63ea5ff528a47ee872ac27d7277 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1808/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSEmbossColorShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEmbossColorShader.ps1 b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 index 04ef86456..b7dcee7c4 100644 --- a/Commands/Shaders/Get-OBSEmbossColorShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 @@ -166,6 +166,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -192,8 +201,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 8d7e8799ed3ba21156876cd7b8a37a8af3869012 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1809/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSEmbossShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEmbossShader.ps1 b/Commands/Shaders/Get-OBSEmbossShader.ps1 index 75caa2b1f..f61d9bbb4 100644 --- a/Commands/Shaders/Get-OBSEmbossShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbossShader.ps1 @@ -101,6 +101,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -127,8 +136,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From beae598b74f813f817b6fe995c98c2b298fc2833 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1810/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSExeldroBentCameraShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 index 1fee0b0f8..73dc2ec9f 100644 --- a/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 @@ -224,6 +224,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -250,8 +259,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5c18093b4d774bd16ef24b0ff2baf6e3b11643a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1811/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSFadeTransitionShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 index baf454dc4..a2d4d7fd7 100644 --- a/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 @@ -97,6 +97,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -123,8 +132,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From aafac1e7d5cc63890935e5e31140b8bce9df8d52 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1812/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSFillColorGradientShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 index 6670eebe6..53408ed8f 100644 --- a/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 @@ -154,6 +154,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -180,8 +189,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 783e152668bb3201313f4315af6e60f8bca0bedc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1813/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSFillColorLinearShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 index a14cd6eae..f2b3cf8b7 100644 --- a/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 @@ -119,6 +119,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -145,8 +154,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From bde76acb0c5433b6f7ad2f9935aab8fdc7a35d8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1814/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSFillColorRadialDegreesShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 index da30086ac..248862b03 100644 --- a/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 @@ -173,6 +173,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -199,8 +208,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 12dc22862776b2b65c9473e4d4e6d8ebb9107f82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1815/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- ...Get-OBSFillColorRadialPercentageShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 index 1efd72c04..c0caad5dc 100644 --- a/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 @@ -176,6 +176,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -202,8 +211,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 37f0101e107f529a6dd01c689137310dc0e1006f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1816/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSFilterTemplateShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 index a78eb1760..8f31cbfae 100644 --- a/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 +++ b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 @@ -183,6 +183,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -209,8 +218,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 8c5f7808c097e1a05cd9ac7947621c8cc806d6e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1817/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSFire3Shader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFire3Shader.ps1 b/Commands/Shaders/Get-OBSFire3Shader.ps1 index 775eea28c..e6c07d87f 100644 --- a/Commands/Shaders/Get-OBSFire3Shader.ps1 +++ b/Commands/Shaders/Get-OBSFire3Shader.ps1 @@ -623,6 +623,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -649,8 +658,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 038a8510f857237207bb2d4e62ce57013100188d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1818/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSFireShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFireShader.ps1 b/Commands/Shaders/Get-OBSFireShader.ps1 index 3e00a28d8..ca072b161 100644 --- a/Commands/Shaders/Get-OBSFireShader.ps1 +++ b/Commands/Shaders/Get-OBSFireShader.ps1 @@ -358,6 +358,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -384,8 +393,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From b46a417f3062f94edfa63f678c8243affb221146 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1819/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSFireworksShader.ps1 | 26 ++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFireworksShader.ps1 b/Commands/Shaders/Get-OBSFireworksShader.ps1 index 504a729cb..81b873300 100644 --- a/Commands/Shaders/Get-OBSFireworksShader.ps1 +++ b/Commands/Shaders/Get-OBSFireworksShader.ps1 @@ -237,6 +237,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -263,8 +272,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From da4db1531d29619e0db151c2f00dab734c8a5ca0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1820/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSFisheyeXyShader.ps1 | 26 ++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 index 1d568ff75..7e3a3e26f 100644 --- a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 @@ -137,6 +137,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -163,8 +172,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 57be03928e6ab9e117ecea2447defc0d1b26bb9a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1821/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSFisheyeShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Shaders/Get-OBSFisheyeShader.ps1 index 4b9eeade8..dd0363767 100644 --- a/Commands/Shaders/Get-OBSFisheyeShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeShader.ps1 @@ -112,6 +112,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -138,8 +147,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 9f5a895eb5b73735c1592680155de80f1302e213 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:41 +0000 Subject: [PATCH 1822/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSFrostedGlassShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 index c0dad29dd..3f6b88788 100644 --- a/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 +++ b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 @@ -162,6 +162,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -188,8 +197,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 51c1e60e1ea44263bdc9e4030fa3b04b6e0cb88c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1823/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSGammaCorrectionShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 index 332b10b80..91fdcc190 100644 --- a/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 +++ b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 @@ -108,6 +108,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -134,8 +143,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From b95ab17a8e6f63605d6dc89099b788ec0212fc8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1824/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSGaussianBlurAdvancedShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 index 65bfc8d41..93bb70226 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 @@ -188,6 +188,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -214,8 +223,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 0917451ec71953c5bda98cb0bdd9a800617e2103 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1825/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSGaussianBlurSimpleShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 index c8d462334..b15111d53 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 @@ -173,6 +173,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -199,8 +208,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 6df3dac412f4fdf78cef6d20b282dd0358d4daea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1826/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSGaussianBlurShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 index 18e548f98..f626a177f 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 @@ -266,6 +266,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -292,8 +301,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 51dfdbf216160bf97ee09fee7925557d6afd576c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1827/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSGaussianExampleShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 index a1b663896..b4cfd93dd 100644 --- a/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 @@ -302,6 +302,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -328,8 +337,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 26266483aa2b5c5c6aa19c54a9780f871fa600fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1828/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSGaussianSimpleShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 index c20be5005..25ec5505e 100644 --- a/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 @@ -214,6 +214,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -240,8 +249,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 86704293e8e414160f3953c82eae33afeaabcdbc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1829/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSGbCameraShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGbCameraShader.ps1 b/Commands/Shaders/Get-OBSGbCameraShader.ps1 index d747aa542..45a9dba57 100644 --- a/Commands/Shaders/Get-OBSGbCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSGbCameraShader.ps1 @@ -259,6 +259,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -285,8 +294,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 7d27d6416b4f60f67330643173119ffe3a39c530 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1830/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSGlassShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlassShader.ps1 b/Commands/Shaders/Get-OBSGlassShader.ps1 index b703e26c2..04e9e9c65 100644 --- a/Commands/Shaders/Get-OBSGlassShader.ps1 +++ b/Commands/Shaders/Get-OBSGlassShader.ps1 @@ -191,6 +191,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -217,8 +226,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 7901ff8e18ab66b34f43e47e34414bb12281002c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1831/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSGlitchAnalogShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 index b23688217..ebb227d76 100644 --- a/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 +++ b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 @@ -276,6 +276,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -302,8 +311,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 95716b2a91e0416cdd387ab792acefaf4f88384f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1832/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSGlitchShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlitchShader.ps1 b/Commands/Shaders/Get-OBSGlitchShader.ps1 index 886dad74d..976803109 100644 --- a/Commands/Shaders/Get-OBSGlitchShader.ps1 +++ b/Commands/Shaders/Get-OBSGlitchShader.ps1 @@ -137,6 +137,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -163,8 +172,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From c58564c7449832b4116334c3ad908c0234f63eac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1833/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSGlowShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlowShader.ps1 b/Commands/Shaders/Get-OBSGlowShader.ps1 index 5fea3bbcc..b25d1009c 100644 --- a/Commands/Shaders/Get-OBSGlowShader.ps1 +++ b/Commands/Shaders/Get-OBSGlowShader.ps1 @@ -184,6 +184,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -210,8 +219,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From f0d0874128296aa861e86eba1f756b13f42acf79 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1834/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSGradientShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGradientShader.ps1 b/Commands/Shaders/Get-OBSGradientShader.ps1 index 00ccc85d3..161c262da 100644 --- a/Commands/Shaders/Get-OBSGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSGradientShader.ps1 @@ -342,6 +342,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -368,8 +377,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From bbc69d607964ed1f7742612a5102c21a238a0292 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1835/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSHalftoneShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHalftoneShader.ps1 b/Commands/Shaders/Get-OBSHalftoneShader.ps1 index 686710ce3..eca128296 100644 --- a/Commands/Shaders/Get-OBSHalftoneShader.ps1 +++ b/Commands/Shaders/Get-OBSHalftoneShader.ps1 @@ -115,6 +115,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -141,8 +150,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 373078ff167ec4d61f5ab7c6aee8ea579b35b24f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1836/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSHeatWaveSimpleShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 index c44303dc6..a1256c80c 100644 --- a/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 @@ -136,6 +136,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -162,8 +171,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 0ad357d9d0a93ba284ed7d24e148ea4b4e023193 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1837/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSHexagonShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Shaders/Get-OBSHexagonShader.ps1 index a256a872d..aedd00ce4 100644 --- a/Commands/Shaders/Get-OBSHexagonShader.ps1 +++ b/Commands/Shaders/Get-OBSHexagonShader.ps1 @@ -245,6 +245,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -271,8 +280,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 37e78704ffa3038a4433e1895daf0edc5b41cfe5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1838/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSHslHsvSaturationShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 index 2710a1936..f3eabb231 100644 --- a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 +++ b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 @@ -215,6 +215,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -241,8 +250,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From e12cd2b2fa573047a44bb1febb92988d5dc838cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1839/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSHueRotatonShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHueRotatonShader.ps1 b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 index bef74dea8..d2eb1b656 100644 --- a/Commands/Shaders/Get-OBSHueRotatonShader.ps1 +++ b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 @@ -159,6 +159,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -185,8 +194,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From a13cd20b40b4916113c91a3b4c13513a1dc235f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1840/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSIntensityScopeShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 index 9a6fdb3fc..117792951 100644 --- a/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 +++ b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 @@ -116,6 +116,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -142,8 +151,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 463fc72f8141d6fae03b6f06b3206fda38286ec7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1841/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSInvertLumaShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSInvertLumaShader.ps1 b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 index bf49f0501..d7baa082d 100644 --- a/Commands/Shaders/Get-OBSInvertLumaShader.ps1 +++ b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 @@ -190,6 +190,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -216,8 +225,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 456cd19d819adec7c26abe1b53866ea947d4e4fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1842/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSLuminanceAlphaShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 index 2399da8ef..31dcb7ffb 100644 --- a/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 +++ b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 @@ -222,6 +222,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -248,8 +257,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 21589a740f2542c0c13dd697d96d997c62b46f8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1843/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSLuminanceShader.ps1 | 26 ++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSLuminanceShader.ps1 b/Commands/Shaders/Get-OBSLuminanceShader.ps1 index e976660b5..8533438f2 100644 --- a/Commands/Shaders/Get-OBSLuminanceShader.ps1 +++ b/Commands/Shaders/Get-OBSLuminanceShader.ps1 @@ -129,6 +129,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -155,8 +164,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From c2252be469999f06cb85e703b5bc28478007d6b8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:42 +0000 Subject: [PATCH 1844/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSLuminance2Shader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSLuminance2Shader.ps1 b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 index 79066ee26..51b94c58f 100644 --- a/Commands/Shaders/Get-OBSLuminance2Shader.ps1 +++ b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 @@ -164,6 +164,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -190,8 +199,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 215a5623a882575765a72537b6b58c71118a2e09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1845/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSMatrixShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSMatrixShader.ps1 b/Commands/Shaders/Get-OBSMatrixShader.ps1 index cf17010f9..efdee963c 100644 --- a/Commands/Shaders/Get-OBSMatrixShader.ps1 +++ b/Commands/Shaders/Get-OBSMatrixShader.ps1 @@ -363,6 +363,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -389,8 +398,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From e92274b78d17829e1f1d02a801425bd468e26729 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1846/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSMultiplyShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSMultiplyShader.ps1 b/Commands/Shaders/Get-OBSMultiplyShader.ps1 index 82e08a427..eeb8b9d63 100644 --- a/Commands/Shaders/Get-OBSMultiplyShader.ps1 +++ b/Commands/Shaders/Get-OBSMultiplyShader.ps1 @@ -71,6 +71,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -97,8 +106,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 22de6b5e4940b1f9610c910cd44e47fb3d717c49 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1847/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSNightSkyShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSNightSkyShader.ps1 b/Commands/Shaders/Get-OBSNightSkyShader.ps1 index 225801902..461817617 100644 --- a/Commands/Shaders/Get-OBSNightSkyShader.ps1 +++ b/Commands/Shaders/Get-OBSNightSkyShader.ps1 @@ -435,6 +435,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -461,8 +470,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 46cf8988651ea16cc185f33b3b4ca37068b5c8a6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1848/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSOpacityShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSOpacityShader.ps1 b/Commands/Shaders/Get-OBSOpacityShader.ps1 index d61120fc7..d9bce0b15 100644 --- a/Commands/Shaders/Get-OBSOpacityShader.ps1 +++ b/Commands/Shaders/Get-OBSOpacityShader.ps1 @@ -79,6 +79,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -105,8 +114,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 6f204d3e07e21b69fe2d8f06a585c0e3a53905ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1849/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSPagePeelTransitionShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 index 115b76e50..2c2d7ded9 100644 --- a/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 @@ -154,6 +154,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -180,8 +189,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 75418ddd1e29aba610476236329553a27cddc66a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1850/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSPagePeelShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPagePeelShader.ps1 b/Commands/Shaders/Get-OBSPagePeelShader.ps1 index eca4ff445..57d58c3bd 100644 --- a/Commands/Shaders/Get-OBSPagePeelShader.ps1 +++ b/Commands/Shaders/Get-OBSPagePeelShader.ps1 @@ -141,6 +141,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -167,8 +176,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From bc190459d34da2e1bcce7e4da5ccecfcb10fcf52 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1851/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 index a58f4db16..362a807eb 100644 --- a/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 +++ b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 @@ -353,6 +353,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -379,8 +388,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 3b4f2e03da070962ab3e8d3c954ebd20205462fd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1852/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSPieChartShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPieChartShader.ps1 b/Commands/Shaders/Get-OBSPieChartShader.ps1 index b29b85338..e1b547393 100644 --- a/Commands/Shaders/Get-OBSPieChartShader.ps1 +++ b/Commands/Shaders/Get-OBSPieChartShader.ps1 @@ -326,6 +326,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -352,8 +361,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 3a9b640f01c18257c7578268b78c113335799e92 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1853/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSPixelationTransitionShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 index 4935df291..03d61b1df 100644 --- a/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 @@ -134,6 +134,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -160,8 +169,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From c3f86b1acd345b740f0017cfa2523f1b430d37f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1854/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSPixelationShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPixelationShader.ps1 b/Commands/Shaders/Get-OBSPixelationShader.ps1 index 49dad50ad..377a2af05 100644 --- a/Commands/Shaders/Get-OBSPixelationShader.ps1 +++ b/Commands/Shaders/Get-OBSPixelationShader.ps1 @@ -116,6 +116,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -142,8 +151,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 9633dbd0fe9c255949f7baac813a216783413323 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1855/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSPulseShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPulseShader.ps1 b/Commands/Shaders/Get-OBSPulseShader.ps1 index e12cf1233..a29dc5932 100644 --- a/Commands/Shaders/Get-OBSPulseShader.ps1 +++ b/Commands/Shaders/Get-OBSPulseShader.ps1 @@ -183,6 +183,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -209,8 +218,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 27715fc1a40124c2f9f888ad1209a842c866ead4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1856/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRainWindowShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Shaders/Get-OBSRainWindowShader.ps1 index 578d3c01b..be971c18e 100644 --- a/Commands/Shaders/Get-OBSRainWindowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainWindowShader.ps1 @@ -320,6 +320,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -346,8 +355,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From b737f28f11d110561803c7d8578c29428d4d82dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1857/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRainbowShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRainbowShader.ps1 b/Commands/Shaders/Get-OBSRainbowShader.ps1 index f6c4ba9f9..36a0dae1d 100644 --- a/Commands/Shaders/Get-OBSRainbowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainbowShader.ps1 @@ -255,6 +255,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -281,8 +290,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 1f8afce7973275c45891fb7832f41de20ecca302 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1858/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSRectangularDropShadowShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 index 07cc33765..8e4c5282d 100644 --- a/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 @@ -123,6 +123,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -149,8 +158,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From bf0b1f35940a689d985d831e38d2cca0b273d5ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1859/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSRemovePartialPixelsShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 index 019f01380..0d580aefa 100644 --- a/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 +++ b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 @@ -93,6 +93,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -119,8 +128,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 69ceaab7b23528441b30bfbc75e4abe61431f2e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1860/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSRepeatTextureShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 index c216e047c..06a44f170 100644 --- a/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 +++ b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 @@ -224,6 +224,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -250,8 +259,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 970c84636183c726658e0a5fa98439e64bf90593 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1861/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRepeatShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRepeatShader.ps1 b/Commands/Shaders/Get-OBSRepeatShader.ps1 index 3ee69d0ad..2b904c6e5 100644 --- a/Commands/Shaders/Get-OBSRepeatShader.ps1 +++ b/Commands/Shaders/Get-OBSRepeatShader.ps1 @@ -191,6 +191,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -217,8 +226,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 571f80af561237d89e6f626424c229e0b8990991 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1862/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSRgbColorWheelShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 index 1099c3489..6c7fdc183 100644 --- a/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 @@ -192,6 +192,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -218,8 +227,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5ef402fd82f5f763d67f6ccdc7af8577fc6e2ac0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1863/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRgbSplitShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRgbSplitShader.ps1 b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 index be6427f2c..cd5d7d3a7 100644 --- a/Commands/Shaders/Get-OBSRgbSplitShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 @@ -136,6 +136,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -162,8 +171,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 89d7b81932884b2f5688bcb8ce703a3b6fa2e9a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:43 +0000 Subject: [PATCH 1864/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSRgbvisibilityShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 index 93dd4fdd5..27cfdfccb 100644 --- a/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 @@ -149,6 +149,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -175,8 +184,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 76c772c9adc10558446b5a034b7758fa29a001c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1865/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRippleShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRippleShader.ps1 b/Commands/Shaders/Get-OBSRippleShader.ps1 index 7bead9820..160c005f6 100644 --- a/Commands/Shaders/Get-OBSRippleShader.ps1 +++ b/Commands/Shaders/Get-OBSRippleShader.ps1 @@ -126,6 +126,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -152,8 +161,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 8d438cbba2eaa60177ba2d2a5e6721d98d33f181 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1866/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSRotatingSourceShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 index 0603172b2..c1bf316f7 100644 --- a/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 +++ b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 @@ -161,6 +161,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -187,8 +196,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 046509512f4ac6d8ca5bce95989c7afb08c49352 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1867/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRotatoeShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRotatoeShader.ps1 b/Commands/Shaders/Get-OBSRotatoeShader.ps1 index 1d49f3357..964725bb6 100644 --- a/Commands/Shaders/Get-OBSRotatoeShader.ps1 +++ b/Commands/Shaders/Get-OBSRotatoeShader.ps1 @@ -298,6 +298,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -324,8 +333,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From a8d74fa76a07f0bb68130f1fc016dba0f6cdbc6e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1868/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSRoundedRectPerCornerShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 index 2c9b0dac8..e1aec75bb 100644 --- a/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 @@ -278,6 +278,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -304,8 +313,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From d92f6b8d38a5ebae7a2f9ab25b2267fe7fe1e62f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1869/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSRoundedRectPerSideShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 index 3b1456c8d..80078fa53 100644 --- a/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 @@ -255,6 +255,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -281,8 +290,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From aff9c10acb8cce5d4e18e9e72def6b3d01e920ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1870/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSRoundedRectShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 index df34c9b22..9d30b9a33 100644 --- a/Commands/Shaders/Get-OBSRoundedRectShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 @@ -107,6 +107,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -133,8 +142,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 82446ffdc0e1f385f8cd6de8a67b3a2662f1055e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1871/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSRoundedRect2Shader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 index 40bed830a..70a63ed38 100644 --- a/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 @@ -254,6 +254,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -280,8 +289,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 023843da2ba95d5a6008be0847814c6b374b7fb0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1872/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSRoundedStrokeGradientShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 index bd89d6092..2505ff71a 100644 --- a/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 @@ -289,6 +289,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -315,8 +324,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From ecdcb20fcfd90e37a1e370d7dc6e6eece6439246 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1873/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSRoundedStrokeShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 index c6e9ca685..87322676f 100644 --- a/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 @@ -211,6 +211,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -237,8 +246,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 8f77515bbbbf6fecec3bc128364b3d973c2eeb0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1874/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSScanLineShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSScanLineShader.ps1 b/Commands/Shaders/Get-OBSScanLineShader.ps1 index da883102a..fffcda8d2 100644 --- a/Commands/Shaders/Get-OBSScanLineShader.ps1 +++ b/Commands/Shaders/Get-OBSScanLineShader.ps1 @@ -189,6 +189,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -215,8 +224,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From ab8593151c5a1026e36d372f115720fa049c90bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1875/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSSeascapeShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSeascapeShader.ps1 b/Commands/Shaders/Get-OBSSeascapeShader.ps1 index 36730b014..d448a5cc6 100644 --- a/Commands/Shaders/Get-OBSSeascapeShader.ps1 +++ b/Commands/Shaders/Get-OBSSeascapeShader.ps1 @@ -373,6 +373,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -399,8 +408,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 28f3ef16f73efc6e6fec10ca9b571470e9ac98e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1876/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSSeasickShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSeasickShader.ps1 b/Commands/Shaders/Get-OBSSeasickShader.ps1 index 15eee2275..05726a840 100644 --- a/Commands/Shaders/Get-OBSSeasickShader.ps1 +++ b/Commands/Shaders/Get-OBSSeasickShader.ps1 @@ -118,6 +118,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -144,8 +153,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From c3bc2508c920b72b1d8dab25d0421423e496ab6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1877/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSSelectiveColorShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 index a28cb8cc8..3819d6089 100644 --- a/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 +++ b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 @@ -229,6 +229,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -255,8 +264,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 28ec1f35ac0422391ea14b616f21a8fe107ad3f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1878/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSShakeShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSShakeShader.ps1 b/Commands/Shaders/Get-OBSShakeShader.ps1 index cd976858a..5213c5e3b 100644 --- a/Commands/Shaders/Get-OBSShakeShader.ps1 +++ b/Commands/Shaders/Get-OBSShakeShader.ps1 @@ -270,6 +270,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -296,8 +305,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 782d1257651843e911741e3eec684618c20b6248 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1879/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSShineShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSShineShader.ps1 b/Commands/Shaders/Get-OBSShineShader.ps1 index 79d7dbd6e..36bc1d14f 100644 --- a/Commands/Shaders/Get-OBSShineShader.ps1 +++ b/Commands/Shaders/Get-OBSShineShader.ps1 @@ -295,6 +295,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -321,8 +330,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 6f9e9d168e6a00c2a41e8c01012566452631d76c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1880/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSSimpleGradientShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 index 3820c68d5..fa6cd98fb 100644 --- a/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 @@ -212,6 +212,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -238,8 +247,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 3cb20faab90b7129e9b40970fa19eaea5e2aa1e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1881/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSSimplexNoiseShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 index 233599c8f..db200572e 100644 --- a/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 +++ b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 @@ -294,6 +294,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -320,8 +329,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 2f36413d4e4ac6fb5e69a5b8fa1f79b113486588 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1882/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSSpotlightShader.ps1 | 26 ++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSpotlightShader.ps1 b/Commands/Shaders/Get-OBSSpotlightShader.ps1 index 709456ef9..b5f39342c 100644 --- a/Commands/Shaders/Get-OBSSpotlightShader.ps1 +++ b/Commands/Shaders/Get-OBSSpotlightShader.ps1 @@ -143,6 +143,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -169,8 +178,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From f48e9f0bc42084ab909ad6889ec0f6ffc68f055b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1883/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSSwirlShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSwirlShader.ps1 b/Commands/Shaders/Get-OBSSwirlShader.ps1 index ff0b8af11..ee0bc925b 100644 --- a/Commands/Shaders/Get-OBSSwirlShader.ps1 +++ b/Commands/Shaders/Get-OBSSwirlShader.ps1 @@ -162,6 +162,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -188,8 +197,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 5e0a47af3d74e36350faea3278d1bca89b50bd8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1884/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSThermalShader.ps1 | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSThermalShader.ps1 b/Commands/Shaders/Get-OBSThermalShader.ps1 index bcd692491..9807efb5a 100644 --- a/Commands/Shaders/Get-OBSThermalShader.ps1 +++ b/Commands/Shaders/Get-OBSThermalShader.ps1 @@ -100,6 +100,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -126,8 +135,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 8b2a5368ba0e910c5a8042b67c3bd7bcf87c09d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1885/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Shaders/Get-OBSTvCrtSubpixelShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 index 996940f20..2c795e707 100644 --- a/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 +++ b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 @@ -143,6 +143,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -169,8 +178,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 0470ac2c2a03934cce1c90772677859e913a9547 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:44 +0000 Subject: [PATCH 1886/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSTwistShader.ps1 | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSTwistShader.ps1 b/Commands/Shaders/Get-OBSTwistShader.ps1 index e25a830ae..ca0ea64f7 100644 --- a/Commands/Shaders/Get-OBSTwistShader.ps1 +++ b/Commands/Shaders/Get-OBSTwistShader.ps1 @@ -126,6 +126,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -152,8 +161,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From e65406eb3c6363d8cc1c9d214c0548a79cfcff9a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1887/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSTwoPassDropShadowShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 index 32ecc21f2..3d708270e 100644 --- a/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 @@ -238,6 +238,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -264,8 +273,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 0ca1ae09a0ba4d69dad17bc6561365a3c26ac00b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1888/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSVCRShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVCRShader.ps1 b/Commands/Shaders/Get-OBSVCRShader.ps1 index c11857c23..eb7a22582 100644 --- a/Commands/Shaders/Get-OBSVCRShader.ps1 +++ b/Commands/Shaders/Get-OBSVCRShader.ps1 @@ -184,6 +184,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -210,8 +219,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 45ec5b6dca247d30250e3c903197674e9fa0968c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1889/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSVHSShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVHSShader.ps1 b/Commands/Shaders/Get-OBSVHSShader.ps1 index 9f34435be..78d097460 100644 --- a/Commands/Shaders/Get-OBSVHSShader.ps1 +++ b/Commands/Shaders/Get-OBSVHSShader.ps1 @@ -230,6 +230,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -256,8 +265,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 36a9038cdd61c365bfd4cedd76ff56e042aef420 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1890/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSVignettingShader.ps1 | 26 +++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVignettingShader.ps1 b/Commands/Shaders/Get-OBSVignettingShader.ps1 index 71232c57a..2f297f3fa 100644 --- a/Commands/Shaders/Get-OBSVignettingShader.ps1 +++ b/Commands/Shaders/Get-OBSVignettingShader.ps1 @@ -125,6 +125,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -151,8 +160,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From da15ffd565719321a673a4300dd8162bebb8c6b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1891/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- .../Get-OBSVoronoiPixelationShader.ps1 | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 index 50f7b68e3..f354cd18f 100644 --- a/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 +++ b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 @@ -154,6 +154,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -180,8 +189,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 4d95acd00fe930ba5e71c9563500355a0200ab0b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1892/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSZigZagShader.ps1 | 26 +++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSZigZagShader.ps1 b/Commands/Shaders/Get-OBSZigZagShader.ps1 index bf506adde..094a49b44 100644 --- a/Commands/Shaders/Get-OBSZigZagShader.ps1 +++ b/Commands/Shaders/Get-OBSZigZagShader.ps1 @@ -207,6 +207,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -233,8 +242,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From a0c771175567cfa882d41cb26b8f14ce1c7bbac7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1893/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSZoomBlurShader.ps1 | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSZoomBlurShader.ps1 b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 index 83e8903c3..577ace566 100644 --- a/Commands/Shaders/Get-OBSZoomBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 @@ -180,6 +180,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -206,8 +215,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From fc154fc0a0afce946285dcde67dc5c5df6dd76ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:03:45 +0000 Subject: [PATCH 1894/4768] feat: Shader Commands now Prefer a ShaderFile ( Fixes #163 ) Fixing build conditions --- Commands/Shaders/Get-OBSZoomShader.ps1 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSZoomShader.ps1 b/Commands/Shaders/Get-OBSZoomShader.ps1 index 504e0d311..48b4a966a 100644 --- a/Commands/Shaders/Get-OBSZoomShader.ps1 +++ b/Commands/Shaders/Get-OBSZoomShader.ps1 @@ -101,6 +101,15 @@ switch -regex ($myVerb) { Where-Object FilterName -Match $FilterNamePattern } } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } '(?>Add|Set)' { $ShaderSettings = [Ordered]@{} :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { @@ -127,8 +136,23 @@ switch -regex ($myVerb) { } } - if ($myVerb -eq 'Add') { + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat } else { Set-OBSShaderFilter @ShaderFilterSplat From 42c7aaf94a741d66bbbda391a0eed69610212563 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 12:31:14 -0800 Subject: [PATCH 1895/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Build/obs--shaders.build.ps1 | 10 ++++++++-- Commands/Filters/Set-OBSShaderFilter.ps.ps1 | 20 ++++++++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index c4a6533ec..ee22fe09f 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -287,6 +287,12 @@ foreach ($shaderParameterSet in $ShaderParameters) { Help = "The inline value of the shader. This will normally be provided as a default parameter, based off of the name." } + $ShaderParameters["Force"] = [Ordered]@{ + ParameterName = "Force" + ParameterType = [switch] + Help = "If set, will force the recreation of a shader that already exists" + } + $ShaderParameters["PassThru"] = [Ordered]@{ ParameterName = "PassThru" ParameterType = [switch] @@ -362,7 +368,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -384,7 +390,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat diff --git a/Commands/Filters/Set-OBSShaderFilter.ps.ps1 b/Commands/Filters/Set-OBSShaderFilter.ps.ps1 index b4f4e699a..bc1e16078 100644 --- a/Commands/Filters/Set-OBSShaderFilter.ps.ps1 +++ b/Commands/Filters/Set-OBSShaderFilter.ps.ps1 @@ -9,10 +9,26 @@ function Set-OBSShaderFilter This requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shaderfilter) is installed. .EXAMPLE Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | - Set-OBSShaderFilter -FilterName "Shader" -ShaderFile fisheye-xy -ShaderSetting @{ + Set-OBSShaderFilter -FilterName "FisheyeShader" -ShaderFile fisheye-xy -ShaderSetting @{ center_x_percent=30 center_y_percent=70 } + .EXAMPLE + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "SeasickShader" -ShaderFile seasick -ShaderSetting @{ + amplitude = 0.05 + speed = 0.5 + frequency = 12 + opacity = 1 + } + .EXAMPLE + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "TwistShader" -ShaderFile twist -ShaderSetting @{ + center_x_percent=50 + center_y_percent=50 + power = 0.05 + rotation = 80 + } #> [inherit(Command={ Import-Module ..\..\obs-powershell.psd1 -Global @@ -56,7 +72,7 @@ function Set-OBSShaderFilter } elseif ($ShaderFile) { if ($ShaderFile -match '[\\/]') { - $shaderSettings.shader_file_name = $shaderSettings.$ExecutionContext.SessionState.Path.GetResolvedProviderPathFromPSPath($ShaderFile) -replace "\\", "/" + $shaderSettings.shader_file_name = "$($ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($ShaderFile))" -replace "\\", "/" } else { if (-not $script:CachedOBSShaderFilters) { $script:CachedOBSShaderFilters = From b83ea873b263f90a3c9d59693883239c680491cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:57 +0000 Subject: [PATCH 1896/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAddShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAddShader.ps1 b/Commands/Shaders/Get-OBSAddShader.ps1 index f199da395..07b567e91 100644 --- a/Commands/Shaders/Get-OBSAddShader.ps1 +++ b/Commands/Shaders/Get-OBSAddShader.ps1 @@ -20,6 +20,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -98,7 +101,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -120,7 +123,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 3f346031d7e255028880aa2f72e6992ca3fe865c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:57 +0000 Subject: [PATCH 1897/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAlphaBorderShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 index f5e78c4e3..b99dc8c1e 100644 --- a/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 +++ b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 @@ -30,6 +30,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -133,7 +136,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -155,7 +158,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 03e25a9c990a6fd3aa4a491b9aa4d1385ba80a22 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:57 +0000 Subject: [PATCH 1898/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 index fc67d9c9b..be432b395 100644 --- a/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 @@ -65,6 +65,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -251,7 +254,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -273,7 +276,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From cfbaadc5f1c745730a12ea0724d948de59d2c721 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1899/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAnimatedPathShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 index 71a84857d..8264711ec 100644 --- a/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 +++ b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 @@ -62,6 +62,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -221,7 +224,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -243,7 +246,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b1c7dae53f87b3a16aa04b7c0abe128942812a42 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1900/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 index 3f3bad5c1..160dcdf72 100644 --- a/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 +++ b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 @@ -124,6 +124,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -354,7 +357,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -376,7 +379,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 0bde799b7d2f878683deb12ca4e03dc3d2d8943a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1901/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAsciiShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAsciiShader.ps1 b/Commands/Shaders/Get-OBSAsciiShader.ps1 index 9d3b41333..2ce9e4841 100644 --- a/Commands/Shaders/Get-OBSAsciiShader.ps1 +++ b/Commands/Shaders/Get-OBSAsciiShader.ps1 @@ -37,6 +37,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -207,7 +210,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -229,7 +232,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 3ce831666ca8c9259b028e89de2696c91e1b7301 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1902/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSAspectRatioShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSAspectRatioShader.ps1 b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 index bb96832de..ea04341f2 100644 --- a/Commands/Shaders/Get-OBSAspectRatioShader.ps1 +++ b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 @@ -61,6 +61,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -223,7 +226,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -245,7 +248,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 32d0dda3f1186a352d9d85fdab28950762b778dc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1903/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 index f94814df5..e658450d6 100644 --- a/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 +++ b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 @@ -83,6 +83,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -266,7 +269,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -288,7 +291,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f58b2d8baf3c968c540e0f5b6541728e86289661 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1904/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBlendOpacityShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 index 6c481f91e..92843d702 100644 --- a/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 +++ b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 @@ -55,6 +55,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -206,7 +209,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -228,7 +231,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From e3eadd816780cf88ca8c7dc214587cefc52cf399 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1905/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBlinkShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBlinkShader.ps1 b/Commands/Shaders/Get-OBSBlinkShader.ps1 index 0e5e30e7d..8c77a24b6 100644 --- a/Commands/Shaders/Get-OBSBlinkShader.ps1 +++ b/Commands/Shaders/Get-OBSBlinkShader.ps1 @@ -19,6 +19,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -103,7 +106,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -125,7 +128,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 73a879fa4007482297b5d7120e941398d7ca189f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1906/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBloomShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBloomShader.ps1 b/Commands/Shaders/Get-OBSBloomShader.ps1 index 6e42cb06a..6079fb000 100644 --- a/Commands/Shaders/Get-OBSBloomShader.ps1 +++ b/Commands/Shaders/Get-OBSBloomShader.ps1 @@ -33,6 +33,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -169,7 +172,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -191,7 +194,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f0e38a7936843c4040f734022c610ada7bfb6947 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1907/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBorderShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBorderShader.ps1 b/Commands/Shaders/Get-OBSBorderShader.ps1 index 80b21854a..9d7782139 100644 --- a/Commands/Shaders/Get-OBSBorderShader.ps1 +++ b/Commands/Shaders/Get-OBSBorderShader.ps1 @@ -19,6 +19,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -102,7 +105,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -124,7 +127,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From bc39425015490e9f9986378576ee2dbb71c0bf2e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1908/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBoxBlurShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBoxBlurShader.ps1 b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 index c26377b72..2abbca766 100644 --- a/Commands/Shaders/Get-OBSBoxBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 @@ -39,6 +39,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -188,7 +191,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -210,7 +213,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 598ebdbe5c1473a4e1b00e3c16452b819bf02853 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1909/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBulgePinchShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBulgePinchShader.ps1 b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 index bb595e914..ee91f6156 100644 --- a/Commands/Shaders/Get-OBSBulgePinchShader.ps1 +++ b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 @@ -41,6 +41,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -178,7 +181,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -200,7 +203,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 0d55ca51289500a9d9f12c2bad391d95416e3b43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1910/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSBurnShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSBurnShader.ps1 b/Commands/Shaders/Get-OBSBurnShader.ps1 index ee6c6a886..7d3a9b2b9 100644 --- a/Commands/Shaders/Get-OBSBurnShader.ps1 +++ b/Commands/Shaders/Get-OBSBurnShader.ps1 @@ -66,6 +66,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -294,7 +297,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -316,7 +319,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 99f1db24302d1e1ef8ba64b831625f3d4c289e19 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1911/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCartoonShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCartoonShader.ps1 b/Commands/Shaders/Get-OBSCartoonShader.ps1 index 39d4887bf..526a08917 100644 --- a/Commands/Shaders/Get-OBSCartoonShader.ps1 +++ b/Commands/Shaders/Get-OBSCartoonShader.ps1 @@ -72,6 +72,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -237,7 +240,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -259,7 +262,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 0bda6b9f874c6a3ee0a4ed6247a9dac6e5469a09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1912/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCellShadedShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCellShadedShader.ps1 b/Commands/Shaders/Get-OBSCellShadedShader.ps1 index 8c0b35b6a..260cadc52 100644 --- a/Commands/Shaders/Get-OBSCellShadedShader.ps1 +++ b/Commands/Shaders/Get-OBSCellShadedShader.ps1 @@ -33,6 +33,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -168,7 +171,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -190,7 +193,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b8ec365905a3e56fe32e091fba735df87f8aff88 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1913/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 index 700c4f954..752ea71e3 100644 --- a/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 +++ b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 @@ -27,6 +27,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -156,7 +159,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -178,7 +181,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 9152d238c64c0d899194a702a1a74428cd48c5d2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1914/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 index 43a01db45..4d3ff66d9 100644 --- a/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 +++ b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 @@ -53,6 +53,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -327,7 +330,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -349,7 +352,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From ea51181d964ad067ea14ba0c73da726da820dc3d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1915/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 index df42a5c1d..210cbae21 100644 --- a/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 +++ b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 @@ -43,6 +43,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -189,7 +192,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -211,7 +214,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 78468d4051253aa86109e05b33b5b462fdfd334c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:58 +0000 Subject: [PATCH 1916/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 index da09adfcd..84b1b529c 100644 --- a/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 +++ b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 @@ -38,6 +38,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -176,7 +179,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -198,7 +201,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 92519d7bda1fda80d1a30641a7e28a14f1d99b28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1917/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSColorDepthShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSColorDepthShader.ps1 b/Commands/Shaders/Get-OBSColorDepthShader.ps1 index 3fe717d3d..ff2535a50 100644 --- a/Commands/Shaders/Get-OBSColorDepthShader.ps1 +++ b/Commands/Shaders/Get-OBSColorDepthShader.ps1 @@ -23,6 +23,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -123,7 +126,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -145,7 +148,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b8c7b52cf8aa7eace983cba918b36ba31401c8f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1918/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCornerPinShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCornerPinShader.ps1 b/Commands/Shaders/Get-OBSCornerPinShader.ps1 index bec15b4ae..0fabdac65 100644 --- a/Commands/Shaders/Get-OBSCornerPinShader.ps1 +++ b/Commands/Shaders/Get-OBSCornerPinShader.ps1 @@ -60,6 +60,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -309,7 +312,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -331,7 +334,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 171a288710fd29917a2c7253579d8927bc2dc8b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1919/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 index 3a1dda811..c4b872a27 100644 --- a/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 +++ b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 @@ -27,6 +27,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -136,7 +139,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -158,7 +161,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 80c6d48be8460d8d7d2bcd74665c687dfb7bfa18 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1920/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 index 29c3e0e7e..9e00d6b4e 100644 --- a/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 +++ b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 @@ -60,6 +60,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -305,7 +308,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -327,7 +330,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From eef59af661431fde19bd109b6470c4eb9772ac4b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1921/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSCylinderShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSCylinderShader.ps1 b/Commands/Shaders/Get-OBSCylinderShader.ps1 index fe0568569..e57d4f10b 100644 --- a/Commands/Shaders/Get-OBSCylinderShader.ps1 +++ b/Commands/Shaders/Get-OBSCylinderShader.ps1 @@ -25,6 +25,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -143,7 +146,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -165,7 +168,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b974d92f9e9fa4843babf24e3270ad10e07c70d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1922/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDarkenShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDarkenShader.ps1 b/Commands/Shaders/Get-OBSDarkenShader.ps1 index 9f43c03b4..c7e4a94b4 100644 --- a/Commands/Shaders/Get-OBSDarkenShader.ps1 +++ b/Commands/Shaders/Get-OBSDarkenShader.ps1 @@ -29,6 +29,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -112,7 +115,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -134,7 +137,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b0c53e45e7b4e4dcd72762f69aed6e6693222f71 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1923/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 index 03cf6e584..7e5addb06 100644 --- a/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 +++ b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 @@ -25,6 +25,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -149,7 +152,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -171,7 +174,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 6172fa6af87f1dff8ee19a6960fff94581923365 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1924/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDivideRotateShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDivideRotateShader.ps1 b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 index 4a9270546..0ff65f640 100644 --- a/Commands/Shaders/Get-OBSDivideRotateShader.ps1 +++ b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 @@ -38,6 +38,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -187,7 +190,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -209,7 +212,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 1880e7f661eb3a685511d846b9af40f02f42a292 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1925/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDoodleShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDoodleShader.ps1 b/Commands/Shaders/Get-OBSDoodleShader.ps1 index fcedec451..2c293eed0 100644 --- a/Commands/Shaders/Get-OBSDoodleShader.ps1 +++ b/Commands/Shaders/Get-OBSDoodleShader.ps1 @@ -67,6 +67,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -222,7 +225,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -244,7 +247,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 7de03c9a22d9b1bdcbfe0203d13a9580314deb21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1926/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDrawingsShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDrawingsShader.ps1 b/Commands/Shaders/Get-OBSDrawingsShader.ps1 index a9a4a0087..617cd84f8 100644 --- a/Commands/Shaders/Get-OBSDrawingsShader.ps1 +++ b/Commands/Shaders/Get-OBSDrawingsShader.ps1 @@ -23,6 +23,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -226,7 +229,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -248,7 +251,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From a9cd82dbda0a823ea77690dfb1a88e4f2dac9e4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1927/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDropShadowShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDropShadowShader.ps1 b/Commands/Shaders/Get-OBSDropShadowShader.ps1 index e91e40c57..13a66968f 100644 --- a/Commands/Shaders/Get-OBSDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSDropShadowShader.ps1 @@ -44,6 +44,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -169,7 +172,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -191,7 +194,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 15f91e6568f4a73ffde687d1e766691a63ff0693 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1928/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDrunkShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDrunkShader.ps1 b/Commands/Shaders/Get-OBSDrunkShader.ps1 index 353ef68aa..c7f473a01 100644 --- a/Commands/Shaders/Get-OBSDrunkShader.ps1 +++ b/Commands/Shaders/Get-OBSDrunkShader.ps1 @@ -66,6 +66,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -287,7 +290,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -309,7 +312,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 7739c736a4674e81de2b950e4356b1ae11e6f16c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1929/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSDynamicMaskShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 index 5d116fc8a..1fad1b2ff 100644 --- a/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 +++ b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 @@ -140,6 +140,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -421,7 +424,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -443,7 +446,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 435283d24a466815b8e3c9e23b004326c808e5c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1930/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 index b48e5974b..6a21528d0 100644 --- a/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 +++ b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 @@ -68,6 +68,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -229,7 +232,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -251,7 +254,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 150861f96c3bcf882e76f19c4aade9a3dfe27e28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1931/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSEmbersShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSEmbersShader.ps1 b/Commands/Shaders/Get-OBSEmbersShader.ps1 index fa6015778..43b6f22ae 100644 --- a/Commands/Shaders/Get-OBSEmbersShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbersShader.ps1 @@ -119,6 +119,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -550,7 +553,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -572,7 +575,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 170be665b6cfb6052b4a2c4ba3f4103dae4f2c48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1932/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSEmbossColorShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSEmbossColorShader.ps1 b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 index b7dcee7c4..6bf48c10a 100644 --- a/Commands/Shaders/Get-OBSEmbossColorShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 @@ -43,6 +43,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -193,7 +196,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -215,7 +218,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b6ef9adc5d2c1ef7cee29e072a8268e7d54c374a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1933/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSEmbossShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSEmbossShader.ps1 b/Commands/Shaders/Get-OBSEmbossShader.ps1 index f61d9bbb4..bfff878c5 100644 --- a/Commands/Shaders/Get-OBSEmbossShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbossShader.ps1 @@ -25,6 +25,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -128,7 +131,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -150,7 +153,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 25730799c51e3a5ae95bb57124fae5e575433cea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1934/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 index 73dc2ec9f..d8f500b84 100644 --- a/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 @@ -65,6 +65,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -251,7 +254,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -273,7 +276,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 64e2bbf4e7e9ba5ff15d3d3d4080cd597be064d2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1935/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFadeTransitionShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 index a2d4d7fd7..75280d8fd 100644 --- a/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 @@ -35,6 +35,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -124,7 +127,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -146,7 +149,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From da34e364fca20b0704404af66059673e11ba5742 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1936/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFillColorGradientShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 index 53408ed8f..ba39a5c4b 100644 --- a/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 @@ -39,6 +39,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -181,7 +184,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -203,7 +206,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 7022c6ae172b25e79b10a5bd591a42341c4ada9e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:36:59 +0000 Subject: [PATCH 1937/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFillColorLinearShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 index f2b3cf8b7..36f77bb48 100644 --- a/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 @@ -29,6 +29,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -146,7 +149,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -168,7 +171,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 82b38ac5c010f5ba38c5841359423b97857f8fda Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1938/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 index 248862b03..c28818175 100644 --- a/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 @@ -44,6 +44,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -200,7 +203,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -222,7 +225,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 77ff8ddb501a321f57909aaec669704a96e386bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1939/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- .../Shaders/Get-OBSFillColorRadialPercentageShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 index c0caad5dc..7e4c783bc 100644 --- a/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 @@ -44,6 +44,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -203,7 +206,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -225,7 +228,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 8c4dd58756caadadb06bc7f2e0837b4d45a5fabf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1940/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFilterTemplateShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 index 8f31cbfae..f78b2c240 100644 --- a/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 +++ b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 @@ -76,6 +76,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -210,7 +213,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -232,7 +235,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 3573133c59e95e6fc93e2aad593f086b4a7e866e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1941/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFire3Shader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFire3Shader.ps1 b/Commands/Shaders/Get-OBSFire3Shader.ps1 index e6c07d87f..228b4e620 100644 --- a/Commands/Shaders/Get-OBSFire3Shader.ps1 +++ b/Commands/Shaders/Get-OBSFire3Shader.ps1 @@ -148,6 +148,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -650,7 +653,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -672,7 +675,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From ed30682d303b2c7a43289b085c2a9c3db3fb1a93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1942/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFireShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFireShader.ps1 b/Commands/Shaders/Get-OBSFireShader.ps1 index ca072b161..ea19f6920 100644 --- a/Commands/Shaders/Get-OBSFireShader.ps1 +++ b/Commands/Shaders/Get-OBSFireShader.ps1 @@ -70,6 +70,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -385,7 +388,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -407,7 +410,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f8050cbcde03cafe19ab39d983e7edf6b82c9944 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1943/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFireworksShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFireworksShader.ps1 b/Commands/Shaders/Get-OBSFireworksShader.ps1 index 81b873300..44cf0cd56 100644 --- a/Commands/Shaders/Get-OBSFireworksShader.ps1 +++ b/Commands/Shaders/Get-OBSFireworksShader.ps1 @@ -30,6 +30,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -264,7 +267,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -286,7 +289,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From d4837d2c71484c78a9696b96869891f34a0ac3c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1944/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFisheyeXyShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 index 7e3a3e26f..206bb4bf4 100644 --- a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 @@ -35,6 +35,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -164,7 +167,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -186,7 +189,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From e81cf5ee86886996c019f0016fc8b2904d3cf08e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1945/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFisheyeShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Shaders/Get-OBSFisheyeShader.ps1 index dd0363767..cbc26c601 100644 --- a/Commands/Shaders/Get-OBSFisheyeShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeShader.ps1 @@ -29,6 +29,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -139,7 +142,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -161,7 +164,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From ed9298c88ab388ba6873bee925ab00ccf66655ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1946/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSFrostedGlassShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 index 3f6b88788..3e3055111 100644 --- a/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 +++ b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 @@ -51,6 +51,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -189,7 +192,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -211,7 +214,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 289447b6c3aff2634666e5aa9fa41d063722cf16 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1947/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 index 91fdcc190..aeb21b13b 100644 --- a/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 +++ b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 @@ -31,6 +31,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -135,7 +138,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -157,7 +160,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 46fe14252fab7453d1a818750d00e5ec5a72c97a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1948/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 index 93bb70226..449c58bf4 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 @@ -47,6 +47,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -215,7 +218,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -237,7 +240,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 49144cff80623f68300d64f6375957fa595699c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1949/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 index b15111d53..ee334321f 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 @@ -39,6 +39,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -200,7 +203,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -222,7 +225,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 846f2d9e4e01b3574029e582e89dd8ec4906ca28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1950/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGaussianBlurShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 index f626a177f..8b53c0188 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 @@ -79,6 +79,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -293,7 +296,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -315,7 +318,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From df8a8eca6ca7eaf4e269a5358426f52616d2cb4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1951/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGaussianExampleShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 index b4cfd93dd..1ce9e8b01 100644 --- a/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 @@ -77,6 +77,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -329,7 +332,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -351,7 +354,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 6df9e8217d8f512cb369ffabae41049088cd2239 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1952/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 index 25ec5505e..fa721ec4b 100644 --- a/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 @@ -80,6 +80,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -241,7 +244,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -263,7 +266,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 372622f7bf8fcf8bce743c0eb965f3e4e9a60484 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1953/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGbCameraShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGbCameraShader.ps1 b/Commands/Shaders/Get-OBSGbCameraShader.ps1 index 45a9dba57..638c5b0b9 100644 --- a/Commands/Shaders/Get-OBSGbCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSGbCameraShader.ps1 @@ -61,6 +61,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -286,7 +289,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -308,7 +311,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 0269622d0605c41792697caf95011fdd259bc585 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1954/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGlassShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGlassShader.ps1 b/Commands/Shaders/Get-OBSGlassShader.ps1 index 04e9e9c65..d31208232 100644 --- a/Commands/Shaders/Get-OBSGlassShader.ps1 +++ b/Commands/Shaders/Get-OBSGlassShader.ps1 @@ -62,6 +62,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -218,7 +221,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -240,7 +243,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From a1f0a61a48810c28b5b34b0ab1a04b7d20d18c60 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1955/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 index ebb227d76..b693b5f60 100644 --- a/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 +++ b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 @@ -89,6 +89,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -303,7 +306,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -325,7 +328,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c281f706ef469646ee20f604b0cb84e287cc9469 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1956/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGlitchShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGlitchShader.ps1 b/Commands/Shaders/Get-OBSGlitchShader.ps1 index 976803109..e06297cbf 100644 --- a/Commands/Shaders/Get-OBSGlitchShader.ps1 +++ b/Commands/Shaders/Get-OBSGlitchShader.ps1 @@ -23,6 +23,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -164,7 +167,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -186,7 +189,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From e502a14b0a60ccbe490b831a2a5af2eed6f5296e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1957/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGlowShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGlowShader.ps1 b/Commands/Shaders/Get-OBSGlowShader.ps1 index b25d1009c..8afbe0248 100644 --- a/Commands/Shaders/Get-OBSGlowShader.ps1 +++ b/Commands/Shaders/Get-OBSGlowShader.ps1 @@ -47,6 +47,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -211,7 +214,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -233,7 +236,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 7864fe1983c3acdda503c3cf4e83914d977ef8e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1958/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSGradientShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSGradientShader.ps1 b/Commands/Shaders/Get-OBSGradientShader.ps1 index 161c262da..f0c97d4a6 100644 --- a/Commands/Shaders/Get-OBSGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSGradientShader.ps1 @@ -101,6 +101,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -369,7 +372,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -391,7 +394,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 17d49a88d0214b2a559c8627eabccf2be3a8afd0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:00 +0000 Subject: [PATCH 1959/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSHalftoneShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSHalftoneShader.ps1 b/Commands/Shaders/Get-OBSHalftoneShader.ps1 index eca128296..088a850b8 100644 --- a/Commands/Shaders/Get-OBSHalftoneShader.ps1 +++ b/Commands/Shaders/Get-OBSHalftoneShader.ps1 @@ -19,6 +19,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -142,7 +145,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -164,7 +167,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f06423e0c87bb977f020f4059a8c9b8225a4a7f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1960/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 index a1256c80c..163e5990e 100644 --- a/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 @@ -31,6 +31,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -163,7 +166,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -185,7 +188,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c8e53aef1a435382a92550273acdb7dba21d63fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1961/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSHexagonShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Shaders/Get-OBSHexagonShader.ps1 index aedd00ce4..1263308a3 100644 --- a/Commands/Shaders/Get-OBSHexagonShader.ps1 +++ b/Commands/Shaders/Get-OBSHexagonShader.ps1 @@ -80,6 +80,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -272,7 +275,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -294,7 +297,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 9ca1d8f66b21b75acaf411b66a224a42a33ef094 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1962/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 index f3eabb231..498304e65 100644 --- a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 +++ b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 @@ -31,6 +31,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -242,7 +245,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -264,7 +267,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f932536a6b0c38ba9ff7451c7dbed7434b9a63e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1963/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSHueRotatonShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSHueRotatonShader.ps1 b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 index d2eb1b656..c8e654f20 100644 --- a/Commands/Shaders/Get-OBSHueRotatonShader.ps1 +++ b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 @@ -24,6 +24,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -186,7 +189,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -208,7 +211,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b8019d976d6abcc09831c9049cb83f8ac5ff47da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1964/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSIntensityScopeShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 index 117792951..7d1d935f0 100644 --- a/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 +++ b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 @@ -23,6 +23,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -143,7 +146,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -165,7 +168,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 56bff5b1d1b0b7965c1d6089196dc63c89fc6f8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1965/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSInvertLumaShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSInvertLumaShader.ps1 b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 index d7baa082d..28643ec8a 100644 --- a/Commands/Shaders/Get-OBSInvertLumaShader.ps1 +++ b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 @@ -35,6 +35,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -217,7 +220,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -239,7 +242,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 462b01fb21d239cb5e91f4d48387b4e0d6a961fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1966/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 index 31dcb7ffb..32ccdddd3 100644 --- a/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 +++ b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 @@ -80,6 +80,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -249,7 +252,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -271,7 +274,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 431b4977e656d600660bb9295a1d21e329dec883 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1967/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSLuminanceShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSLuminanceShader.ps1 b/Commands/Shaders/Get-OBSLuminanceShader.ps1 index 8533438f2..e8832aa69 100644 --- a/Commands/Shaders/Get-OBSLuminanceShader.ps1 +++ b/Commands/Shaders/Get-OBSLuminanceShader.ps1 @@ -35,6 +35,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -156,7 +159,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -178,7 +181,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 92a244250271d46955a4fd52e6aaa963b6e5237f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1968/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSLuminance2Shader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSLuminance2Shader.ps1 b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 index 51b94c58f..ce6c361e3 100644 --- a/Commands/Shaders/Get-OBSLuminance2Shader.ps1 +++ b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 @@ -47,6 +47,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -191,7 +194,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -213,7 +216,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f91d39f7ededcc5bf10abbdfd5e00aaaa2a26204 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1969/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSMatrixShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSMatrixShader.ps1 b/Commands/Shaders/Get-OBSMatrixShader.ps1 index efdee963c..c7857881d 100644 --- a/Commands/Shaders/Get-OBSMatrixShader.ps1 +++ b/Commands/Shaders/Get-OBSMatrixShader.ps1 @@ -103,6 +103,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -390,7 +393,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -412,7 +415,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 79d61d0c4b30ae54f5e7eb463491de11c9e9efd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1970/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSMultiplyShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSMultiplyShader.ps1 b/Commands/Shaders/Get-OBSMultiplyShader.ps1 index eeb8b9d63..ccfb0b03d 100644 --- a/Commands/Shaders/Get-OBSMultiplyShader.ps1 +++ b/Commands/Shaders/Get-OBSMultiplyShader.ps1 @@ -20,6 +20,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -98,7 +101,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -120,7 +123,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From ec3bc656faedf1301ba8af9202ad3baa2fc73436 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1971/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSNightSkyShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSNightSkyShader.ps1 b/Commands/Shaders/Get-OBSNightSkyShader.ps1 index 461817617..7e5b9a272 100644 --- a/Commands/Shaders/Get-OBSNightSkyShader.ps1 +++ b/Commands/Shaders/Get-OBSNightSkyShader.ps1 @@ -104,6 +104,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -462,7 +465,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -484,7 +487,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 4b56446dda2f36ba91be8a46a30b3c3c85b4b8ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1972/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSOpacityShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSOpacityShader.ps1 b/Commands/Shaders/Get-OBSOpacityShader.ps1 index d9bce0b15..94da75c5b 100644 --- a/Commands/Shaders/Get-OBSOpacityShader.ps1 +++ b/Commands/Shaders/Get-OBSOpacityShader.ps1 @@ -19,6 +19,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -106,7 +109,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -128,7 +131,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From b81f78311b9222f2dde5ae8eed3dfa78fb10f51f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1973/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 index 2c2d7ded9..7c255a76f 100644 --- a/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 @@ -45,6 +45,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -181,7 +184,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -203,7 +206,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 651345dfb3306ec7c83f21c1e69cb3267929c8b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1974/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPagePeelShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPagePeelShader.ps1 b/Commands/Shaders/Get-OBSPagePeelShader.ps1 index 57d58c3bd..63a509822 100644 --- a/Commands/Shaders/Get-OBSPagePeelShader.ps1 +++ b/Commands/Shaders/Get-OBSPagePeelShader.ps1 @@ -23,6 +23,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -168,7 +171,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -190,7 +193,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f222099877cb020331abba40412ae000bc10e46a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1975/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 index 362a807eb..8443e3c47 100644 --- a/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 +++ b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 @@ -64,6 +64,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -380,7 +383,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -402,7 +405,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 4b5ca24d18772e89066e08f9bbb90e50a5a8700a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1976/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPieChartShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPieChartShader.ps1 b/Commands/Shaders/Get-OBSPieChartShader.ps1 index e1b547393..9b5858485 100644 --- a/Commands/Shaders/Get-OBSPieChartShader.ps1 +++ b/Commands/Shaders/Get-OBSPieChartShader.ps1 @@ -134,6 +134,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -353,7 +356,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -375,7 +378,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c8050ba1fc53642c566aad0bcb3dde8949173e6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1977/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 index 03d61b1df..48385f020 100644 --- a/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 @@ -39,6 +39,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -161,7 +164,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -183,7 +186,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From a5d64bde8000641dfc017cd6f5cbfd39e27c017d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1978/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPixelationShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPixelationShader.ps1 b/Commands/Shaders/Get-OBSPixelationShader.ps1 index 377a2af05..4661c2b12 100644 --- a/Commands/Shaders/Get-OBSPixelationShader.ps1 +++ b/Commands/Shaders/Get-OBSPixelationShader.ps1 @@ -29,6 +29,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -143,7 +146,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -165,7 +168,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 132ce91fb48d296fab1bff83faca07dd1c6bfe9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1979/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSPulseShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSPulseShader.ps1 b/Commands/Shaders/Get-OBSPulseShader.ps1 index a29dc5932..2c52dad71 100644 --- a/Commands/Shaders/Get-OBSPulseShader.ps1 +++ b/Commands/Shaders/Get-OBSPulseShader.ps1 @@ -67,6 +67,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -210,7 +213,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -232,7 +235,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 88450703503c9e6caf8fcf64acde59f9f558de50 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1980/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRainWindowShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Shaders/Get-OBSRainWindowShader.ps1 index be971c18e..1e89f1faa 100644 --- a/Commands/Shaders/Get-OBSRainWindowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainWindowShader.ps1 @@ -41,6 +41,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -347,7 +350,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -369,7 +372,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 89e98dfb799ae8e1c1ec9c12c3ce94817e4025a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:01 +0000 Subject: [PATCH 1981/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRainbowShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRainbowShader.ps1 b/Commands/Shaders/Get-OBSRainbowShader.ps1 index 36a0dae1d..bd43f675c 100644 --- a/Commands/Shaders/Get-OBSRainbowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainbowShader.ps1 @@ -73,6 +73,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -282,7 +285,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -304,7 +307,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c4774458c3c0864cb6325132e15aa422dc49d8bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1982/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 index 8e4c5282d..223332180 100644 --- a/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 @@ -35,6 +35,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -150,7 +153,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -172,7 +175,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From f2359becce0098cb43af5c7f5eaf01c0558befc3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1983/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 index 0d580aefa..585f8acd6 100644 --- a/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 +++ b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 @@ -24,6 +24,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -120,7 +123,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -142,7 +145,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c3d0542fb386f75d811e282320a3bd457b4c2a4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1984/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRepeatTextureShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 index 06a44f170..281869207 100644 --- a/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 +++ b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 @@ -90,6 +90,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -251,7 +254,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -273,7 +276,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From a7c977aa4c036bc626de1984b546a8759d844746 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1985/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRepeatShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRepeatShader.ps1 b/Commands/Shaders/Get-OBSRepeatShader.ps1 index 2b904c6e5..ff899a1c3 100644 --- a/Commands/Shaders/Get-OBSRepeatShader.ps1 +++ b/Commands/Shaders/Get-OBSRepeatShader.ps1 @@ -80,6 +80,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -218,7 +221,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -240,7 +243,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 1aedaebd4b3467aaeb074ff5a60bd91ca2daf56a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1986/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 index 6c7fdc183..271b0c293 100644 --- a/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 @@ -59,6 +59,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -219,7 +222,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -241,7 +244,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 3e617ccc9f01fec1f0b0d9dbe322cd79e1af6b1b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1987/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRgbSplitShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRgbSplitShader.ps1 b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 index cd5d7d3a7..004b6c726 100644 --- a/Commands/Shaders/Get-OBSRgbSplitShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 @@ -39,6 +39,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -163,7 +166,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -185,7 +188,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 1277bef10ee0aa983d46c889527dd15b051567f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1988/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 index 27cfdfccb..4eaac2d51 100644 --- a/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 @@ -43,6 +43,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -176,7 +179,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -198,7 +201,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 5f1a570bf52fd217aaf1f6eb88baef9534f5adb5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1989/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRippleShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRippleShader.ps1 b/Commands/Shaders/Get-OBSRippleShader.ps1 index 160c005f6..695957e7e 100644 --- a/Commands/Shaders/Get-OBSRippleShader.ps1 +++ b/Commands/Shaders/Get-OBSRippleShader.ps1 @@ -40,6 +40,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -153,7 +156,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -175,7 +178,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 1ce8469621fcfeaeb1085023dffc00ce4d486021 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1990/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRotatingSourceShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 index c1bf316f7..1929219d5 100644 --- a/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 +++ b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 @@ -43,6 +43,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -188,7 +191,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -210,7 +213,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From bad7e89687fdc142bac868ceddb9380b22076f12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1991/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRotatoeShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRotatoeShader.ps1 b/Commands/Shaders/Get-OBSRotatoeShader.ps1 index 964725bb6..f51a699c4 100644 --- a/Commands/Shaders/Get-OBSRotatoeShader.ps1 +++ b/Commands/Shaders/Get-OBSRotatoeShader.ps1 @@ -107,6 +107,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -325,7 +328,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -347,7 +350,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 39e5ef2903368e9d2b53288c09477e0be34407f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1992/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 index e1aec75bb..4b48a8c97 100644 --- a/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 @@ -60,6 +60,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -305,7 +308,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -327,7 +330,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 37dfea90d559e67f9c85a78f4937a35316eee009 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1993/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 index 80078fa53..e59b876a1 100644 --- a/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 @@ -60,6 +60,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -282,7 +285,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -304,7 +307,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From de7c59f2708a3b69dd526243d0aaa10ec5b0b155 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1994/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRoundedRectShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 index 9d30b9a33..8041f530e 100644 --- a/Commands/Shaders/Get-OBSRoundedRectShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 @@ -30,6 +30,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -134,7 +137,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -156,7 +159,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 9e8ace3001fdfa89b64a91e2bc88875cd2749384 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1995/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 index 70a63ed38..4c6f5fc9d 100644 --- a/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 @@ -50,6 +50,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -281,7 +284,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -303,7 +306,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 148f957a691d0430cdc43f64d672cd848ea4ac32 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1996/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 index 2505ff71a..f61a88c81 100644 --- a/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 @@ -59,6 +59,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -316,7 +319,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -338,7 +341,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From da657bd439e419c127644f716c220ca0a3fecfb7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1997/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 index 87322676f..479235e22 100644 --- a/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 @@ -39,6 +39,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -238,7 +241,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -260,7 +263,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 2f9c3c4811eda3c640f572bbd6878b892bbe241c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1998/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSScanLineShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSScanLineShader.ps1 b/Commands/Shaders/Get-OBSScanLineShader.ps1 index fffcda8d2..326b32816 100644 --- a/Commands/Shaders/Get-OBSScanLineShader.ps1 +++ b/Commands/Shaders/Get-OBSScanLineShader.ps1 @@ -51,6 +51,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -216,7 +219,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -238,7 +241,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 40c7a3394c531b28395549d102826abf8737c15f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 1999/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSeascapeShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSeascapeShader.ps1 b/Commands/Shaders/Get-OBSSeascapeShader.ps1 index d448a5cc6..0d61c99d3 100644 --- a/Commands/Shaders/Get-OBSSeascapeShader.ps1 +++ b/Commands/Shaders/Get-OBSSeascapeShader.ps1 @@ -59,6 +59,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -400,7 +403,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -422,7 +425,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From aa0a24d8a1d67fe8c8ac51742a813f04cc0ffc75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 2000/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSeasickShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSeasickShader.ps1 b/Commands/Shaders/Get-OBSSeasickShader.ps1 index 05726a840..183dcb360 100644 --- a/Commands/Shaders/Get-OBSSeasickShader.ps1 +++ b/Commands/Shaders/Get-OBSSeasickShader.ps1 @@ -35,6 +35,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -145,7 +148,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -167,7 +170,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 42170e84eed8e9f2585b33052da02c6454a9d129 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 2001/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSelectiveColorShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 index 3819d6089..2cbc2c2f9 100644 --- a/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 +++ b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 @@ -69,6 +69,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -256,7 +259,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -278,7 +281,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 43c7c11b25084f18d5346ef8896460dadab37ce8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 2002/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSShakeShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSShakeShader.ps1 b/Commands/Shaders/Get-OBSShakeShader.ps1 index 5213c5e3b..a277c8dc4 100644 --- a/Commands/Shaders/Get-OBSShakeShader.ps1 +++ b/Commands/Shaders/Get-OBSShakeShader.ps1 @@ -90,6 +90,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -297,7 +300,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -319,7 +322,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c3330c571ccd6314bc1c581426261b32e0962b4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 2003/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSShineShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSShineShader.ps1 b/Commands/Shaders/Get-OBSShineShader.ps1 index 36bc1d14f..aa2d2b2e3 100644 --- a/Commands/Shaders/Get-OBSShineShader.ps1 +++ b/Commands/Shaders/Get-OBSShineShader.ps1 @@ -80,6 +80,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -322,7 +325,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -344,7 +347,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 1b0bf3e40204343d92c8651b5f5c9710419a9b36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 2004/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSimpleGradientShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 index fa6cd98fb..413170fe2 100644 --- a/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 @@ -54,6 +54,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -239,7 +242,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -261,7 +264,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From d4a3c61d02c55ac894b395d98c0a4a4b17a0c7c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:02 +0000 Subject: [PATCH 2005/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 index db200572e..df421433f 100644 --- a/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 +++ b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 @@ -57,6 +57,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -321,7 +324,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -343,7 +346,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c5da390e6021d27ecde0f539146df73c5f3e534d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2006/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSpotlightShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSpotlightShader.ps1 b/Commands/Shaders/Get-OBSSpotlightShader.ps1 index b5f39342c..4f263d293 100644 --- a/Commands/Shaders/Get-OBSSpotlightShader.ps1 +++ b/Commands/Shaders/Get-OBSSpotlightShader.ps1 @@ -48,6 +48,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -170,7 +173,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -192,7 +195,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From bae3f8b56a21230791f95ea750f20c83a9772469 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2007/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSSwirlShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSSwirlShader.ps1 b/Commands/Shaders/Get-OBSSwirlShader.ps1 index ee0bc925b..807e0f5c0 100644 --- a/Commands/Shaders/Get-OBSSwirlShader.ps1 +++ b/Commands/Shaders/Get-OBSSwirlShader.ps1 @@ -45,6 +45,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -189,7 +192,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -211,7 +214,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From c2d723354c8d8a2f3369c303de103f053c652dec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2008/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSThermalShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSThermalShader.ps1 b/Commands/Shaders/Get-OBSThermalShader.ps1 index 9807efb5a..735daea33 100644 --- a/Commands/Shaders/Get-OBSThermalShader.ps1 +++ b/Commands/Shaders/Get-OBSThermalShader.ps1 @@ -19,6 +19,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -127,7 +130,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -149,7 +152,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 4556fbef279883545c2e9605712fae92179cba31 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2009/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 index 2c795e707..ae92e5044 100644 --- a/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 +++ b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 @@ -31,6 +31,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -170,7 +173,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -192,7 +195,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 22c583f4e2814bcd4cdd4299781eec1bab33398c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2010/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSTwistShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSTwistShader.ps1 b/Commands/Shaders/Get-OBSTwistShader.ps1 index ca0ea64f7..581d2e291 100644 --- a/Commands/Shaders/Get-OBSTwistShader.ps1 +++ b/Commands/Shaders/Get-OBSTwistShader.ps1 @@ -33,6 +33,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -153,7 +156,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -175,7 +178,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From ceeb2af2acdd36748458b335f954cea8e9db47c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2011/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 index 3d708270e..4f3e85ac6 100644 --- a/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 @@ -78,6 +78,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -265,7 +268,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -287,7 +290,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 9fbaace630c067871386e8ec07145ebbfe0646ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2012/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSVCRShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSVCRShader.ps1 b/Commands/Shaders/Get-OBSVCRShader.ps1 index eb7a22582..ff074face 100644 --- a/Commands/Shaders/Get-OBSVCRShader.ps1 +++ b/Commands/Shaders/Get-OBSVCRShader.ps1 @@ -42,6 +42,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -211,7 +214,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -233,7 +236,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 8afec83af9e0bbe1cb8a7f3082bf34bf82c825a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2013/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSVHSShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSVHSShader.ps1 b/Commands/Shaders/Get-OBSVHSShader.ps1 index 78d097460..6fd871b41 100644 --- a/Commands/Shaders/Get-OBSVHSShader.ps1 +++ b/Commands/Shaders/Get-OBSVHSShader.ps1 @@ -60,6 +60,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -257,7 +260,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -279,7 +282,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 25dcd4a5e2526eb6a5f895159e1792ea4c5d2309 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2014/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSVignettingShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSVignettingShader.ps1 b/Commands/Shaders/Get-OBSVignettingShader.ps1 index 2f297f3fa..a76cf0976 100644 --- a/Commands/Shaders/Get-OBSVignettingShader.ps1 +++ b/Commands/Shaders/Get-OBSVignettingShader.ps1 @@ -31,6 +31,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -152,7 +155,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -174,7 +177,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From a8a1f1a0f6d8653f74d6ec6f3eb8425655fe9237 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2015/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 index f354cd18f..2214fe433 100644 --- a/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 +++ b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 @@ -23,6 +23,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -181,7 +184,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -203,7 +206,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From a317aae4ade26ee0534b35b73460731c79966734 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2016/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSZigZagShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSZigZagShader.ps1 b/Commands/Shaders/Get-OBSZigZagShader.ps1 index 094a49b44..6c36c9fec 100644 --- a/Commands/Shaders/Get-OBSZigZagShader.ps1 +++ b/Commands/Shaders/Get-OBSZigZagShader.ps1 @@ -53,6 +53,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -234,7 +237,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -256,7 +259,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 478812897c8fb089d55a50a07d3bfbe238160d96 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2017/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSZoomBlurShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSZoomBlurShader.ps1 b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 index 577ace566..326cab68f 100644 --- a/Commands/Shaders/Get-OBSZoomBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 @@ -40,6 +40,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -207,7 +210,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -229,7 +232,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 4fcb620067a1ee806fb8c04b32254253f1fd1b90 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2018/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Shaders/Get-OBSZoomShader.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Commands/Shaders/Get-OBSZoomShader.ps1 b/Commands/Shaders/Get-OBSZoomShader.ps1 index 48b4a966a..5942ebb61 100644 --- a/Commands/Shaders/Get-OBSZoomShader.ps1 +++ b/Commands/Shaders/Get-OBSZoomShader.ps1 @@ -29,6 +29,9 @@ $FilterName, [Alias('ShaderContent')] [String] $ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, # If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) [Management.Automation.SwitchParameter] $PassThru, @@ -128,7 +131,7 @@ switch -regex ($myVerb) { ShaderSetting = $ShaderSettings FilterName = $FilterName SourceName = $SourceName - } + } foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { @@ -150,7 +153,7 @@ switch -regex ($myVerb) { $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName } else { $ShaderFilterSplat.ShaderText = $shaderText - } + } if ($myVerb -eq 'Add') { Add-OBSShaderFilter @ShaderFilterSplat From 0818ce7cefb527e01a4578e4437204edb311d847 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:03 +0000 Subject: [PATCH 2019/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- Commands/Filters/Set-OBSShaderFilter.ps1 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Commands/Filters/Set-OBSShaderFilter.ps1 b/Commands/Filters/Set-OBSShaderFilter.ps1 index d06d3e120..a777e7152 100644 --- a/Commands/Filters/Set-OBSShaderFilter.ps1 +++ b/Commands/Filters/Set-OBSShaderFilter.ps1 @@ -8,10 +8,26 @@ function Set-OBSShaderFilter { This requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shaderfilter) is installed. .EXAMPLE Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | - Set-OBSShaderFilter -FilterName "Shader" -ShaderFile fisheye-xy -ShaderSetting @{ + Set-OBSShaderFilter -FilterName "FisheyeShader" -ShaderFile fisheye-xy -ShaderSetting @{ center_x_percent=30 center_y_percent=70 } + .EXAMPLE + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "SeasickShader" -ShaderFile seasick -ShaderSetting @{ + amplitude = 0.05 + speed = 0.5 + frequency = 12 + opacity = 1 + } + .EXAMPLE + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "TwistShader" -ShaderFile twist -ShaderSetting @{ + center_x_percent=50 + center_y_percent=50 + power = 0.05 + rotation = 80 + } #> @@ -89,7 +105,7 @@ function Set-OBSShaderFilter { } elseif ($ShaderFile) { if ($ShaderFile -match '[\\/]') { - $shaderSettings.shader_file_name = $shaderSettings.$ExecutionContext.SessionState.Path.GetResolvedProviderPathFromPSPath($ShaderFile) -replace "\\", "/" + $shaderSettings.shader_file_name = "$($ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($ShaderFile))" -replace "\\", "/" } else { if (-not $script:CachedOBSShaderFilters) { $script:CachedOBSShaderFilters = From b1213b28a5010ba4483d14e74651f59315bd0283 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:17 +0000 Subject: [PATCH 2020/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAddShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAddShader.md b/docs/Get-OBSAddShader.md index a5b24f4f1..fb7a0df88 100644 --- a/docs/Get-OBSAddShader.md +++ b/docs/Get-OBSAddShader.md @@ -3,7 +3,7 @@ Get-OBSAddShader ### Synopsis -Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 55e048e6c3fa7eb3732088dd64136205ebac4e19 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:17 +0000 Subject: [PATCH 2021/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAlphaBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAlphaBorderShader.md b/docs/Get-OBSAlphaBorderShader.md index eb0229742..89b20ec13 100644 --- a/docs/Get-OBSAlphaBorderShader.md +++ b/docs/Get-OBSAlphaBorderShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaBorderShader ### Synopsis -Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From f001cd5e6d88cc5962d8dfea13873557d4201700 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:17 +0000 Subject: [PATCH 2022/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAlphaGamingBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAlphaGamingBentCameraShader.md b/docs/Get-OBSAlphaGamingBentCameraShader.md index 8eae8d867..bcdd52b82 100644 --- a/docs/Get-OBSAlphaGamingBentCameraShader.md +++ b/docs/Get-OBSAlphaGamingBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaGamingBentCameraShader ### Synopsis -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **LeftFlipShadow** |Type |Required|Position|PipelineInput|Aliases | From deecdefb8da5ea2b819732d03320e6d7868521e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:17 +0000 Subject: [PATCH 2023/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAnimatedPathShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAnimatedPathShader.md b/docs/Get-OBSAnimatedPathShader.md index 5f440f970..395279b95 100644 --- a/docs/Get-OBSAnimatedPathShader.md +++ b/docs/Get-OBSAnimatedPathShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedPathShader ### Synopsis -Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 17ec52e8d4d9dc04a7b89bd1b839a2899ebe6cd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:17 +0000 Subject: [PATCH 2024/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAnimatedTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAnimatedTextureShader.md b/docs/Get-OBSAnimatedTextureShader.md index a957f339d..87bf5cafa 100644 --- a/docs/Get-OBSAnimatedTextureShader.md +++ b/docs/Get-OBSAnimatedTextureShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedTextureShader ### Synopsis -Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|---------------------| |`[string]`|false |19 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 852869f23ff12d6368ed241ef17a96e1e7f18d32 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:18 +0000 Subject: [PATCH 2025/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAsciiShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAsciiShader.md b/docs/Get-OBSAsciiShader.md index 547c8783d..38f04236a 100644 --- a/docs/Get-OBSAsciiShader.md +++ b/docs/Get-OBSAsciiShader.md @@ -3,7 +3,7 @@ Get-OBSAsciiShader ### Synopsis -Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-PassThru] [-NoResponse] [] +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] Date: Wed, 14 Feb 2024 20:37:18 +0000 Subject: [PATCH 2026/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSAspectRatioShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAspectRatioShader.md b/docs/Get-OBSAspectRatioShader.md index cf836393d..7f25093b4 100644 --- a/docs/Get-OBSAspectRatioShader.md +++ b/docs/Get-OBSAspectRatioShader.md @@ -3,7 +3,7 @@ Get-OBSAspectRatioShader ### Synopsis -Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From e447db5250515d54257faacd6da4adbac19c2620 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:18 +0000 Subject: [PATCH 2027/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBackgroundRemovalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBackgroundRemovalShader.md b/docs/Get-OBSBackgroundRemovalShader.md index 65b1fae79..4117a391f 100644 --- a/docs/Get-OBSBackgroundRemovalShader.md +++ b/docs/Get-OBSBackgroundRemovalShader.md @@ -3,7 +3,7 @@ Get-OBSBackgroundRemovalShader ### Synopsis -Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-PassThru] [-NoResponse] [] +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 51d1e2ee7eb1e626fe84b78287e3c843cd078a52 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:18 +0000 Subject: [PATCH 2028/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBlendOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBlendOpacityShader.md b/docs/Get-OBSBlendOpacityShader.md index be37ba2cb..7bf9da06f 100644 --- a/docs/Get-OBSBlendOpacityShader.md +++ b/docs/Get-OBSBlendOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSBlendOpacityShader ### Synopsis -Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] Date: Wed, 14 Feb 2024 20:37:18 +0000 Subject: [PATCH 2029/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBlinkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBlinkShader.md b/docs/Get-OBSBlinkShader.md index 27529a6b5..5b3e942bd 100644 --- a/docs/Get-OBSBlinkShader.md +++ b/docs/Get-OBSBlinkShader.md @@ -3,7 +3,7 @@ Get-OBSBlinkShader ### Synopsis -Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] Date: Wed, 14 Feb 2024 20:37:19 +0000 Subject: [PATCH 2030/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBloomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBloomShader.md b/docs/Get-OBSBloomShader.md index 0ea848a99..161969887 100644 --- a/docs/Get-OBSBloomShader.md +++ b/docs/Get-OBSBloomShader.md @@ -3,7 +3,7 @@ Get-OBSBloomShader ### Synopsis -Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] Date: Wed, 14 Feb 2024 20:37:19 +0000 Subject: [PATCH 2031/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBorderShader.md b/docs/Get-OBSBorderShader.md index 189107e70..fadeb50ff 100644 --- a/docs/Get-OBSBorderShader.md +++ b/docs/Get-OBSBorderShader.md @@ -3,7 +3,7 @@ Get-OBSBorderShader ### Synopsis -Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 71455a0be7453eb87ac868d881994f30f6ecbf42 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:19 +0000 Subject: [PATCH 2032/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBoxBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBoxBlurShader.md b/docs/Get-OBSBoxBlurShader.md index c0e6cfcf2..7f7ca04f4 100644 --- a/docs/Get-OBSBoxBlurShader.md +++ b/docs/Get-OBSBoxBlurShader.md @@ -3,7 +3,7 @@ Get-OBSBoxBlurShader ### Synopsis -Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] Date: Wed, 14 Feb 2024 20:37:19 +0000 Subject: [PATCH 2033/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBulgePinchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBulgePinchShader.md b/docs/Get-OBSBulgePinchShader.md index 9b256b68a..f100f241c 100644 --- a/docs/Get-OBSBulgePinchShader.md +++ b/docs/Get-OBSBulgePinchShader.md @@ -3,7 +3,7 @@ Get-OBSBulgePinchShader ### Synopsis -Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-PassThru] [-NoResponse] [] +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Magnitude** |Type |Required|Position|PipelineInput| From 907a33bfc110c5883753bf9c5d666b6fff181710 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:19 +0000 Subject: [PATCH 2034/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSBurnShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBurnShader.md b/docs/Get-OBSBurnShader.md index 960ca8967..60d44b60a 100644 --- a/docs/Get-OBSBurnShader.md +++ b/docs/Get-OBSBurnShader.md @@ -3,7 +3,7 @@ Get-OBSBurnShader ### Synopsis -Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-PassThru] [-NoResponse] [] +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientAdjust** |Type |Required|Position|PipelineInput|Aliases | From 30df8654d5c27877624911c6a7a993b02a90e3f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:19 +0000 Subject: [PATCH 2035/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCartoonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCartoonShader.md b/docs/Get-OBSCartoonShader.md index d2ea4374d..1b4ce0c62 100644 --- a/docs/Get-OBSCartoonShader.md +++ b/docs/Get-OBSCartoonShader.md @@ -3,7 +3,7 @@ Get-OBSCartoonShader ### Synopsis -Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HueSteps** |Type |Required|Position|PipelineInput|Aliases | From 375beb0dd48fa53e1b40cbb26cc7193c6a682336 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:20 +0000 Subject: [PATCH 2036/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCellShadedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCellShadedShader.md b/docs/Get-OBSCellShadedShader.md index 3f39b14ec..5efcd4646 100644 --- a/docs/Get-OBSCellShadedShader.md +++ b/docs/Get-OBSCellShadedShader.md @@ -3,7 +3,7 @@ Get-OBSCellShadedShader ### Synopsis -Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 012423394bb4c0fef98aa5d35ac846313b48a3c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:20 +0000 Subject: [PATCH 2037/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSChromaticAberrationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSChromaticAberrationShader.md b/docs/Get-OBSChromaticAberrationShader.md index fb81e3460..143ee2651 100644 --- a/docs/Get-OBSChromaticAberrationShader.md +++ b/docs/Get-OBSChromaticAberrationShader.md @@ -3,7 +3,7 @@ Get-OBSChromaticAberrationShader ### Synopsis -Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-PassThru] [-NoResponse] [] +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gamma** |Type |Required|Position|PipelineInput| From 2f512cc13a435a649642bbd7cd604508c12ed341 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:20 +0000 Subject: [PATCH 2038/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSChromaUVDistortionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSChromaUVDistortionShader.md b/docs/Get-OBSChromaUVDistortionShader.md index bf55ffa54..f062a3687 100644 --- a/docs/Get-OBSChromaUVDistortionShader.md +++ b/docs/Get-OBSChromaUVDistortionShader.md @@ -3,7 +3,7 @@ Get-OBSChromaUVDistortionShader ### Synopsis -Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From eff2ecbad6a4dca21af0c192bd199b0a2acb9b00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:20 +0000 Subject: [PATCH 2039/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCircleMaskFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCircleMaskFilterShader.md b/docs/Get-OBSCircleMaskFilterShader.md index f6e2308c9..f435303d9 100644 --- a/docs/Get-OBSCircleMaskFilterShader.md +++ b/docs/Get-OBSCircleMaskFilterShader.md @@ -3,7 +3,7 @@ Get-OBSCircleMaskFilterShader ### Synopsis -Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-PassThru] [-NoResponse] [] +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From a9c3d780b3f542d9314fa4a775fd796f73ee1784 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:20 +0000 Subject: [PATCH 2040/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSColorDepthShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSColorDepthShader.md b/docs/Get-OBSColorDepthShader.md index ce70ce642..e638c83bd 100644 --- a/docs/Get-OBSColorDepthShader.md +++ b/docs/Get-OBSColorDepthShader.md @@ -3,7 +3,7 @@ Get-OBSColorDepthShader ### Synopsis -Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 233416d909caaa471b9eeda0b9b8ce8705429b32 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:20 +0000 Subject: [PATCH 2041/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSColorGradeFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSColorGradeFilterShader.md b/docs/Get-OBSColorGradeFilterShader.md index 67a9e2233..1710b874c 100644 --- a/docs/Get-OBSColorGradeFilterShader.md +++ b/docs/Get-OBSColorGradeFilterShader.md @@ -3,7 +3,7 @@ Get-OBSColorGradeFilterShader ### Synopsis -Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Lut** |Type |Required|Position|PipelineInput| From 7307b198063bc8328fd0f8146bf2880f7fb45283 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:21 +0000 Subject: [PATCH 2042/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCornerPinShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCornerPinShader.md b/docs/Get-OBSCornerPinShader.md index 59f1ca217..d6c10bc0a 100644 --- a/docs/Get-OBSCornerPinShader.md +++ b/docs/Get-OBSCornerPinShader.md @@ -3,7 +3,7 @@ Get-OBSCornerPinShader ### Synopsis -Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-PassThru] [-NoResponse] [] +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 345a42a0086ca4cade255c3c925b5e36d73d920a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:21 +0000 Subject: [PATCH 2043/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCrtCurvatureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCrtCurvatureShader.md b/docs/Get-OBSCrtCurvatureShader.md index a52832279..be690aed4 100644 --- a/docs/Get-OBSCrtCurvatureShader.md +++ b/docs/Get-OBSCrtCurvatureShader.md @@ -3,7 +3,7 @@ Get-OBSCrtCurvatureShader ### Synopsis -Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c4059602a4d37c789fd5b5749c8d276bc25660d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:21 +0000 Subject: [PATCH 2044/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCutRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCutRectPerCornerShader.md b/docs/Get-OBSCutRectPerCornerShader.md index 6ab6819b2..e1e6c137a 100644 --- a/docs/Get-OBSCutRectPerCornerShader.md +++ b/docs/Get-OBSCutRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSCutRectPerCornerShader ### Synopsis -Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 75579503922a6c25d5478978b3dd38629813e8ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:21 +0000 Subject: [PATCH 2045/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSCylinderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCylinderShader.md b/docs/Get-OBSCylinderShader.md index 650553fc5..5bb36395a 100644 --- a/docs/Get-OBSCylinderShader.md +++ b/docs/Get-OBSCylinderShader.md @@ -3,7 +3,7 @@ Get-OBSCylinderShader ### Synopsis -Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c88d48627c29378725e464a485db8b0f3b281936 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:22 +0000 Subject: [PATCH 2046/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDarkenShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDarkenShader.md b/docs/Get-OBSDarkenShader.md index 52acb2ee0..6a81b5ac1 100644 --- a/docs/Get-OBSDarkenShader.md +++ b/docs/Get-OBSDarkenShader.md @@ -3,7 +3,7 @@ Get-OBSDarkenShader ### Synopsis -Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From f14326d63e778f4f89e4aeafb39cc671e39de155 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:22 +0000 Subject: [PATCH 2047/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDeadPixelFixerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDeadPixelFixerShader.md b/docs/Get-OBSDeadPixelFixerShader.md index 240cf09ca..fa4e4cea9 100644 --- a/docs/Get-OBSDeadPixelFixerShader.md +++ b/docs/Get-OBSDeadPixelFixerShader.md @@ -3,7 +3,7 @@ Get-OBSDeadPixelFixerShader ### Synopsis -Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 0482693667d8e84e994c52e9db14a7dc6c288390 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:22 +0000 Subject: [PATCH 2048/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDivideRotateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDivideRotateShader.md b/docs/Get-OBSDivideRotateShader.md index 72daf0664..99bf961ca 100644 --- a/docs/Get-OBSDivideRotateShader.md +++ b/docs/Get-OBSDivideRotateShader.md @@ -3,7 +3,7 @@ Get-OBSDivideRotateShader ### Synopsis -Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IChannel0** |Type |Required|Position|PipelineInput| From 359e61fe37a7cd01c9afeb25b89b50bf66d9e290 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:22 +0000 Subject: [PATCH 2049/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDoodleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDoodleShader.md b/docs/Get-OBSDoodleShader.md index 47f7d4e54..9a76ab712 100644 --- a/docs/Get-OBSDoodleShader.md +++ b/docs/Get-OBSDoodleShader.md @@ -3,7 +3,7 @@ Get-OBSDoodleShader ### Synopsis -Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From dbba3e30db159f6642480760cafb3ea98beb6b9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:22 +0000 Subject: [PATCH 2050/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDrawingsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDrawingsShader.md b/docs/Get-OBSDrawingsShader.md index 07b0d863c..389229d55 100644 --- a/docs/Get-OBSDrawingsShader.md +++ b/docs/Get-OBSDrawingsShader.md @@ -3,7 +3,7 @@ Get-OBSDrawingsShader ### Synopsis -Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] Date: Wed, 14 Feb 2024 20:37:22 +0000 Subject: [PATCH 2051/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDropShadowShader.md b/docs/Get-OBSDropShadowShader.md index 0822f6f2a..625008889 100644 --- a/docs/Get-OBSDropShadowShader.md +++ b/docs/Get-OBSDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSDropShadowShader ### Synopsis -Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | From 4d609f6233779519eeca0f18541244174632e805 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:23 +0000 Subject: [PATCH 2052/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDrunkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDrunkShader.md b/docs/Get-OBSDrunkShader.md index c4f47f808..230e425a8 100644 --- a/docs/Get-OBSDrunkShader.md +++ b/docs/Get-OBSDrunkShader.md @@ -3,7 +3,7 @@ Get-OBSDrunkShader ### Synopsis -Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 9c94f971f45bf80cc6a243591bcf9685cd556a52 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:23 +0000 Subject: [PATCH 2053/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSDynamicMaskShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDynamicMaskShader.md b/docs/Get-OBSDynamicMaskShader.md index d3c8ee96c..e63709519 100644 --- a/docs/Get-OBSDynamicMaskShader.md +++ b/docs/Get-OBSDynamicMaskShader.md @@ -3,7 +3,7 @@ Get-OBSDynamicMaskShader ### Synopsis -Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -90,6 +90,12 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |26 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GreenAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | From b26dd355dbd0292662401b8c7292945fe69e811d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:23 +0000 Subject: [PATCH 2054/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSEdgeDetectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEdgeDetectionShader.md b/docs/Get-OBSEdgeDetectionShader.md index 1abf3e579..209b647b2 100644 --- a/docs/Get-OBSEdgeDetectionShader.md +++ b/docs/Get-OBSEdgeDetectionShader.md @@ -3,7 +3,7 @@ Get-OBSEdgeDetectionShader ### Synopsis -Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-PassThru] [-NoResponse] [] +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InvertEdge** |Type |Required|Position|PipelineInput|Aliases | From eb99b24f95f8b1f6e2dfd0f59084930455fdc41e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:23 +0000 Subject: [PATCH 2055/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSEmbersShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEmbersShader.md b/docs/Get-OBSEmbersShader.md index 9373e6d97..92999c42a 100644 --- a/docs/Get-OBSEmbersShader.md +++ b/docs/Get-OBSEmbersShader.md @@ -3,7 +3,7 @@ Get-OBSEmbersShader ### Synopsis -Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |22 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 6983ac092eb29663c5a1949df5eddd0bb2461926 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:24 +0000 Subject: [PATCH 2056/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSEmbossColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEmbossColorShader.md b/docs/Get-OBSEmbossColorShader.md index a93dc14dd..cf16eb734 100644 --- a/docs/Get-OBSEmbossColorShader.md +++ b/docs/Get-OBSEmbossColorShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossColorShader ### Synopsis -Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From b22faaeef125ee6cc073eeb29c6d81a87ff5520d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:24 +0000 Subject: [PATCH 2057/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSEmbossShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEmbossShader.md b/docs/Get-OBSEmbossShader.md index 279cc5f03..56dea2550 100644 --- a/docs/Get-OBSEmbossShader.md +++ b/docs/Get-OBSEmbossShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossShader ### Synopsis -Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From d993e73bb91e48cfd9cb6ad175a5cb35b8ee789d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:24 +0000 Subject: [PATCH 2058/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSExeldroBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSExeldroBentCameraShader.md b/docs/Get-OBSExeldroBentCameraShader.md index b769bedf2..379fd671a 100644 --- a/docs/Get-OBSExeldroBentCameraShader.md +++ b/docs/Get-OBSExeldroBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSExeldroBentCameraShader ### Synopsis -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] Date: Wed, 14 Feb 2024 20:37:24 +0000 Subject: [PATCH 2059/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFadeTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFadeTransitionShader.md b/docs/Get-OBSFadeTransitionShader.md index c8edec111..52db862e7 100644 --- a/docs/Get-OBSFadeTransitionShader.md +++ b/docs/Get-OBSFadeTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSFadeTransitionShader ### Synopsis -Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| From 444523c1751eed270dd169fe26383b828550a0e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:24 +0000 Subject: [PATCH 2060/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFillColorGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorGradientShader.md b/docs/Get-OBSFillColorGradientShader.md index 7dbf28078..680063f15 100644 --- a/docs/Get-OBSFillColorGradientShader.md +++ b/docs/Get-OBSFillColorGradientShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorGradientShader ### Synopsis -Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientOffset** |Type |Required|Position|PipelineInput|Aliases | From 3a9386a0f23202599e767b92af4da02e0068259d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:24 +0000 Subject: [PATCH 2061/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFillColorLinearShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorLinearShader.md b/docs/Get-OBSFillColorLinearShader.md index 545919b83..970b7a645 100644 --- a/docs/Get-OBSFillColorLinearShader.md +++ b/docs/Get-OBSFillColorLinearShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorLinearShader ### Synopsis -Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 490dedea21ae1ba5fc577a510bfe2318760b6252 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:25 +0000 Subject: [PATCH 2062/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFillColorRadialDegreesShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorRadialDegreesShader.md b/docs/Get-OBSFillColorRadialDegreesShader.md index 8c378b101..4505e7e80 100644 --- a/docs/Get-OBSFillColorRadialDegreesShader.md +++ b/docs/Get-OBSFillColorRadialDegreesShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialDegreesShader ### Synopsis -Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 1d9d5210b2fc9dce3aa0c53a991e49b272a2d494 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:25 +0000 Subject: [PATCH 2063/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFillColorRadialPercentageShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorRadialPercentageShader.md b/docs/Get-OBSFillColorRadialPercentageShader.md index 48a183b10..775a9a894 100644 --- a/docs/Get-OBSFillColorRadialPercentageShader.md +++ b/docs/Get-OBSFillColorRadialPercentageShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialPercentageShader ### Synopsis -Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From ec13ea96a38eeab97eceee2b6aec882e565e38ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:25 +0000 Subject: [PATCH 2064/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFilterTemplateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFilterTemplateShader.md b/docs/Get-OBSFilterTemplateShader.md index 751c318d6..be91c5a84 100644 --- a/docs/Get-OBSFilterTemplateShader.md +++ b/docs/Get-OBSFilterTemplateShader.md @@ -3,7 +3,7 @@ Get-OBSFilterTemplateShader ### Synopsis -Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From f20b1277f7f4abee9c0e57b956f8d0df2dbedb36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:25 +0000 Subject: [PATCH 2065/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFire3Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFire3Shader.md b/docs/Get-OBSFire3Shader.md index e959aa16e..d4c11d146 100644 --- a/docs/Get-OBSFire3Shader.md +++ b/docs/Get-OBSFire3Shader.md @@ -3,7 +3,7 @@ Get-OBSFire3Shader ### Synopsis -Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-PassThru] [-NoResponse] [] +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [] --- @@ -66,6 +66,12 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------|-----------------| |`[float]`|false |22 |false |Flame_Tongue_Size| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **FullWidth** |Type |Required|Position|PipelineInput|Aliases | From 308ab271d082b2fba51e64fffd9892401f0eeb00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:25 +0000 Subject: [PATCH 2066/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFireShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFireShader.md b/docs/Get-OBSFireShader.md index 3118685d1..aa697a0e9 100644 --- a/docs/Get-OBSFireShader.md +++ b/docs/Get-OBSFireShader.md @@ -3,7 +3,7 @@ Get-OBSFireShader ### Synopsis -Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2067/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFireworksShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFireworksShader.md b/docs/Get-OBSFireworksShader.md index 3df2dcb2c..8beb550cd 100644 --- a/docs/Get-OBSFireworksShader.md +++ b/docs/Get-OBSFireworksShader.md @@ -3,7 +3,7 @@ Get-OBSFireworksShader ### Synopsis -Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-PassThru] [-NoResponse] [] +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From cf0418e358886531cbdfd7574ba6ce132cfd6e21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2068/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFisheyeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFisheyeShader.md b/docs/Get-OBSFisheyeShader.md index 7edab9344..0653efdda 100644 --- a/docs/Get-OBSFisheyeShader.md +++ b/docs/Get-OBSFisheyeShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeShader ### Synopsis -Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From ad333b171e6956b2158058cf667f71389ea9aa63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2069/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFisheyeXyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFisheyeXyShader.md b/docs/Get-OBSFisheyeXyShader.md index 7a568dcbd..6a1c88a84 100644 --- a/docs/Get-OBSFisheyeXyShader.md +++ b/docs/Get-OBSFisheyeXyShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeXyShader ### Synopsis -Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 004d5432942ef33c789c16f407e03a694aeb2077 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2070/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSFrostedGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFrostedGlassShader.md b/docs/Get-OBSFrostedGlassShader.md index a6b5989d1..6b3e54faa 100644 --- a/docs/Get-OBSFrostedGlassShader.md +++ b/docs/Get-OBSFrostedGlassShader.md @@ -3,7 +3,7 @@ Get-OBSFrostedGlassShader ### Synopsis -Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-PassThru] [-NoResponse] [] +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | From 96747da9ab5b50c4e59882a33ae0f55ae8fdc8c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2071/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGammaCorrectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGammaCorrectionShader.md b/docs/Get-OBSGammaCorrectionShader.md index 8dd4f1488..b682d0ece 100644 --- a/docs/Get-OBSGammaCorrectionShader.md +++ b/docs/Get-OBSGammaCorrectionShader.md @@ -3,7 +3,7 @@ Get-OBSGammaCorrectionShader ### Synopsis -Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2072/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGaussianBlurAdvancedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianBlurAdvancedShader.md b/docs/Get-OBSGaussianBlurAdvancedShader.md index 0c7cc6805..e83580821 100644 --- a/docs/Get-OBSGaussianBlurAdvancedShader.md +++ b/docs/Get-OBSGaussianBlurAdvancedShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurAdvancedShader ### Synopsis -Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | From 4398481c348fc8acb23daa6d6e51b3a3411ec6df Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:26 +0000 Subject: [PATCH 2073/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGaussianBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianBlurShader.md b/docs/Get-OBSGaussianBlurShader.md index d782d0cab..02bf99e4d 100644 --- a/docs/Get-OBSGaussianBlurShader.md +++ b/docs/Get-OBSGaussianBlurShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurShader ### Synopsis -Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 13db65328a353d85b7bd796a72cb8cd2a3437dec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:27 +0000 Subject: [PATCH 2074/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGaussianBlurSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianBlurSimpleShader.md b/docs/Get-OBSGaussianBlurSimpleShader.md index c739e36f2..9517872c2 100644 --- a/docs/Get-OBSGaussianBlurSimpleShader.md +++ b/docs/Get-OBSGaussianBlurSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurSimpleShader ### Synopsis -Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | From bccab2bed836d3a84020eda39e46e9b535975136 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:27 +0000 Subject: [PATCH 2075/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGaussianExampleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianExampleShader.md b/docs/Get-OBSGaussianExampleShader.md index e9782cb4b..704028263 100644 --- a/docs/Get-OBSGaussianExampleShader.md +++ b/docs/Get-OBSGaussianExampleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianExampleShader ### Synopsis -Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From f6a99eeba1479934f4ac05acbf5642f241628c72 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:27 +0000 Subject: [PATCH 2076/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGaussianSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianSimpleShader.md b/docs/Get-OBSGaussianSimpleShader.md index 6c5c17d13..318da80f8 100644 --- a/docs/Get-OBSGaussianSimpleShader.md +++ b/docs/Get-OBSGaussianSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianSimpleShader ### Synopsis -Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 7cd8216018c6cda8a199428b1046c9ba5657c6a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:27 +0000 Subject: [PATCH 2077/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGbCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGbCameraShader.md b/docs/Get-OBSGbCameraShader.md index 8bea27383..0f8fabbb0 100644 --- a/docs/Get-OBSGbCameraShader.md +++ b/docs/Get-OBSGbCameraShader.md @@ -3,7 +3,7 @@ Get-OBSGbCameraShader ### Synopsis -Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-PassThru] [-NoResponse] [] +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -66,6 +66,12 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gamma** |Type |Required|Position|PipelineInput| From 3ec950f20b801ba195b7b1629d414adefc7872e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:27 +0000 Subject: [PATCH 2078/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlassShader.md b/docs/Get-OBSGlassShader.md index 7d252f273..91d1adfd2 100644 --- a/docs/Get-OBSGlassShader.md +++ b/docs/Get-OBSGlassShader.md @@ -3,7 +3,7 @@ Get-OBSGlassShader ### Synopsis -Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-PassThru] [-NoResponse] [] +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GlassColor** |Type |Required|Position|PipelineInput|Aliases | From d31439deb071a0ad2978e9d557d0158935fdeef5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:27 +0000 Subject: [PATCH 2079/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGlitchAnalogShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlitchAnalogShader.md b/docs/Get-OBSGlitchAnalogShader.md index 16e496c36..d86d063e1 100644 --- a/docs/Get-OBSGlitchAnalogShader.md +++ b/docs/Get-OBSGlitchAnalogShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchAnalogShader ### Synopsis -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HorizontalShake** |Type |Required|Position|PipelineInput|Aliases | From 472208666f19c496a3075ce0ef8513cbd14e9556 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:28 +0000 Subject: [PATCH 2080/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGlitchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlitchShader.md b/docs/Get-OBSGlitchShader.md index 2407c538e..a38f7f32d 100644 --- a/docs/Get-OBSGlitchShader.md +++ b/docs/Get-OBSGlitchShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchShader ### Synopsis -Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 182577cfbd4cb62034e015d2366d44f5269096a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:28 +0000 Subject: [PATCH 2081/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGlowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlowShader.md b/docs/Get-OBSGlowShader.md index 3afe0fde2..949eb3433 100644 --- a/docs/Get-OBSGlowShader.md +++ b/docs/Get-OBSGlowShader.md @@ -3,7 +3,7 @@ Get-OBSGlowShader ### Synopsis -Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-PassThru] [-NoResponse] [] +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | From 1f684663d9a6ac3445dd783cd833281edf417588 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:28 +0000 Subject: [PATCH 2082/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGradientShader.md b/docs/Get-OBSGradientShader.md index 3799643b1..f35b8c9f0 100644 --- a/docs/Get-OBSGradientShader.md +++ b/docs/Get-OBSGradientShader.md @@ -3,7 +3,7 @@ Get-OBSGradientShader ### Synopsis -Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-PassThru] [-NoResponse] [] +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientCenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | From 73c6dd2ddee32ffc50b82659e95ced7fbde7483d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:28 +0000 Subject: [PATCH 2083/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSHalftoneShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHalftoneShader.md b/docs/Get-OBSHalftoneShader.md index fdde28062..837b024c7 100644 --- a/docs/Get-OBSHalftoneShader.md +++ b/docs/Get-OBSHalftoneShader.md @@ -3,7 +3,7 @@ Get-OBSHalftoneShader ### Synopsis -Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c5f4167ea51cc9960646f72495018f7a0781864c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:28 +0000 Subject: [PATCH 2084/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSHeatWaveSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHeatWaveSimpleShader.md b/docs/Get-OBSHeatWaveSimpleShader.md index 37061c366..51b594616 100644 --- a/docs/Get-OBSHeatWaveSimpleShader.md +++ b/docs/Get-OBSHeatWaveSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSHeatWaveSimpleShader ### Synopsis -Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 2915de08edf01c861edae41109d023d5a39c2b0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:28 +0000 Subject: [PATCH 2085/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSHexagonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHexagonShader.md b/docs/Get-OBSHexagonShader.md index 95d2cbf58..d01791998 100644 --- a/docs/Get-OBSHexagonShader.md +++ b/docs/Get-OBSHexagonShader.md @@ -3,7 +3,7 @@ Get-OBSHexagonShader ### Synopsis -Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 03accca96e8eb33b32b206bd8acbb905ba58955d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:29 +0000 Subject: [PATCH 2086/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSHslHsvSaturationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHslHsvSaturationShader.md b/docs/Get-OBSHslHsvSaturationShader.md index 5fb514dfe..ddc716975 100644 --- a/docs/Get-OBSHslHsvSaturationShader.md +++ b/docs/Get-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HslSaturationFactor** |Type |Required|Position|PipelineInput| From 2f940c8e66500e999693b269c07dba378ff269ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:29 +0000 Subject: [PATCH 2087/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSHueRotatonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHueRotatonShader.md b/docs/Get-OBSHueRotatonShader.md index 3ff9806e3..da2e83d14 100644 --- a/docs/Get-OBSHueRotatonShader.md +++ b/docs/Get-OBSHueRotatonShader.md @@ -3,7 +3,7 @@ Get-OBSHueRotatonShader ### Synopsis -Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-PassThru] [-NoResponse] [] +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HueOverride** |Type |Required|Position|PipelineInput|Aliases | From 293294ae8e82a4df6b3049cc4d0bb9cbde48fda4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:30 +0000 Subject: [PATCH 2088/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSIntensityScopeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSIntensityScopeShader.md b/docs/Get-OBSIntensityScopeShader.md index 4b12561a9..f9cab5c04 100644 --- a/docs/Get-OBSIntensityScopeShader.md +++ b/docs/Get-OBSIntensityScopeShader.md @@ -3,7 +3,7 @@ Get-OBSIntensityScopeShader ### Synopsis -Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gain** |Type |Required|Position|PipelineInput| From 92c865b2b2adaf71f26be2aa3d6febfddfb0cae8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:30 +0000 Subject: [PATCH 2089/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSInvertLumaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSInvertLumaShader.md b/docs/Get-OBSInvertLumaShader.md index 7ef2ce620..eb4fbe47f 100644 --- a/docs/Get-OBSInvertLumaShader.md +++ b/docs/Get-OBSInvertLumaShader.md @@ -3,7 +3,7 @@ Get-OBSInvertLumaShader ### Synopsis -Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-PassThru] [-NoResponse] [] +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GammaCorrection** |Type |Required|Position|PipelineInput|Aliases | From bfe75045f2b11d01b4f3685200b7fb297b336734 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:30 +0000 Subject: [PATCH 2090/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSLuminance2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSLuminance2Shader.md b/docs/Get-OBSLuminance2Shader.md index 8fb61355b..ba3455f2d 100644 --- a/docs/Get-OBSLuminance2Shader.md +++ b/docs/Get-OBSLuminance2Shader.md @@ -3,7 +3,7 @@ Get-OBSLuminance2Shader ### Synopsis -Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] Date: Wed, 14 Feb 2024 20:37:30 +0000 Subject: [PATCH 2091/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSLuminanceAlphaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSLuminanceAlphaShader.md b/docs/Get-OBSLuminanceAlphaShader.md index efc796b6f..818fd36ca 100644 --- a/docs/Get-OBSLuminanceAlphaShader.md +++ b/docs/Get-OBSLuminanceAlphaShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceAlphaShader ### Synopsis -Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From bb72c5163bb354be1f155cc20bc2114c152952ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:30 +0000 Subject: [PATCH 2092/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSLuminanceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSLuminanceShader.md b/docs/Get-OBSLuminanceShader.md index f7d3610ef..0034b4425 100644 --- a/docs/Get-OBSLuminanceShader.md +++ b/docs/Get-OBSLuminanceShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceShader ### Synopsis -Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| From 7c6dced1f6eed8e9cf983af9033f186f10bee4b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:30 +0000 Subject: [PATCH 2093/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSMatrixShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSMatrixShader.md b/docs/Get-OBSMatrixShader.md index e192d3ec8..6bff65017 100644 --- a/docs/Get-OBSMatrixShader.md +++ b/docs/Get-OBSMatrixShader.md @@ -3,7 +3,7 @@ Get-OBSMatrixShader ### Synopsis -Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |18 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 3084a99ba6b9ffb4e2f227b975b3b421e89a965f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:31 +0000 Subject: [PATCH 2094/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSMultiplyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSMultiplyShader.md b/docs/Get-OBSMultiplyShader.md index 2393ba8ee..a2dfe9717 100644 --- a/docs/Get-OBSMultiplyShader.md +++ b/docs/Get-OBSMultiplyShader.md @@ -3,7 +3,7 @@ Get-OBSMultiplyShader ### Synopsis -Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c2fceae7be52ea5bec1ad12637acd9c691e07b40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:31 +0000 Subject: [PATCH 2095/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSNightSkyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSNightSkyShader.md b/docs/Get-OBSNightSkyShader.md index 573c2ff97..8aa8fbe30 100644 --- a/docs/Get-OBSNightSkyShader.md +++ b/docs/Get-OBSNightSkyShader.md @@ -3,7 +3,7 @@ Get-OBSNightSkyShader ### Synopsis -Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-PassThru] [-NoResponse] [] +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IncludeClouds** |Type |Required|Position|PipelineInput|Aliases | From de583c695f64352b4e3aca569263a35612a9e3be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:31 +0000 Subject: [PATCH 2096/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSOpacityShader.md b/docs/Get-OBSOpacityShader.md index 514388b73..90eba35d0 100644 --- a/docs/Get-OBSOpacityShader.md +++ b/docs/Get-OBSOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSOpacityShader ### Synopsis -Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 3fba89ab18e838b15116463d37ce89fe0886e1b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:31 +0000 Subject: [PATCH 2097/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPagePeelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPagePeelShader.md b/docs/Get-OBSPagePeelShader.md index f579da30c..dea4f7354 100644 --- a/docs/Get-OBSPagePeelShader.md +++ b/docs/Get-OBSPagePeelShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelShader ### Synopsis -Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] Date: Wed, 14 Feb 2024 20:37:31 +0000 Subject: [PATCH 2098/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPagePeelTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPagePeelTransitionShader.md b/docs/Get-OBSPagePeelTransitionShader.md index 27c6f7daf..fd2287b32 100644 --- a/docs/Get-OBSPagePeelTransitionShader.md +++ b/docs/Get-OBSPagePeelTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelTransitionShader ### Synopsis -Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| From 8234794946f8c8b64fec9920e7fe4ff66e98968e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:31 +0000 Subject: [PATCH 2099/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPerlinNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPerlinNoiseShader.md b/docs/Get-OBSPerlinNoiseShader.md index 180276c32..c5ad93eb3 100644 --- a/docs/Get-OBSPerlinNoiseShader.md +++ b/docs/Get-OBSPerlinNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSPerlinNoiseShader ### Synopsis -Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-PassThru] [-NoResponse] [] +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Inverted** |Type |Required|Position|PipelineInput| From b9f1547de6271465280dae105473ad4fbc49357e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:32 +0000 Subject: [PATCH 2100/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPieChartShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPieChartShader.md b/docs/Get-OBSPieChartShader.md index 9d45c327a..7a6855fed 100644 --- a/docs/Get-OBSPieChartShader.md +++ b/docs/Get-OBSPieChartShader.md @@ -3,7 +3,7 @@ Get-OBSPieChartShader ### Synopsis -Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -78,6 +78,12 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |----------|--------|--------|---------------------| |`[string]`|false |25 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InnerRadius** |Type |Required|Position|PipelineInput|Aliases | From 74b351e07cd010d536200873a431b643ed114cff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:32 +0000 Subject: [PATCH 2101/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPixelationShader.md b/docs/Get-OBSPixelationShader.md index fab84d7bd..90a43e4aa 100644 --- a/docs/Get-OBSPixelationShader.md +++ b/docs/Get-OBSPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationShader ### Synopsis -Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 2a719a36c7a386dbab5cdfb225cdc9a8818c00ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:32 +0000 Subject: [PATCH 2102/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPixelationTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPixelationTransitionShader.md b/docs/Get-OBSPixelationTransitionShader.md index 8d7f4bad4..a34c7a6e7 100644 --- a/docs/Get-OBSPixelationTransitionShader.md +++ b/docs/Get-OBSPixelationTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationTransitionShader ### Synopsis -Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From f730d8da77bb5ef5761c4743bb2598ed1df67f5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:32 +0000 Subject: [PATCH 2103/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSPulseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPulseShader.md b/docs/Get-OBSPulseShader.md index 944a51b94..ccefad9b8 100644 --- a/docs/Get-OBSPulseShader.md +++ b/docs/Get-OBSPulseShader.md @@ -3,7 +3,7 @@ Get-OBSPulseShader ### Synopsis -Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 3e0936351216455023e737f1b4bad2fbb5eb3ed8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:32 +0000 Subject: [PATCH 2104/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRainbowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRainbowShader.md b/docs/Get-OBSRainbowShader.md index d9c4b3399..4f81a61ad 100644 --- a/docs/Get-OBSRainbowShader.md +++ b/docs/Get-OBSRainbowShader.md @@ -3,7 +3,7 @@ Get-OBSRainbowShader ### Synopsis -Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Luminosity** |Type |Required|Position|PipelineInput| From 26da378b7fff63491ee6d6344f2b81a5f041d5c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:32 +0000 Subject: [PATCH 2105/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRainWindowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRainWindowShader.md b/docs/Get-OBSRainWindowShader.md index 055e58bfc..594e61dfd 100644 --- a/docs/Get-OBSRainWindowShader.md +++ b/docs/Get-OBSRainWindowShader.md @@ -3,7 +3,7 @@ Get-OBSRainWindowShader ### Synopsis -Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-PassThru] [-NoResponse] [] +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From f0041319cdb2e4617b772c487682c4a26aa95432 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2106/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRectangularDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRectangularDropShadowShader.md b/docs/Get-OBSRectangularDropShadowShader.md index db6542480..dbc35ba12 100644 --- a/docs/Get-OBSRectangularDropShadowShader.md +++ b/docs/Get-OBSRectangularDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSRectangularDropShadowShader ### Synopsis -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2107/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRemovePartialPixelsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRemovePartialPixelsShader.md b/docs/Get-OBSRemovePartialPixelsShader.md index ec8112e5e..4c99679ed 100644 --- a/docs/Get-OBSRemovePartialPixelsShader.md +++ b/docs/Get-OBSRemovePartialPixelsShader.md @@ -3,7 +3,7 @@ Get-OBSRemovePartialPixelsShader ### Synopsis -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2108/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRepeatShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRepeatShader.md b/docs/Get-OBSRepeatShader.md index 6d2c22dcc..e19bd5cc4 100644 --- a/docs/Get-OBSRepeatShader.md +++ b/docs/Get-OBSRepeatShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatShader ### Synopsis -Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 2c4b550f2d7b48fc0ef832f7bbf17360bbb8e945 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2109/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRepeatTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRepeatTextureShader.md b/docs/Get-OBSRepeatTextureShader.md index 3b02198d5..033fc3de5 100644 --- a/docs/Get-OBSRepeatTextureShader.md +++ b/docs/Get-OBSRepeatTextureShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatTextureShader ### Synopsis -Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |----------|--------|--------|---------------------| |`[string]`|false |17 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 18e4b9478e91e3548a34b5f42d673818cd320569 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2110/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRgbColorWheelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRgbColorWheelShader.md b/docs/Get-OBSRgbColorWheelShader.md index 52a229d96..1152ecf46 100644 --- a/docs/Get-OBSRgbColorWheelShader.md +++ b/docs/Get-OBSRgbColorWheelShader.md @@ -3,7 +3,7 @@ Get-OBSRgbColorWheelShader ### Synopsis -Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From b9b989c07224ae6a0522712f42d172c01ed40d17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2111/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRgbSplitShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRgbSplitShader.md b/docs/Get-OBSRgbSplitShader.md index 3d6a3bbad..40369837c 100644 --- a/docs/Get-OBSRgbSplitShader.md +++ b/docs/Get-OBSRgbSplitShader.md @@ -3,7 +3,7 @@ Get-OBSRgbSplitShader ### Synopsis -Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Greenx** |Type |Required|Position|PipelineInput| From 7eaa0514ccff357b6992f1fd33a49bf5fa81dd66 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2112/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRgbvisibilityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRgbvisibilityShader.md b/docs/Get-OBSRgbvisibilityShader.md index 96e19a467..39f084a41 100644 --- a/docs/Get-OBSRgbvisibilityShader.md +++ b/docs/Get-OBSRgbvisibilityShader.md @@ -3,7 +3,7 @@ Get-OBSRgbvisibilityShader ### Synopsis -Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Green** |Type |Required|Position|PipelineInput| From 69db99eb9c8a194f565c36af90190393586716e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:33 +0000 Subject: [PATCH 2113/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRippleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRippleShader.md b/docs/Get-OBSRippleShader.md index 53e350f99..9d84e3bda 100644 --- a/docs/Get-OBSRippleShader.md +++ b/docs/Get-OBSRippleShader.md @@ -3,7 +3,7 @@ Get-OBSRippleShader ### Synopsis -Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From cd5c1819418cbb9bdef1b29159d9ba9e939a9270 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2114/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRotatingSourceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRotatingSourceShader.md b/docs/Get-OBSRotatingSourceShader.md index 3f3c7014e..d29e8cbbe 100644 --- a/docs/Get-OBSRotatingSourceShader.md +++ b/docs/Get-OBSRotatingSourceShader.md @@ -3,7 +3,7 @@ Get-OBSRotatingSourceShader ### Synopsis -Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-PassThru] [-NoResponse] [] +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **KeepAspectratio** |Type |Required|Position|PipelineInput|Aliases | From d49e31f93fb488a73d0c193fc59ae3a20ace6b62 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2115/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRotatoeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRotatoeShader.md b/docs/Get-OBSRotatoeShader.md index b6a7a83b6..c8edaec01 100644 --- a/docs/Get-OBSRotatoeShader.md +++ b/docs/Get-OBSRotatoeShader.md @@ -3,7 +3,7 @@ Get-OBSRotatoeShader ### Synopsis -Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-PassThru] [-NoResponse] [] +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------| |`[string]`|false |17 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 2e5cc46a4e7fb75e54e35b225e66187ffb1ee68c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2116/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRoundedRect2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRect2Shader.md b/docs/Get-OBSRoundedRect2Shader.md index 8bf0925e4..d201f2819 100644 --- a/docs/Get-OBSRoundedRect2Shader.md +++ b/docs/Get-OBSRoundedRect2Shader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRect2Shader ### Synopsis -Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 398aeaa4e9dd03399a9fee7d7681859f5865697b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2117/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRoundedRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRectPerCornerShader.md b/docs/Get-OBSRoundedRectPerCornerShader.md index 21053e7e1..1b2f1d1f1 100644 --- a/docs/Get-OBSRoundedRectPerCornerShader.md +++ b/docs/Get-OBSRoundedRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerCornerShader ### Synopsis -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 18abb93805adc9d18f2d1d4aeec0fd9febe81adc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2118/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRoundedRectPerSideShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRectPerSideShader.md b/docs/Get-OBSRoundedRectPerSideShader.md index c5941de0a..609b9fd6d 100644 --- a/docs/Get-OBSRoundedRectPerSideShader.md +++ b/docs/Get-OBSRoundedRectPerSideShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerSideShader ### Synopsis -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 50e4ccdf36637fd5c7454cea0bf91dd45296a784 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2119/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRoundedRectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRectShader.md b/docs/Get-OBSRoundedRectShader.md index 11236ac07..bdb6d6e5f 100644 --- a/docs/Get-OBSRoundedRectShader.md +++ b/docs/Get-OBSRoundedRectShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectShader ### Synopsis -Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From d1a05dfeeac0767b4d3a562cd0d3ff212d99d76b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2120/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRoundedStrokeGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedStrokeGradientShader.md b/docs/Get-OBSRoundedStrokeGradientShader.md index 0fba62aff..b51f597f9 100644 --- a/docs/Get-OBSRoundedStrokeGradientShader.md +++ b/docs/Get-OBSRoundedStrokeGradientShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeGradientShader ### Synopsis -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | From 845c00d2d832b4c13096b02636cb7186b1702186 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2121/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSRoundedStrokeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedStrokeShader.md b/docs/Get-OBSRoundedStrokeShader.md index c1e289a07..a7fa44f08 100644 --- a/docs/Get-OBSRoundedStrokeShader.md +++ b/docs/Get-OBSRoundedStrokeShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeShader ### Synopsis -Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | From f40aefbb3c297fad46a0e32e81b6d8b86050f965 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:34 +0000 Subject: [PATCH 2122/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSScanLineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSScanLineShader.md b/docs/Get-OBSScanLineShader.md index 53ed79fc2..99fa69340 100644 --- a/docs/Get-OBSScanLineShader.md +++ b/docs/Get-OBSScanLineShader.md @@ -3,7 +3,7 @@ Get-OBSScanLineShader ### Synopsis -Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-PassThru] [-NoResponse] [] +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |---------|--------|--------|-------------| |`[float]`|false |2 |false | +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Lengthwise** |Type |Required|Position|PipelineInput| From 1eb4180bbd0a1241aeeb36a2bbe7ee2ac20b4d99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:35 +0000 Subject: [PATCH 2123/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSeascapeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSeascapeShader.md b/docs/Get-OBSSeascapeShader.md index d68851f55..35ec3f5c8 100644 --- a/docs/Get-OBSSeascapeShader.md +++ b/docs/Get-OBSSeascapeShader.md @@ -3,7 +3,7 @@ Get-OBSSeascapeShader ### Synopsis -Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-PassThru] [-NoResponse] [] +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From e54f52962c67cc899701ab257d07236df572f9a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:35 +0000 Subject: [PATCH 2124/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSeasickShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSeasickShader.md b/docs/Get-OBSSeasickShader.md index 58298e4f7..eeb8feec1 100644 --- a/docs/Get-OBSSeasickShader.md +++ b/docs/Get-OBSSeasickShader.md @@ -3,7 +3,7 @@ Get-OBSSeasickShader ### Synopsis -Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] Date: Wed, 14 Feb 2024 20:37:36 +0000 Subject: [PATCH 2125/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSelectiveColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSelectiveColorShader.md b/docs/Get-OBSSelectiveColorShader.md index 4dbe2174d..7adb75f74 100644 --- a/docs/Get-OBSSelectiveColorShader.md +++ b/docs/Get-OBSSelectiveColorShader.md @@ -3,7 +3,7 @@ Get-OBSSelectiveColorShader ### Synopsis -Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-PassThru] [-NoResponse] [] +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From e5f241757a6ba4e6fe5556f227e9727678bd5871 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:36 +0000 Subject: [PATCH 2126/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSShakeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSShakeShader.md b/docs/Get-OBSShakeShader.md index 0fb789c6d..3525c2c3e 100644 --- a/docs/Get-OBSShakeShader.md +++ b/docs/Get-OBSShakeShader.md @@ -3,7 +3,7 @@ Get-OBSShakeShader ### Synopsis -Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-PassThru] [-NoResponse] [] +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 7d37c9d7e196481cff1eb723694d1ea869bbe76f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:36 +0000 Subject: [PATCH 2127/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSShineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSShineShader.md b/docs/Get-OBSShineShader.md index 7101b420f..caa1c9046 100644 --- a/docs/Get-OBSShineShader.md +++ b/docs/Get-OBSShineShader.md @@ -3,7 +3,7 @@ Get-OBSShineShader ### Synopsis -Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 8e08739f4f15a072e250059647b9769a1ad06071 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:36 +0000 Subject: [PATCH 2128/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSimpleGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSimpleGradientShader.md b/docs/Get-OBSSimpleGradientShader.md index c6a9b2453..25a63cc38 100644 --- a/docs/Get-OBSSimpleGradientShader.md +++ b/docs/Get-OBSSimpleGradientShader.md @@ -3,7 +3,7 @@ Get-OBSSimpleGradientShader ### Synopsis -Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **LensFlair** |Type |Required|Position|PipelineInput|Aliases | From 704196baed0ab727dea2119547f0e8bf3f0beaf6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:36 +0000 Subject: [PATCH 2129/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSimplexNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSimplexNoiseShader.md b/docs/Get-OBSSimplexNoiseShader.md index 19853adf9..bfbd588b2 100644 --- a/docs/Get-OBSSimplexNoiseShader.md +++ b/docs/Get-OBSSimplexNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSSimplexNoiseShader ### Synopsis -Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ForeColor** |Type |Required|Position|PipelineInput|Aliases | From f4ebc54e5b4bdfa9c949636f73a3f45279e97ac6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:37 +0000 Subject: [PATCH 2130/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSpotlightShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSpotlightShader.md b/docs/Get-OBSSpotlightShader.md index dccc93508..8d7e9e009 100644 --- a/docs/Get-OBSSpotlightShader.md +++ b/docs/Get-OBSSpotlightShader.md @@ -3,7 +3,7 @@ Get-OBSSpotlightShader ### Synopsis -Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp |---------|--------|--------|-------------|-------------| |`[float]`|false |1 |false |Focus_Percent| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From cfe41f85d71b1cdefd7adb5c9752d69938066117 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:37 +0000 Subject: [PATCH 2131/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSSwirlShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSwirlShader.md b/docs/Get-OBSSwirlShader.md index 176305882..60ee51dcd 100644 --- a/docs/Get-OBSSwirlShader.md +++ b/docs/Get-OBSSwirlShader.md @@ -3,7 +3,7 @@ Get-OBSSwirlShader ### Synopsis -Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-PassThru] [-NoResponse] [] +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Inverse** |Type |Required|Position|PipelineInput| From 1ad4e1f59f2f437c9d9fde5c3618e74adbc039a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:37 +0000 Subject: [PATCH 2132/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSThermalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSThermalShader.md b/docs/Get-OBSThermalShader.md index c4b01af03..fb794b67f 100644 --- a/docs/Get-OBSThermalShader.md +++ b/docs/Get-OBSThermalShader.md @@ -3,7 +3,7 @@ Get-OBSThermalShader ### Synopsis -Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 3009984536702b7a4c9de0d6fc83bba09bff2c91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:37 +0000 Subject: [PATCH 2133/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSTvCrtSubpixelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSTvCrtSubpixelShader.md b/docs/Get-OBSTvCrtSubpixelShader.md index 1506f80ef..2c553934a 100644 --- a/docs/Get-OBSTvCrtSubpixelShader.md +++ b/docs/Get-OBSTvCrtSubpixelShader.md @@ -3,7 +3,7 @@ Get-OBSTvCrtSubpixelShader ### Synopsis -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HGap** |Type |Required|Position|PipelineInput| From 1811980712b66cb011ad5e88b117d6c30f0ee846 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:37 +0000 Subject: [PATCH 2134/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSTwistShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSTwistShader.md b/docs/Get-OBSTwistShader.md index 910001309..ecd16bc6f 100644 --- a/docs/Get-OBSTwistShader.md +++ b/docs/Get-OBSTwistShader.md @@ -3,7 +3,7 @@ Get-OBSTwistShader ### Synopsis -Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 59fe33b47f0c822a4656afd374f82aecab94d348 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:37 +0000 Subject: [PATCH 2135/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSTwoPassDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSTwoPassDropShadowShader.md b/docs/Get-OBSTwoPassDropShadowShader.md index f730883f5..d7a9c9493 100644 --- a/docs/Get-OBSTwoPassDropShadowShader.md +++ b/docs/Get-OBSTwoPassDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSTwoPassDropShadowShader ### Synopsis -Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 17cd51bd36dcfc1f4731e2738bf1235065426e1b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2136/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSVCRShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVCRShader.md b/docs/Get-OBSVCRShader.md index 2245dab2f..1ee7c0520 100644 --- a/docs/Get-OBSVCRShader.md +++ b/docs/Get-OBSVCRShader.md @@ -3,7 +3,7 @@ Get-OBSVCRShader ### Synopsis -Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2137/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSVHSShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVHSShader.md b/docs/Get-OBSVHSShader.md index 43b99ca7d..771aa0102 100644 --- a/docs/Get-OBSVHSShader.md +++ b/docs/Get-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 8bf917079e9816f9da98a80b8da6344717122ba8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2138/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSVignettingShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVignettingShader.md b/docs/Get-OBSVignettingShader.md index 7b4284ede..35801fd34 100644 --- a/docs/Get-OBSVignettingShader.md +++ b/docs/Get-OBSVignettingShader.md @@ -3,7 +3,7 @@ Get-OBSVignettingShader ### Synopsis -Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InnerRadius** |Type |Required|Position|PipelineInput| From 7045ca98d348829eb0995aae0d456984fde9afe1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2139/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSVoronoiPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVoronoiPixelationShader.md b/docs/Get-OBSVoronoiPixelationShader.md index 199e0267f..8dbb0a4ed 100644 --- a/docs/Get-OBSVoronoiPixelationShader.md +++ b/docs/Get-OBSVoronoiPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSVoronoiPixelationShader ### Synopsis -Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-PassThru] [-NoResponse] [] +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 7855bfed0c275571518438ebef1031c3a687fffa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2140/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSZigZagShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSZigZagShader.md b/docs/Get-OBSZigZagShader.md index 1ea37ec5b..18d784361 100644 --- a/docs/Get-OBSZigZagShader.md +++ b/docs/Get-OBSZigZagShader.md @@ -3,7 +3,7 @@ Get-OBSZigZagShader ### Synopsis -Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 26e7efa9db83ee0fc98673a59b42b8bb6f0f1796 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2141/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSZoomBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSZoomBlurShader.md b/docs/Get-OBSZoomBlurShader.md index 377933c03..e6bb238a7 100644 --- a/docs/Get-OBSZoomBlurShader.md +++ b/docs/Get-OBSZoomBlurShader.md @@ -3,7 +3,7 @@ Get-OBSZoomBlurShader ### Synopsis -Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 739ade916269e1a763a09d97896ce4efe3a2ca51 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:38 +0000 Subject: [PATCH 2142/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Get-OBSZoomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSZoomShader.md b/docs/Get-OBSZoomShader.md index e0aba75c6..229353324 100644 --- a/docs/Get-OBSZoomShader.md +++ b/docs/Get-OBSZoomShader.md @@ -3,7 +3,7 @@ Get-OBSZoomShader ### Synopsis -Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From ff34d2f84880031387d634f073130dcad3f26d7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:43 +0000 Subject: [PATCH 2143/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSShaderFilter.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSShaderFilter.md b/docs/Set-OBSShaderFilter.md index dbda51bb1..b9e71b640 100644 --- a/docs/Set-OBSShaderFilter.md +++ b/docs/Set-OBSShaderFilter.md @@ -18,11 +18,33 @@ This requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shader ```PowerShell Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | - Set-OBSShaderFilter -FilterName "Shader" -ShaderFile fisheye-xy -ShaderSetting @{ + Set-OBSShaderFilter -FilterName "FisheyeShader" -ShaderFile fisheye-xy -ShaderSetting @{ center_x_percent=30 center_y_percent=70 } ``` +> EXAMPLE 2 + +```PowerShell +Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "SeasickShader" -ShaderFile seasick -ShaderSetting @{ + amplitude = 0.05 + speed = 0.5 + frequency = 12 + opacity = 1 + } +``` +> EXAMPLE 3 + +```PowerShell +Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "TwistShader" -ShaderFile twist -ShaderSetting @{ + center_x_percent=50 + center_y_percent=50 + power = 0.05 + rotation = 80 + } +``` --- From 0b3cff3f4639242f0533d19713e1ef1549ef59eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2144/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAddShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAddShader.md b/docs/Add-OBSAddShader.md index a5b24f4f1..fb7a0df88 100644 --- a/docs/Add-OBSAddShader.md +++ b/docs/Add-OBSAddShader.md @@ -3,7 +3,7 @@ Get-OBSAddShader ### Synopsis -Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From d85d89cd4981db22377845684bfa800be9969482 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2145/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAlphaBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAlphaBorderShader.md b/docs/Add-OBSAlphaBorderShader.md index eb0229742..89b20ec13 100644 --- a/docs/Add-OBSAlphaBorderShader.md +++ b/docs/Add-OBSAlphaBorderShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaBorderShader ### Synopsis -Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 10bbbe1a058c11c09a452ca9e6789b0309bea64b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2146/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAlphaGamingBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAlphaGamingBentCameraShader.md b/docs/Add-OBSAlphaGamingBentCameraShader.md index 8eae8d867..bcdd52b82 100644 --- a/docs/Add-OBSAlphaGamingBentCameraShader.md +++ b/docs/Add-OBSAlphaGamingBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaGamingBentCameraShader ### Synopsis -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **LeftFlipShadow** |Type |Required|Position|PipelineInput|Aliases | From bbb04fe9d36101c6b4c162eb361fbdf3e5af27d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2147/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAnimatedPathShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAnimatedPathShader.md b/docs/Add-OBSAnimatedPathShader.md index 5f440f970..395279b95 100644 --- a/docs/Add-OBSAnimatedPathShader.md +++ b/docs/Add-OBSAnimatedPathShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedPathShader ### Synopsis -Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 17e3b5edf567fe1fc3cf7d887e97df0ff1a8023e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2148/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAnimatedTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAnimatedTextureShader.md b/docs/Add-OBSAnimatedTextureShader.md index a957f339d..87bf5cafa 100644 --- a/docs/Add-OBSAnimatedTextureShader.md +++ b/docs/Add-OBSAnimatedTextureShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedTextureShader ### Synopsis -Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|---------------------| |`[string]`|false |19 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 7a9a6a0405732e035c233604fa4b0d4599c4f6c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2149/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAsciiShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAsciiShader.md b/docs/Add-OBSAsciiShader.md index 547c8783d..38f04236a 100644 --- a/docs/Add-OBSAsciiShader.md +++ b/docs/Add-OBSAsciiShader.md @@ -3,7 +3,7 @@ Get-OBSAsciiShader ### Synopsis -Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-PassThru] [-NoResponse] [] +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2150/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSAspectRatioShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAspectRatioShader.md b/docs/Add-OBSAspectRatioShader.md index cf836393d..7f25093b4 100644 --- a/docs/Add-OBSAspectRatioShader.md +++ b/docs/Add-OBSAspectRatioShader.md @@ -3,7 +3,7 @@ Get-OBSAspectRatioShader ### Synopsis -Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 9a660fa1ba9104fbddcec736eea53f1dea4aa5fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2151/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBackgroundRemovalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBackgroundRemovalShader.md b/docs/Add-OBSBackgroundRemovalShader.md index 65b1fae79..4117a391f 100644 --- a/docs/Add-OBSBackgroundRemovalShader.md +++ b/docs/Add-OBSBackgroundRemovalShader.md @@ -3,7 +3,7 @@ Get-OBSBackgroundRemovalShader ### Synopsis -Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-PassThru] [-NoResponse] [] +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From f1bc5610b75a43e7d0aa9c8a504522a518441691 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:46 +0000 Subject: [PATCH 2152/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBlendOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBlendOpacityShader.md b/docs/Add-OBSBlendOpacityShader.md index be37ba2cb..7bf9da06f 100644 --- a/docs/Add-OBSBlendOpacityShader.md +++ b/docs/Add-OBSBlendOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSBlendOpacityShader ### Synopsis -Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2153/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBlinkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBlinkShader.md b/docs/Add-OBSBlinkShader.md index 27529a6b5..5b3e942bd 100644 --- a/docs/Add-OBSBlinkShader.md +++ b/docs/Add-OBSBlinkShader.md @@ -3,7 +3,7 @@ Get-OBSBlinkShader ### Synopsis -Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2154/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBloomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBloomShader.md b/docs/Add-OBSBloomShader.md index 0ea848a99..161969887 100644 --- a/docs/Add-OBSBloomShader.md +++ b/docs/Add-OBSBloomShader.md @@ -3,7 +3,7 @@ Get-OBSBloomShader ### Synopsis -Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2155/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBorderShader.md b/docs/Add-OBSBorderShader.md index 189107e70..fadeb50ff 100644 --- a/docs/Add-OBSBorderShader.md +++ b/docs/Add-OBSBorderShader.md @@ -3,7 +3,7 @@ Get-OBSBorderShader ### Synopsis -Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 0f122fdd2377c6fa0fc9d0c697bcf34a5a8ebaba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2156/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBoxBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBoxBlurShader.md b/docs/Add-OBSBoxBlurShader.md index c0e6cfcf2..7f7ca04f4 100644 --- a/docs/Add-OBSBoxBlurShader.md +++ b/docs/Add-OBSBoxBlurShader.md @@ -3,7 +3,7 @@ Get-OBSBoxBlurShader ### Synopsis -Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2157/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBulgePinchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBulgePinchShader.md b/docs/Add-OBSBulgePinchShader.md index 9b256b68a..f100f241c 100644 --- a/docs/Add-OBSBulgePinchShader.md +++ b/docs/Add-OBSBulgePinchShader.md @@ -3,7 +3,7 @@ Get-OBSBulgePinchShader ### Synopsis -Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-PassThru] [-NoResponse] [] +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Magnitude** |Type |Required|Position|PipelineInput| From 8bf8c14c2c1ffbf8f97124d502b94360639abf63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2158/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSBurnShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBurnShader.md b/docs/Add-OBSBurnShader.md index 960ca8967..60d44b60a 100644 --- a/docs/Add-OBSBurnShader.md +++ b/docs/Add-OBSBurnShader.md @@ -3,7 +3,7 @@ Get-OBSBurnShader ### Synopsis -Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-PassThru] [-NoResponse] [] +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientAdjust** |Type |Required|Position|PipelineInput|Aliases | From ddbb1f379e92ef219808289da618913161c14e94 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2159/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCartoonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCartoonShader.md b/docs/Add-OBSCartoonShader.md index d2ea4374d..1b4ce0c62 100644 --- a/docs/Add-OBSCartoonShader.md +++ b/docs/Add-OBSCartoonShader.md @@ -3,7 +3,7 @@ Get-OBSCartoonShader ### Synopsis -Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HueSteps** |Type |Required|Position|PipelineInput|Aliases | From 7e1d2a27a6c759c135d6c7de9b5401b591bfd8f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2160/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCellShadedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCellShadedShader.md b/docs/Add-OBSCellShadedShader.md index 3f39b14ec..5efcd4646 100644 --- a/docs/Add-OBSCellShadedShader.md +++ b/docs/Add-OBSCellShadedShader.md @@ -3,7 +3,7 @@ Get-OBSCellShadedShader ### Synopsis -Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From fe81b2ca5e6d192619fe50b70dcca386b7f2e20f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2161/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSChromaticAberrationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSChromaticAberrationShader.md b/docs/Add-OBSChromaticAberrationShader.md index fb81e3460..143ee2651 100644 --- a/docs/Add-OBSChromaticAberrationShader.md +++ b/docs/Add-OBSChromaticAberrationShader.md @@ -3,7 +3,7 @@ Get-OBSChromaticAberrationShader ### Synopsis -Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-PassThru] [-NoResponse] [] +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gamma** |Type |Required|Position|PipelineInput| From 898a3e986c29d6f4979c87ee2cec3fcb1688957e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2162/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSChromaUVDistortionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSChromaUVDistortionShader.md b/docs/Add-OBSChromaUVDistortionShader.md index bf55ffa54..f062a3687 100644 --- a/docs/Add-OBSChromaUVDistortionShader.md +++ b/docs/Add-OBSChromaUVDistortionShader.md @@ -3,7 +3,7 @@ Get-OBSChromaUVDistortionShader ### Synopsis -Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 4aa060335cf127b7b4d22f2872a9b30decffd21f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:47 +0000 Subject: [PATCH 2163/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCircleMaskFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCircleMaskFilterShader.md b/docs/Add-OBSCircleMaskFilterShader.md index f6e2308c9..f435303d9 100644 --- a/docs/Add-OBSCircleMaskFilterShader.md +++ b/docs/Add-OBSCircleMaskFilterShader.md @@ -3,7 +3,7 @@ Get-OBSCircleMaskFilterShader ### Synopsis -Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-PassThru] [-NoResponse] [] +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 1c99562eeae20ef3f700a5aacd6fddd7062bfce1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2164/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSColorDepthShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSColorDepthShader.md b/docs/Add-OBSColorDepthShader.md index ce70ce642..e638c83bd 100644 --- a/docs/Add-OBSColorDepthShader.md +++ b/docs/Add-OBSColorDepthShader.md @@ -3,7 +3,7 @@ Get-OBSColorDepthShader ### Synopsis -Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 89deed4574b00974336eb2bece710a22a20ebbd1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2165/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSColorGradeFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSColorGradeFilterShader.md b/docs/Add-OBSColorGradeFilterShader.md index 67a9e2233..1710b874c 100644 --- a/docs/Add-OBSColorGradeFilterShader.md +++ b/docs/Add-OBSColorGradeFilterShader.md @@ -3,7 +3,7 @@ Get-OBSColorGradeFilterShader ### Synopsis -Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Lut** |Type |Required|Position|PipelineInput| From 2187e4bb84bab863d0966f6527e1fd9f62a0bbee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2166/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCornerPinShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCornerPinShader.md b/docs/Add-OBSCornerPinShader.md index 59f1ca217..d6c10bc0a 100644 --- a/docs/Add-OBSCornerPinShader.md +++ b/docs/Add-OBSCornerPinShader.md @@ -3,7 +3,7 @@ Get-OBSCornerPinShader ### Synopsis -Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-PassThru] [-NoResponse] [] +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 1381a22ca93fe557552d38422a5a12216f66fdac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2167/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCrtCurvatureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCrtCurvatureShader.md b/docs/Add-OBSCrtCurvatureShader.md index a52832279..be690aed4 100644 --- a/docs/Add-OBSCrtCurvatureShader.md +++ b/docs/Add-OBSCrtCurvatureShader.md @@ -3,7 +3,7 @@ Get-OBSCrtCurvatureShader ### Synopsis -Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c8686c65bb91db8363ff47097be635e55e1415ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2168/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCutRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCutRectPerCornerShader.md b/docs/Add-OBSCutRectPerCornerShader.md index 6ab6819b2..e1e6c137a 100644 --- a/docs/Add-OBSCutRectPerCornerShader.md +++ b/docs/Add-OBSCutRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSCutRectPerCornerShader ### Synopsis -Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 26ea92dea472fbea1b6ba85e5ce01b5a3d6ff051 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2169/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSCylinderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCylinderShader.md b/docs/Add-OBSCylinderShader.md index 650553fc5..5bb36395a 100644 --- a/docs/Add-OBSCylinderShader.md +++ b/docs/Add-OBSCylinderShader.md @@ -3,7 +3,7 @@ Get-OBSCylinderShader ### Synopsis -Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 5261164537184c3fd79dc69c841501558f0eb02b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2170/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDarkenShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDarkenShader.md b/docs/Add-OBSDarkenShader.md index 52acb2ee0..6a81b5ac1 100644 --- a/docs/Add-OBSDarkenShader.md +++ b/docs/Add-OBSDarkenShader.md @@ -3,7 +3,7 @@ Get-OBSDarkenShader ### Synopsis -Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 1250a2897317640499055d6535154441d1408ed9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2171/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDeadPixelFixerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDeadPixelFixerShader.md b/docs/Add-OBSDeadPixelFixerShader.md index 240cf09ca..fa4e4cea9 100644 --- a/docs/Add-OBSDeadPixelFixerShader.md +++ b/docs/Add-OBSDeadPixelFixerShader.md @@ -3,7 +3,7 @@ Get-OBSDeadPixelFixerShader ### Synopsis -Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 39f517cd54d2e54d3b86a79ac1c529a59caef6e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2172/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDivideRotateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDivideRotateShader.md b/docs/Add-OBSDivideRotateShader.md index 72daf0664..99bf961ca 100644 --- a/docs/Add-OBSDivideRotateShader.md +++ b/docs/Add-OBSDivideRotateShader.md @@ -3,7 +3,7 @@ Get-OBSDivideRotateShader ### Synopsis -Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IChannel0** |Type |Required|Position|PipelineInput| From 9206cc0cd25fb82654ea386b30daf603cf368520 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:48 +0000 Subject: [PATCH 2173/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDoodleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDoodleShader.md b/docs/Add-OBSDoodleShader.md index 47f7d4e54..9a76ab712 100644 --- a/docs/Add-OBSDoodleShader.md +++ b/docs/Add-OBSDoodleShader.md @@ -3,7 +3,7 @@ Get-OBSDoodleShader ### Synopsis -Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From d8c2a1776b98b9e4fb78f4e09bd7dae324200dfc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2174/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDrawingsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDrawingsShader.md b/docs/Add-OBSDrawingsShader.md index 07b0d863c..389229d55 100644 --- a/docs/Add-OBSDrawingsShader.md +++ b/docs/Add-OBSDrawingsShader.md @@ -3,7 +3,7 @@ Get-OBSDrawingsShader ### Synopsis -Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2175/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDropShadowShader.md b/docs/Add-OBSDropShadowShader.md index 0822f6f2a..625008889 100644 --- a/docs/Add-OBSDropShadowShader.md +++ b/docs/Add-OBSDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSDropShadowShader ### Synopsis -Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | From 2918dd99698429b32d5f03fa4bf7eb9c658492b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2176/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDrunkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDrunkShader.md b/docs/Add-OBSDrunkShader.md index c4f47f808..230e425a8 100644 --- a/docs/Add-OBSDrunkShader.md +++ b/docs/Add-OBSDrunkShader.md @@ -3,7 +3,7 @@ Get-OBSDrunkShader ### Synopsis -Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 9222f7a0a7f4f0c3df4e66f4b7d60dbb09256c17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2177/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSDynamicMaskShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDynamicMaskShader.md b/docs/Add-OBSDynamicMaskShader.md index d3c8ee96c..e63709519 100644 --- a/docs/Add-OBSDynamicMaskShader.md +++ b/docs/Add-OBSDynamicMaskShader.md @@ -3,7 +3,7 @@ Get-OBSDynamicMaskShader ### Synopsis -Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -90,6 +90,12 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |26 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GreenAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | From 721fbce308e74d8d99b5dad45c95194c07fe4479 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2178/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSEdgeDetectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEdgeDetectionShader.md b/docs/Add-OBSEdgeDetectionShader.md index 1abf3e579..209b647b2 100644 --- a/docs/Add-OBSEdgeDetectionShader.md +++ b/docs/Add-OBSEdgeDetectionShader.md @@ -3,7 +3,7 @@ Get-OBSEdgeDetectionShader ### Synopsis -Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-PassThru] [-NoResponse] [] +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InvertEdge** |Type |Required|Position|PipelineInput|Aliases | From 31c52faf7be68ffa3e64ba38ee2c9033be5af30b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2179/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSEmbersShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEmbersShader.md b/docs/Add-OBSEmbersShader.md index 9373e6d97..92999c42a 100644 --- a/docs/Add-OBSEmbersShader.md +++ b/docs/Add-OBSEmbersShader.md @@ -3,7 +3,7 @@ Get-OBSEmbersShader ### Synopsis -Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |22 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 5f4b04db461d967225c1fd3d212e44016f3d80c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2180/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSEmbossColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEmbossColorShader.md b/docs/Add-OBSEmbossColorShader.md index a93dc14dd..cf16eb734 100644 --- a/docs/Add-OBSEmbossColorShader.md +++ b/docs/Add-OBSEmbossColorShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossColorShader ### Synopsis -Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 39fc67f621d32b628d362969db41e723f3f8ed43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2181/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSEmbossShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEmbossShader.md b/docs/Add-OBSEmbossShader.md index 279cc5f03..56dea2550 100644 --- a/docs/Add-OBSEmbossShader.md +++ b/docs/Add-OBSEmbossShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossShader ### Synopsis -Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 6c56c783cf4b4f3ac811b1cb1ac3ce919abbfdad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2182/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSExeldroBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSExeldroBentCameraShader.md b/docs/Add-OBSExeldroBentCameraShader.md index b769bedf2..379fd671a 100644 --- a/docs/Add-OBSExeldroBentCameraShader.md +++ b/docs/Add-OBSExeldroBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSExeldroBentCameraShader ### Synopsis -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] Date: Wed, 14 Feb 2024 20:37:49 +0000 Subject: [PATCH 2183/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFadeTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFadeTransitionShader.md b/docs/Add-OBSFadeTransitionShader.md index c8edec111..52db862e7 100644 --- a/docs/Add-OBSFadeTransitionShader.md +++ b/docs/Add-OBSFadeTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSFadeTransitionShader ### Synopsis -Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| From 988083d493262ff99c57d18457e486e97afc7ccb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2184/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFillColorGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorGradientShader.md b/docs/Add-OBSFillColorGradientShader.md index 7dbf28078..680063f15 100644 --- a/docs/Add-OBSFillColorGradientShader.md +++ b/docs/Add-OBSFillColorGradientShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorGradientShader ### Synopsis -Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientOffset** |Type |Required|Position|PipelineInput|Aliases | From 745c258515ae0deec27f949267f6bf2a1d7f7de6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2185/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFillColorLinearShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorLinearShader.md b/docs/Add-OBSFillColorLinearShader.md index 545919b83..970b7a645 100644 --- a/docs/Add-OBSFillColorLinearShader.md +++ b/docs/Add-OBSFillColorLinearShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorLinearShader ### Synopsis -Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 16532301f268c77b734f9268ccfc6723e739ec41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2186/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFillColorRadialDegreesShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorRadialDegreesShader.md b/docs/Add-OBSFillColorRadialDegreesShader.md index 8c378b101..4505e7e80 100644 --- a/docs/Add-OBSFillColorRadialDegreesShader.md +++ b/docs/Add-OBSFillColorRadialDegreesShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialDegreesShader ### Synopsis -Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c557f47328a4601f0db53979ac5abd8c255fcee5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2187/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFillColorRadialPercentageShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorRadialPercentageShader.md b/docs/Add-OBSFillColorRadialPercentageShader.md index 48a183b10..775a9a894 100644 --- a/docs/Add-OBSFillColorRadialPercentageShader.md +++ b/docs/Add-OBSFillColorRadialPercentageShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialPercentageShader ### Synopsis -Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 0a8dffb18deb51e6e72376c71f131ca11f4091e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2188/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFilterTemplateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFilterTemplateShader.md b/docs/Add-OBSFilterTemplateShader.md index 751c318d6..be91c5a84 100644 --- a/docs/Add-OBSFilterTemplateShader.md +++ b/docs/Add-OBSFilterTemplateShader.md @@ -3,7 +3,7 @@ Get-OBSFilterTemplateShader ### Synopsis -Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From eb01978477ba29fb2178193001200ae3e4249644 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2189/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFire3Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFire3Shader.md b/docs/Add-OBSFire3Shader.md index e959aa16e..d4c11d146 100644 --- a/docs/Add-OBSFire3Shader.md +++ b/docs/Add-OBSFire3Shader.md @@ -3,7 +3,7 @@ Get-OBSFire3Shader ### Synopsis -Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-PassThru] [-NoResponse] [] +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [] --- @@ -66,6 +66,12 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------|-----------------| |`[float]`|false |22 |false |Flame_Tongue_Size| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **FullWidth** |Type |Required|Position|PipelineInput|Aliases | From c62d12b8e03e14df73cd697a1c39cd335f504ab9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2190/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFireShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFireShader.md b/docs/Add-OBSFireShader.md index 3118685d1..aa697a0e9 100644 --- a/docs/Add-OBSFireShader.md +++ b/docs/Add-OBSFireShader.md @@ -3,7 +3,7 @@ Get-OBSFireShader ### Synopsis -Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2191/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFireworksShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFireworksShader.md b/docs/Add-OBSFireworksShader.md index 3df2dcb2c..8beb550cd 100644 --- a/docs/Add-OBSFireworksShader.md +++ b/docs/Add-OBSFireworksShader.md @@ -3,7 +3,7 @@ Get-OBSFireworksShader ### Synopsis -Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-PassThru] [-NoResponse] [] +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From f30276275554357d21311862721f7708425fdf2b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2192/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFisheyeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFisheyeShader.md b/docs/Add-OBSFisheyeShader.md index 7edab9344..0653efdda 100644 --- a/docs/Add-OBSFisheyeShader.md +++ b/docs/Add-OBSFisheyeShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeShader ### Synopsis -Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 5f9dfb23d571c866e99877bf569814d48dda9ac9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2193/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFisheyeXyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFisheyeXyShader.md b/docs/Add-OBSFisheyeXyShader.md index 7a568dcbd..6a1c88a84 100644 --- a/docs/Add-OBSFisheyeXyShader.md +++ b/docs/Add-OBSFisheyeXyShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeXyShader ### Synopsis -Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 9c127ba90fc982287e99275a29ca756e04f2bda9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2194/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSFrostedGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFrostedGlassShader.md b/docs/Add-OBSFrostedGlassShader.md index a6b5989d1..6b3e54faa 100644 --- a/docs/Add-OBSFrostedGlassShader.md +++ b/docs/Add-OBSFrostedGlassShader.md @@ -3,7 +3,7 @@ Get-OBSFrostedGlassShader ### Synopsis -Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-PassThru] [-NoResponse] [] +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | From ec022db4d79ee038140fab83f886a495eda4c8fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:50 +0000 Subject: [PATCH 2195/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGammaCorrectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGammaCorrectionShader.md b/docs/Add-OBSGammaCorrectionShader.md index 8dd4f1488..b682d0ece 100644 --- a/docs/Add-OBSGammaCorrectionShader.md +++ b/docs/Add-OBSGammaCorrectionShader.md @@ -3,7 +3,7 @@ Get-OBSGammaCorrectionShader ### Synopsis -Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2196/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGaussianBlurAdvancedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianBlurAdvancedShader.md b/docs/Add-OBSGaussianBlurAdvancedShader.md index 0c7cc6805..e83580821 100644 --- a/docs/Add-OBSGaussianBlurAdvancedShader.md +++ b/docs/Add-OBSGaussianBlurAdvancedShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurAdvancedShader ### Synopsis -Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | From a37b2bc7a18513af768a5b615149886e9dd75c9e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2197/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGaussianBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianBlurShader.md b/docs/Add-OBSGaussianBlurShader.md index d782d0cab..02bf99e4d 100644 --- a/docs/Add-OBSGaussianBlurShader.md +++ b/docs/Add-OBSGaussianBlurShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurShader ### Synopsis -Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 4bbaecc252467f63caf8084fce243c11f537c9ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2198/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGaussianBlurSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianBlurSimpleShader.md b/docs/Add-OBSGaussianBlurSimpleShader.md index c739e36f2..9517872c2 100644 --- a/docs/Add-OBSGaussianBlurSimpleShader.md +++ b/docs/Add-OBSGaussianBlurSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurSimpleShader ### Synopsis -Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | From 93b54bf6fb8b932d6ce61c27027b503ee2a2f847 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2199/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGaussianExampleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianExampleShader.md b/docs/Add-OBSGaussianExampleShader.md index e9782cb4b..704028263 100644 --- a/docs/Add-OBSGaussianExampleShader.md +++ b/docs/Add-OBSGaussianExampleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianExampleShader ### Synopsis -Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 96681f6218530ca768e5ef8e68e72b3f0989619a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2200/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGaussianSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianSimpleShader.md b/docs/Add-OBSGaussianSimpleShader.md index 6c5c17d13..318da80f8 100644 --- a/docs/Add-OBSGaussianSimpleShader.md +++ b/docs/Add-OBSGaussianSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianSimpleShader ### Synopsis -Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 518d85c01dc549967e1776577684ff3ebbf64369 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2201/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGbCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGbCameraShader.md b/docs/Add-OBSGbCameraShader.md index 8bea27383..0f8fabbb0 100644 --- a/docs/Add-OBSGbCameraShader.md +++ b/docs/Add-OBSGbCameraShader.md @@ -3,7 +3,7 @@ Get-OBSGbCameraShader ### Synopsis -Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-PassThru] [-NoResponse] [] +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -66,6 +66,12 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gamma** |Type |Required|Position|PipelineInput| From 83c0eb01a00da271ba740fe3425ffdca88617254 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2202/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlassShader.md b/docs/Add-OBSGlassShader.md index 7d252f273..91d1adfd2 100644 --- a/docs/Add-OBSGlassShader.md +++ b/docs/Add-OBSGlassShader.md @@ -3,7 +3,7 @@ Get-OBSGlassShader ### Synopsis -Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-PassThru] [-NoResponse] [] +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GlassColor** |Type |Required|Position|PipelineInput|Aliases | From 1ca460fff47f635bc9f2fb2f0338a7a303a65ffd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2203/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGlitchAnalogShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlitchAnalogShader.md b/docs/Add-OBSGlitchAnalogShader.md index 16e496c36..d86d063e1 100644 --- a/docs/Add-OBSGlitchAnalogShader.md +++ b/docs/Add-OBSGlitchAnalogShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchAnalogShader ### Synopsis -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HorizontalShake** |Type |Required|Position|PipelineInput|Aliases | From f790537c51c173f1564c6951adab9d10bb35755e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2204/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGlitchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlitchShader.md b/docs/Add-OBSGlitchShader.md index 2407c538e..a38f7f32d 100644 --- a/docs/Add-OBSGlitchShader.md +++ b/docs/Add-OBSGlitchShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchShader ### Synopsis -Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 029f14ef0da307c30e39838a425be22cf2497684 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:51 +0000 Subject: [PATCH 2205/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGlowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlowShader.md b/docs/Add-OBSGlowShader.md index 3afe0fde2..949eb3433 100644 --- a/docs/Add-OBSGlowShader.md +++ b/docs/Add-OBSGlowShader.md @@ -3,7 +3,7 @@ Get-OBSGlowShader ### Synopsis -Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-PassThru] [-NoResponse] [] +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | From 6483b25072bdb26f78157c02e23f1398c421ce7b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2206/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGradientShader.md b/docs/Add-OBSGradientShader.md index 3799643b1..f35b8c9f0 100644 --- a/docs/Add-OBSGradientShader.md +++ b/docs/Add-OBSGradientShader.md @@ -3,7 +3,7 @@ Get-OBSGradientShader ### Synopsis -Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-PassThru] [-NoResponse] [] +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientCenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | From 160cd561527b6d78eae10514a60058d2ea0f5d6a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2207/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSHalftoneShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHalftoneShader.md b/docs/Add-OBSHalftoneShader.md index fdde28062..837b024c7 100644 --- a/docs/Add-OBSHalftoneShader.md +++ b/docs/Add-OBSHalftoneShader.md @@ -3,7 +3,7 @@ Get-OBSHalftoneShader ### Synopsis -Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 98f6a5ca9b22cf4666ed8848b12ef197aa8e8151 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2208/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSHeatWaveSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHeatWaveSimpleShader.md b/docs/Add-OBSHeatWaveSimpleShader.md index 37061c366..51b594616 100644 --- a/docs/Add-OBSHeatWaveSimpleShader.md +++ b/docs/Add-OBSHeatWaveSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSHeatWaveSimpleShader ### Synopsis -Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c9a0184806dd5a4daece554ae16b65ebe4860942 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2209/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSHexagonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHexagonShader.md b/docs/Add-OBSHexagonShader.md index 95d2cbf58..d01791998 100644 --- a/docs/Add-OBSHexagonShader.md +++ b/docs/Add-OBSHexagonShader.md @@ -3,7 +3,7 @@ Get-OBSHexagonShader ### Synopsis -Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 2a549c46c839017f1bb87015a2c7552e07744d08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2210/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSHslHsvSaturationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHslHsvSaturationShader.md b/docs/Add-OBSHslHsvSaturationShader.md index 5fb514dfe..ddc716975 100644 --- a/docs/Add-OBSHslHsvSaturationShader.md +++ b/docs/Add-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HslSaturationFactor** |Type |Required|Position|PipelineInput| From 221ac2c2fd26e4f877d26796b784720e2e0f8d05 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2211/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSHueRotatonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHueRotatonShader.md b/docs/Add-OBSHueRotatonShader.md index 3ff9806e3..da2e83d14 100644 --- a/docs/Add-OBSHueRotatonShader.md +++ b/docs/Add-OBSHueRotatonShader.md @@ -3,7 +3,7 @@ Get-OBSHueRotatonShader ### Synopsis -Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-PassThru] [-NoResponse] [] +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HueOverride** |Type |Required|Position|PipelineInput|Aliases | From 4feb46755ca4f2ce27433d042437da671f89d94a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2212/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSIntensityScopeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSIntensityScopeShader.md b/docs/Add-OBSIntensityScopeShader.md index 4b12561a9..f9cab5c04 100644 --- a/docs/Add-OBSIntensityScopeShader.md +++ b/docs/Add-OBSIntensityScopeShader.md @@ -3,7 +3,7 @@ Get-OBSIntensityScopeShader ### Synopsis -Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gain** |Type |Required|Position|PipelineInput| From 613b21bde926771b320622d13e3dad80189d413d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2213/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSInvertLumaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSInvertLumaShader.md b/docs/Add-OBSInvertLumaShader.md index 7ef2ce620..eb4fbe47f 100644 --- a/docs/Add-OBSInvertLumaShader.md +++ b/docs/Add-OBSInvertLumaShader.md @@ -3,7 +3,7 @@ Get-OBSInvertLumaShader ### Synopsis -Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-PassThru] [-NoResponse] [] +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GammaCorrection** |Type |Required|Position|PipelineInput|Aliases | From 001e1295731d8d22cd6102767eeb748eb4ce47b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2214/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSLuminance2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSLuminance2Shader.md b/docs/Add-OBSLuminance2Shader.md index 8fb61355b..ba3455f2d 100644 --- a/docs/Add-OBSLuminance2Shader.md +++ b/docs/Add-OBSLuminance2Shader.md @@ -3,7 +3,7 @@ Get-OBSLuminance2Shader ### Synopsis -Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2215/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSLuminanceAlphaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSLuminanceAlphaShader.md b/docs/Add-OBSLuminanceAlphaShader.md index efc796b6f..818fd36ca 100644 --- a/docs/Add-OBSLuminanceAlphaShader.md +++ b/docs/Add-OBSLuminanceAlphaShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceAlphaShader ### Synopsis -Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 3b80e7bbbf14ccfd9fa47a9aa418de522dad0703 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:52 +0000 Subject: [PATCH 2216/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSLuminanceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSLuminanceShader.md b/docs/Add-OBSLuminanceShader.md index f7d3610ef..0034b4425 100644 --- a/docs/Add-OBSLuminanceShader.md +++ b/docs/Add-OBSLuminanceShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceShader ### Synopsis -Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| From bda0a5ac39d90c48f261ad8a167e87824dba7f71 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2217/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSMatrixShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSMatrixShader.md b/docs/Add-OBSMatrixShader.md index e192d3ec8..6bff65017 100644 --- a/docs/Add-OBSMatrixShader.md +++ b/docs/Add-OBSMatrixShader.md @@ -3,7 +3,7 @@ Get-OBSMatrixShader ### Synopsis -Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |18 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 695cf1b4391eb729b5fd6ad08dfd82c542180c63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2218/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSMultiplyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSMultiplyShader.md b/docs/Add-OBSMultiplyShader.md index 2393ba8ee..a2dfe9717 100644 --- a/docs/Add-OBSMultiplyShader.md +++ b/docs/Add-OBSMultiplyShader.md @@ -3,7 +3,7 @@ Get-OBSMultiplyShader ### Synopsis -Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 64c5e9ddb8cb755afca49f710c7b5d9df1d51978 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2219/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSNightSkyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSNightSkyShader.md b/docs/Add-OBSNightSkyShader.md index 573c2ff97..8aa8fbe30 100644 --- a/docs/Add-OBSNightSkyShader.md +++ b/docs/Add-OBSNightSkyShader.md @@ -3,7 +3,7 @@ Get-OBSNightSkyShader ### Synopsis -Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-PassThru] [-NoResponse] [] +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IncludeClouds** |Type |Required|Position|PipelineInput|Aliases | From d6b74d44df03e975997b0e845beb2f10571ac1c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2220/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSOpacityShader.md b/docs/Add-OBSOpacityShader.md index 514388b73..90eba35d0 100644 --- a/docs/Add-OBSOpacityShader.md +++ b/docs/Add-OBSOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSOpacityShader ### Synopsis -Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From b768b374befbabce211d72b3c8c25b26b387beae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2221/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPagePeelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPagePeelShader.md b/docs/Add-OBSPagePeelShader.md index f579da30c..dea4f7354 100644 --- a/docs/Add-OBSPagePeelShader.md +++ b/docs/Add-OBSPagePeelShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelShader ### Synopsis -Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2222/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPagePeelTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPagePeelTransitionShader.md b/docs/Add-OBSPagePeelTransitionShader.md index 27c6f7daf..fd2287b32 100644 --- a/docs/Add-OBSPagePeelTransitionShader.md +++ b/docs/Add-OBSPagePeelTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelTransitionShader ### Synopsis -Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| From 354732d07999962b940c2364a9f9c24c20acd4a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2223/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPerlinNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPerlinNoiseShader.md b/docs/Add-OBSPerlinNoiseShader.md index 180276c32..c5ad93eb3 100644 --- a/docs/Add-OBSPerlinNoiseShader.md +++ b/docs/Add-OBSPerlinNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSPerlinNoiseShader ### Synopsis -Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-PassThru] [-NoResponse] [] +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Inverted** |Type |Required|Position|PipelineInput| From 50b7480d93061b0f9082daac2570ca5ea30ecf64 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2224/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPieChartShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPieChartShader.md b/docs/Add-OBSPieChartShader.md index 9d45c327a..7a6855fed 100644 --- a/docs/Add-OBSPieChartShader.md +++ b/docs/Add-OBSPieChartShader.md @@ -3,7 +3,7 @@ Get-OBSPieChartShader ### Synopsis -Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -78,6 +78,12 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |----------|--------|--------|---------------------| |`[string]`|false |25 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InnerRadius** |Type |Required|Position|PipelineInput|Aliases | From 36c54b4f832713c1ef90229521aa3679341e937f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2225/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPixelationShader.md b/docs/Add-OBSPixelationShader.md index fab84d7bd..90a43e4aa 100644 --- a/docs/Add-OBSPixelationShader.md +++ b/docs/Add-OBSPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationShader ### Synopsis -Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From ac0db829f1a11addacaf0bdcca9f149abb63b9ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2226/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPixelationTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPixelationTransitionShader.md b/docs/Add-OBSPixelationTransitionShader.md index 8d7f4bad4..a34c7a6e7 100644 --- a/docs/Add-OBSPixelationTransitionShader.md +++ b/docs/Add-OBSPixelationTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationTransitionShader ### Synopsis -Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 6f6b42d6d6ccb4b9476cf60699476a316112ad07 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:53 +0000 Subject: [PATCH 2227/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSPulseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPulseShader.md b/docs/Add-OBSPulseShader.md index 944a51b94..ccefad9b8 100644 --- a/docs/Add-OBSPulseShader.md +++ b/docs/Add-OBSPulseShader.md @@ -3,7 +3,7 @@ Get-OBSPulseShader ### Synopsis -Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From d16c5b1d4881365bf27576dfa713df706d424c81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2228/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRainbowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRainbowShader.md b/docs/Add-OBSRainbowShader.md index d9c4b3399..4f81a61ad 100644 --- a/docs/Add-OBSRainbowShader.md +++ b/docs/Add-OBSRainbowShader.md @@ -3,7 +3,7 @@ Get-OBSRainbowShader ### Synopsis -Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Luminosity** |Type |Required|Position|PipelineInput| From 6d0b75f06561a734f391d40786e634a2fcb9a482 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2229/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRainWindowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRainWindowShader.md b/docs/Add-OBSRainWindowShader.md index 055e58bfc..594e61dfd 100644 --- a/docs/Add-OBSRainWindowShader.md +++ b/docs/Add-OBSRainWindowShader.md @@ -3,7 +3,7 @@ Get-OBSRainWindowShader ### Synopsis -Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-PassThru] [-NoResponse] [] +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 3f1b90a1387ecb8ef22db8c05754486c05796b7d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2230/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRectangularDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRectangularDropShadowShader.md b/docs/Add-OBSRectangularDropShadowShader.md index db6542480..dbc35ba12 100644 --- a/docs/Add-OBSRectangularDropShadowShader.md +++ b/docs/Add-OBSRectangularDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSRectangularDropShadowShader ### Synopsis -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2231/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRemovePartialPixelsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRemovePartialPixelsShader.md b/docs/Add-OBSRemovePartialPixelsShader.md index ec8112e5e..4c99679ed 100644 --- a/docs/Add-OBSRemovePartialPixelsShader.md +++ b/docs/Add-OBSRemovePartialPixelsShader.md @@ -3,7 +3,7 @@ Get-OBSRemovePartialPixelsShader ### Synopsis -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2232/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRepeatShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRepeatShader.md b/docs/Add-OBSRepeatShader.md index 6d2c22dcc..e19bd5cc4 100644 --- a/docs/Add-OBSRepeatShader.md +++ b/docs/Add-OBSRepeatShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatShader ### Synopsis -Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 7c24e4682a158d2591f9dcabe8d032fe6652fc2c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2233/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRepeatTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRepeatTextureShader.md b/docs/Add-OBSRepeatTextureShader.md index 3b02198d5..033fc3de5 100644 --- a/docs/Add-OBSRepeatTextureShader.md +++ b/docs/Add-OBSRepeatTextureShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatTextureShader ### Synopsis -Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |----------|--------|--------|---------------------| |`[string]`|false |17 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From a07033fd2cd36394968487cb99290b19cba16f99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2234/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRgbColorWheelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRgbColorWheelShader.md b/docs/Add-OBSRgbColorWheelShader.md index 52a229d96..1152ecf46 100644 --- a/docs/Add-OBSRgbColorWheelShader.md +++ b/docs/Add-OBSRgbColorWheelShader.md @@ -3,7 +3,7 @@ Get-OBSRgbColorWheelShader ### Synopsis -Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 9f7df2d14c7faebc2a0adb5e281bc5c31fb99b37 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2235/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRgbSplitShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRgbSplitShader.md b/docs/Add-OBSRgbSplitShader.md index 3d6a3bbad..40369837c 100644 --- a/docs/Add-OBSRgbSplitShader.md +++ b/docs/Add-OBSRgbSplitShader.md @@ -3,7 +3,7 @@ Get-OBSRgbSplitShader ### Synopsis -Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Greenx** |Type |Required|Position|PipelineInput| From 7f962e10870d589a66f88f44fb38bea3096ca1cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2236/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRgbvisibilityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRgbvisibilityShader.md b/docs/Add-OBSRgbvisibilityShader.md index 96e19a467..39f084a41 100644 --- a/docs/Add-OBSRgbvisibilityShader.md +++ b/docs/Add-OBSRgbvisibilityShader.md @@ -3,7 +3,7 @@ Get-OBSRgbvisibilityShader ### Synopsis -Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Green** |Type |Required|Position|PipelineInput| From f76081e38c6c76f6b3bac039d6c8564236abc844 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2237/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRippleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRippleShader.md b/docs/Add-OBSRippleShader.md index 53e350f99..9d84e3bda 100644 --- a/docs/Add-OBSRippleShader.md +++ b/docs/Add-OBSRippleShader.md @@ -3,7 +3,7 @@ Get-OBSRippleShader ### Synopsis -Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 5633c452fd86e14f5821175d0ae1697954779c3c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:54 +0000 Subject: [PATCH 2238/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRotatingSourceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRotatingSourceShader.md b/docs/Add-OBSRotatingSourceShader.md index 3f3c7014e..d29e8cbbe 100644 --- a/docs/Add-OBSRotatingSourceShader.md +++ b/docs/Add-OBSRotatingSourceShader.md @@ -3,7 +3,7 @@ Get-OBSRotatingSourceShader ### Synopsis -Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-PassThru] [-NoResponse] [] +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **KeepAspectratio** |Type |Required|Position|PipelineInput|Aliases | From 8010cf9393f47ababab0c61c0482027cd0fc9bc9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2239/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRotatoeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRotatoeShader.md b/docs/Add-OBSRotatoeShader.md index b6a7a83b6..c8edaec01 100644 --- a/docs/Add-OBSRotatoeShader.md +++ b/docs/Add-OBSRotatoeShader.md @@ -3,7 +3,7 @@ Get-OBSRotatoeShader ### Synopsis -Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-PassThru] [-NoResponse] [] +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------| |`[string]`|false |17 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From ec23bdc5c4f6e629b3663f4e9fd1f55ef17a738c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2240/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRoundedRect2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRect2Shader.md b/docs/Add-OBSRoundedRect2Shader.md index 8bf0925e4..d201f2819 100644 --- a/docs/Add-OBSRoundedRect2Shader.md +++ b/docs/Add-OBSRoundedRect2Shader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRect2Shader ### Synopsis -Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 6a83f502dbbee8347af6b43fc18a763250ef9114 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2241/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRoundedRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRectPerCornerShader.md b/docs/Add-OBSRoundedRectPerCornerShader.md index 21053e7e1..1b2f1d1f1 100644 --- a/docs/Add-OBSRoundedRectPerCornerShader.md +++ b/docs/Add-OBSRoundedRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerCornerShader ### Synopsis -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From b1cedcdb43be0b78a36538c998e16a1fb3e5ef1c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2242/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRoundedRectPerSideShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRectPerSideShader.md b/docs/Add-OBSRoundedRectPerSideShader.md index c5941de0a..609b9fd6d 100644 --- a/docs/Add-OBSRoundedRectPerSideShader.md +++ b/docs/Add-OBSRoundedRectPerSideShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerSideShader ### Synopsis -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 24c06e8c2cef832a2f9d8ebfd8e2eef41a5dc570 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2243/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRoundedRectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRectShader.md b/docs/Add-OBSRoundedRectShader.md index 11236ac07..bdb6d6e5f 100644 --- a/docs/Add-OBSRoundedRectShader.md +++ b/docs/Add-OBSRoundedRectShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectShader ### Synopsis -Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c8ee8c24593283b11e44ef0fba3be8f40b39100c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2244/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRoundedStrokeGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedStrokeGradientShader.md b/docs/Add-OBSRoundedStrokeGradientShader.md index 0fba62aff..b51f597f9 100644 --- a/docs/Add-OBSRoundedStrokeGradientShader.md +++ b/docs/Add-OBSRoundedStrokeGradientShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeGradientShader ### Synopsis -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | From c01109575aa2aff48f2b5ccab18d9209182fead7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2245/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSRoundedStrokeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedStrokeShader.md b/docs/Add-OBSRoundedStrokeShader.md index c1e289a07..a7fa44f08 100644 --- a/docs/Add-OBSRoundedStrokeShader.md +++ b/docs/Add-OBSRoundedStrokeShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeShader ### Synopsis -Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | From 410fce07d8ef1a419c7071c96576f66045204d08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2246/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSScanLineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSScanLineShader.md b/docs/Add-OBSScanLineShader.md index 53ed79fc2..99fa69340 100644 --- a/docs/Add-OBSScanLineShader.md +++ b/docs/Add-OBSScanLineShader.md @@ -3,7 +3,7 @@ Get-OBSScanLineShader ### Synopsis -Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-PassThru] [-NoResponse] [] +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |---------|--------|--------|-------------| |`[float]`|false |2 |false | +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Lengthwise** |Type |Required|Position|PipelineInput| From 83e0f3fa200bb114c70e79fd45ffb4ee2668afa3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2247/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSeascapeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSeascapeShader.md b/docs/Add-OBSSeascapeShader.md index d68851f55..35ec3f5c8 100644 --- a/docs/Add-OBSSeascapeShader.md +++ b/docs/Add-OBSSeascapeShader.md @@ -3,7 +3,7 @@ Get-OBSSeascapeShader ### Synopsis -Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-PassThru] [-NoResponse] [] +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 193c0f66b0cf2cf4d231b90610f61deac5dd2852 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2248/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSeasickShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSeasickShader.md b/docs/Add-OBSSeasickShader.md index 58298e4f7..eeb8feec1 100644 --- a/docs/Add-OBSSeasickShader.md +++ b/docs/Add-OBSSeasickShader.md @@ -3,7 +3,7 @@ Get-OBSSeasickShader ### Synopsis -Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] Date: Wed, 14 Feb 2024 20:37:55 +0000 Subject: [PATCH 2249/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSelectiveColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSelectiveColorShader.md b/docs/Add-OBSSelectiveColorShader.md index 4dbe2174d..7adb75f74 100644 --- a/docs/Add-OBSSelectiveColorShader.md +++ b/docs/Add-OBSSelectiveColorShader.md @@ -3,7 +3,7 @@ Get-OBSSelectiveColorShader ### Synopsis -Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-PassThru] [-NoResponse] [] +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 8f20311dc87195ec91cd3baa190bf496f534b712 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2250/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSShaderFilter.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSShaderFilter.md b/docs/Add-OBSShaderFilter.md index dbda51bb1..b9e71b640 100644 --- a/docs/Add-OBSShaderFilter.md +++ b/docs/Add-OBSShaderFilter.md @@ -18,11 +18,33 @@ This requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shader ```PowerShell Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | - Set-OBSShaderFilter -FilterName "Shader" -ShaderFile fisheye-xy -ShaderSetting @{ + Set-OBSShaderFilter -FilterName "FisheyeShader" -ShaderFile fisheye-xy -ShaderSetting @{ center_x_percent=30 center_y_percent=70 } ``` +> EXAMPLE 2 + +```PowerShell +Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "SeasickShader" -ShaderFile seasick -ShaderSetting @{ + amplitude = 0.05 + speed = 0.5 + frequency = 12 + opacity = 1 + } +``` +> EXAMPLE 3 + +```PowerShell +Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "TwistShader" -ShaderFile twist -ShaderSetting @{ + center_x_percent=50 + center_y_percent=50 + power = 0.05 + rotation = 80 + } +``` --- From eecc2c8583262171c94c91d93babc2928664ad8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2251/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSShakeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSShakeShader.md b/docs/Add-OBSShakeShader.md index 0fb789c6d..3525c2c3e 100644 --- a/docs/Add-OBSShakeShader.md +++ b/docs/Add-OBSShakeShader.md @@ -3,7 +3,7 @@ Get-OBSShakeShader ### Synopsis -Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-PassThru] [-NoResponse] [] +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 16a24c95c05639c7b4b5a0da8011ee64694e29a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2252/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSShineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSShineShader.md b/docs/Add-OBSShineShader.md index 7101b420f..caa1c9046 100644 --- a/docs/Add-OBSShineShader.md +++ b/docs/Add-OBSShineShader.md @@ -3,7 +3,7 @@ Get-OBSShineShader ### Synopsis -Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 62f41f5a0ef4a02662f611a55e5acb4751b1d15e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2253/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSimpleGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSimpleGradientShader.md b/docs/Add-OBSSimpleGradientShader.md index c6a9b2453..25a63cc38 100644 --- a/docs/Add-OBSSimpleGradientShader.md +++ b/docs/Add-OBSSimpleGradientShader.md @@ -3,7 +3,7 @@ Get-OBSSimpleGradientShader ### Synopsis -Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **LensFlair** |Type |Required|Position|PipelineInput|Aliases | From cebb7caa7ca88e48e8b5a3863df638ad26e68d0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2254/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSimplexNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSimplexNoiseShader.md b/docs/Add-OBSSimplexNoiseShader.md index 19853adf9..bfbd588b2 100644 --- a/docs/Add-OBSSimplexNoiseShader.md +++ b/docs/Add-OBSSimplexNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSSimplexNoiseShader ### Synopsis -Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ForeColor** |Type |Required|Position|PipelineInput|Aliases | From 9dc5966b5193887e3a8b17b3403472630d120f01 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2255/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSpotlightShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSpotlightShader.md b/docs/Add-OBSSpotlightShader.md index dccc93508..8d7e9e009 100644 --- a/docs/Add-OBSSpotlightShader.md +++ b/docs/Add-OBSSpotlightShader.md @@ -3,7 +3,7 @@ Get-OBSSpotlightShader ### Synopsis -Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp |---------|--------|--------|-------------|-------------| |`[float]`|false |1 |false |Focus_Percent| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From c5d3aae87e316fdab9be7d61f710e683b47af7b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2256/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSSwirlShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSwirlShader.md b/docs/Add-OBSSwirlShader.md index 176305882..60ee51dcd 100644 --- a/docs/Add-OBSSwirlShader.md +++ b/docs/Add-OBSSwirlShader.md @@ -3,7 +3,7 @@ Get-OBSSwirlShader ### Synopsis -Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-PassThru] [-NoResponse] [] +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Inverse** |Type |Required|Position|PipelineInput| From ce141eb1e0d67b0eed5f28059680cba88aad074c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2257/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSThermalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSThermalShader.md b/docs/Add-OBSThermalShader.md index c4b01af03..fb794b67f 100644 --- a/docs/Add-OBSThermalShader.md +++ b/docs/Add-OBSThermalShader.md @@ -3,7 +3,7 @@ Get-OBSThermalShader ### Synopsis -Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From de794b427fef989939b0b97397152ecc129c95b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:56 +0000 Subject: [PATCH 2258/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSTvCrtSubpixelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSTvCrtSubpixelShader.md b/docs/Add-OBSTvCrtSubpixelShader.md index 1506f80ef..2c553934a 100644 --- a/docs/Add-OBSTvCrtSubpixelShader.md +++ b/docs/Add-OBSTvCrtSubpixelShader.md @@ -3,7 +3,7 @@ Get-OBSTvCrtSubpixelShader ### Synopsis -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HGap** |Type |Required|Position|PipelineInput| From cd14cfaa0f51da837f47b2a2a23a09ff68980ace Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2259/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSTwistShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSTwistShader.md b/docs/Add-OBSTwistShader.md index 910001309..ecd16bc6f 100644 --- a/docs/Add-OBSTwistShader.md +++ b/docs/Add-OBSTwistShader.md @@ -3,7 +3,7 @@ Get-OBSTwistShader ### Synopsis -Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 2ee42753206ec46fc7a8893daa739cd8e78ad8fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2260/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSTwoPassDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSTwoPassDropShadowShader.md b/docs/Add-OBSTwoPassDropShadowShader.md index f730883f5..d7a9c9493 100644 --- a/docs/Add-OBSTwoPassDropShadowShader.md +++ b/docs/Add-OBSTwoPassDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSTwoPassDropShadowShader ### Synopsis -Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 1d1a9d51683467a82bf042f13643d9bd9a133313 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2261/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSVCRShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVCRShader.md b/docs/Add-OBSVCRShader.md index 2245dab2f..1ee7c0520 100644 --- a/docs/Add-OBSVCRShader.md +++ b/docs/Add-OBSVCRShader.md @@ -3,7 +3,7 @@ Get-OBSVCRShader ### Synopsis -Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2262/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSVHSShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVHSShader.md b/docs/Add-OBSVHSShader.md index 43b99ca7d..771aa0102 100644 --- a/docs/Add-OBSVHSShader.md +++ b/docs/Add-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 04a26a1d6a1f1b094909743d927391ae35ee83f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2263/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSVignettingShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVignettingShader.md b/docs/Add-OBSVignettingShader.md index 7b4284ede..35801fd34 100644 --- a/docs/Add-OBSVignettingShader.md +++ b/docs/Add-OBSVignettingShader.md @@ -3,7 +3,7 @@ Get-OBSVignettingShader ### Synopsis -Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InnerRadius** |Type |Required|Position|PipelineInput| From 66f9d6f7f7ca0eddc2de7bbbe51235913b6da899 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2264/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSVoronoiPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVoronoiPixelationShader.md b/docs/Add-OBSVoronoiPixelationShader.md index 199e0267f..8dbb0a4ed 100644 --- a/docs/Add-OBSVoronoiPixelationShader.md +++ b/docs/Add-OBSVoronoiPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSVoronoiPixelationShader ### Synopsis -Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-PassThru] [-NoResponse] [] +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c7887d9a0aadb18ceb7cf27305aed2f2e20b9738 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2265/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSZigZagShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSZigZagShader.md b/docs/Add-OBSZigZagShader.md index 1ea37ec5b..18d784361 100644 --- a/docs/Add-OBSZigZagShader.md +++ b/docs/Add-OBSZigZagShader.md @@ -3,7 +3,7 @@ Get-OBSZigZagShader ### Synopsis -Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 978365cbd96626c8089fb805483247d754002f89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:57 +0000 Subject: [PATCH 2266/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSZoomBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSZoomBlurShader.md b/docs/Add-OBSZoomBlurShader.md index 377933c03..e6bb238a7 100644 --- a/docs/Add-OBSZoomBlurShader.md +++ b/docs/Add-OBSZoomBlurShader.md @@ -3,7 +3,7 @@ Get-OBSZoomBlurShader ### Synopsis -Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 382d6964b09b9e91175724367076be6e246822ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:37:58 +0000 Subject: [PATCH 2267/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Add-OBSZoomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSZoomShader.md b/docs/Add-OBSZoomShader.md index e0aba75c6..229353324 100644 --- a/docs/Add-OBSZoomShader.md +++ b/docs/Add-OBSZoomShader.md @@ -3,7 +3,7 @@ Get-OBSZoomShader ### Synopsis -Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 5deec28c734fb3d8d0aadff498aeedf69e692fdb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2268/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAddShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAddShader.md b/docs/Set-OBSAddShader.md index a5b24f4f1..fb7a0df88 100644 --- a/docs/Set-OBSAddShader.md +++ b/docs/Set-OBSAddShader.md @@ -3,7 +3,7 @@ Get-OBSAddShader ### Synopsis -Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 03119252c4f16c1167a7498df83b0d48c04c0607 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2269/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAlphaBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAlphaBorderShader.md b/docs/Set-OBSAlphaBorderShader.md index eb0229742..89b20ec13 100644 --- a/docs/Set-OBSAlphaBorderShader.md +++ b/docs/Set-OBSAlphaBorderShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaBorderShader ### Synopsis -Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 9fb3d18cffb06bcbbe1adce4ecf775b77d852799 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2270/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAlphaGamingBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAlphaGamingBentCameraShader.md b/docs/Set-OBSAlphaGamingBentCameraShader.md index 8eae8d867..bcdd52b82 100644 --- a/docs/Set-OBSAlphaGamingBentCameraShader.md +++ b/docs/Set-OBSAlphaGamingBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaGamingBentCameraShader ### Synopsis -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **LeftFlipShadow** |Type |Required|Position|PipelineInput|Aliases | From 4a51ba49e2d98151f668746626851a383ddfd6a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2271/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAnimatedPathShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAnimatedPathShader.md b/docs/Set-OBSAnimatedPathShader.md index 5f440f970..395279b95 100644 --- a/docs/Set-OBSAnimatedPathShader.md +++ b/docs/Set-OBSAnimatedPathShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedPathShader ### Synopsis -Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From e8f07036e3d53e623a0c75fa536657a04514b869 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2272/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAnimatedTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAnimatedTextureShader.md b/docs/Set-OBSAnimatedTextureShader.md index a957f339d..87bf5cafa 100644 --- a/docs/Set-OBSAnimatedTextureShader.md +++ b/docs/Set-OBSAnimatedTextureShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedTextureShader ### Synopsis -Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|---------------------| |`[string]`|false |19 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 8637a0cb05d2f868895b54b87f2e8e35df404ff8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2273/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAsciiShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAsciiShader.md b/docs/Set-OBSAsciiShader.md index 547c8783d..38f04236a 100644 --- a/docs/Set-OBSAsciiShader.md +++ b/docs/Set-OBSAsciiShader.md @@ -3,7 +3,7 @@ Get-OBSAsciiShader ### Synopsis -Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-PassThru] [-NoResponse] [] +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2274/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSAspectRatioShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAspectRatioShader.md b/docs/Set-OBSAspectRatioShader.md index cf836393d..7f25093b4 100644 --- a/docs/Set-OBSAspectRatioShader.md +++ b/docs/Set-OBSAspectRatioShader.md @@ -3,7 +3,7 @@ Get-OBSAspectRatioShader ### Synopsis -Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From d4e37999f70a1efc126de1062e0fa9256c43dad0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2275/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBackgroundRemovalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBackgroundRemovalShader.md b/docs/Set-OBSBackgroundRemovalShader.md index 65b1fae79..4117a391f 100644 --- a/docs/Set-OBSBackgroundRemovalShader.md +++ b/docs/Set-OBSBackgroundRemovalShader.md @@ -3,7 +3,7 @@ Get-OBSBackgroundRemovalShader ### Synopsis -Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-PassThru] [-NoResponse] [] +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 22278913f662e0d0215cc4a6e8ac4049189cb058 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2276/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBlendOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBlendOpacityShader.md b/docs/Set-OBSBlendOpacityShader.md index be37ba2cb..7bf9da06f 100644 --- a/docs/Set-OBSBlendOpacityShader.md +++ b/docs/Set-OBSBlendOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSBlendOpacityShader ### Synopsis -Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2277/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBlinkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBlinkShader.md b/docs/Set-OBSBlinkShader.md index 27529a6b5..5b3e942bd 100644 --- a/docs/Set-OBSBlinkShader.md +++ b/docs/Set-OBSBlinkShader.md @@ -3,7 +3,7 @@ Get-OBSBlinkShader ### Synopsis -Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] Date: Wed, 14 Feb 2024 20:38:04 +0000 Subject: [PATCH 2278/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBloomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBloomShader.md b/docs/Set-OBSBloomShader.md index 0ea848a99..161969887 100644 --- a/docs/Set-OBSBloomShader.md +++ b/docs/Set-OBSBloomShader.md @@ -3,7 +3,7 @@ Get-OBSBloomShader ### Synopsis -Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2279/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBorderShader.md b/docs/Set-OBSBorderShader.md index 189107e70..fadeb50ff 100644 --- a/docs/Set-OBSBorderShader.md +++ b/docs/Set-OBSBorderShader.md @@ -3,7 +3,7 @@ Get-OBSBorderShader ### Synopsis -Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 9238f3e3eb855f7a24dc65f3de915f19dec1edb8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2280/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBoxBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBoxBlurShader.md b/docs/Set-OBSBoxBlurShader.md index c0e6cfcf2..7f7ca04f4 100644 --- a/docs/Set-OBSBoxBlurShader.md +++ b/docs/Set-OBSBoxBlurShader.md @@ -3,7 +3,7 @@ Get-OBSBoxBlurShader ### Synopsis -Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2281/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBulgePinchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBulgePinchShader.md b/docs/Set-OBSBulgePinchShader.md index 9b256b68a..f100f241c 100644 --- a/docs/Set-OBSBulgePinchShader.md +++ b/docs/Set-OBSBulgePinchShader.md @@ -3,7 +3,7 @@ Get-OBSBulgePinchShader ### Synopsis -Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-PassThru] [-NoResponse] [] +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Magnitude** |Type |Required|Position|PipelineInput| From 742088b84332251ec983561983caf502f3028bff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2282/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSBurnShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBurnShader.md b/docs/Set-OBSBurnShader.md index 960ca8967..60d44b60a 100644 --- a/docs/Set-OBSBurnShader.md +++ b/docs/Set-OBSBurnShader.md @@ -3,7 +3,7 @@ Get-OBSBurnShader ### Synopsis -Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-PassThru] [-NoResponse] [] +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientAdjust** |Type |Required|Position|PipelineInput|Aliases | From 6973d8ad5d807cdd0af62399f05ea9cf349da1be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2283/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCartoonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCartoonShader.md b/docs/Set-OBSCartoonShader.md index d2ea4374d..1b4ce0c62 100644 --- a/docs/Set-OBSCartoonShader.md +++ b/docs/Set-OBSCartoonShader.md @@ -3,7 +3,7 @@ Get-OBSCartoonShader ### Synopsis -Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HueSteps** |Type |Required|Position|PipelineInput|Aliases | From b9fb1597c1574b8f85a5cecdf303d6ee42be6ca0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2284/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCellShadedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCellShadedShader.md b/docs/Set-OBSCellShadedShader.md index 3f39b14ec..5efcd4646 100644 --- a/docs/Set-OBSCellShadedShader.md +++ b/docs/Set-OBSCellShadedShader.md @@ -3,7 +3,7 @@ Get-OBSCellShadedShader ### Synopsis -Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From eb8aaf13369a95b72d86744afb43a63800f58cb3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2285/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSChromaticAberrationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSChromaticAberrationShader.md b/docs/Set-OBSChromaticAberrationShader.md index fb81e3460..143ee2651 100644 --- a/docs/Set-OBSChromaticAberrationShader.md +++ b/docs/Set-OBSChromaticAberrationShader.md @@ -3,7 +3,7 @@ Get-OBSChromaticAberrationShader ### Synopsis -Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-PassThru] [-NoResponse] [] +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gamma** |Type |Required|Position|PipelineInput| From ed9190c89553afd28c0cd0073ca4aa9a34a82460 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2286/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSChromaUVDistortionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSChromaUVDistortionShader.md b/docs/Set-OBSChromaUVDistortionShader.md index bf55ffa54..f062a3687 100644 --- a/docs/Set-OBSChromaUVDistortionShader.md +++ b/docs/Set-OBSChromaUVDistortionShader.md @@ -3,7 +3,7 @@ Get-OBSChromaUVDistortionShader ### Synopsis -Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 31987ff14687531e9a8633e3bf0704a4e329db71 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2287/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCircleMaskFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCircleMaskFilterShader.md b/docs/Set-OBSCircleMaskFilterShader.md index f6e2308c9..f435303d9 100644 --- a/docs/Set-OBSCircleMaskFilterShader.md +++ b/docs/Set-OBSCircleMaskFilterShader.md @@ -3,7 +3,7 @@ Get-OBSCircleMaskFilterShader ### Synopsis -Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-PassThru] [-NoResponse] [] +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 0cc311527227ea8729a6a81c4f56a77e8a04c5ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2288/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSColorDepthShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSColorDepthShader.md b/docs/Set-OBSColorDepthShader.md index ce70ce642..e638c83bd 100644 --- a/docs/Set-OBSColorDepthShader.md +++ b/docs/Set-OBSColorDepthShader.md @@ -3,7 +3,7 @@ Get-OBSColorDepthShader ### Synopsis -Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 638f430e4a4ae83e1738e183ca654406a63d7925 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2289/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSColorGradeFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSColorGradeFilterShader.md b/docs/Set-OBSColorGradeFilterShader.md index 67a9e2233..1710b874c 100644 --- a/docs/Set-OBSColorGradeFilterShader.md +++ b/docs/Set-OBSColorGradeFilterShader.md @@ -3,7 +3,7 @@ Get-OBSColorGradeFilterShader ### Synopsis -Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Lut** |Type |Required|Position|PipelineInput| From 6c2565432d6de3c9bc99a436b2d5f231a407805e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:05 +0000 Subject: [PATCH 2290/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCornerPinShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCornerPinShader.md b/docs/Set-OBSCornerPinShader.md index 59f1ca217..d6c10bc0a 100644 --- a/docs/Set-OBSCornerPinShader.md +++ b/docs/Set-OBSCornerPinShader.md @@ -3,7 +3,7 @@ Get-OBSCornerPinShader ### Synopsis -Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-PassThru] [-NoResponse] [] +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 744e2d60865f5ba1b03419790ebc10b4affdea8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2291/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCrtCurvatureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCrtCurvatureShader.md b/docs/Set-OBSCrtCurvatureShader.md index a52832279..be690aed4 100644 --- a/docs/Set-OBSCrtCurvatureShader.md +++ b/docs/Set-OBSCrtCurvatureShader.md @@ -3,7 +3,7 @@ Get-OBSCrtCurvatureShader ### Synopsis -Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 774d227ecd2c9d25750af2f8d59aae56de12f343 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2292/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCutRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCutRectPerCornerShader.md b/docs/Set-OBSCutRectPerCornerShader.md index 6ab6819b2..e1e6c137a 100644 --- a/docs/Set-OBSCutRectPerCornerShader.md +++ b/docs/Set-OBSCutRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSCutRectPerCornerShader ### Synopsis -Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c30302d5cf9d00a8365ce994aea98b0e25b9d5b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2293/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSCylinderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCylinderShader.md b/docs/Set-OBSCylinderShader.md index 650553fc5..5bb36395a 100644 --- a/docs/Set-OBSCylinderShader.md +++ b/docs/Set-OBSCylinderShader.md @@ -3,7 +3,7 @@ Get-OBSCylinderShader ### Synopsis -Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 7dfe53e1fe34ba4b42ab95d43336a18f490d49d2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2294/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDarkenShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDarkenShader.md b/docs/Set-OBSDarkenShader.md index 52acb2ee0..6a81b5ac1 100644 --- a/docs/Set-OBSDarkenShader.md +++ b/docs/Set-OBSDarkenShader.md @@ -3,7 +3,7 @@ Get-OBSDarkenShader ### Synopsis -Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 09130c667a9220e341164c33be067092179792e1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2295/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDeadPixelFixerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDeadPixelFixerShader.md b/docs/Set-OBSDeadPixelFixerShader.md index 240cf09ca..fa4e4cea9 100644 --- a/docs/Set-OBSDeadPixelFixerShader.md +++ b/docs/Set-OBSDeadPixelFixerShader.md @@ -3,7 +3,7 @@ Get-OBSDeadPixelFixerShader ### Synopsis -Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 8be91a927398ef71b163181bf7d68d02ba6d6a21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2296/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDivideRotateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDivideRotateShader.md b/docs/Set-OBSDivideRotateShader.md index 72daf0664..99bf961ca 100644 --- a/docs/Set-OBSDivideRotateShader.md +++ b/docs/Set-OBSDivideRotateShader.md @@ -3,7 +3,7 @@ Get-OBSDivideRotateShader ### Synopsis -Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IChannel0** |Type |Required|Position|PipelineInput| From b1899d3aaf722f9847efc10f73c4e0fc75f3c555 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2297/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDoodleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDoodleShader.md b/docs/Set-OBSDoodleShader.md index 47f7d4e54..9a76ab712 100644 --- a/docs/Set-OBSDoodleShader.md +++ b/docs/Set-OBSDoodleShader.md @@ -3,7 +3,7 @@ Get-OBSDoodleShader ### Synopsis -Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 1f683889700502c91d4023d048449e55673ccffd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2298/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDrawingsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDrawingsShader.md b/docs/Set-OBSDrawingsShader.md index 07b0d863c..389229d55 100644 --- a/docs/Set-OBSDrawingsShader.md +++ b/docs/Set-OBSDrawingsShader.md @@ -3,7 +3,7 @@ Get-OBSDrawingsShader ### Synopsis -Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2299/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDropShadowShader.md b/docs/Set-OBSDropShadowShader.md index 0822f6f2a..625008889 100644 --- a/docs/Set-OBSDropShadowShader.md +++ b/docs/Set-OBSDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSDropShadowShader ### Synopsis -Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | From fdba60634a6668cb93b7279f130832a8fa138564 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2300/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDrunkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDrunkShader.md b/docs/Set-OBSDrunkShader.md index c4f47f808..230e425a8 100644 --- a/docs/Set-OBSDrunkShader.md +++ b/docs/Set-OBSDrunkShader.md @@ -3,7 +3,7 @@ Get-OBSDrunkShader ### Synopsis -Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From d9a1f242dc325083a758e38962cd908d250b71e1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:06 +0000 Subject: [PATCH 2301/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSDynamicMaskShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDynamicMaskShader.md b/docs/Set-OBSDynamicMaskShader.md index d3c8ee96c..e63709519 100644 --- a/docs/Set-OBSDynamicMaskShader.md +++ b/docs/Set-OBSDynamicMaskShader.md @@ -3,7 +3,7 @@ Get-OBSDynamicMaskShader ### Synopsis -Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -90,6 +90,12 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |26 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GreenAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | From b15748a3b255d238c67f9c094fd27580ce251342 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2302/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSEdgeDetectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEdgeDetectionShader.md b/docs/Set-OBSEdgeDetectionShader.md index 1abf3e579..209b647b2 100644 --- a/docs/Set-OBSEdgeDetectionShader.md +++ b/docs/Set-OBSEdgeDetectionShader.md @@ -3,7 +3,7 @@ Get-OBSEdgeDetectionShader ### Synopsis -Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-PassThru] [-NoResponse] [] +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InvertEdge** |Type |Required|Position|PipelineInput|Aliases | From 1adae79aa2ff6f7a6e22bf55a854a7a265530a78 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2303/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSEmbersShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEmbersShader.md b/docs/Set-OBSEmbersShader.md index 9373e6d97..92999c42a 100644 --- a/docs/Set-OBSEmbersShader.md +++ b/docs/Set-OBSEmbersShader.md @@ -3,7 +3,7 @@ Get-OBSEmbersShader ### Synopsis -Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |22 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 58dc3f24956ae1cc5aae2e42f94631d611c23474 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2304/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSEmbossColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEmbossColorShader.md b/docs/Set-OBSEmbossColorShader.md index a93dc14dd..cf16eb734 100644 --- a/docs/Set-OBSEmbossColorShader.md +++ b/docs/Set-OBSEmbossColorShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossColorShader ### Synopsis -Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 02c888e0751abd6dfb24bfddebcaadba20189129 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2305/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSEmbossShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEmbossShader.md b/docs/Set-OBSEmbossShader.md index 279cc5f03..56dea2550 100644 --- a/docs/Set-OBSEmbossShader.md +++ b/docs/Set-OBSEmbossShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossShader ### Synopsis -Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 65432448482ecf2f58e5d70a871bda00e69a4feb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2306/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSExeldroBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSExeldroBentCameraShader.md b/docs/Set-OBSExeldroBentCameraShader.md index b769bedf2..379fd671a 100644 --- a/docs/Set-OBSExeldroBentCameraShader.md +++ b/docs/Set-OBSExeldroBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSExeldroBentCameraShader ### Synopsis -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2307/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFadeTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFadeTransitionShader.md b/docs/Set-OBSFadeTransitionShader.md index c8edec111..52db862e7 100644 --- a/docs/Set-OBSFadeTransitionShader.md +++ b/docs/Set-OBSFadeTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSFadeTransitionShader ### Synopsis -Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| From 47544135051b77bf938ef696bab5b92a5e985070 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2308/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFillColorGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorGradientShader.md b/docs/Set-OBSFillColorGradientShader.md index 7dbf28078..680063f15 100644 --- a/docs/Set-OBSFillColorGradientShader.md +++ b/docs/Set-OBSFillColorGradientShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorGradientShader ### Synopsis -Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientOffset** |Type |Required|Position|PipelineInput|Aliases | From 7a1427196b4ad202ee6c27fff87ceff519cf974d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2309/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFillColorLinearShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorLinearShader.md b/docs/Set-OBSFillColorLinearShader.md index 545919b83..970b7a645 100644 --- a/docs/Set-OBSFillColorLinearShader.md +++ b/docs/Set-OBSFillColorLinearShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorLinearShader ### Synopsis -Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 49cf9f72ebf752a8c834693ee71d4aa35748bd40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2310/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFillColorRadialDegreesShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorRadialDegreesShader.md b/docs/Set-OBSFillColorRadialDegreesShader.md index 8c378b101..4505e7e80 100644 --- a/docs/Set-OBSFillColorRadialDegreesShader.md +++ b/docs/Set-OBSFillColorRadialDegreesShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialDegreesShader ### Synopsis -Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 26091f6ec5d5c3bdb4bb30f8d609b86b57387582 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2311/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFillColorRadialPercentageShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorRadialPercentageShader.md b/docs/Set-OBSFillColorRadialPercentageShader.md index 48a183b10..775a9a894 100644 --- a/docs/Set-OBSFillColorRadialPercentageShader.md +++ b/docs/Set-OBSFillColorRadialPercentageShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialPercentageShader ### Synopsis -Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 40e57143f798995cb6d905d86a14ba5f6804d4e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:07 +0000 Subject: [PATCH 2312/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFilterTemplateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFilterTemplateShader.md b/docs/Set-OBSFilterTemplateShader.md index 751c318d6..be91c5a84 100644 --- a/docs/Set-OBSFilterTemplateShader.md +++ b/docs/Set-OBSFilterTemplateShader.md @@ -3,7 +3,7 @@ Get-OBSFilterTemplateShader ### Synopsis -Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From aff54c169548fe8ae87d5f47564a63b55fb74453 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2313/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFire3Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFire3Shader.md b/docs/Set-OBSFire3Shader.md index e959aa16e..d4c11d146 100644 --- a/docs/Set-OBSFire3Shader.md +++ b/docs/Set-OBSFire3Shader.md @@ -3,7 +3,7 @@ Get-OBSFire3Shader ### Synopsis -Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-PassThru] [-NoResponse] [] +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [] --- @@ -66,6 +66,12 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------|-----------------| |`[float]`|false |22 |false |Flame_Tongue_Size| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **FullWidth** |Type |Required|Position|PipelineInput|Aliases | From dbb027abde5a60baab365698d093eb6b3118bfae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2314/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFireShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFireShader.md b/docs/Set-OBSFireShader.md index 3118685d1..aa697a0e9 100644 --- a/docs/Set-OBSFireShader.md +++ b/docs/Set-OBSFireShader.md @@ -3,7 +3,7 @@ Get-OBSFireShader ### Synopsis -Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2315/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFireworksShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFireworksShader.md b/docs/Set-OBSFireworksShader.md index 3df2dcb2c..8beb550cd 100644 --- a/docs/Set-OBSFireworksShader.md +++ b/docs/Set-OBSFireworksShader.md @@ -3,7 +3,7 @@ Get-OBSFireworksShader ### Synopsis -Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-PassThru] [-NoResponse] [] +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From bd204fa10290f1b27d0edf9be87d1b92af84ca6f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2316/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFisheyeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFisheyeShader.md b/docs/Set-OBSFisheyeShader.md index 7edab9344..0653efdda 100644 --- a/docs/Set-OBSFisheyeShader.md +++ b/docs/Set-OBSFisheyeShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeShader ### Synopsis -Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From cec061d23aeee847929acf4b165b08a9ffcddf93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2317/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFisheyeXyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFisheyeXyShader.md b/docs/Set-OBSFisheyeXyShader.md index 7a568dcbd..6a1c88a84 100644 --- a/docs/Set-OBSFisheyeXyShader.md +++ b/docs/Set-OBSFisheyeXyShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeXyShader ### Synopsis -Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From cb1806f82998f897baf9aaf7a818e759f36be9d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2318/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSFrostedGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFrostedGlassShader.md b/docs/Set-OBSFrostedGlassShader.md index a6b5989d1..6b3e54faa 100644 --- a/docs/Set-OBSFrostedGlassShader.md +++ b/docs/Set-OBSFrostedGlassShader.md @@ -3,7 +3,7 @@ Get-OBSFrostedGlassShader ### Synopsis -Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-PassThru] [-NoResponse] [] +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | From 3921f160e9d50c864fb0e3cf30d4813fc5e295f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2319/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGammaCorrectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGammaCorrectionShader.md b/docs/Set-OBSGammaCorrectionShader.md index 8dd4f1488..b682d0ece 100644 --- a/docs/Set-OBSGammaCorrectionShader.md +++ b/docs/Set-OBSGammaCorrectionShader.md @@ -3,7 +3,7 @@ Get-OBSGammaCorrectionShader ### Synopsis -Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2320/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGaussianBlurAdvancedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianBlurAdvancedShader.md b/docs/Set-OBSGaussianBlurAdvancedShader.md index 0c7cc6805..e83580821 100644 --- a/docs/Set-OBSGaussianBlurAdvancedShader.md +++ b/docs/Set-OBSGaussianBlurAdvancedShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurAdvancedShader ### Synopsis -Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | From c4e43fac9259d441221fd2b30c39d9f38443bae1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2321/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGaussianBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianBlurShader.md b/docs/Set-OBSGaussianBlurShader.md index d782d0cab..02bf99e4d 100644 --- a/docs/Set-OBSGaussianBlurShader.md +++ b/docs/Set-OBSGaussianBlurShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurShader ### Synopsis -Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 78216bcc66c1c81db81f736c8582d35e07a428aa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2322/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGaussianBlurSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianBlurSimpleShader.md b/docs/Set-OBSGaussianBlurSimpleShader.md index c739e36f2..9517872c2 100644 --- a/docs/Set-OBSGaussianBlurSimpleShader.md +++ b/docs/Set-OBSGaussianBlurSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurSimpleShader ### Synopsis -Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | From df641db82fc58beacb109bb1bd19d8130029a9cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:08 +0000 Subject: [PATCH 2323/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGaussianExampleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianExampleShader.md b/docs/Set-OBSGaussianExampleShader.md index e9782cb4b..704028263 100644 --- a/docs/Set-OBSGaussianExampleShader.md +++ b/docs/Set-OBSGaussianExampleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianExampleShader ### Synopsis -Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 13e089f00733745155675998156a0cadc71e3d3f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2324/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGaussianSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianSimpleShader.md b/docs/Set-OBSGaussianSimpleShader.md index 6c5c17d13..318da80f8 100644 --- a/docs/Set-OBSGaussianSimpleShader.md +++ b/docs/Set-OBSGaussianSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianSimpleShader ### Synopsis -Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 1cdae421132fc222ad2ecb36780f2f549bc576af Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2325/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGbCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGbCameraShader.md b/docs/Set-OBSGbCameraShader.md index 8bea27383..0f8fabbb0 100644 --- a/docs/Set-OBSGbCameraShader.md +++ b/docs/Set-OBSGbCameraShader.md @@ -3,7 +3,7 @@ Get-OBSGbCameraShader ### Synopsis -Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-PassThru] [-NoResponse] [] +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -66,6 +66,12 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gamma** |Type |Required|Position|PipelineInput| From ed7c5d072e68a7435b469ffbe9de62d77e35314e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2326/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlassShader.md b/docs/Set-OBSGlassShader.md index 7d252f273..91d1adfd2 100644 --- a/docs/Set-OBSGlassShader.md +++ b/docs/Set-OBSGlassShader.md @@ -3,7 +3,7 @@ Get-OBSGlassShader ### Synopsis -Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-PassThru] [-NoResponse] [] +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GlassColor** |Type |Required|Position|PipelineInput|Aliases | From 9856516014d4fbe1453c7b3c33502e0298573d97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2327/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGlitchAnalogShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlitchAnalogShader.md b/docs/Set-OBSGlitchAnalogShader.md index 16e496c36..d86d063e1 100644 --- a/docs/Set-OBSGlitchAnalogShader.md +++ b/docs/Set-OBSGlitchAnalogShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchAnalogShader ### Synopsis -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HorizontalShake** |Type |Required|Position|PipelineInput|Aliases | From 80cc8b3d08c4cd4098ace1706b42078a4b0d64f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2328/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGlitchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlitchShader.md b/docs/Set-OBSGlitchShader.md index 2407c538e..a38f7f32d 100644 --- a/docs/Set-OBSGlitchShader.md +++ b/docs/Set-OBSGlitchShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchShader ### Synopsis -Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 14b9db78093d41a25aeceb4fdcaf2abfb99d756e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2329/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGlowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlowShader.md b/docs/Set-OBSGlowShader.md index 3afe0fde2..949eb3433 100644 --- a/docs/Set-OBSGlowShader.md +++ b/docs/Set-OBSGlowShader.md @@ -3,7 +3,7 @@ Get-OBSGlowShader ### Synopsis -Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-PassThru] [-NoResponse] [] +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | From 0320dc06797df0d069b307c86c023c773a140317 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2330/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGradientShader.md b/docs/Set-OBSGradientShader.md index 3799643b1..f35b8c9f0 100644 --- a/docs/Set-OBSGradientShader.md +++ b/docs/Set-OBSGradientShader.md @@ -3,7 +3,7 @@ Get-OBSGradientShader ### Synopsis -Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-PassThru] [-NoResponse] [] +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GradientCenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | From bc1cb05ad5eaec05ff5a52095f922f6fe6fa3b16 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2331/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSHalftoneShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHalftoneShader.md b/docs/Set-OBSHalftoneShader.md index fdde28062..837b024c7 100644 --- a/docs/Set-OBSHalftoneShader.md +++ b/docs/Set-OBSHalftoneShader.md @@ -3,7 +3,7 @@ Get-OBSHalftoneShader ### Synopsis -Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From d41b5297c81013b5d8f663636faec15cbeea6c3d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2332/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSHeatWaveSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHeatWaveSimpleShader.md b/docs/Set-OBSHeatWaveSimpleShader.md index 37061c366..51b594616 100644 --- a/docs/Set-OBSHeatWaveSimpleShader.md +++ b/docs/Set-OBSHeatWaveSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSHeatWaveSimpleShader ### Synopsis -Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 8fc1249ccf7e590d34df213f5af3d89f0e70f40f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2333/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSHexagonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHexagonShader.md b/docs/Set-OBSHexagonShader.md index 95d2cbf58..d01791998 100644 --- a/docs/Set-OBSHexagonShader.md +++ b/docs/Set-OBSHexagonShader.md @@ -3,7 +3,7 @@ Get-OBSHexagonShader ### Synopsis -Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |----------|--------|--------|---------------------| |`[string]`|false |11 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 0e7c5a6e8fbfdd04679ff0f91d59a95b3ea2c541 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2334/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSHslHsvSaturationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHslHsvSaturationShader.md b/docs/Set-OBSHslHsvSaturationShader.md index 5fb514dfe..ddc716975 100644 --- a/docs/Set-OBSHslHsvSaturationShader.md +++ b/docs/Set-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HslSaturationFactor** |Type |Required|Position|PipelineInput| From 713f4fd0f7b9b2b71aefc2e506f75090e0a4de21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:09 +0000 Subject: [PATCH 2335/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSHueRotatonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHueRotatonShader.md b/docs/Set-OBSHueRotatonShader.md index 3ff9806e3..da2e83d14 100644 --- a/docs/Set-OBSHueRotatonShader.md +++ b/docs/Set-OBSHueRotatonShader.md @@ -3,7 +3,7 @@ Get-OBSHueRotatonShader ### Synopsis -Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-PassThru] [-NoResponse] [] +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HueOverride** |Type |Required|Position|PipelineInput|Aliases | From dff61adc09a4fd687f326c2c7b231cdfb36d2932 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2336/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSIntensityScopeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSIntensityScopeShader.md b/docs/Set-OBSIntensityScopeShader.md index 4b12561a9..f9cab5c04 100644 --- a/docs/Set-OBSIntensityScopeShader.md +++ b/docs/Set-OBSIntensityScopeShader.md @@ -3,7 +3,7 @@ Get-OBSIntensityScopeShader ### Synopsis -Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |----------|--------|--------|---------------------| |`[string]`|false |3 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Gain** |Type |Required|Position|PipelineInput| From 015b8ace99d84fba3cc3452efea2feccc148841d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2337/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSInvertLumaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSInvertLumaShader.md b/docs/Set-OBSInvertLumaShader.md index 7ef2ce620..eb4fbe47f 100644 --- a/docs/Set-OBSInvertLumaShader.md +++ b/docs/Set-OBSInvertLumaShader.md @@ -3,7 +3,7 @@ Get-OBSInvertLumaShader ### Synopsis -Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-PassThru] [-NoResponse] [] +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha |----------|--------|--------|---------------------| |`[string]`|false |1 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **GammaCorrection** |Type |Required|Position|PipelineInput|Aliases | From 3e6a16730e3d8b9d22fc5bf6b0d9b02f7de4b956 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2338/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSLuminance2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSLuminance2Shader.md b/docs/Set-OBSLuminance2Shader.md index 8fb61355b..ba3455f2d 100644 --- a/docs/Set-OBSLuminance2Shader.md +++ b/docs/Set-OBSLuminance2Shader.md @@ -3,7 +3,7 @@ Get-OBSLuminance2Shader ### Synopsis -Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2339/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSLuminanceAlphaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSLuminanceAlphaShader.md b/docs/Set-OBSLuminanceAlphaShader.md index efc796b6f..818fd36ca 100644 --- a/docs/Set-OBSLuminanceAlphaShader.md +++ b/docs/Set-OBSLuminanceAlphaShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceAlphaShader ### Synopsis -Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------| |`[string]`|false |14 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 5b61d77a7bb8cc1939b895f4d8f0e2e098dc2e24 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2340/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSLuminanceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSLuminanceShader.md b/docs/Set-OBSLuminanceShader.md index f7d3610ef..0034b4425 100644 --- a/docs/Set-OBSLuminanceShader.md +++ b/docs/Set-OBSLuminanceShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceShader ### Synopsis -Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| From f4cbcbab88fcbc3685e3bd6fe63504df4d9d7cd5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2341/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSMatrixShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSMatrixShader.md b/docs/Set-OBSMatrixShader.md index e192d3ec8..6bff65017 100644 --- a/docs/Set-OBSMatrixShader.md +++ b/docs/Set-OBSMatrixShader.md @@ -3,7 +3,7 @@ Get-OBSMatrixShader ### Synopsis -Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------| |`[string]`|false |18 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From a7720384148c7ef45b0bbb18aa1b61280e5d5449 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2342/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSMultiplyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSMultiplyShader.md b/docs/Set-OBSMultiplyShader.md index 2393ba8ee..a2dfe9717 100644 --- a/docs/Set-OBSMultiplyShader.md +++ b/docs/Set-OBSMultiplyShader.md @@ -3,7 +3,7 @@ Get-OBSMultiplyShader ### Synopsis -Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From febddd3bc63039b888402b27478443bc5ed85e75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2343/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSNightSkyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSNightSkyShader.md b/docs/Set-OBSNightSkyShader.md index 573c2ff97..8aa8fbe30 100644 --- a/docs/Set-OBSNightSkyShader.md +++ b/docs/Set-OBSNightSkyShader.md @@ -3,7 +3,7 @@ Get-OBSNightSkyShader ### Synopsis -Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-PassThru] [-NoResponse] [] +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **IncludeClouds** |Type |Required|Position|PipelineInput|Aliases | From 84683ed3ecc1ea516dd8773762428c29f8c9b698 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2344/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSOpacityShader.md b/docs/Set-OBSOpacityShader.md index 514388b73..90eba35d0 100644 --- a/docs/Set-OBSOpacityShader.md +++ b/docs/Set-OBSOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSOpacityShader ### Synopsis -Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 96848b421e21dc10f48c1643856e7e6fa6a1d3a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2345/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPagePeelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPagePeelShader.md b/docs/Set-OBSPagePeelShader.md index f579da30c..dea4f7354 100644 --- a/docs/Set-OBSPagePeelShader.md +++ b/docs/Set-OBSPagePeelShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelShader ### Synopsis -Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] Date: Wed, 14 Feb 2024 20:38:10 +0000 Subject: [PATCH 2346/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPagePeelTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPagePeelTransitionShader.md b/docs/Set-OBSPagePeelTransitionShader.md index 27c6f7daf..fd2287b32 100644 --- a/docs/Set-OBSPagePeelTransitionShader.md +++ b/docs/Set-OBSPagePeelTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelTransitionShader ### Synopsis -Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| From 255ca22a69aaf0b8c01540dba01ef89cbed359f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2347/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPerlinNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPerlinNoiseShader.md b/docs/Set-OBSPerlinNoiseShader.md index 180276c32..c5ad93eb3 100644 --- a/docs/Set-OBSPerlinNoiseShader.md +++ b/docs/Set-OBSPerlinNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSPerlinNoiseShader ### Synopsis -Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-PassThru] [-NoResponse] [] +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Inverted** |Type |Required|Position|PipelineInput| From 0a04deca15ac6fffec608f806c69a6ff6199ee6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2348/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPieChartShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPieChartShader.md b/docs/Set-OBSPieChartShader.md index 9d45c327a..7a6855fed 100644 --- a/docs/Set-OBSPieChartShader.md +++ b/docs/Set-OBSPieChartShader.md @@ -3,7 +3,7 @@ Get-OBSPieChartShader ### Synopsis -Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -78,6 +78,12 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |----------|--------|--------|---------------------| |`[string]`|false |25 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InnerRadius** |Type |Required|Position|PipelineInput|Aliases | From 215d950c9fafe37698f7706aee75532f06361c76 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2349/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPixelationShader.md b/docs/Set-OBSPixelationShader.md index fab84d7bd..90a43e4aa 100644 --- a/docs/Set-OBSPixelationShader.md +++ b/docs/Set-OBSPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationShader ### Synopsis -Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 5e21bdeea12573a28cdc57a6e1d6e6498dd8b686 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2350/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPixelationTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPixelationTransitionShader.md b/docs/Set-OBSPixelationTransitionShader.md index 8d7f4bad4..a34c7a6e7 100644 --- a/docs/Set-OBSPixelationTransitionShader.md +++ b/docs/Set-OBSPixelationTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationTransitionShader ### Synopsis -Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-PassThru] [-NoResponse] [] +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From a5c1da934732b0b6ea529c71f677f2c03d25028b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2351/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSPulseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPulseShader.md b/docs/Set-OBSPulseShader.md index 944a51b94..ccefad9b8 100644 --- a/docs/Set-OBSPulseShader.md +++ b/docs/Set-OBSPulseShader.md @@ -3,7 +3,7 @@ Get-OBSPulseShader ### Synopsis -Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |----------|--------|--------|---------------------| |`[string]`|false |12 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 82912a4443bd02e23ba1fd11b97e3271a9649707 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2352/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRainbowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRainbowShader.md b/docs/Set-OBSRainbowShader.md index d9c4b3399..4f81a61ad 100644 --- a/docs/Set-OBSRainbowShader.md +++ b/docs/Set-OBSRainbowShader.md @@ -3,7 +3,7 @@ Get-OBSRainbowShader ### Synopsis -Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Luminosity** |Type |Required|Position|PipelineInput| From f343ad3a5d51acbf8e46ade48cb33e69ec2161ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2353/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRainWindowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRainWindowShader.md b/docs/Set-OBSRainWindowShader.md index 055e58bfc..594e61dfd 100644 --- a/docs/Set-OBSRainWindowShader.md +++ b/docs/Set-OBSRainWindowShader.md @@ -3,7 +3,7 @@ Get-OBSRainWindowShader ### Synopsis -Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-PassThru] [-NoResponse] [] +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From cc0700e45f06d8c577b1b10936f6360f91073d97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2354/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRectangularDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRectangularDropShadowShader.md b/docs/Set-OBSRectangularDropShadowShader.md index db6542480..dbc35ba12 100644 --- a/docs/Set-OBSRectangularDropShadowShader.md +++ b/docs/Set-OBSRectangularDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSRectangularDropShadowShader ### Synopsis -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] Date: Wed, 14 Feb 2024 20:38:11 +0000 Subject: [PATCH 2355/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRemovePartialPixelsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRemovePartialPixelsShader.md b/docs/Set-OBSRemovePartialPixelsShader.md index ec8112e5e..4c99679ed 100644 --- a/docs/Set-OBSRemovePartialPixelsShader.md +++ b/docs/Set-OBSRemovePartialPixelsShader.md @@ -3,7 +3,7 @@ Get-OBSRemovePartialPixelsShader ### Synopsis -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2356/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRepeatShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRepeatShader.md b/docs/Set-OBSRepeatShader.md index 6d2c22dcc..e19bd5cc4 100644 --- a/docs/Set-OBSRepeatShader.md +++ b/docs/Set-OBSRepeatShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatShader ### Synopsis -Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From f3ce27424fb3b6ee9ea656a8bd196a770220ad08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2357/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRepeatTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRepeatTextureShader.md b/docs/Set-OBSRepeatTextureShader.md index 3b02198d5..033fc3de5 100644 --- a/docs/Set-OBSRepeatTextureShader.md +++ b/docs/Set-OBSRepeatTextureShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatTextureShader ### Synopsis -Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |----------|--------|--------|---------------------| |`[string]`|false |17 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From f07593ac79b0103d3627834c7b0932f2ae7db2a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2358/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRgbColorWheelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRgbColorWheelShader.md b/docs/Set-OBSRgbColorWheelShader.md index 52a229d96..1152ecf46 100644 --- a/docs/Set-OBSRgbColorWheelShader.md +++ b/docs/Set-OBSRgbColorWheelShader.md @@ -3,7 +3,7 @@ Get-OBSRgbColorWheelShader ### Synopsis -Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 5c9c8b0643f732f2096eec3cebc18a50f4b579a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2359/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRgbSplitShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRgbSplitShader.md b/docs/Set-OBSRgbSplitShader.md index 3d6a3bbad..40369837c 100644 --- a/docs/Set-OBSRgbSplitShader.md +++ b/docs/Set-OBSRgbSplitShader.md @@ -3,7 +3,7 @@ Get-OBSRgbSplitShader ### Synopsis -Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Greenx** |Type |Required|Position|PipelineInput| From ca1411483355c6bb1328e1bbac01830d97978c4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2360/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRgbvisibilityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRgbvisibilityShader.md b/docs/Set-OBSRgbvisibilityShader.md index 96e19a467..39f084a41 100644 --- a/docs/Set-OBSRgbvisibilityShader.md +++ b/docs/Set-OBSRgbvisibilityShader.md @@ -3,7 +3,7 @@ Get-OBSRgbvisibilityShader ### Synopsis -Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Green** |Type |Required|Position|PipelineInput| From 5aac5a4f8aaf4eac55942fb2d69a294debcdf28c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2361/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRippleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRippleShader.md b/docs/Set-OBSRippleShader.md index 53e350f99..9d84e3bda 100644 --- a/docs/Set-OBSRippleShader.md +++ b/docs/Set-OBSRippleShader.md @@ -3,7 +3,7 @@ Get-OBSRippleShader ### Synopsis -Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 63a90c5d0387e126e48cd7ae29b3f9aa72244f38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2362/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRotatingSourceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRotatingSourceShader.md b/docs/Set-OBSRotatingSourceShader.md index 3f3c7014e..d29e8cbbe 100644 --- a/docs/Set-OBSRotatingSourceShader.md +++ b/docs/Set-OBSRotatingSourceShader.md @@ -3,7 +3,7 @@ Get-OBSRotatingSourceShader ### Synopsis -Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-PassThru] [-NoResponse] [] +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **KeepAspectratio** |Type |Required|Position|PipelineInput|Aliases | From 84263ad2b00e445a6514354b9e4776a993573876 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2363/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRotatoeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRotatoeShader.md b/docs/Set-OBSRotatoeShader.md index b6a7a83b6..c8edaec01 100644 --- a/docs/Set-OBSRotatoeShader.md +++ b/docs/Set-OBSRotatoeShader.md @@ -3,7 +3,7 @@ Get-OBSRotatoeShader ### Synopsis -Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-PassThru] [-NoResponse] [] +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------| |`[string]`|false |17 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From df837e1a2e744b64377f35792abb5ac54caab8ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2364/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRoundedRect2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRect2Shader.md b/docs/Set-OBSRoundedRect2Shader.md index 8bf0925e4..d201f2819 100644 --- a/docs/Set-OBSRoundedRect2Shader.md +++ b/docs/Set-OBSRoundedRect2Shader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRect2Shader ### Synopsis -Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [] --- @@ -60,6 +60,12 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |7 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From debad7ad689165ddc4164fe701d558b7ce7113d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2365/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRoundedRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRectPerCornerShader.md b/docs/Set-OBSRoundedRectPerCornerShader.md index 21053e7e1..1b2f1d1f1 100644 --- a/docs/Set-OBSRoundedRectPerCornerShader.md +++ b/docs/Set-OBSRoundedRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerCornerShader ### Synopsis -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From cf5cc2d11432ed0559cf1c9a85a8be88feddead2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2366/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRoundedRectPerSideShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRectPerSideShader.md b/docs/Set-OBSRoundedRectPerSideShader.md index c5941de0a..609b9fd6d 100644 --- a/docs/Set-OBSRoundedRectPerSideShader.md +++ b/docs/Set-OBSRoundedRectPerSideShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerSideShader ### Synopsis -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -72,6 +72,12 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From d404c91d62d879f2ae9c74e326da10a4cd2c71b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:12 +0000 Subject: [PATCH 2367/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRoundedRectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRectShader.md b/docs/Set-OBSRoundedRectShader.md index 11236ac07..bdb6d6e5f 100644 --- a/docs/Set-OBSRoundedRectShader.md +++ b/docs/Set-OBSRoundedRectShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectShader ### Synopsis -Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 0bdebb3e6947b1ed7ce943e4492404ef8d9278d0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2368/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRoundedStrokeGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedStrokeGradientShader.md b/docs/Set-OBSRoundedStrokeGradientShader.md index 0fba62aff..b51f597f9 100644 --- a/docs/Set-OBSRoundedStrokeGradientShader.md +++ b/docs/Set-OBSRoundedStrokeGradientShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeGradientShader ### Synopsis -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | From 513c6fdb01006e1237205c59171e3f6febf44c99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2369/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSRoundedStrokeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedStrokeShader.md b/docs/Set-OBSRoundedStrokeShader.md index c1e289a07..a7fa44f08 100644 --- a/docs/Set-OBSRoundedStrokeShader.md +++ b/docs/Set-OBSRoundedStrokeShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeShader ### Synopsis -Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | From 1ab74840a4a2fdccd86d6be43ed23490e62ac20b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2370/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSScanLineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSScanLineShader.md b/docs/Set-OBSScanLineShader.md index 53ed79fc2..99fa69340 100644 --- a/docs/Set-OBSScanLineShader.md +++ b/docs/Set-OBSScanLineShader.md @@ -3,7 +3,7 @@ Get-OBSScanLineShader ### Synopsis -Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-PassThru] [-NoResponse] [] +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |---------|--------|--------|-------------| |`[float]`|false |2 |false | +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Lengthwise** |Type |Required|Position|PipelineInput| From e9f6cac755e9b99dc23f22f698be1709fdd7abf6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2371/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSeascapeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSeascapeShader.md b/docs/Set-OBSSeascapeShader.md index d68851f55..35ec3f5c8 100644 --- a/docs/Set-OBSSeascapeShader.md +++ b/docs/Set-OBSSeascapeShader.md @@ -3,7 +3,7 @@ Get-OBSSeascapeShader ### Synopsis -Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-PassThru] [-NoResponse] [] +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From daee6cf7ebb6a9e999e336ef17aa6ec338bf9032 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2372/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSeasickShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSeasickShader.md b/docs/Set-OBSSeasickShader.md index 58298e4f7..eeb8feec1 100644 --- a/docs/Set-OBSSeasickShader.md +++ b/docs/Set-OBSSeasickShader.md @@ -3,7 +3,7 @@ Get-OBSSeasickShader ### Synopsis -Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2373/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSelectiveColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSelectiveColorShader.md b/docs/Set-OBSSelectiveColorShader.md index 4dbe2174d..7adb75f74 100644 --- a/docs/Set-OBSSelectiveColorShader.md +++ b/docs/Set-OBSSelectiveColorShader.md @@ -3,7 +3,7 @@ Get-OBSSelectiveColorShader ### Synopsis -Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-PassThru] [-NoResponse] [] +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [] --- @@ -54,6 +54,12 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From b5ae7d0c91bc3e1e74ae2034bdcfff5ff0229308 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2374/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSShakeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSShakeShader.md b/docs/Set-OBSShakeShader.md index 0fb789c6d..3525c2c3e 100644 --- a/docs/Set-OBSShakeShader.md +++ b/docs/Set-OBSShakeShader.md @@ -3,7 +3,7 @@ Get-OBSShakeShader ### Synopsis -Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-PassThru] [-NoResponse] [] +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |----------|--------|--------|---------------------| |`[string]`|false |15 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From 47cfb0a5d1be1a0c16f99e7a47f27e06790490e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2375/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSShineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSShineShader.md b/docs/Set-OBSShineShader.md index 7101b420f..caa1c9046 100644 --- a/docs/Set-OBSShineShader.md +++ b/docs/Set-OBSShineShader.md @@ -3,7 +3,7 @@ Get-OBSShineShader ### Synopsis -Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -36,6 +36,12 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |----------|--------|--------|---------------------| |`[string]`|false |9 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 2e26c29922f6f6f97992472ead26aa99ec165b63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2376/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSimpleGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSimpleGradientShader.md b/docs/Set-OBSSimpleGradientShader.md index c6a9b2453..25a63cc38 100644 --- a/docs/Set-OBSSimpleGradientShader.md +++ b/docs/Set-OBSSimpleGradientShader.md @@ -3,7 +3,7 @@ Get-OBSSimpleGradientShader ### Synopsis -Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **LensFlair** |Type |Required|Position|PipelineInput|Aliases | From 5b3ba6933fdeb1be4d3e560b986e17475608aec5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2377/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSimplexNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSimplexNoiseShader.md b/docs/Set-OBSSimplexNoiseShader.md index 19853adf9..bfbd588b2 100644 --- a/docs/Set-OBSSimplexNoiseShader.md +++ b/docs/Set-OBSSimplexNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSSimplexNoiseShader ### Synopsis -Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-PassThru] [-NoResponse] [] +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ForeColor** |Type |Required|Position|PipelineInput|Aliases | From 31cbb4d7ecef5bbdd8b3082b78a5b30a87113f53 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:13 +0000 Subject: [PATCH 2378/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSpotlightShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSpotlightShader.md b/docs/Set-OBSSpotlightShader.md index dccc93508..8d7e9e009 100644 --- a/docs/Set-OBSSpotlightShader.md +++ b/docs/Set-OBSSpotlightShader.md @@ -3,7 +3,7 @@ Get-OBSSpotlightShader ### Synopsis -Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp |---------|--------|--------|-------------|-------------| |`[float]`|false |1 |false |Focus_Percent| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From bec43ae51701a9081214ded3296619b5c065dbac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2379/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSSwirlShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSwirlShader.md b/docs/Set-OBSSwirlShader.md index 176305882..60ee51dcd 100644 --- a/docs/Set-OBSSwirlShader.md +++ b/docs/Set-OBSSwirlShader.md @@ -3,7 +3,7 @@ Get-OBSSwirlShader ### Synopsis -Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-PassThru] [-NoResponse] [] +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [] --- @@ -42,6 +42,12 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |----------|--------|--------|---------------------| |`[string]`|false |6 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Inverse** |Type |Required|Position|PipelineInput| From d23afaafe7b1c79cd198e25dd9867f454150e05d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2380/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSThermalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSThermalShader.md b/docs/Set-OBSThermalShader.md index c4b01af03..fb794b67f 100644 --- a/docs/Set-OBSThermalShader.md +++ b/docs/Set-OBSThermalShader.md @@ -3,7 +3,7 @@ Get-OBSThermalShader ### Synopsis -Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From d922696ea23c1d5dfd2338a252604a4d5212b7f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2381/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSTvCrtSubpixelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSTvCrtSubpixelShader.md b/docs/Set-OBSTvCrtSubpixelShader.md index 1506f80ef..2c553934a 100644 --- a/docs/Set-OBSTvCrtSubpixelShader.md +++ b/docs/Set-OBSTvCrtSubpixelShader.md @@ -3,7 +3,7 @@ Get-OBSTvCrtSubpixelShader ### Synopsis -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **HGap** |Type |Required|Position|PipelineInput| From 0bbae0cbc16db74f5a92c39de2fed24864b1a0fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2382/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSTwistShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSTwistShader.md b/docs/Set-OBSTwistShader.md index 910001309..ecd16bc6f 100644 --- a/docs/Set-OBSTwistShader.md +++ b/docs/Set-OBSTwistShader.md @@ -3,7 +3,7 @@ Get-OBSTwistShader ### Synopsis -Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From c7965090c68e5c8571e99473bbd6795326d365fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2383/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSTwoPassDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSTwoPassDropShadowShader.md b/docs/Set-OBSTwoPassDropShadowShader.md index f730883f5..d7a9c9493 100644 --- a/docs/Set-OBSTwoPassDropShadowShader.md +++ b/docs/Set-OBSTwoPassDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSTwoPassDropShadowShader ### Synopsis -Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-PassThru] [-NoResponse] [] +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------| |`[string]`|false |13 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Image** |Type |Required|Position|PipelineInput| From dc790cdfc286b0dcc5b79938caf88379f0aac6b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2384/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSVCRShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVCRShader.md b/docs/Set-OBSVCRShader.md index 2245dab2f..1ee7c0520 100644 --- a/docs/Set-OBSVCRShader.md +++ b/docs/Set-OBSVCRShader.md @@ -3,7 +3,7 @@ Get-OBSVCRShader ### Synopsis -Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2385/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSVHSShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVHSShader.md b/docs/Set-OBSVHSShader.md index 43b99ca7d..771aa0102 100644 --- a/docs/Set-OBSVHSShader.md +++ b/docs/Set-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-PassThru] [-NoResponse] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |----------|--------|--------|---------------------| |`[string]`|false |8 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 42dadcc03e890b4e7ffbdea282c7c27d7b934d34 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2386/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSVignettingShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVignettingShader.md b/docs/Set-OBSVignettingShader.md index 7b4284ede..35801fd34 100644 --- a/docs/Set-OBSVignettingShader.md +++ b/docs/Set-OBSVignettingShader.md @@ -3,7 +3,7 @@ Get-OBSVignettingShader ### Synopsis -Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -18,6 +18,12 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **InnerRadius** |Type |Required|Position|PipelineInput| From fde3e393585478bd5dc7108dae6a3d0cf19ff142 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2387/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSVoronoiPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVoronoiPixelationShader.md b/docs/Set-OBSVoronoiPixelationShader.md index 199e0267f..8dbb0a4ed 100644 --- a/docs/Set-OBSVoronoiPixelationShader.md +++ b/docs/Set-OBSVoronoiPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSVoronoiPixelationShader ### Synopsis -Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-PassThru] [-NoResponse] [] +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |----------|--------|--------|---------------------| |`[string]`|false |2 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From ee55343c689d208784cef24584ea013d710d0768 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2388/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSZigZagShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSZigZagShader.md b/docs/Set-OBSZigZagShader.md index 1ea37ec5b..18d784361 100644 --- a/docs/Set-OBSZigZagShader.md +++ b/docs/Set-OBSZigZagShader.md @@ -3,7 +3,7 @@ Get-OBSZigZagShader ### Synopsis -Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -48,6 +48,12 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |----------|--------|--------|---------------------| |`[string]`|false |10 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From 051eabb53e0596639d5e6628c50f82b936e848f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2389/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSZoomBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSZoomBlurShader.md b/docs/Set-OBSZoomBlurShader.md index 377933c03..e6bb238a7 100644 --- a/docs/Set-OBSZoomBlurShader.md +++ b/docs/Set-OBSZoomBlurShader.md @@ -3,7 +3,7 @@ Get-OBSZoomBlurShader ### Synopsis -Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-PassThru] [-NoResponse] [] +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] --- @@ -24,6 +24,12 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |----------|--------|--------|---------------------| |`[string]`|false |5 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Glitch** |Type |Required|Position|PipelineInput| From 25bef615a19240bc5b840cfa0163777d85f45bc9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:38:14 +0000 Subject: [PATCH 2390/4768] feat: Shader Commands now support -Force ( Fixes #163 ) Also fixing Set-OBSShaderFilter -ShaderFile --- docs/Set-OBSZoomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSZoomShader.md b/docs/Set-OBSZoomShader.md index e0aba75c6..229353324 100644 --- a/docs/Set-OBSZoomShader.md +++ b/docs/Set-OBSZoomShader.md @@ -3,7 +3,7 @@ Get-OBSZoomShader ### Synopsis -Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-PassThru] [-NoResponse] [] +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] --- @@ -30,6 +30,12 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------| |`[string]`|false |4 |true (ByPropertyName)| +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **NoResponse** |Type |Required|Position|PipelineInput| From f7c9d78e681358cee68413489e62f038f08a3f2d Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 12:51:15 -0800 Subject: [PATCH 2391/4768] feat: SoundCloud Source - Defaulting Name ( Fixes #179 ) --- Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 b/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 index a72c191fa..1fac05c1a 100644 --- a/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 +++ b/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 @@ -115,11 +115,12 @@ function Set-OBSSoundCloudSource # The name of the scene. # If no scene name is provided, the current program scene will be used. [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] [string] $Scene, # The name of the input. - # If no name is provided, the last segment of the URI or file path will be the input name. + # If no name is provided, then "SoundCloud" will be used. [Parameter(ValueFromPipelineByPropertyName)] [Alias('InputName','SourceName')] [string] @@ -279,14 +280,7 @@ function Set-OBSSoundCloudSource $myParameterData["is_local_file"] = $true if (-not $Name) { - $Name = $myParameters['Name'] = - if ($uri.Segments) { - $uri.Segments[-1] -replace '\.html$' - } elseif ($uri -match '[\\/]') { - @($uri -split '[\\/]')[-1] - } else { - $uri - } + $Name = $myParameters['Name'] = 'SoundCloud' } $addSplat = [Ordered]@{ From 3139695c363285122c0f03259a33122aade85920 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:53:25 +0000 Subject: [PATCH 2392/4768] feat: SoundCloud Source - Defaulting Name ( Fixes #179 ) --- Commands/Sources/Set-OBSSoundCloudSource.ps1 | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Commands/Sources/Set-OBSSoundCloudSource.ps1 b/Commands/Sources/Set-OBSSoundCloudSource.ps1 index 99c8eb530..5538eb478 100644 --- a/Commands/Sources/Set-OBSSoundCloudSource.ps1 +++ b/Commands/Sources/Set-OBSSoundCloudSource.ps1 @@ -112,11 +112,12 @@ function Set-OBSSoundCloudSource { # The name of the scene. # If no scene name is provided, the current program scene will be used. [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] [string] $Scene, # The name of the input. - # If no name is provided, the last segment of the URI or file path will be the input name. + # If no name is provided, then "SoundCloud" will be used. [Parameter(ValueFromPipelineByPropertyName)] [Alias('InputName','SourceName')] [string] @@ -312,14 +313,7 @@ function Set-OBSSoundCloudSource { $myParameterData["is_local_file"] = $true if (-not $Name) { - $Name = $myParameters['Name'] = - if ($uri.Segments) { - $uri.Segments[-1] -replace '\.html$' - } elseif ($uri -match '[\\/]') { - @($uri -split '[\\/]')[-1] - } else { - $uri - } + $Name = $myParameters['Name'] = 'SoundCloud' } $addSplat = [Ordered]@{ From 487c884758a5efa42a1eae8aa97a4137eb658c29 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:53:59 +0000 Subject: [PATCH 2393/4768] feat: SoundCloud Source - Defaulting Name ( Fixes #179 ) --- docs/Set-OBSSoundCloudSource.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Set-OBSSoundCloudSource.md b/docs/Set-OBSSoundCloudSource.md index 87f894821..11bb87de0 100644 --- a/docs/Set-OBSSoundCloudSource.md +++ b/docs/Set-OBSSoundCloudSource.md @@ -148,13 +148,13 @@ If provided, the browser source will render at a custom frame rate. The name of the scene. If no scene name is provided, the current program scene will be used. -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |8 |true (ByPropertyName)|SceneName| #### **Name** The name of the input. -If no name is provided, the last segment of the URI or file path will be the input name. +If no name is provided, then "SoundCloud" will be used. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|------------------------| From edbd81780e1b281120b61e33d9b60d5197928e03 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:54:08 +0000 Subject: [PATCH 2394/4768] feat: SoundCloud Source - Defaulting Name ( Fixes #179 ) --- docs/Add-OBSSoundCloudSource.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Add-OBSSoundCloudSource.md b/docs/Add-OBSSoundCloudSource.md index 87f894821..11bb87de0 100644 --- a/docs/Add-OBSSoundCloudSource.md +++ b/docs/Add-OBSSoundCloudSource.md @@ -148,13 +148,13 @@ If provided, the browser source will render at a custom frame rate. The name of the scene. If no scene name is provided, the current program scene will be used. -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |8 |true (ByPropertyName)|SceneName| #### **Name** The name of the input. -If no name is provided, the last segment of the URI or file path will be the input name. +If no name is provided, then "SoundCloud" will be used. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|------------------------| From 904b1b471175e02b145d5df591ff1c81ab67f84c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 20:54:10 +0000 Subject: [PATCH 2395/4768] feat: SoundCloud Source - Defaulting Name ( Fixes #179 ) --- docs/Get-OBSSoundCloudSource.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Get-OBSSoundCloudSource.md b/docs/Get-OBSSoundCloudSource.md index 87f894821..11bb87de0 100644 --- a/docs/Get-OBSSoundCloudSource.md +++ b/docs/Get-OBSSoundCloudSource.md @@ -148,13 +148,13 @@ If provided, the browser source will render at a custom frame rate. The name of the scene. If no scene name is provided, the current program scene will be used. -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[String]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|---------| +|`[String]`|false |8 |true (ByPropertyName)|SceneName| #### **Name** The name of the input. -If no name is provided, the last segment of the URI or file path will be the input name. +If no name is provided, then "SoundCloud" will be used. |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|------------------------| From 45536a3264b9c0ff205688e6e92926ad917d40ef Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 13:35:15 -0800 Subject: [PATCH 2396/4768] feat: OBS.Beat.Timer ( Fixes #195 ) --- Types/OBS.Beat/get_Timer.ps1 | 9 +++++++++ Types/OBS.Beat/set_Timer.ps1 | 23 +++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Types/OBS.Beat/get_Timer.ps1 create mode 100644 Types/OBS.Beat/set_Timer.ps1 diff --git a/Types/OBS.Beat/get_Timer.ps1 b/Types/OBS.Beat/get_Timer.ps1 new file mode 100644 index 000000000..9f3660892 --- /dev/null +++ b/Types/OBS.Beat/get_Timer.ps1 @@ -0,0 +1,9 @@ +<# +.SYNOPSIS + Gets the Beat Timer +.DESCRIPTION + Gets the Timer object that should elapse every beat. + + This can be used to Register-ObjectEvent to run on a beat. +#> +return $this.'.Timer' diff --git a/Types/OBS.Beat/set_Timer.ps1 b/Types/OBS.Beat/set_Timer.ps1 new file mode 100644 index 000000000..3f3757939 --- /dev/null +++ b/Types/OBS.Beat/set_Timer.ps1 @@ -0,0 +1,23 @@ +<# +.SYNOPSIS + Sets the Beat Timer +.DESCRIPTION + Sets the Beat Timer. + + If no timer exists, one is created. Otherwise, the interval is updated. +.OUTPUTS + [TimeSpan] +#> +param( +# The new timer interval. +[timespan] +$Interval +) + +if (-not $this.'.Timer') { + $this.'.Timer' = [Timers.Timer]::new($Interval.TotalMilliseconds) +} else { + $this.'.Timer'.Interval = $Interval.TotalMilliseconds +} + + From 261b31ef7d74defb0c322c6d7776a6b0a609a213 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:37:50 +0000 Subject: [PATCH 2397/4768] feat: OBS.Beat.Timer ( Fixes #195 ) --- obs-powershell.types.ps1xml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 591ea1428..be31a246d 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -206,6 +206,47 @@ $this | Add-Member NoteProperty ".BPM" ( [Math]::Cos($this.BeatCount * [Math]::PI/2)
+ + Timer + + <# +.SYNOPSIS + Gets the Beat Timer +.DESCRIPTION + Gets the Timer object that should elapse every beat. + + This can be used to Register-ObjectEvent to run on a beat. +#> +return $this.'.Timer' + + + + <# +.SYNOPSIS + Sets the Beat Timer +.DESCRIPTION + Sets the Beat Timer. + + If no timer exists, one is created. Otherwise, the interval is updated. +.OUTPUTS + [TimeSpan] +#> +param( +# The new timer interval. +[timespan] +$Interval +) + +if (-not $this.'.Timer') { + $this.'.Timer' = [Timers.Timer]::new($Interval.TotalMilliseconds) +} else { + $this.'.Timer'.Interval = $Interval.TotalMilliseconds +} + + + + +
From 815eb5d184533a0dfed5c10d33f0ca3ccf5b1cf9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:39:01 +0000 Subject: [PATCH 2398/4768] feat: OBS.Beat.Timer ( Fixes #195 ) --- docs/OBS/Beat/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index d4ce8153c..355137de1 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -15,3 +15,5 @@ * [get_Duration](get_Duration.md) * [set_Duration](set_Duration.md) * [get_Sine](get_Sine.md) +* [get_Timer](get_Timer.md) +* [set_Timer](set_Timer.md) From f87b83d4a2422fdfeb9a728edfb6b68940b4f8d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:39:01 +0000 Subject: [PATCH 2399/4768] feat: OBS.Beat.Timer ( Fixes #195 ) --- docs/OBS/Beat/get_Timer.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/OBS/Beat/get_Timer.md diff --git a/docs/OBS/Beat/get_Timer.md b/docs/OBS/Beat/get_Timer.md new file mode 100644 index 000000000..590c78a18 --- /dev/null +++ b/docs/OBS/Beat/get_Timer.md @@ -0,0 +1,15 @@ +OBS.Beat.get_Timer() +-------------------- + +### Synopsis +Gets the Beat Timer + +--- + +### Description + +Gets the Timer object that should elapse every beat. + +This can be used to Register-ObjectEvent to run on a beat. + +--- From 8684e0a0f16c45c2c4988c035ec146fa85c8fefc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:39:01 +0000 Subject: [PATCH 2400/4768] feat: OBS.Beat.Timer ( Fixes #195 ) --- docs/OBS/Beat/set_Timer.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docs/OBS/Beat/set_Timer.md diff --git a/docs/OBS/Beat/set_Timer.md b/docs/OBS/Beat/set_Timer.md new file mode 100644 index 000000000..82f21e657 --- /dev/null +++ b/docs/OBS/Beat/set_Timer.md @@ -0,0 +1,30 @@ +OBS.Beat.set_Timer() +-------------------- + +### Synopsis +Sets the Beat Timer + +--- + +### Description + +Sets the Beat Timer. + +If no timer exists, one is created. Otherwise, the interval is updated. + +--- + +### Parameters +#### **Interval** +The new timer interval. + +|Type |Required|Position|PipelineInput| +|------------|--------|--------|-------------| +|`[TimeSpan]`|false |1 |false | + +--- + +### Outputs +* [TimeSpan] + +--- From 883850930b517f1090d6ed824be227bfefdbb5ef Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 13:41:59 -0800 Subject: [PATCH 2401/4768] feat: Integrating OBS.Beat.Timer ( Fixes #195 ) --- Types/OBS.Beat/TapBPM.ps1 | 3 +-- Types/OBS.Beat/set_BPM.ps1 | 5 +++++ Types/OBS.Beat/set_Duration.ps1 | 7 ++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Types/OBS.Beat/TapBPM.ps1 b/Types/OBS.Beat/TapBPM.ps1 index 30bd0bc06..ba0fc3437 100644 --- a/Types/OBS.Beat/TapBPM.ps1 +++ b/Types/OBS.Beat/TapBPM.ps1 @@ -28,8 +28,7 @@ $beatTimes = do { $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average -$TappedBpm = (60 * 1000) / $averageTimeBetweenBeats -$this.BPM = $TappedBpm +$this.Duration = $averageTimeBetweenBeats $this.BeatStart = $beatTimes[-1] $TappedBpm diff --git a/Types/OBS.Beat/set_BPM.ps1 b/Types/OBS.Beat/set_BPM.ps1 index d26b532ec..d286dcc80 100644 --- a/Types/OBS.Beat/set_BPM.ps1 +++ b/Types/OBS.Beat/set_BPM.ps1 @@ -12,3 +12,8 @@ param( $BPM ) $this | Add-Member NoteProperty ".BPM" $BPM -Force -PassThru +$duration = + [Timespan]::FromMilliseconds( + (60 * 1000) / $this.'.BPM' + ) +$this.Timer = $duration diff --git a/Types/OBS.Beat/set_Duration.ps1 b/Types/OBS.Beat/set_Duration.ps1 index 774e63492..77bb5057a 100644 --- a/Types/OBS.Beat/set_Duration.ps1 +++ b/Types/OBS.Beat/set_Duration.ps1 @@ -3,17 +3,14 @@ Gets the Duration .DESCRIPTION Gets the Duration of a Beat -.OUTPUTSobs +.OUTPUTS [TimeSpan] #> param( # The new duration. -# This will also set the BPM [timespan] $Duration ) -$this | Add-Member NoteProperty ".BPM" ( - (60 * 1000) / $Duration.TotalMilliseconds -) -Force -PassThru +$this.BPM = ( 60000 / $Duration.TotalMilliseconds ) From d5e052aca2dc7a0d7bfd8f404ac056554f184693 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:44:15 +0000 Subject: [PATCH 2402/4768] feat: Integrating OBS.Beat.Timer ( Fixes #195 ) --- obs-powershell.types.ps1xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index be31a246d..f974a853a 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -37,8 +37,7 @@ $beatTimes = do { $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average -$TappedBpm = (60 * 1000) / $averageTimeBetweenBeats -$this.BPM = $TappedBpm +$this.Duration = $averageTimeBetweenBeats $this.BeatStart = $beatTimes[-1] $TappedBpm @@ -136,6 +135,11 @@ param( $BPM ) $this | Add-Member NoteProperty ".BPM" $BPM -Force -PassThru +$duration = + [Timespan]::FromMilliseconds( + (60 * 1000) / $this.'.BPM' + ) +$this.Timer = $duration @@ -175,19 +179,16 @@ if ($this.'.BPM') { Gets the Duration .DESCRIPTION Gets the Duration of a Beat -.OUTPUTSobs +.OUTPUTS [TimeSpan] #> param( # The new duration. -# This will also set the BPM [timespan] $Duration ) -$this | Add-Member NoteProperty ".BPM" ( - (60 * 1000) / $Duration.TotalMilliseconds -) -Force -PassThru +$this.BPM = ( 60000 / $Duration.TotalMilliseconds ) From 2f8a8c4bdef3d2cfb80e439abbeed743e13aee68 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:45:28 +0000 Subject: [PATCH 2403/4768] feat: Integrating OBS.Beat.Timer ( Fixes #195 ) --- docs/OBS/Beat/set_Duration.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/OBS/Beat/set_Duration.md b/docs/OBS/Beat/set_Duration.md index 37f7e6362..fe87bd830 100644 --- a/docs/OBS/Beat/set_Duration.md +++ b/docs/OBS/Beat/set_Duration.md @@ -2,30 +2,27 @@ OBS.Beat.set_Duration() ----------------------- ### Synopsis - -OBS.Beat.set_Duration [[-Duration] ] +Gets the Duration --- ### Description +Gets the Duration of a Beat + --- ### Parameters #### **Duration** +The new duration. |Type |Required|Position|PipelineInput| |------------|--------|--------|-------------| -|`[timespan]`|false |0 |false | - ---- - -### Inputs -None +|`[TimeSpan]`|false |1 |false | --- ### Outputs -* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) +* [TimeSpan] --- From aac89c82e9accf92ee246cff0c88334d93273cff Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 13:47:22 -0800 Subject: [PATCH 2404/4768] feat: Integrating TapBPM with OBS.Beat.Timer ( Fixes #195 ) Casting average to [timespan] --- Types/OBS.Beat/TapBPM.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Types/OBS.Beat/TapBPM.ps1 b/Types/OBS.Beat/TapBPM.ps1 index ba0fc3437..a8422a534 100644 --- a/Types/OBS.Beat/TapBPM.ps1 +++ b/Types/OBS.Beat/TapBPM.ps1 @@ -28,7 +28,7 @@ $beatTimes = do { $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average -$this.Duration = $averageTimeBetweenBeats +$this.Duration = [Timespan]::FromMilliseconds($averageTimeBetweenBeats) $this.BeatStart = $beatTimes[-1] $TappedBpm From 846e1dcfce32c282ee95bd755ab398fba2299200 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:49:42 +0000 Subject: [PATCH 2405/4768] feat: Integrating TapBPM with OBS.Beat.Timer ( Fixes #195 ) Casting average to [timespan] --- obs-powershell.types.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index f974a853a..1ea23c34b 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -37,7 +37,7 @@ $beatTimes = do { $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average -$this.Duration = $averageTimeBetweenBeats +$this.Duration = [Timespan]::FromMilliseconds($averageTimeBetweenBeats) $this.BeatStart = $beatTimes[-1] $TappedBpm From 02e83564d7d74e0e8b961d9c23f24bb2cd9a0775 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 13:50:42 -0800 Subject: [PATCH 2406/4768] feat: OBS.Beat.Timer ( Fixes #195 ) Fixing Timer First Set --- Types/OBS.Beat/set_Timer.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Types/OBS.Beat/set_Timer.ps1 b/Types/OBS.Beat/set_Timer.ps1 index 3f3757939..98f493d8d 100644 --- a/Types/OBS.Beat/set_Timer.ps1 +++ b/Types/OBS.Beat/set_Timer.ps1 @@ -15,7 +15,7 @@ $Interval ) if (-not $this.'.Timer') { - $this.'.Timer' = [Timers.Timer]::new($Interval.TotalMilliseconds) + $this | Add-Member NoteProperty '.Timer' ([Timers.Timer]::new($Interval.TotalMilliseconds)) -Force } else { $this.'.Timer'.Interval = $Interval.TotalMilliseconds } From 7b0c852259ecae8a1e916a880a604b5eb6695058 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 21:52:58 +0000 Subject: [PATCH 2407/4768] feat: OBS.Beat.Timer ( Fixes #195 ) Fixing Timer First Set --- obs-powershell.types.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 1ea23c34b..f555fe57c 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -239,7 +239,7 @@ $Interval ) if (-not $this.'.Timer') { - $this.'.Timer' = [Timers.Timer]::new($Interval.TotalMilliseconds) + $this | Add-Member NoteProperty '.Timer' ([Timers.Timer]::new($Interval.TotalMilliseconds)) -Force } else { $this.'.Timer'.Interval = $Interval.TotalMilliseconds } From 79153ace624d5ebe415a8e0904b58cee559d888b Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 15:08:33 -0800 Subject: [PATCH 2408/4768] feat: OBS.Beat.Timer ( Fixes #195 ) Setting .BeatStart starts the timer. --- Types/OBS.Beat/get_Cosine.ps1 | 2 +- Types/OBS.Beat/set_BeatStart.ps1 | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Types/OBS.Beat/get_Cosine.ps1 b/Types/OBS.Beat/get_Cosine.ps1 index 211865988..99592d653 100644 --- a/Types/OBS.Beat/get_Cosine.ps1 +++ b/Types/OBS.Beat/get_Cosine.ps1 @@ -6,4 +6,4 @@ Since this starts at 1, this would be at its highest value during the top of the beat. #> -[Math]::Cos($this.BeatCount * [Math]::PI/2) \ No newline at end of file +[Math]::Cos($this.BeatCount * ([Math]::PI/2)) \ No newline at end of file diff --git a/Types/OBS.Beat/set_BeatStart.ps1 b/Types/OBS.Beat/set_BeatStart.ps1 index 94d24479b..64ec53ecd 100644 --- a/Types/OBS.Beat/set_BeatStart.ps1 +++ b/Types/OBS.Beat/set_BeatStart.ps1 @@ -8,6 +8,10 @@ param( # The Beat Start Time [DateTime]$BeatStartTime ) -$this | Add-Member NoteProperty ".BeatStart" ( - $BeatStartTime -) -Force +if ($this.'.BPM') { + $this | Add-Member NoteProperty ".BeatStart" ( + $BeatStartTime + ) -Force + $this.Timer.Start() +} + From a76b9931bb9d7e6cfb39e38d4d283fc8f145bbf0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 23:10:53 +0000 Subject: [PATCH 2409/4768] feat: OBS.Beat.Timer ( Fixes #195 ) Setting .BeatStart starts the timer. --- obs-powershell.types.ps1xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index f555fe57c..3a117f93c 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -100,9 +100,13 @@ param( # The Beat Start Time [DateTime]$BeatStartTime ) -$this | Add-Member NoteProperty ".BeatStart" ( - $BeatStartTime -) -Force +if ($this.'.BPM') { + $this | Add-Member NoteProperty ".BeatStart" ( + $BeatStartTime + ) -Force + $this.Timer.Start() +} + @@ -154,7 +158,7 @@ $this.Timer = $duration Since this starts at 1, this would be at its highest value during the top of the beat. #> -[Math]::Cos($this.BeatCount * [Math]::PI/2) +[Math]::Cos($this.BeatCount * ([Math]::PI/2)) From ac805f6e2cc4b75f58701f01fd39d4c185c6ec7c Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 15:18:39 -0800 Subject: [PATCH 2410/4768] feat: Stopping OBS.Beat.Timer on Unload ( Fixes #195 ) --- obs-powershell.ps.psm1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs-powershell.ps.psm1 b/obs-powershell.ps.psm1 index 1354f7f21..e1b8734ea 100644 --- a/obs-powershell.ps.psm1 +++ b/obs-powershell.ps.psm1 @@ -3,6 +3,10 @@ $CommandsPath = (Join-Path $PSScriptRoot "Commands") $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { Get-OBSEffect | Stop-OBSEffect + if (${obs-powershell}.Beat.Timer) { + ${obs-powershell}.Beat.Timer.Stop() + Get-EventSubscriber | Where-Object SourceObject -eq ${obs-powershell}.Beat.Timer | Unregister-Event + } Disconnect-OBS } From 981d4c2314f62342da2ab8b1279a493130be4b10 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 23:20:50 +0000 Subject: [PATCH 2411/4768] feat: Stopping OBS.Beat.Timer on Unload ( Fixes #195 ) --- obs-powershell.psm1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs-powershell.psm1 b/obs-powershell.psm1 index 0981da098..6ff18be11 100644 --- a/obs-powershell.psm1 +++ b/obs-powershell.psm1 @@ -12,6 +12,10 @@ $CommandsPath = (Join-Path $PSScriptRoot "Commands") $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { Get-OBSEffect | Stop-OBSEffect + if (${obs-powershell}.Beat.Timer) { + ${obs-powershell}.Beat.Timer.Stop() + Get-EventSubscriber | Where-Object SourceObject -eq ${obs-powershell}.Beat.Timer | Unregister-Event + } Disconnect-OBS } From 6180ffd0926645b59360558f53d99d937f14083a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 15:28:05 -0800 Subject: [PATCH 2412/4768] feat: OBS.Beat.TapBPM ( Fixes #195 ) --- Types/OBS.Beat/TapBPM.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Types/OBS.Beat/TapBPM.ps1 b/Types/OBS.Beat/TapBPM.ps1 index a8422a534..f94b2d1b8 100644 --- a/Types/OBS.Beat/TapBPM.ps1 +++ b/Types/OBS.Beat/TapBPM.ps1 @@ -28,8 +28,9 @@ $beatTimes = do { $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average -$this.Duration = [Timespan]::FromMilliseconds($averageTimeBetweenBeats) -$this.BeatStart = $beatTimes[-1] +$TappedBpm = (60 * 1000) / +$this.Duration = $averageTimeBetweenBeats +$this.BeatStart = $beatTimeStart $TappedBpm From 5f047f5d75d74db7c0fd3926b78a8762a0a006f7 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 15:29:21 -0800 Subject: [PATCH 2413/4768] feat: OBS.Beat.TapBPM ( Fixes #195 ) Fixing BeatStart Set --- Types/OBS.Beat/TapBPM.ps1 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Types/OBS.Beat/TapBPM.ps1 b/Types/OBS.Beat/TapBPM.ps1 index f94b2d1b8..eb5274484 100644 --- a/Types/OBS.Beat/TapBPM.ps1 +++ b/Types/OBS.Beat/TapBPM.ps1 @@ -28,9 +28,6 @@ $beatTimes = do { $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average -$TappedBpm = (60 * 1000) / -$this.Duration = $averageTimeBetweenBeats +$this.Duration = [Timespan]::FromMilliseconds($averageTimeBetweenBeats) $this.BeatStart = $beatTimeStart -$TappedBpm - - +$this.BPM From bc2b8ce9ee85767dd141aa2402d5a505af3e91b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 14 Feb 2024 23:31:54 +0000 Subject: [PATCH 2414/4768] feat: OBS.Beat.TapBPM ( Fixes #195 ) Fixing BeatStart Set --- obs-powershell.types.ps1xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index 3a117f93c..febb5a2f1 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -38,10 +38,8 @@ $averageTimeBetweenBeats = $beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average $this.Duration = [Timespan]::FromMilliseconds($averageTimeBetweenBeats) -$this.BeatStart = $beatTimes[-1] -$TappedBpm - - +$this.BeatStart = $beatTimeStart +$this.BPM From 3fde0003c1f252772bac7d49c97d0c8c179d944a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 16:21:24 -0800 Subject: [PATCH 2415/4768] feat: Building Local Shaders ( Fixes #196 ) --- Build/obs--shaders.build.ps1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index ee22fe09f..1eec0a1f1 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -70,11 +70,17 @@ $CloneAndGetShaders = { @( $cloneArgs = @("--sparse","--no-checkout","--filter=tree:0", "https://github.com/Exeldro/obs-shaderfilter.git") $cloneOut = git clone @cloneArgs *>&1 - Push-Location (Join-Path $pwd "obs-shaderfilter") + $sparseCheckoutRoot = (Join-Path $pwd "obs-shaderfilter") + Push-Location $sparseCheckoutRoot git sparse-checkout set --no-cone '**.shader' '**.effect' $checkoutOut = git checkout - Get-ChildItem -Recurse -File | Where-Object { $_.Directory.Name -notin 'internal' } Pop-Location + Push-Location ($pwd | Split-Path) + # Get shaders anywhere in the root repo (this will include the sparsely checked out repo) + Get-ChildItem -Recurse -File | + Where-Object -Extension -in '.shader','.effect' | + Where-Object { $_.Directory.Name -notin 'internal' } + Pop-Location ) } From 9d0e01e4849f68edbcb6094fad58a9645d7f145f Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 16:21:50 -0800 Subject: [PATCH 2416/4768] feat: Adding Reflect Shader ( Fixes #197 ) --- Shaders/Reflect.shader | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Shaders/Reflect.shader diff --git a/Shaders/Reflect.shader b/Shaders/Reflect.shader new file mode 100644 index 000000000..1446bc535 --- /dev/null +++ b/Shaders/Reflect.shader @@ -0,0 +1,53 @@ +// Simple Reflect Shader + +// Reflects horizontally and/or vertically. + +uniform bool Horizontal< + string label = "Reflect horizontally"; +> = false; +uniform bool Vertical< + string label = "Reflect vertically"; +> = true; + +uniform int center_x_percent< + string label = "center x percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + + if (Horizontal == true) { + if (pos.x < center_pos.x) { + pos.x = center_pos.x - pos.x; + } else if (pos.x == center_pos.x) { + pos.x = pos.x; + } else { + pos.x = pos.x - center_pos.x; + } + } + if (Vertical == true) { + if (pos.y < center_pos.y) { + pos.y = center_pos.y - pos.y; + } else if (pos.y == center_pos.y) { + pos.y = pos.y; + } else { + pos.y = pos.y - center_pos.y; + } + } + + return image.Sample(textureSampler, pos); +} \ No newline at end of file From ec1d47515b764f8cbc3fce17c9d7da52ba1470db Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 16:30:59 -0800 Subject: [PATCH 2417/4768] feat: Adding Reflect Shader ( Fixes #197 ) Fixing shader find filter --- Build/obs--shaders.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index 1eec0a1f1..fb647b44b 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -78,7 +78,7 @@ $CloneAndGetShaders = { Push-Location ($pwd | Split-Path) # Get shaders anywhere in the root repo (this will include the sparsely checked out repo) Get-ChildItem -Recurse -File | - Where-Object -Extension -in '.shader','.effect' | + Where-Object Extension -in '.shader','.effect' | Where-Object { $_.Directory.Name -notin 'internal' } Pop-Location ) From 53d7df92fde97ddbac9ee7e0af8d1ab01a127524 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:36:28 +0000 Subject: [PATCH 2418/4768] feat: Adding Reflect Shader ( Fixes #197 ) Fixing shader find filter --- Commands/Shaders/Get-OBSReflectShader.ps1 | 197 ++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 Commands/Shaders/Get-OBSReflectShader.ps1 diff --git a/Commands/Shaders/Get-OBSReflectShader.ps1 b/Commands/Shaders/Get-OBSReflectShader.ps1 new file mode 100644 index 000000000..77a6cca36 --- /dev/null +++ b/Commands/Shaders/Get-OBSReflectShader.ps1 @@ -0,0 +1,197 @@ +function Get-OBSReflectShader { + +[Alias('Set-OBSReflectShader','Add-OBSReflectShader')] +param( +# Set the Horizontal of OBSReflectShader +[ComponentModel.DefaultBindingProperty('Horizontal')] +[Management.Automation.SwitchParameter] +$Horizontal, +# Set the Vertical of OBSReflectShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the center_x_percent of OBSReflectShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSReflectShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse +) + + +process { +$shaderName = 'Reflect' +$ShaderNoun = 'OBSReflectShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple Reflect Shader + +// Reflects horizontally and/or vertically. + +uniform bool Horizontal< + string label = "Reflect horizontally"; +> = false; +uniform bool Vertical< + string label = "Reflect vertically"; +> = true; + +uniform int center_x_percent< + string label = "center x percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + + if (Horizontal == true) { + if (pos.x < center_pos.x) { + pos.x = center_pos.x - pos.x; + } else if (pos.x == center_pos.x) { + pos.x = pos.x; + } else { + pos.x = pos.x - center_pos.x; + } + } + if (Vertical == true) { + if (pos.y < center_pos.y) { + pos.y = center_pos.y - pos.y; + } else if (pos.y == center_pos.y) { + pos.y = pos.y; + } else { + pos.y = pos.y - center_pos.y; + } + } + + return image.Sample(textureSampler, pos); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 0b0b55ed51bdd29004b71ada73b3483fb5c97995 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:36:28 +0000 Subject: [PATCH 2419/4768] feat: Adding Reflect Shader ( Fixes #197 ) Fixing shader find filter --- obs-powershell.psd1 | 1 + 1 file changed, 1 insertion(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 2ad549ac9..d02d56bd3 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -427,6 +427,7 @@ Initial Release of obs-powershell 'Get-OBSRainbowShader', 'Get-OBSRainWindowShader', 'Get-OBSRectangularDropShadowShader', +'Get-OBSReflectShader', 'Get-OBSRemovePartialPixelsShader', 'Get-OBSRepeatShader', 'Get-OBSRepeatTextureShader', From 79706432b360ec7b2268fd04f84d6b603b465931 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:36:54 +0000 Subject: [PATCH 2420/4768] feat: Adding Reflect Shader ( Fixes #197 ) Fixing shader find filter --- docs/Get-OBSReflectShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSReflectShader.md diff --git a/docs/Get-OBSReflectShader.md b/docs/Get-OBSReflectShader.md new file mode 100644 index 000000000..aa28e81b6 --- /dev/null +++ b/docs/Get-OBSReflectShader.md @@ -0,0 +1,96 @@ +Get-OBSReflectShader +-------------------- + +### Synopsis + +Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSReflectShader; CommonParameters=True; parameter=System.Object[]}} +``` From 55f9c80b362196b1cad1fdfa98c9706f2f7bfd63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:37:12 +0000 Subject: [PATCH 2421/4768] feat: Adding Reflect Shader ( Fixes #197 ) Fixing shader find filter --- docs/Add-OBSReflectShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSReflectShader.md diff --git a/docs/Add-OBSReflectShader.md b/docs/Add-OBSReflectShader.md new file mode 100644 index 000000000..aa28e81b6 --- /dev/null +++ b/docs/Add-OBSReflectShader.md @@ -0,0 +1,96 @@ +Get-OBSReflectShader +-------------------- + +### Synopsis + +Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSReflectShader; CommonParameters=True; parameter=System.Object[]}} +``` From ed404cf5b92fd55853cb71c0786ebef7a5d74ff6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:37:26 +0000 Subject: [PATCH 2422/4768] feat: Adding Reflect Shader ( Fixes #197 ) Fixing shader find filter --- docs/Set-OBSReflectShader.md | 96 ++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSReflectShader.md diff --git a/docs/Set-OBSReflectShader.md b/docs/Set-OBSReflectShader.md new file mode 100644 index 000000000..aa28e81b6 --- /dev/null +++ b/docs/Set-OBSReflectShader.md @@ -0,0 +1,96 @@ +Get-OBSReflectShader +-------------------- + +### Synopsis + +Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |3 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |4 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSReflectShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2ebc3e65c6858a353df47430164d6d764016bec8 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 16:48:46 -0800 Subject: [PATCH 2423/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Build/obs--shaders.build.ps1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index fb647b44b..b99394924 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -13,8 +13,6 @@ #> [ValidatePattern("Shader")] param() - - #region Build Condition $logOutput = git log -n 1 $checkIfThisIsValid = $logOutput.CommitMessage ? $logOutput.CommitMessage : $logOutput -join [Environment]::Newline @@ -311,6 +309,12 @@ foreach ($shaderParameterSet in $ShaderParameters) { Help = "If set, will not wait for a response from OBS (this will be faster, but will not return anything)" } + $ShaderParameters["UseShaderTime"] = [Ordered]@{ + ParameterName = "UseShaderTime" + ParameterType = [switch] + Attributes = "[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')]" + Help = "If set, use the shader elapsed time, instead of the OBS system elapsed time" + } $ShaderProcess = [scriptblock]::Create(@" `$shaderName = '$shaderName' @@ -362,6 +366,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From c3defc1c05719b9b8ca3628b665c50c93ede3efe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2424/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAddShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAddShader.ps1 b/Commands/Shaders/Get-OBSAddShader.ps1 index 07b567e91..a52253255 100644 --- a/Commands/Shaders/Get-OBSAddShader.ps1 +++ b/Commands/Shaders/Get-OBSAddShader.ps1 @@ -28,7 +28,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -89,6 +93,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 34438727a2c05f487a6432a938ad70c7254b0b59 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2425/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAlphaBorderShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 index b99dc8c1e..5afa42147 100644 --- a/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 +++ b/Commands/Shaders/Get-OBSAlphaBorderShader.ps1 @@ -38,7 +38,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -124,6 +128,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 728b1a653c6bdae58dbf76b92bdbf82cb5eade9e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2426/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 index be432b395..d1f2640f1 100644 --- a/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSAlphaGamingBentCameraShader.ps1 @@ -73,7 +73,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -242,6 +246,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 9693cb71f9fcf810fe740910305298c356002a09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2427/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAnimatedPathShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 index 8264711ec..f1a43bd29 100644 --- a/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 +++ b/Commands/Shaders/Get-OBSAnimatedPathShader.ps1 @@ -70,7 +70,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -212,6 +216,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 0cac00ec96990b057be35651604c1138f501f6ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2428/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 index 160dcdf72..b00869acc 100644 --- a/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 +++ b/Commands/Shaders/Get-OBSAnimatedTextureShader.ps1 @@ -132,7 +132,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -345,6 +349,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From c0dac59b9e6ec7e42238dd8307d2a21244bf5f3d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2429/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAsciiShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAsciiShader.ps1 b/Commands/Shaders/Get-OBSAsciiShader.ps1 index 2ce9e4841..867c0cbc5 100644 --- a/Commands/Shaders/Get-OBSAsciiShader.ps1 +++ b/Commands/Shaders/Get-OBSAsciiShader.ps1 @@ -45,7 +45,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -198,6 +202,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 829078e0f7066f3ed2b1c7137f3b7a6fd6dd4256 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2430/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSAspectRatioShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSAspectRatioShader.ps1 b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 index ea04341f2..ef4045687 100644 --- a/Commands/Shaders/Get-OBSAspectRatioShader.ps1 +++ b/Commands/Shaders/Get-OBSAspectRatioShader.ps1 @@ -69,7 +69,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -214,6 +218,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2a90a1a54f2254f5fecdfe2d0655bd634d211e08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2431/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 index e658450d6..a185f2bea 100644 --- a/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 +++ b/Commands/Shaders/Get-OBSBackgroundRemovalShader.ps1 @@ -91,7 +91,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -257,6 +261,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 4ef497960d84bf7fe5c8ad54fd2ba984846f41b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2432/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBlendOpacityShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 index 92843d702..c1b66a74a 100644 --- a/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 +++ b/Commands/Shaders/Get-OBSBlendOpacityShader.ps1 @@ -63,7 +63,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -197,6 +201,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 993f271402dc7a971b406ab080c79ff8afebb657 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2433/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBlinkShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBlinkShader.ps1 b/Commands/Shaders/Get-OBSBlinkShader.ps1 index 8c77a24b6..94acf8492 100644 --- a/Commands/Shaders/Get-OBSBlinkShader.ps1 +++ b/Commands/Shaders/Get-OBSBlinkShader.ps1 @@ -27,7 +27,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -94,6 +98,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 3a8d32dc371c6c860bf7c106297dd67545cd1ce7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:01 +0000 Subject: [PATCH 2434/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBloomShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBloomShader.ps1 b/Commands/Shaders/Get-OBSBloomShader.ps1 index 6079fb000..4d5ad0abd 100644 --- a/Commands/Shaders/Get-OBSBloomShader.ps1 +++ b/Commands/Shaders/Get-OBSBloomShader.ps1 @@ -41,7 +41,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -160,6 +164,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 1a8168e8e56d50a26b82034b478a3801f186e0bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2435/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBorderShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBorderShader.ps1 b/Commands/Shaders/Get-OBSBorderShader.ps1 index 9d7782139..b94064f52 100644 --- a/Commands/Shaders/Get-OBSBorderShader.ps1 +++ b/Commands/Shaders/Get-OBSBorderShader.ps1 @@ -27,7 +27,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -93,6 +97,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 83cfc47335ffba61eb1b10e4b8f0b99dcd8c671c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2436/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBoxBlurShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBoxBlurShader.ps1 b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 index 2abbca766..75e4955cf 100644 --- a/Commands/Shaders/Get-OBSBoxBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSBoxBlurShader.ps1 @@ -47,7 +47,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -179,6 +183,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 4f37890b6573c91eb091f84fe41f1a301cccd9c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2437/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBulgePinchShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBulgePinchShader.ps1 b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 index ee91f6156..8b734c1b2 100644 --- a/Commands/Shaders/Get-OBSBulgePinchShader.ps1 +++ b/Commands/Shaders/Get-OBSBulgePinchShader.ps1 @@ -49,7 +49,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -169,6 +173,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 1301c58a19c691692a05a6432c5d34c95e9719fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2438/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSBurnShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSBurnShader.ps1 b/Commands/Shaders/Get-OBSBurnShader.ps1 index 7d3a9b2b9..d3965d3bd 100644 --- a/Commands/Shaders/Get-OBSBurnShader.ps1 +++ b/Commands/Shaders/Get-OBSBurnShader.ps1 @@ -74,7 +74,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -285,6 +289,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a85043ba4de1e8178efa76f19227997ae32ec037 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2439/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCartoonShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCartoonShader.ps1 b/Commands/Shaders/Get-OBSCartoonShader.ps1 index 526a08917..b0c9258fb 100644 --- a/Commands/Shaders/Get-OBSCartoonShader.ps1 +++ b/Commands/Shaders/Get-OBSCartoonShader.ps1 @@ -80,7 +80,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -228,6 +232,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From e893d07c1cc165843df93c24825bc799ed93272a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2440/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCellShadedShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCellShadedShader.ps1 b/Commands/Shaders/Get-OBSCellShadedShader.ps1 index 260cadc52..bdfd8b084 100644 --- a/Commands/Shaders/Get-OBSCellShadedShader.ps1 +++ b/Commands/Shaders/Get-OBSCellShadedShader.ps1 @@ -41,7 +41,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -159,6 +163,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 26b7c21c1dbc71dab5691b5eea33dad3a1d4b99b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2441/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 index 752ea71e3..b18e89371 100644 --- a/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 +++ b/Commands/Shaders/Get-OBSChromaUVDistortionShader.ps1 @@ -35,7 +35,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -147,6 +151,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From e2393766d62c9818c6a21553442713c6c72737de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2442/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 index 4d3ff66d9..0d8eef7c4 100644 --- a/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 +++ b/Commands/Shaders/Get-OBSChromaticAberrationShader.ps1 @@ -61,7 +61,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -318,6 +322,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 909693b113c91524962416a4310e0097a311dd31 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2443/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 index 210cbae21..7b9dc2887 100644 --- a/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 +++ b/Commands/Shaders/Get-OBSCircleMaskFilterShader.ps1 @@ -51,7 +51,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -180,6 +184,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From ff42bb2a3844f49d67626e593db8f5c13e5baa12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2444/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 index 84b1b529c..7e6b8c917 100644 --- a/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 +++ b/Commands/Shaders/Get-OBSColorGradeFilterShader.ps1 @@ -46,7 +46,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -167,6 +171,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 3975baa4ccac830a15fe2c0076c38eeffb79a7a3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2445/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSColorDepthShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSColorDepthShader.ps1 b/Commands/Shaders/Get-OBSColorDepthShader.ps1 index ff2535a50..563bc3890 100644 --- a/Commands/Shaders/Get-OBSColorDepthShader.ps1 +++ b/Commands/Shaders/Get-OBSColorDepthShader.ps1 @@ -31,7 +31,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -114,6 +118,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From afccde917edb16d5203da6f474544008296a1824 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2446/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCornerPinShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCornerPinShader.ps1 b/Commands/Shaders/Get-OBSCornerPinShader.ps1 index 0fabdac65..4f5ff8201 100644 --- a/Commands/Shaders/Get-OBSCornerPinShader.ps1 +++ b/Commands/Shaders/Get-OBSCornerPinShader.ps1 @@ -68,7 +68,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -300,6 +304,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a25995ee3a4f61ec2cc04a61447cff0a38e2b949 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2447/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 index c4b872a27..61c95d522 100644 --- a/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 +++ b/Commands/Shaders/Get-OBSCrtCurvatureShader.ps1 @@ -35,7 +35,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -127,6 +131,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 17836fb5675a28198274121ef61eab8ce0e23a61 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2448/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 index 9e00d6b4e..6c8ac1a7a 100644 --- a/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 +++ b/Commands/Shaders/Get-OBSCutRectPerCornerShader.ps1 @@ -68,7 +68,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -296,6 +300,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 93187f81f205d55979709ffc772de083a5a9b9d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2449/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSCylinderShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSCylinderShader.ps1 b/Commands/Shaders/Get-OBSCylinderShader.ps1 index e57d4f10b..f95405dc8 100644 --- a/Commands/Shaders/Get-OBSCylinderShader.ps1 +++ b/Commands/Shaders/Get-OBSCylinderShader.ps1 @@ -33,7 +33,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -134,6 +138,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From ae658ad8bd625a10d7dfef51ecfb09fc0f911ba0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2450/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDarkenShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDarkenShader.ps1 b/Commands/Shaders/Get-OBSDarkenShader.ps1 index c7e4a94b4..8cfb42b76 100644 --- a/Commands/Shaders/Get-OBSDarkenShader.ps1 +++ b/Commands/Shaders/Get-OBSDarkenShader.ps1 @@ -37,7 +37,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -103,6 +107,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2127b8308b44160226d64a4a6dc411e139ba367a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:02 +0000 Subject: [PATCH 2451/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 index 7e5addb06..456b04654 100644 --- a/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 +++ b/Commands/Shaders/Get-OBSDeadPixelFixerShader.ps1 @@ -33,7 +33,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -140,6 +144,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 9cfe6fcc9c3a12b71b5771c24bb2574601481317 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2452/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDivideRotateShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDivideRotateShader.ps1 b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 index 0ff65f640..3fc5c7d57 100644 --- a/Commands/Shaders/Get-OBSDivideRotateShader.ps1 +++ b/Commands/Shaders/Get-OBSDivideRotateShader.ps1 @@ -46,7 +46,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -178,6 +182,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2480f7262d26cad7c4e7ca6fdd7beba2352ff727 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2453/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDoodleShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDoodleShader.ps1 b/Commands/Shaders/Get-OBSDoodleShader.ps1 index 2c293eed0..42307ca6e 100644 --- a/Commands/Shaders/Get-OBSDoodleShader.ps1 +++ b/Commands/Shaders/Get-OBSDoodleShader.ps1 @@ -75,7 +75,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -213,6 +217,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 3a82099a72d419d305b52c1168afc40e5ea81d9f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2454/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDrawingsShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDrawingsShader.ps1 b/Commands/Shaders/Get-OBSDrawingsShader.ps1 index 617cd84f8..2dc03f15e 100644 --- a/Commands/Shaders/Get-OBSDrawingsShader.ps1 +++ b/Commands/Shaders/Get-OBSDrawingsShader.ps1 @@ -31,7 +31,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -217,6 +221,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 05d8b77bf5071c86eee26ed176a5207e728710a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2455/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDropShadowShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDropShadowShader.ps1 b/Commands/Shaders/Get-OBSDropShadowShader.ps1 index 13a66968f..f94cd1d04 100644 --- a/Commands/Shaders/Get-OBSDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSDropShadowShader.ps1 @@ -52,7 +52,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -160,6 +164,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a999493359dcf1b173424c06f4526fe83ab97bff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2456/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDrunkShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDrunkShader.ps1 b/Commands/Shaders/Get-OBSDrunkShader.ps1 index c7f473a01..8d5150ae2 100644 --- a/Commands/Shaders/Get-OBSDrunkShader.ps1 +++ b/Commands/Shaders/Get-OBSDrunkShader.ps1 @@ -74,7 +74,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -278,6 +282,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 144e8c8f62ce462635e10c06eac052d51379ec83 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2457/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSDynamicMaskShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 index 1fad1b2ff..b2a2e13ef 100644 --- a/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 +++ b/Commands/Shaders/Get-OBSDynamicMaskShader.ps1 @@ -148,7 +148,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -412,6 +416,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From ddd0e5541229d869ef06e9193d068c072fd6a141 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2458/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 index 6a21528d0..6c9de569c 100644 --- a/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 +++ b/Commands/Shaders/Get-OBSEdgeDetectionShader.ps1 @@ -76,7 +76,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -220,6 +224,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a29312ae70669b818eeb95db80d567d6c66609e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2459/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSEmbersShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEmbersShader.ps1 b/Commands/Shaders/Get-OBSEmbersShader.ps1 index 43b6f22ae..e086b546c 100644 --- a/Commands/Shaders/Get-OBSEmbersShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbersShader.ps1 @@ -127,7 +127,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -541,6 +545,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From e4b64e3c27e8e5e1ad5e4c365821b030cfd60470 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2460/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSEmbossColorShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEmbossColorShader.ps1 b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 index 6bf48c10a..b58ea03b9 100644 --- a/Commands/Shaders/Get-OBSEmbossColorShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbossColorShader.ps1 @@ -51,7 +51,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -184,6 +188,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 4948d455e766e26b19cd55da3c3f0060b072f052 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2461/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSEmbossShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSEmbossShader.ps1 b/Commands/Shaders/Get-OBSEmbossShader.ps1 index bfff878c5..7085c4023 100644 --- a/Commands/Shaders/Get-OBSEmbossShader.ps1 +++ b/Commands/Shaders/Get-OBSEmbossShader.ps1 @@ -33,7 +33,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -119,6 +123,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 12edef1bc6210a179ed5d763486d314870771019 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2462/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 index d8f500b84..fa6c73c00 100644 --- a/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSExeldroBentCameraShader.ps1 @@ -73,7 +73,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -242,6 +246,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 3ddf5e58b8778e59aba3c0cd1e450426c6e3abd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2463/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFadeTransitionShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 index 75280d8fd..172113ec9 100644 --- a/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSFadeTransitionShader.ps1 @@ -43,7 +43,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -115,6 +119,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 9e6ef2a549496f0a13326874e2f36cc9ba6cf59f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2464/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFillColorGradientShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 index ba39a5c4b..cd3c73129 100644 --- a/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorGradientShader.ps1 @@ -47,7 +47,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -172,6 +176,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From d8b8eae1b12ec7618d0e428f8d3eb6f17d879cf9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2465/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFillColorLinearShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 index 36f77bb48..d2ec82d4a 100644 --- a/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorLinearShader.ps1 @@ -37,7 +37,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -137,6 +141,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From bbaf8f3b96150c71abb5f697a6fccd4e9015a20a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2466/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 index c28818175..0618bff40 100644 --- a/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorRadialDegreesShader.ps1 @@ -52,7 +52,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -191,6 +195,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From e917058df09b9ebbf012e9ce073a62ced7407b50 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2467/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- .../Shaders/Get-OBSFillColorRadialPercentageShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 index 7e4c783bc..2b0ca29ab 100644 --- a/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 +++ b/Commands/Shaders/Get-OBSFillColorRadialPercentageShader.ps1 @@ -52,7 +52,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -194,6 +198,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 810a6bf2bebd0d2f7c4a67f989f50f652c2c43c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:03 +0000 Subject: [PATCH 2468/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFilterTemplateShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 index f78b2c240..5f7123fe2 100644 --- a/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 +++ b/Commands/Shaders/Get-OBSFilterTemplateShader.ps1 @@ -84,7 +84,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -201,6 +205,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 88960c4fa78830bf604c269ebe8e1fd375351b2e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2469/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFire3Shader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFire3Shader.ps1 b/Commands/Shaders/Get-OBSFire3Shader.ps1 index 228b4e620..75f579613 100644 --- a/Commands/Shaders/Get-OBSFire3Shader.ps1 +++ b/Commands/Shaders/Get-OBSFire3Shader.ps1 @@ -156,7 +156,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -641,6 +645,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 3d54ae0f350bf012e31261c8433c9b3ca443a9ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2470/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFireShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFireShader.ps1 b/Commands/Shaders/Get-OBSFireShader.ps1 index ea19f6920..3f91e0d48 100644 --- a/Commands/Shaders/Get-OBSFireShader.ps1 +++ b/Commands/Shaders/Get-OBSFireShader.ps1 @@ -78,7 +78,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -376,6 +380,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 6c7bed6c0b042d52517554fb1f5db1f0dbe34e6e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2471/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFireworksShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFireworksShader.ps1 b/Commands/Shaders/Get-OBSFireworksShader.ps1 index 44cf0cd56..101bd2466 100644 --- a/Commands/Shaders/Get-OBSFireworksShader.ps1 +++ b/Commands/Shaders/Get-OBSFireworksShader.ps1 @@ -38,7 +38,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -255,6 +259,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 6bb862e8b9d8ba44f64ab20294c728317cedbeb1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2472/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFisheyeXyShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 index 206bb4bf4..712df4f50 100644 --- a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 @@ -43,7 +43,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -155,6 +159,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 00a0d7f7a1c870dbcfc1077429aa6ce3db3218f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2473/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFisheyeShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Shaders/Get-OBSFisheyeShader.ps1 index cbc26c601..cc8876109 100644 --- a/Commands/Shaders/Get-OBSFisheyeShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeShader.ps1 @@ -37,7 +37,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -130,6 +134,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 603bd33cc50624bab623b98ee81946273f8c80b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2474/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSFrostedGlassShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 index 3e3055111..9d0e9f5e1 100644 --- a/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 +++ b/Commands/Shaders/Get-OBSFrostedGlassShader.ps1 @@ -59,7 +59,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -180,6 +184,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From dc1ac07bdba70643c5a0d90350adfca4c7f8c990 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2475/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 index aeb21b13b..92fd7da00 100644 --- a/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 +++ b/Commands/Shaders/Get-OBSGammaCorrectionShader.ps1 @@ -39,7 +39,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -126,6 +130,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 7d510bb903b7590cb7ad20dcd5a4a55dc70d0b9c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2476/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 index 449c58bf4..8bec34457 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurAdvancedShader.ps1 @@ -55,7 +55,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -206,6 +210,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 63fffecf94c21c2b04fdafdb7d8b1f62add293ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2477/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 index ee334321f..f1893e0dd 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurSimpleShader.ps1 @@ -47,7 +47,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -191,6 +195,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 252b73c35017960402347be8129b43d4cb9efee9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2478/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGaussianBlurShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 index 8b53c0188..b293e9466 100644 --- a/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianBlurShader.ps1 @@ -87,7 +87,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -284,6 +288,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 407ec83260ca17ed053560adb2665f46ce392ad6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2479/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGaussianExampleShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 index 1ce9e8b01..c86b5d333 100644 --- a/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianExampleShader.ps1 @@ -85,7 +85,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -320,6 +324,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 83d379c03eb0e544dc6f01f492c6f5a32dd871e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2480/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 index fa721ec4b..ce507bd09 100644 --- a/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSGaussianSimpleShader.ps1 @@ -88,7 +88,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -232,6 +236,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 4d84cd90638fdc6cbc611afc8fc77cd1444a851d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2481/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGbCameraShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGbCameraShader.ps1 b/Commands/Shaders/Get-OBSGbCameraShader.ps1 index 638c5b0b9..ad1d81f6f 100644 --- a/Commands/Shaders/Get-OBSGbCameraShader.ps1 +++ b/Commands/Shaders/Get-OBSGbCameraShader.ps1 @@ -69,7 +69,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -277,6 +281,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From fb8d276eb4b9d9e112667033c55bafa23f7fa51a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2482/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGlassShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlassShader.ps1 b/Commands/Shaders/Get-OBSGlassShader.ps1 index d31208232..cca9236f7 100644 --- a/Commands/Shaders/Get-OBSGlassShader.ps1 +++ b/Commands/Shaders/Get-OBSGlassShader.ps1 @@ -70,7 +70,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -209,6 +213,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2efced46adc4763ce7ba250d0a42f28f8da718c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2483/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 index b693b5f60..1b010fb76 100644 --- a/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 +++ b/Commands/Shaders/Get-OBSGlitchAnalogShader.ps1 @@ -97,7 +97,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -294,6 +298,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From c9c815db84fb460abe984131c226736828d2906a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2484/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGlitchShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlitchShader.ps1 b/Commands/Shaders/Get-OBSGlitchShader.ps1 index e06297cbf..7076f5474 100644 --- a/Commands/Shaders/Get-OBSGlitchShader.ps1 +++ b/Commands/Shaders/Get-OBSGlitchShader.ps1 @@ -31,7 +31,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -155,6 +159,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 45f09718f053415f1b5f2a98f250ad49590a9cf1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2485/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGlowShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGlowShader.ps1 b/Commands/Shaders/Get-OBSGlowShader.ps1 index 8afbe0248..3ad136f79 100644 --- a/Commands/Shaders/Get-OBSGlowShader.ps1 +++ b/Commands/Shaders/Get-OBSGlowShader.ps1 @@ -55,7 +55,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -202,6 +206,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From f5ac624700819a5cfefb2411eec752101cdd6119 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2486/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSGradientShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSGradientShader.ps1 b/Commands/Shaders/Get-OBSGradientShader.ps1 index f0c97d4a6..78c997150 100644 --- a/Commands/Shaders/Get-OBSGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSGradientShader.ps1 @@ -109,7 +109,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -360,6 +364,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 815df824176d5515f7de5569fb8aaf5b0239ff84 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2487/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSHalftoneShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHalftoneShader.ps1 b/Commands/Shaders/Get-OBSHalftoneShader.ps1 index 088a850b8..96b92e761 100644 --- a/Commands/Shaders/Get-OBSHalftoneShader.ps1 +++ b/Commands/Shaders/Get-OBSHalftoneShader.ps1 @@ -27,7 +27,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -133,6 +137,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From b1586a4c3c15848e4e435f1afe652060f4ccd7b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2488/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 index 163e5990e..3575df0ba 100644 --- a/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 +++ b/Commands/Shaders/Get-OBSHeatWaveSimpleShader.ps1 @@ -39,7 +39,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -154,6 +158,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 70734d23b19ee9249666c6c1efed3864c90e7f4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:04 +0000 Subject: [PATCH 2489/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSHexagonShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Shaders/Get-OBSHexagonShader.ps1 index 1263308a3..f9f8f5a4c 100644 --- a/Commands/Shaders/Get-OBSHexagonShader.ps1 +++ b/Commands/Shaders/Get-OBSHexagonShader.ps1 @@ -88,7 +88,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -263,6 +267,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 07a91a7c1f6fa17f652a0e9316120b5b0da61fdb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2490/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 index 498304e65..3aab75d61 100644 --- a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 +++ b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 @@ -39,7 +39,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -233,6 +237,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 07a87e732cb3b16fee6bc0e05287ad3af2bd1def Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2491/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSHueRotatonShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHueRotatonShader.ps1 b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 index c8e654f20..6ee9e420e 100644 --- a/Commands/Shaders/Get-OBSHueRotatonShader.ps1 +++ b/Commands/Shaders/Get-OBSHueRotatonShader.ps1 @@ -32,7 +32,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -177,6 +181,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From afc7a20d2db9c10b6b6a6b9aa75d2ee605e4d53d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2492/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSIntensityScopeShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 index 7d1d935f0..eb37459e7 100644 --- a/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 +++ b/Commands/Shaders/Get-OBSIntensityScopeShader.ps1 @@ -31,7 +31,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -134,6 +138,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 72f0feeadc47a8a957a2d7f58ffa3941bec3c27b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2493/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSInvertLumaShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSInvertLumaShader.ps1 b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 index 28643ec8a..f2cf98454 100644 --- a/Commands/Shaders/Get-OBSInvertLumaShader.ps1 +++ b/Commands/Shaders/Get-OBSInvertLumaShader.ps1 @@ -43,7 +43,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -208,6 +212,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 87a829d011188455bd14451e089334149f08b21c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2494/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 index 32ccdddd3..5185c5aeb 100644 --- a/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 +++ b/Commands/Shaders/Get-OBSLuminanceAlphaShader.ps1 @@ -88,7 +88,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -240,6 +244,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 57d76bb1b2b2df990aff032cfa0504f441324850 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2495/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSLuminanceShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSLuminanceShader.ps1 b/Commands/Shaders/Get-OBSLuminanceShader.ps1 index e8832aa69..667832556 100644 --- a/Commands/Shaders/Get-OBSLuminanceShader.ps1 +++ b/Commands/Shaders/Get-OBSLuminanceShader.ps1 @@ -43,7 +43,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -147,6 +151,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 14677ea324cbcaa047ec37273e765649d2e3c1e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2496/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSLuminance2Shader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSLuminance2Shader.ps1 b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 index ce6c361e3..ab2788d34 100644 --- a/Commands/Shaders/Get-OBSLuminance2Shader.ps1 +++ b/Commands/Shaders/Get-OBSLuminance2Shader.ps1 @@ -55,7 +55,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -182,6 +186,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From bcf57332908e182ed48ffcc0b0bbc5c0d191d400 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2497/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSMatrixShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSMatrixShader.ps1 b/Commands/Shaders/Get-OBSMatrixShader.ps1 index c7857881d..b3bfa9228 100644 --- a/Commands/Shaders/Get-OBSMatrixShader.ps1 +++ b/Commands/Shaders/Get-OBSMatrixShader.ps1 @@ -111,7 +111,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -381,6 +385,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 9e5cc2dd1cc282c56c5ffb47a284b0de7fd737cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2498/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSMultiplyShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSMultiplyShader.ps1 b/Commands/Shaders/Get-OBSMultiplyShader.ps1 index ccfb0b03d..7320a7db2 100644 --- a/Commands/Shaders/Get-OBSMultiplyShader.ps1 +++ b/Commands/Shaders/Get-OBSMultiplyShader.ps1 @@ -28,7 +28,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -89,6 +93,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 483fea3edeb0a67760b84dafe186a187e497ea4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2499/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSNightSkyShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSNightSkyShader.ps1 b/Commands/Shaders/Get-OBSNightSkyShader.ps1 index 7e5b9a272..4a7971a4e 100644 --- a/Commands/Shaders/Get-OBSNightSkyShader.ps1 +++ b/Commands/Shaders/Get-OBSNightSkyShader.ps1 @@ -112,7 +112,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -453,6 +457,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 63d3b034a4756b79c2114d2758dbc1456f13120d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2500/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSOpacityShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSOpacityShader.ps1 b/Commands/Shaders/Get-OBSOpacityShader.ps1 index 94da75c5b..bae86d82a 100644 --- a/Commands/Shaders/Get-OBSOpacityShader.ps1 +++ b/Commands/Shaders/Get-OBSOpacityShader.ps1 @@ -27,7 +27,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -97,6 +101,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 5b293ea4365b99794a493c13557a457547535047 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2501/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 index 7c255a76f..b9f162f70 100644 --- a/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSPagePeelTransitionShader.ps1 @@ -53,7 +53,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -172,6 +176,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 53dd33599206d3864dba25aceec09c1a9d09f124 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2502/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPagePeelShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPagePeelShader.ps1 b/Commands/Shaders/Get-OBSPagePeelShader.ps1 index 63a509822..24affeb0a 100644 --- a/Commands/Shaders/Get-OBSPagePeelShader.ps1 +++ b/Commands/Shaders/Get-OBSPagePeelShader.ps1 @@ -31,7 +31,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -159,6 +163,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 89cc4dab132032c94ec3c852c151ee5ba21032a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2503/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 index 8443e3c47..51a2dadf2 100644 --- a/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 +++ b/Commands/Shaders/Get-OBSPerlinNoiseShader.ps1 @@ -72,7 +72,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -371,6 +375,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From eb6889c53eeac69559ffbbc67015aa7ff01023ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2504/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPieChartShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPieChartShader.ps1 b/Commands/Shaders/Get-OBSPieChartShader.ps1 index 9b5858485..83e5ea0d8 100644 --- a/Commands/Shaders/Get-OBSPieChartShader.ps1 +++ b/Commands/Shaders/Get-OBSPieChartShader.ps1 @@ -142,7 +142,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -344,6 +348,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a01e5be9f6e837e0843b3cc2324db301c30855c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2505/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 index 48385f020..6c3773df1 100644 --- a/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 +++ b/Commands/Shaders/Get-OBSPixelationTransitionShader.ps1 @@ -47,7 +47,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -152,6 +156,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From b9ca51696be05aca09071a6d2c42972a9d193d87 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2506/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPixelationShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPixelationShader.ps1 b/Commands/Shaders/Get-OBSPixelationShader.ps1 index 4661c2b12..08ec513f5 100644 --- a/Commands/Shaders/Get-OBSPixelationShader.ps1 +++ b/Commands/Shaders/Get-OBSPixelationShader.ps1 @@ -37,7 +37,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -134,6 +138,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From e1f9b76ebbf2a302a0c4efa61c2b4510eac4f4b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2507/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSPulseShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSPulseShader.ps1 b/Commands/Shaders/Get-OBSPulseShader.ps1 index 2c52dad71..09cc4fcde 100644 --- a/Commands/Shaders/Get-OBSPulseShader.ps1 +++ b/Commands/Shaders/Get-OBSPulseShader.ps1 @@ -75,7 +75,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -201,6 +205,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a863fc8f996f70591f9af8d74ec1ab5fb8f708eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2508/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRainWindowShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRainWindowShader.ps1 b/Commands/Shaders/Get-OBSRainWindowShader.ps1 index 1e89f1faa..4ace9caeb 100644 --- a/Commands/Shaders/Get-OBSRainWindowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainWindowShader.ps1 @@ -49,7 +49,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -338,6 +342,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 12a086b5d70f097064d2e2236a6aa4e55f0409b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2509/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRainbowShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRainbowShader.ps1 b/Commands/Shaders/Get-OBSRainbowShader.ps1 index bd43f675c..c631b79cf 100644 --- a/Commands/Shaders/Get-OBSRainbowShader.ps1 +++ b/Commands/Shaders/Get-OBSRainbowShader.ps1 @@ -81,7 +81,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -273,6 +277,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From f7973fc78d5967b67d722773d6ca55fc778a7334 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2510/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 index 223332180..c7d77937f 100644 --- a/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSRectangularDropShadowShader.ps1 @@ -43,7 +43,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -141,6 +145,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From b32a3d4a827ff61827178bef55141e71f1078aec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:05 +0000 Subject: [PATCH 2511/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 index 585f8acd6..3a1310012 100644 --- a/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 +++ b/Commands/Shaders/Get-OBSRemovePartialPixelsShader.ps1 @@ -32,7 +32,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -111,6 +115,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 750affff2c2ba085739d1bdf4f21967efe76eace Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2512/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRepeatTextureShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 index 281869207..363d173e2 100644 --- a/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 +++ b/Commands/Shaders/Get-OBSRepeatTextureShader.ps1 @@ -98,7 +98,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -242,6 +246,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 9b1ab85eb552f9de816bb0533f2c5a0860b8cbad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2513/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRepeatShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRepeatShader.ps1 b/Commands/Shaders/Get-OBSRepeatShader.ps1 index ff899a1c3..cbb0b92ed 100644 --- a/Commands/Shaders/Get-OBSRepeatShader.ps1 +++ b/Commands/Shaders/Get-OBSRepeatShader.ps1 @@ -88,7 +88,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -209,6 +213,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2d0e44a45f4a9d69e6c79f552a8d1b1fd779ab1b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2514/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 index 271b0c293..ecea1ff8f 100644 --- a/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbColorWheelShader.ps1 @@ -67,7 +67,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -210,6 +214,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 7250ec3edc1465af9cfe234f58b5789834a7fdfd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2515/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRgbSplitShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRgbSplitShader.ps1 b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 index 004b6c726..c5a454a7d 100644 --- a/Commands/Shaders/Get-OBSRgbSplitShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbSplitShader.ps1 @@ -47,7 +47,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -154,6 +158,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From fc6d3c79b4f6553e1278375eaa474e3f30217fa6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2516/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 index 4eaac2d51..78346f0a0 100644 --- a/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 +++ b/Commands/Shaders/Get-OBSRgbvisibilityShader.ps1 @@ -51,7 +51,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -167,6 +171,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From ac66b7fc39df9c9bb8cda8bdfed4a82181fb4de1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2517/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRippleShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRippleShader.ps1 b/Commands/Shaders/Get-OBSRippleShader.ps1 index 695957e7e..7b0a4a7a9 100644 --- a/Commands/Shaders/Get-OBSRippleShader.ps1 +++ b/Commands/Shaders/Get-OBSRippleShader.ps1 @@ -48,7 +48,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -144,6 +148,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 5fe85cda74c77d8b79faf6fd473ca560211da5cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2518/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRotatingSourceShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 index 1929219d5..a83073d39 100644 --- a/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 +++ b/Commands/Shaders/Get-OBSRotatingSourceShader.ps1 @@ -51,7 +51,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -179,6 +183,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 6c7b08b218c070d3e833c6fdecd0d96e461bf51e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2519/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRotatoeShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRotatoeShader.ps1 b/Commands/Shaders/Get-OBSRotatoeShader.ps1 index f51a699c4..a3472b57a 100644 --- a/Commands/Shaders/Get-OBSRotatoeShader.ps1 +++ b/Commands/Shaders/Get-OBSRotatoeShader.ps1 @@ -115,7 +115,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -316,6 +320,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 83ce3924bba11b03b5a9d6ed71e3bcc16cef4da1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2520/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 index 4b48a8c97..5777d1b3e 100644 --- a/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectPerCornerShader.ps1 @@ -68,7 +68,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -296,6 +300,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From e7c6f177b5bdd57512209a7ecbfb5088e2be79f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2521/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 index e59b876a1..cfd425869 100644 --- a/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectPerSideShader.ps1 @@ -68,7 +68,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -273,6 +277,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From cd92b6d5d20a5bd0e3c34042c0a86933c97eedc7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2522/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRoundedRectShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRectShader.ps1 b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 index 8041f530e..0e3cb8cfc 100644 --- a/Commands/Shaders/Get-OBSRoundedRectShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRectShader.ps1 @@ -38,7 +38,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -125,6 +129,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From ee68d1e5b529a743e76e9d2e2043f543fe33c45f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2523/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 index 4c6f5fc9d..531f5ab9d 100644 --- a/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedRect2Shader.ps1 @@ -58,7 +58,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -272,6 +276,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2f1f215c9ef515aaba20f47900185c449536e9e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2524/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 index f61a88c81..4d9468586 100644 --- a/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedStrokeGradientShader.ps1 @@ -67,7 +67,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -307,6 +311,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 12f44d3a12c2eadd6ccabf2acacebb4b1f548be2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2525/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 index 479235e22..6b3fbdd26 100644 --- a/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 +++ b/Commands/Shaders/Get-OBSRoundedStrokeShader.ps1 @@ -47,7 +47,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -229,6 +233,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2a4094fbf006556b874895adfb287d7d7663f034 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2526/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSScanLineShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSScanLineShader.ps1 b/Commands/Shaders/Get-OBSScanLineShader.ps1 index 326b32816..085c24e36 100644 --- a/Commands/Shaders/Get-OBSScanLineShader.ps1 +++ b/Commands/Shaders/Get-OBSScanLineShader.ps1 @@ -59,7 +59,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -207,6 +211,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 082ec94ce46963b4f76ccd9ea3c5adaa04218bb5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2527/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSeascapeShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSeascapeShader.ps1 b/Commands/Shaders/Get-OBSSeascapeShader.ps1 index 0d61c99d3..d2564d5da 100644 --- a/Commands/Shaders/Get-OBSSeascapeShader.ps1 +++ b/Commands/Shaders/Get-OBSSeascapeShader.ps1 @@ -67,7 +67,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -391,6 +395,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 44eb2ba94d471d9d4b8cbe33348c3c3e61eb59d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2528/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSeasickShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSeasickShader.ps1 b/Commands/Shaders/Get-OBSSeasickShader.ps1 index 183dcb360..8ec623d03 100644 --- a/Commands/Shaders/Get-OBSSeasickShader.ps1 +++ b/Commands/Shaders/Get-OBSSeasickShader.ps1 @@ -43,7 +43,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -136,6 +140,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 018098db05dfe23d0027fe83a5974f439ae911a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2529/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSelectiveColorShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 index 2cbc2c2f9..26104834e 100644 --- a/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 +++ b/Commands/Shaders/Get-OBSSelectiveColorShader.ps1 @@ -77,7 +77,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -247,6 +251,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 66d6662b98dc47b02224fc9f43e9487b0312c7e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2530/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSShakeShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSShakeShader.ps1 b/Commands/Shaders/Get-OBSShakeShader.ps1 index a277c8dc4..d49338b2c 100644 --- a/Commands/Shaders/Get-OBSShakeShader.ps1 +++ b/Commands/Shaders/Get-OBSShakeShader.ps1 @@ -98,7 +98,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -288,6 +292,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From c6e246d380c3db3f27d5474804dc0e4e4bef9cdd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2531/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSShineShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSShineShader.ps1 b/Commands/Shaders/Get-OBSShineShader.ps1 index aa2d2b2e3..4c71c84d1 100644 --- a/Commands/Shaders/Get-OBSShineShader.ps1 +++ b/Commands/Shaders/Get-OBSShineShader.ps1 @@ -88,7 +88,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -313,6 +317,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From c2aec7a00527167becd313a332315e54e2275a7e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2532/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSimpleGradientShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 index 413170fe2..ae8872aba 100644 --- a/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 +++ b/Commands/Shaders/Get-OBSSimpleGradientShader.ps1 @@ -62,7 +62,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -230,6 +234,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From b012936e3112f519ad1e9757009b62593144557f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:06 +0000 Subject: [PATCH 2533/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 index df421433f..0da46f385 100644 --- a/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 +++ b/Commands/Shaders/Get-OBSSimplexNoiseShader.ps1 @@ -65,7 +65,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -312,6 +316,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 50b38bd3a722a9383eb619857202153045986be9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2534/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSpotlightShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSpotlightShader.ps1 b/Commands/Shaders/Get-OBSSpotlightShader.ps1 index 4f263d293..7b51b71ad 100644 --- a/Commands/Shaders/Get-OBSSpotlightShader.ps1 +++ b/Commands/Shaders/Get-OBSSpotlightShader.ps1 @@ -56,7 +56,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -161,6 +165,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From b18b024242c78fef1ee8882369842f7461008c36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2535/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSSwirlShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSSwirlShader.ps1 b/Commands/Shaders/Get-OBSSwirlShader.ps1 index 807e0f5c0..dc57f2960 100644 --- a/Commands/Shaders/Get-OBSSwirlShader.ps1 +++ b/Commands/Shaders/Get-OBSSwirlShader.ps1 @@ -53,7 +53,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -180,6 +184,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From f19829b038d25bd3678d474c6a8da78ef85d9bce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2536/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSThermalShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSThermalShader.ps1 b/Commands/Shaders/Get-OBSThermalShader.ps1 index 735daea33..3b17ffcef 100644 --- a/Commands/Shaders/Get-OBSThermalShader.ps1 +++ b/Commands/Shaders/Get-OBSThermalShader.ps1 @@ -27,7 +27,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -118,6 +122,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 4d26932d50e38ce262038155696fbc9362cca9b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2537/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 index ae92e5044..808cb4c7a 100644 --- a/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 +++ b/Commands/Shaders/Get-OBSTvCrtSubpixelShader.ps1 @@ -39,7 +39,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -161,6 +165,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From ee2de89d33bc858295f81b1e343aa97965f2b6dc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2538/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSTwistShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSTwistShader.ps1 b/Commands/Shaders/Get-OBSTwistShader.ps1 index 581d2e291..746d6e207 100644 --- a/Commands/Shaders/Get-OBSTwistShader.ps1 +++ b/Commands/Shaders/Get-OBSTwistShader.ps1 @@ -41,7 +41,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -144,6 +148,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 5d47dae9c60cca36c98598290048da58f1b730f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2539/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 index 4f3e85ac6..7d0632c33 100644 --- a/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 +++ b/Commands/Shaders/Get-OBSTwoPassDropShadowShader.ps1 @@ -86,7 +86,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -256,6 +260,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 6c0c192efbeac5aef63c206bf87f884ce89eb33a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2540/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSVCRShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVCRShader.ps1 b/Commands/Shaders/Get-OBSVCRShader.ps1 index ff074face..8f8f25a50 100644 --- a/Commands/Shaders/Get-OBSVCRShader.ps1 +++ b/Commands/Shaders/Get-OBSVCRShader.ps1 @@ -50,7 +50,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -202,6 +206,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 2cd5d8800493a8c013ab65462e761e978449e2d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2541/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSVHSShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVHSShader.ps1 b/Commands/Shaders/Get-OBSVHSShader.ps1 index 6fd871b41..fc44956b4 100644 --- a/Commands/Shaders/Get-OBSVHSShader.ps1 +++ b/Commands/Shaders/Get-OBSVHSShader.ps1 @@ -68,7 +68,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -248,6 +252,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From d9b80bf064186132e30eae2de109e19cb4017e35 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2542/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSVignettingShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVignettingShader.ps1 b/Commands/Shaders/Get-OBSVignettingShader.ps1 index a76cf0976..9a44d9a87 100644 --- a/Commands/Shaders/Get-OBSVignettingShader.ps1 +++ b/Commands/Shaders/Get-OBSVignettingShader.ps1 @@ -39,7 +39,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -143,6 +147,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 54c41a7c3ce024593220a5430152eb9381b9a15f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2543/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 index 2214fe433..bcc8cbad1 100644 --- a/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 +++ b/Commands/Shaders/Get-OBSVoronoiPixelationShader.ps1 @@ -31,7 +31,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -172,6 +176,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 889b48521dd4148a61e51562fc651de7edce0127 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2544/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSZigZagShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSZigZagShader.ps1 b/Commands/Shaders/Get-OBSZigZagShader.ps1 index 6c36c9fec..193966a9d 100644 --- a/Commands/Shaders/Get-OBSZigZagShader.ps1 +++ b/Commands/Shaders/Get-OBSZigZagShader.ps1 @@ -61,7 +61,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -225,6 +229,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 3958740e4421b0d90e8c0cdaebb598d0ce32112b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2545/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSZoomBlurShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSZoomBlurShader.ps1 b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 index 326cab68f..f3a5f706f 100644 --- a/Commands/Shaders/Get-OBSZoomBlurShader.ps1 +++ b/Commands/Shaders/Get-OBSZoomBlurShader.ps1 @@ -48,7 +48,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -198,6 +202,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From a8a7ea99c81363e6a38c4f8c5bcbf52bef5da02f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2546/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSZoomShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSZoomShader.ps1 b/Commands/Shaders/Get-OBSZoomShader.ps1 index 5942ebb61..fa9ba836c 100644 --- a/Commands/Shaders/Get-OBSZoomShader.ps1 +++ b/Commands/Shaders/Get-OBSZoomShader.ps1 @@ -37,7 +37,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -119,6 +123,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From bfdec0b14dcdbd66e4819374f6059f842b9ec602 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2547/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- Commands/Shaders/Get-OBSReflectShader.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSReflectShader.ps1 b/Commands/Shaders/Get-OBSReflectShader.ps1 index 77a6cca36..92a129a46 100644 --- a/Commands/Shaders/Get-OBSReflectShader.ps1 +++ b/Commands/Shaders/Get-OBSReflectShader.ps1 @@ -41,7 +41,11 @@ $Force, $PassThru, # If set, will not wait for a response from OBS (this will be faster, but will not return anything) [Management.Automation.SwitchParameter] -$NoResponse +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime ) @@ -146,6 +150,9 @@ switch -regex ($myVerb) { foreach ($parameterAttribute in $parameterMetadata.Attributes) { if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } continue nextParameter } } From 517ce653211070ad7db6c4309d82f312c39890d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:07 +0000 Subject: [PATCH 2548/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 3c4f6ebaa..5e9626d61 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 733 commands -(298 functions and 435 aliases) +obs-powershell exports 736 commands +(299 functions and 437 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -142,6 +142,7 @@ Functions |[Get-OBSRecordDirectory](docs/Get-OBSRecordDirectory.md) |Get-OBSRecordDirectory : GetRecordDirectory | |[Get-OBSRecordStatus](docs/Get-OBSRecordStatus.md) |Get-OBSRecordStatus : GetRecordStatus | |[Get-OBSRectangularDropShadowShader](docs/Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSReflectShader](docs/Get-OBSReflectShader.md) | |[Get-OBSRemovePartialPixelsShader](docs/Get-OBSRemovePartialPixelsShader.md) | |[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | @@ -449,6 +450,7 @@ Aliases |[Get-OBSRecordDirectory](docs/Get-OBSRecordDirectory.md) | |[Get-OBSRecordStatus](docs/Get-OBSRecordStatus.md) | |[Get-OBSRectangularDropShadowShader](docs/Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSReflectShader](docs/Get-OBSReflectShader.md) | |[Get-OBSRemovePartialPixelsShader](docs/Get-OBSRemovePartialPixelsShader.md) | |[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | From 1c84ba76d42e76fe304a18f4552f7da64f99e7de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:21 +0000 Subject: [PATCH 2549/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAddShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAddShader.md b/docs/Get-OBSAddShader.md index fb7a0df88..a2db12cab 100644 --- a/docs/Get-OBSAddShader.md +++ b/docs/Get-OBSAddShader.md @@ -3,7 +3,7 @@ Get-OBSAddShader ### Synopsis -Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f0f3a6aa84063d2a59aaad01cd82b6e172353a23 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:21 +0000 Subject: [PATCH 2550/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAlphaBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAlphaBorderShader.md b/docs/Get-OBSAlphaBorderShader.md index 89b20ec13..5184bf5c5 100644 --- a/docs/Get-OBSAlphaBorderShader.md +++ b/docs/Get-OBSAlphaBorderShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaBorderShader ### Synopsis -Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 4b73e5ceee068014618db3fb8d66611e5511a7b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:21 +0000 Subject: [PATCH 2551/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAlphaGamingBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAlphaGamingBentCameraShader.md b/docs/Get-OBSAlphaGamingBentCameraShader.md index bcdd52b82..82845c34b 100644 --- a/docs/Get-OBSAlphaGamingBentCameraShader.md +++ b/docs/Get-OBSAlphaGamingBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaGamingBentCameraShader ### Synopsis -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ca2d280cdf0fee3b859ac2e69aad37936e3dacff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:21 +0000 Subject: [PATCH 2552/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAnimatedPathShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAnimatedPathShader.md b/docs/Get-OBSAnimatedPathShader.md index 395279b95..43304efaf 100644 --- a/docs/Get-OBSAnimatedPathShader.md +++ b/docs/Get-OBSAnimatedPathShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedPathShader ### Synopsis -Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |-------|--------|--------|-------------|-------------| |`[int]`|false |7 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 4f8fae45a37185004be32e178a4cc6bec07e614b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:22 +0000 Subject: [PATCH 2553/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAnimatedTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAnimatedTextureShader.md b/docs/Get-OBSAnimatedTextureShader.md index 87bf5cafa..2dc81b3d2 100644 --- a/docs/Get-OBSAnimatedTextureShader.md +++ b/docs/Get-OBSAnimatedTextureShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedTextureShader ### Synopsis -Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -156,6 +156,12 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|-------------|-------------------------| |`[switch]`|false |Named |false |Use_Animation_Image_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From b8d3f47cb54ec3ec21e1758e591f38fc51f92950 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:22 +0000 Subject: [PATCH 2554/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAsciiShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAsciiShader.md b/docs/Get-OBSAsciiShader.md index 38f04236a..c6fa59029 100644 --- a/docs/Get-OBSAsciiShader.md +++ b/docs/Get-OBSAsciiShader.md @@ -3,7 +3,7 @@ Get-OBSAsciiShader ### Synopsis -Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] Date: Thu, 15 Feb 2024 00:55:22 +0000 Subject: [PATCH 2555/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSAspectRatioShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSAspectRatioShader.md b/docs/Get-OBSAspectRatioShader.md index 7f25093b4..6b11f78ca 100644 --- a/docs/Get-OBSAspectRatioShader.md +++ b/docs/Get-OBSAspectRatioShader.md @@ -3,7 +3,7 @@ Get-OBSAspectRatioShader ### Synopsis -Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |----------|--------|--------|---------------------|-------------| |`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 8e4d3c8044ffbff068224714829a7464fe82047e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:22 +0000 Subject: [PATCH 2556/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBackgroundRemovalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBackgroundRemovalShader.md b/docs/Get-OBSBackgroundRemovalShader.md index 4117a391f..c793634cc 100644 --- a/docs/Get-OBSBackgroundRemovalShader.md +++ b/docs/Get-OBSBackgroundRemovalShader.md @@ -3,7 +3,7 @@ Get-OBSBackgroundRemovalShader ### Synopsis -Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|-------------| |`[string]`|false |9 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 5f5a5449a5730a50f9594fa76fd395e0fc8a2f0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:23 +0000 Subject: [PATCH 2557/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBlendOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBlendOpacityShader.md b/docs/Get-OBSBlendOpacityShader.md index 7bf9da06f..e33409d5c 100644 --- a/docs/Get-OBSBlendOpacityShader.md +++ b/docs/Get-OBSBlendOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSBlendOpacityShader ### Synopsis -Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] Date: Thu, 15 Feb 2024 00:55:23 +0000 Subject: [PATCH 2558/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBlinkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBlinkShader.md b/docs/Get-OBSBlinkShader.md index 5b3e942bd..5389fb6c4 100644 --- a/docs/Get-OBSBlinkShader.md +++ b/docs/Get-OBSBlinkShader.md @@ -3,7 +3,7 @@ Get-OBSBlinkShader ### Synopsis -Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] Date: Thu, 15 Feb 2024 00:55:23 +0000 Subject: [PATCH 2559/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBloomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBloomShader.md b/docs/Get-OBSBloomShader.md index 161969887..e4fc8bba8 100644 --- a/docs/Get-OBSBloomShader.md +++ b/docs/Get-OBSBloomShader.md @@ -3,7 +3,7 @@ Get-OBSBloomShader ### Synopsis -Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] Date: Thu, 15 Feb 2024 00:55:23 +0000 Subject: [PATCH 2560/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBorderShader.md b/docs/Get-OBSBorderShader.md index fadeb50ff..88a592d7b 100644 --- a/docs/Get-OBSBorderShader.md +++ b/docs/Get-OBSBorderShader.md @@ -3,7 +3,7 @@ Get-OBSBorderShader ### Synopsis -Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ac8eb193b1890f0b31e9341c730f3669a45af71b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:23 +0000 Subject: [PATCH 2561/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBoxBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBoxBlurShader.md b/docs/Get-OBSBoxBlurShader.md index 7f7ca04f4..fb293b9a4 100644 --- a/docs/Get-OBSBoxBlurShader.md +++ b/docs/Get-OBSBoxBlurShader.md @@ -3,7 +3,7 @@ Get-OBSBoxBlurShader ### Synopsis -Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] Date: Thu, 15 Feb 2024 00:55:23 +0000 Subject: [PATCH 2562/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBulgePinchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBulgePinchShader.md b/docs/Get-OBSBulgePinchShader.md index f100f241c..a946bf65a 100644 --- a/docs/Get-OBSBulgePinchShader.md +++ b/docs/Get-OBSBulgePinchShader.md @@ -3,7 +3,7 @@ Get-OBSBulgePinchShader ### Synopsis -Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From dab7aea77abe49d10b47a26830ec7f8e95adb659 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:24 +0000 Subject: [PATCH 2563/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSBurnShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSBurnShader.md b/docs/Get-OBSBurnShader.md index 60d44b60a..dc9a2b771 100644 --- a/docs/Get-OBSBurnShader.md +++ b/docs/Get-OBSBurnShader.md @@ -3,7 +3,7 @@ Get-OBSBurnShader ### Synopsis -Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |---------|--------|--------|-------------| |`[float]`|false |1 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5c27cbc91728f5a49c08cd5f4d1732c5d92c187d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:24 +0000 Subject: [PATCH 2564/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCartoonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCartoonShader.md b/docs/Get-OBSCartoonShader.md index 1b4ce0c62..0235e1b80 100644 --- a/docs/Get-OBSCartoonShader.md +++ b/docs/Get-OBSCartoonShader.md @@ -3,7 +3,7 @@ Get-OBSCartoonShader ### Synopsis -Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 41dc25ec9210f588a9f5579780270a94bfe51df6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:24 +0000 Subject: [PATCH 2565/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCellShadedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCellShadedShader.md b/docs/Get-OBSCellShadedShader.md index 5efcd4646..7b68ec729 100644 --- a/docs/Get-OBSCellShadedShader.md +++ b/docs/Get-OBSCellShadedShader.md @@ -3,7 +3,7 @@ Get-OBSCellShadedShader ### Synopsis -Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 6497bc057b548986f4268583b3373f06a531768f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:24 +0000 Subject: [PATCH 2566/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSChromaticAberrationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSChromaticAberrationShader.md b/docs/Get-OBSChromaticAberrationShader.md index 143ee2651..d2e270d01 100644 --- a/docs/Get-OBSChromaticAberrationShader.md +++ b/docs/Get-OBSChromaticAberrationShader.md @@ -3,7 +3,7 @@ Get-OBSChromaticAberrationShader ### Synopsis -Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |----------|--------|--------|-------------|----------| |`[switch]`|false |Named |false |use_random| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 2b68ffe887a22b8813a163d28a187443f9722af8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:24 +0000 Subject: [PATCH 2567/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSChromaUVDistortionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSChromaUVDistortionShader.md b/docs/Get-OBSChromaUVDistortionShader.md index f062a3687..00901d12d 100644 --- a/docs/Get-OBSChromaUVDistortionShader.md +++ b/docs/Get-OBSChromaUVDistortionShader.md @@ -3,7 +3,7 @@ Get-OBSChromaUVDistortionShader ### Synopsis -Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3c2a7cfdb7f85dd9cfe6f3d8621d09e536684786 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:25 +0000 Subject: [PATCH 2568/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCircleMaskFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCircleMaskFilterShader.md b/docs/Get-OBSCircleMaskFilterShader.md index f435303d9..7d6a01076 100644 --- a/docs/Get-OBSCircleMaskFilterShader.md +++ b/docs/Get-OBSCircleMaskFilterShader.md @@ -3,7 +3,7 @@ Get-OBSCircleMaskFilterShader ### Synopsis -Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |-------|--------|--------|-------------|---------------| |`[int]`|false |4 |false |Source_Offset_Y| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7a6e53d43a9a9c597a5bd7e68ee4fe000f725066 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:25 +0000 Subject: [PATCH 2569/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSColorDepthShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSColorDepthShader.md b/docs/Get-OBSColorDepthShader.md index e638c83bd..09a9a7a91 100644 --- a/docs/Get-OBSColorDepthShader.md +++ b/docs/Get-OBSColorDepthShader.md @@ -3,7 +3,7 @@ Get-OBSColorDepthShader ### Synopsis -Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 69108806d55e255392553cbbf3765ad5e50837b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:25 +0000 Subject: [PATCH 2570/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSColorGradeFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSColorGradeFilterShader.md b/docs/Get-OBSColorGradeFilterShader.md index 1710b874c..c8b096fa0 100644 --- a/docs/Get-OBSColorGradeFilterShader.md +++ b/docs/Get-OBSColorGradeFilterShader.md @@ -3,7 +3,7 @@ Get-OBSColorGradeFilterShader ### Synopsis -Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 097417c59b707384bbedf4efec2a3667c19c7dd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:25 +0000 Subject: [PATCH 2571/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCornerPinShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCornerPinShader.md b/docs/Get-OBSCornerPinShader.md index d6c10bc0a..1a122c1ea 100644 --- a/docs/Get-OBSCornerPinShader.md +++ b/docs/Get-OBSCornerPinShader.md @@ -3,7 +3,7 @@ Get-OBSCornerPinShader ### Synopsis -Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |---------|--------|--------|-------------|-----------| |`[float]`|false |3 |false |Top_Right_Y| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 826c4d6816c6870a0727a97345c2a4cf139e7118 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:25 +0000 Subject: [PATCH 2572/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCrtCurvatureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCrtCurvatureShader.md b/docs/Get-OBSCrtCurvatureShader.md index be690aed4..16cd6a949 100644 --- a/docs/Get-OBSCrtCurvatureShader.md +++ b/docs/Get-OBSCrtCurvatureShader.md @@ -3,7 +3,7 @@ Get-OBSCrtCurvatureShader ### Synopsis -Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 16d8f78a8ffaec05c5fecb6d7eaca901784056f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:26 +0000 Subject: [PATCH 2573/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCutRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCutRectPerCornerShader.md b/docs/Get-OBSCutRectPerCornerShader.md index e1e6c137a..c76a7c6d2 100644 --- a/docs/Get-OBSCutRectPerCornerShader.md +++ b/docs/Get-OBSCutRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSCutRectPerCornerShader ### Synopsis -Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ba5cf8bc61e1aa79d641f073a6b4b6be1a8d8138 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:26 +0000 Subject: [PATCH 2574/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSCylinderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSCylinderShader.md b/docs/Get-OBSCylinderShader.md index 5bb36395a..07a2cacf1 100644 --- a/docs/Get-OBSCylinderShader.md +++ b/docs/Get-OBSCylinderShader.md @@ -3,7 +3,7 @@ Get-OBSCylinderShader ### Synopsis -Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 4c7bba9308c757f8bb498654635b95ed7b45ace1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:26 +0000 Subject: [PATCH 2575/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDarkenShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDarkenShader.md b/docs/Get-OBSDarkenShader.md index 6a81b5ac1..a3eab1244 100644 --- a/docs/Get-OBSDarkenShader.md +++ b/docs/Get-OBSDarkenShader.md @@ -3,7 +3,7 @@ Get-OBSDarkenShader ### Synopsis -Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d36bccec42bd8148b7a5fac0b938f6fa20a2e3a6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:26 +0000 Subject: [PATCH 2576/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDeadPixelFixerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDeadPixelFixerShader.md b/docs/Get-OBSDeadPixelFixerShader.md index fa4e4cea9..52de7278a 100644 --- a/docs/Get-OBSDeadPixelFixerShader.md +++ b/docs/Get-OBSDeadPixelFixerShader.md @@ -3,7 +3,7 @@ Get-OBSDeadPixelFixerShader ### Synopsis -Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ee34b3284741b2787dceb249af11f4c5624f313b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:27 +0000 Subject: [PATCH 2577/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDivideRotateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDivideRotateShader.md b/docs/Get-OBSDivideRotateShader.md index 99bf961ca..651cec3c6 100644 --- a/docs/Get-OBSDivideRotateShader.md +++ b/docs/Get-OBSDivideRotateShader.md @@ -3,7 +3,7 @@ Get-OBSDivideRotateShader ### Synopsis -Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |-------|--------|--------|-------------|----------------| |`[int]`|false |1 |false |speed_percentage| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d3b6d93a9db1ca0416f9d0788257848d0a85b26c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:27 +0000 Subject: [PATCH 2578/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDoodleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDoodleShader.md b/docs/Get-OBSDoodleShader.md index 9a76ab712..8939cc510 100644 --- a/docs/Get-OBSDoodleShader.md +++ b/docs/Get-OBSDoodleShader.md @@ -3,7 +3,7 @@ Get-OBSDoodleShader ### Synopsis -Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 75fcbac0affcc5bd55a49304ddbe25d983fb402b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:27 +0000 Subject: [PATCH 2579/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDrawingsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDrawingsShader.md b/docs/Get-OBSDrawingsShader.md index 389229d55..219eef585 100644 --- a/docs/Get-OBSDrawingsShader.md +++ b/docs/Get-OBSDrawingsShader.md @@ -3,7 +3,7 @@ Get-OBSDrawingsShader ### Synopsis -Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] Date: Thu, 15 Feb 2024 00:55:27 +0000 Subject: [PATCH 2580/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDropShadowShader.md b/docs/Get-OBSDropShadowShader.md index 625008889..cd0d0bd1d 100644 --- a/docs/Get-OBSDropShadowShader.md +++ b/docs/Get-OBSDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSDropShadowShader ### Synopsis -Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 6ad10ed522a67c8e77d814e9f077b1e7b40ab84f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:27 +0000 Subject: [PATCH 2581/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDrunkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDrunkShader.md b/docs/Get-OBSDrunkShader.md index 230e425a8..792565154 100644 --- a/docs/Get-OBSDrunkShader.md +++ b/docs/Get-OBSDrunkShader.md @@ -3,7 +3,7 @@ Get-OBSDrunkShader ### Synopsis -Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |----------|--------|--------|---------------------|-------------| |`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 492d5eac5f89980fd11be0a8f9bdce4d2b0799f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:28 +0000 Subject: [PATCH 2582/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSDynamicMaskShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSDynamicMaskShader.md b/docs/Get-OBSDynamicMaskShader.md index e63709519..d3a9a0050 100644 --- a/docs/Get-OBSDynamicMaskShader.md +++ b/docs/Get-OBSDynamicMaskShader.md @@ -3,7 +3,7 @@ Get-OBSDynamicMaskShader ### Synopsis -Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -198,6 +198,12 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |25 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 56b36bbc2e49450e97169fe3a9e9607372cd9941 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:28 +0000 Subject: [PATCH 2583/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSEdgeDetectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEdgeDetectionShader.md b/docs/Get-OBSEdgeDetectionShader.md index 209b647b2..23ad8c596 100644 --- a/docs/Get-OBSEdgeDetectionShader.md +++ b/docs/Get-OBSEdgeDetectionShader.md @@ -3,7 +3,7 @@ Get-OBSEdgeDetectionShader ### Synopsis -Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 1e08bb0c26be015d0deb083dc9ec61eeb08fba63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:28 +0000 Subject: [PATCH 2584/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSEmbersShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEmbersShader.md b/docs/Get-OBSEmbersShader.md index 92999c42a..0a77701e9 100644 --- a/docs/Get-OBSEmbersShader.md +++ b/docs/Get-OBSEmbersShader.md @@ -3,7 +3,7 @@ Get-OBSEmbersShader ### Synopsis -Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -150,6 +150,12 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From c79fce59881931de3a7f5a25cac99aeb910a9bb8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:28 +0000 Subject: [PATCH 2585/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSEmbossColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEmbossColorShader.md b/docs/Get-OBSEmbossColorShader.md index cf16eb734..1b946a4c0 100644 --- a/docs/Get-OBSEmbossColorShader.md +++ b/docs/Get-OBSEmbossColorShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossColorShader ### Synopsis -Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |-------|--------|--------|-------------|---------------| |`[int]`|false |3 |false |Up_Down_Percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 4148b5fc7bff6d989a9d4b51dd7d965cba033a6f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:28 +0000 Subject: [PATCH 2586/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSEmbossShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSEmbossShader.md b/docs/Get-OBSEmbossShader.md index 56dea2550..fa23ddd55 100644 --- a/docs/Get-OBSEmbossShader.md +++ b/docs/Get-OBSEmbossShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossShader ### Synopsis -Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |----------|--------|--------|-------------|---------| |`[switch]`|false |Named |false |Use_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From df6ce6e4a33a3d70065b21b75d5d01d6d7da45a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:29 +0000 Subject: [PATCH 2587/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSExeldroBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSExeldroBentCameraShader.md b/docs/Get-OBSExeldroBentCameraShader.md index 379fd671a..912d4f2b9 100644 --- a/docs/Get-OBSExeldroBentCameraShader.md +++ b/docs/Get-OBSExeldroBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSExeldroBentCameraShader ### Synopsis -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] Date: Thu, 15 Feb 2024 00:55:29 +0000 Subject: [PATCH 2588/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFadeTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFadeTransitionShader.md b/docs/Get-OBSFadeTransitionShader.md index 52db862e7..f36c14929 100644 --- a/docs/Get-OBSFadeTransitionShader.md +++ b/docs/Get-OBSFadeTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSFadeTransitionShader ### Synopsis -Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |---------|--------|--------|-------------|---------------| |`[float]`|false |2 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From deaf0ff090c1d208e7be13c9fd763221d0fd37ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:29 +0000 Subject: [PATCH 2589/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFillColorGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorGradientShader.md b/docs/Get-OBSFillColorGradientShader.md index 680063f15..49cd80e2e 100644 --- a/docs/Get-OBSFillColorGradientShader.md +++ b/docs/Get-OBSFillColorGradientShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorGradientShader ### Synopsis -Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From fdaf571f282e8684ccea1f2b9add2b3525540ca9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:29 +0000 Subject: [PATCH 2590/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFillColorLinearShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorLinearShader.md b/docs/Get-OBSFillColorLinearShader.md index 970b7a645..c142370b9 100644 --- a/docs/Get-OBSFillColorLinearShader.md +++ b/docs/Get-OBSFillColorLinearShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorLinearShader ### Synopsis -Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 49893b117c4ea7f406ce01b988a94ef5990877e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:29 +0000 Subject: [PATCH 2591/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFillColorRadialDegreesShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorRadialDegreesShader.md b/docs/Get-OBSFillColorRadialDegreesShader.md index 4505e7e80..ae2234a6d 100644 --- a/docs/Get-OBSFillColorRadialDegreesShader.md +++ b/docs/Get-OBSFillColorRadialDegreesShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialDegreesShader ### Synopsis -Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |---------|--------|--------|-------------|-----------| |`[float]`|false |2 |false |Start_Angle| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 9dca2ad3860bc340b88897f0c599216a39ec1975 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:29 +0000 Subject: [PATCH 2592/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFillColorRadialPercentageShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFillColorRadialPercentageShader.md b/docs/Get-OBSFillColorRadialPercentageShader.md index 775a9a894..6cc1bd22f 100644 --- a/docs/Get-OBSFillColorRadialPercentageShader.md +++ b/docs/Get-OBSFillColorRadialPercentageShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialPercentageShader ### Synopsis -Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |---------|--------|--------|-------------|-----------| |`[float]`|false |2 |false |Start_Angle| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b74124639ab3a1e21c8b37367bf866909c15a536 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:30 +0000 Subject: [PATCH 2593/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFilterTemplateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFilterTemplateShader.md b/docs/Get-OBSFilterTemplateShader.md index be91c5a84..4b9d258a9 100644 --- a/docs/Get-OBSFilterTemplateShader.md +++ b/docs/Get-OBSFilterTemplateShader.md @@ -3,7 +3,7 @@ Get-OBSFilterTemplateShader ### Synopsis -Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From bbd8882f516648a3d27b6703a20e71bc2d78ba28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:30 +0000 Subject: [PATCH 2594/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFire3Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFire3Shader.md b/docs/Get-OBSFire3Shader.md index d4c11d146..ba84c632d 100644 --- a/docs/Get-OBSFire3Shader.md +++ b/docs/Get-OBSFire3Shader.md @@ -3,7 +3,7 @@ Get-OBSFire3Shader ### Synopsis -Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -186,6 +186,12 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |-------|--------|--------|-------------| |`[int]`|false |15 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From df14cb2b5cf947f50385540bf51b12f0ce58f27e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:30 +0000 Subject: [PATCH 2595/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFireShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFireShader.md b/docs/Get-OBSFireShader.md index aa697a0e9..2d0c6e393 100644 --- a/docs/Get-OBSFireShader.md +++ b/docs/Get-OBSFireShader.md @@ -3,7 +3,7 @@ Get-OBSFireShader ### Synopsis -Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -120,6 +120,12 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] Date: Thu, 15 Feb 2024 00:55:30 +0000 Subject: [PATCH 2596/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFireworksShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFireworksShader.md b/docs/Get-OBSFireworksShader.md index 8beb550cd..78ea455eb 100644 --- a/docs/Get-OBSFireworksShader.md +++ b/docs/Get-OBSFireworksShader.md @@ -3,7 +3,7 @@ Get-OBSFireworksShader ### Synopsis -Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad |----------|--------|--------|---------------------|-------------| |`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UseTransparancy** |Type |Required|Position|PipelineInput|Aliases | From 196a933ad6b9ce07e0e765d46b8ce459fc9c3f7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:30 +0000 Subject: [PATCH 2597/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFisheyeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFisheyeShader.md b/docs/Get-OBSFisheyeShader.md index 0653efdda..ba70a8f14 100644 --- a/docs/Get-OBSFisheyeShader.md +++ b/docs/Get-OBSFisheyeShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeShader ### Synopsis -Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 59f42e9d37f9ac43633822094a47f65426c0136c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:30 +0000 Subject: [PATCH 2598/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFisheyeXyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFisheyeXyShader.md b/docs/Get-OBSFisheyeXyShader.md index 6a1c88a84..9ac5e15f3 100644 --- a/docs/Get-OBSFisheyeXyShader.md +++ b/docs/Get-OBSFisheyeXyShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeXyShader ### Synopsis -Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From de2a7652f03835cd4b2f7d13bf6edc0c25b8c4ac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:31 +0000 Subject: [PATCH 2599/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSFrostedGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSFrostedGlassShader.md b/docs/Get-OBSFrostedGlassShader.md index 6b3e54faa..c2abc55d6 100644 --- a/docs/Get-OBSFrostedGlassShader.md +++ b/docs/Get-OBSFrostedGlassShader.md @@ -3,7 +3,7 @@ Get-OBSFrostedGlassShader ### Synopsis -Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 64920e68436103eb047a11095cae57124496eb46 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:31 +0000 Subject: [PATCH 2600/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGammaCorrectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGammaCorrectionShader.md b/docs/Get-OBSGammaCorrectionShader.md index b682d0ece..b4fb52ca0 100644 --- a/docs/Get-OBSGammaCorrectionShader.md +++ b/docs/Get-OBSGammaCorrectionShader.md @@ -3,7 +3,7 @@ Get-OBSGammaCorrectionShader ### Synopsis -Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] Date: Thu, 15 Feb 2024 00:55:31 +0000 Subject: [PATCH 2601/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGaussianBlurAdvancedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianBlurAdvancedShader.md b/docs/Get-OBSGaussianBlurAdvancedShader.md index e83580821..39a67d808 100644 --- a/docs/Get-OBSGaussianBlurAdvancedShader.md +++ b/docs/Get-OBSGaussianBlurAdvancedShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurAdvancedShader ### Synopsis -Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 129b43c5668ef28d1938084839920b8a1e9a4ea9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:31 +0000 Subject: [PATCH 2602/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGaussianBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianBlurShader.md b/docs/Get-OBSGaussianBlurShader.md index 02bf99e4d..4ac697d20 100644 --- a/docs/Get-OBSGaussianBlurShader.md +++ b/docs/Get-OBSGaussianBlurShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurShader ### Synopsis -Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |-----------|--------|--------|-------------|------------| |`[float[]]`|false |6 |false |u_texelDelta| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From b1b121e16aa264467fdb71a69fbe48ebd09306b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:31 +0000 Subject: [PATCH 2603/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGaussianBlurSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianBlurSimpleShader.md b/docs/Get-OBSGaussianBlurSimpleShader.md index 9517872c2..7cd0578d8 100644 --- a/docs/Get-OBSGaussianBlurSimpleShader.md +++ b/docs/Get-OBSGaussianBlurSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurSimpleShader ### Synopsis -Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas |-------|--------|--------|-------------| |`[int]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 59182e1b727b71e8ff9702854fbdb0b00ce4c1c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:31 +0000 Subject: [PATCH 2604/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGaussianExampleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianExampleShader.md b/docs/Get-OBSGaussianExampleShader.md index 704028263..d35ba3b44 100644 --- a/docs/Get-OBSGaussianExampleShader.md +++ b/docs/Get-OBSGaussianExampleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianExampleShader ### Synopsis -Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|-------------|----------| |`[string]`|false |10 |false |text_color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From d2967cc42d73642328e1ce32682ef8ed5f043197 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:32 +0000 Subject: [PATCH 2605/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGaussianSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGaussianSimpleShader.md b/docs/Get-OBSGaussianSimpleShader.md index 318da80f8..6505d646d 100644 --- a/docs/Get-OBSGaussianSimpleShader.md +++ b/docs/Get-OBSGaussianSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianSimpleShader ### Synopsis -Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From eb16b663897496b7128b17f09b607f13bf4075a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:32 +0000 Subject: [PATCH 2606/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGbCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGbCameraShader.md b/docs/Get-OBSGbCameraShader.md index 0f8fabbb0..cfaa24156 100644 --- a/docs/Get-OBSGbCameraShader.md +++ b/docs/Get-OBSGbCameraShader.md @@ -3,7 +3,7 @@ Get-OBSGbCameraShader ### Synopsis -Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 49aaa8af13828b15507c5e57d9bad7a40399d516 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:32 +0000 Subject: [PATCH 2607/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlassShader.md b/docs/Get-OBSGlassShader.md index 91d1adfd2..9c7c8c425 100644 --- a/docs/Get-OBSGlassShader.md +++ b/docs/Get-OBSGlassShader.md @@ -3,7 +3,7 @@ Get-OBSGlassShader ### Synopsis -Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **XSize** |Type |Required|Position|PipelineInput| From b055897bcbb8c65ab6c4f1b863882b48c2f98d47 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:32 +0000 Subject: [PATCH 2608/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGlitchAnalogShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlitchAnalogShader.md b/docs/Get-OBSGlitchAnalogShader.md index d86d063e1..aa2faa36e 100644 --- a/docs/Get-OBSGlitchAnalogShader.md +++ b/docs/Get-OBSGlitchAnalogShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchAnalogShader ### Synopsis -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -126,6 +126,12 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VerticalJumpAmount** |Type |Required|Position|PipelineInput|Aliases | From e5881c406dfcdd429696874a545d78eacb477c6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:32 +0000 Subject: [PATCH 2609/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGlitchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlitchShader.md b/docs/Get-OBSGlitchShader.md index a38f7f32d..239c02bb5 100644 --- a/docs/Get-OBSGlitchShader.md +++ b/docs/Get-OBSGlitchShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchShader ### Synopsis -Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From e901b4743232846463b1ca359a7a8f92ac413016 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:32 +0000 Subject: [PATCH 2610/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGlowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGlowShader.md b/docs/Get-OBSGlowShader.md index 949eb3433..f6d735389 100644 --- a/docs/Get-OBSGlowShader.md +++ b/docs/Get-OBSGlowShader.md @@ -3,7 +3,7 @@ Get-OBSGlowShader ### Synopsis -Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 05d481ad6e1422c9b7767c72b2af3f06ca2881da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:33 +0000 Subject: [PATCH 2611/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSGradientShader.md b/docs/Get-OBSGradientShader.md index f35b8c9f0..0659fe535 100644 --- a/docs/Get-OBSGradientShader.md +++ b/docs/Get-OBSGradientShader.md @@ -3,7 +3,7 @@ Get-OBSGradientShader ### Synopsis -Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -150,6 +150,12 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |---------|--------|--------|-------------|----------| |`[float]`|false |1 |false |start_step| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From 4ddc4cce7a01f59f67a284a88c0515318768400c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:33 +0000 Subject: [PATCH 2612/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSHalftoneShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHalftoneShader.md b/docs/Get-OBSHalftoneShader.md index 837b024c7..0702de0f7 100644 --- a/docs/Get-OBSHalftoneShader.md +++ b/docs/Get-OBSHalftoneShader.md @@ -3,7 +3,7 @@ Get-OBSHalftoneShader ### Synopsis -Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 96500189ba69c86e1ffd5ec1130ef602a1bd26ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:33 +0000 Subject: [PATCH 2613/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSHeatWaveSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHeatWaveSimpleShader.md b/docs/Get-OBSHeatWaveSimpleShader.md index 51b594616..55816175b 100644 --- a/docs/Get-OBSHeatWaveSimpleShader.md +++ b/docs/Get-OBSHeatWaveSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSHeatWaveSimpleShader ### Synopsis -Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |---------|--------|--------|-------------| |`[float]`|false |1 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 84ecb5e8674f740cc596eda91ed419098dfa17f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:33 +0000 Subject: [PATCH 2614/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSHexagonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHexagonShader.md b/docs/Get-OBSHexagonShader.md index d01791998..9216f8b42 100644 --- a/docs/Get-OBSHexagonShader.md +++ b/docs/Get-OBSHexagonShader.md @@ -3,7 +3,7 @@ Get-OBSHexagonShader ### Synopsis -Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -126,6 +126,12 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |-------|--------|--------|-------------|-------------| |`[int]`|false |4 |false |Speed_Percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ZoomAnimate** |Type |Required|Position|PipelineInput|Aliases | From eef422a59a3a20a9f75089ce1fa9b88aa3e58064 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:33 +0000 Subject: [PATCH 2615/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSHslHsvSaturationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHslHsvSaturationShader.md b/docs/Get-OBSHslHsvSaturationShader.md index ddc716975..62965bc33 100644 --- a/docs/Get-OBSHslHsvSaturationShader.md +++ b/docs/Get-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7c2e2a3d794adc20a20313c8372735bea4be7616 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:34 +0000 Subject: [PATCH 2616/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSHueRotatonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSHueRotatonShader.md b/docs/Get-OBSHueRotatonShader.md index da2e83d14..f98d9993b 100644 --- a/docs/Get-OBSHueRotatonShader.md +++ b/docs/Get-OBSHueRotatonShader.md @@ -3,7 +3,7 @@ Get-OBSHueRotatonShader ### Synopsis -Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From de9a50e057611ac276d9bf2e10e893c7dd3c4856 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:34 +0000 Subject: [PATCH 2617/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSIntensityScopeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSIntensityScopeShader.md b/docs/Get-OBSIntensityScopeShader.md index f9cab5c04..9a45b9e83 100644 --- a/docs/Get-OBSIntensityScopeShader.md +++ b/docs/Get-OBSIntensityScopeShader.md @@ -3,7 +3,7 @@ Get-OBSIntensityScopeShader ### Synopsis -Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 299fd9b11a8f303d2704ec882b461d59e0b87763 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:35 +0000 Subject: [PATCH 2618/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSInvertLumaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSInvertLumaShader.md b/docs/Get-OBSInvertLumaShader.md index eb4fbe47f..8d70cf701 100644 --- a/docs/Get-OBSInvertLumaShader.md +++ b/docs/Get-OBSInvertLumaShader.md @@ -3,7 +3,7 @@ Get-OBSInvertLumaShader ### Synopsis -Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha |----------|--------|--------|-------------|---------| |`[switch]`|false |Named |false |Test_Ramp| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d6d9b1a735d7946c08085a51672f9b21fdf45739 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:35 +0000 Subject: [PATCH 2619/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSLuminance2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSLuminance2Shader.md b/docs/Get-OBSLuminance2Shader.md index ba3455f2d..ded8118db 100644 --- a/docs/Get-OBSLuminance2Shader.md +++ b/docs/Get-OBSLuminance2Shader.md @@ -3,7 +3,7 @@ Get-OBSLuminance2Shader ### Synopsis -Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] Date: Thu, 15 Feb 2024 00:55:35 +0000 Subject: [PATCH 2620/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSLuminanceAlphaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSLuminanceAlphaShader.md b/docs/Get-OBSLuminanceAlphaShader.md index 818fd36ca..c7cd3777d 100644 --- a/docs/Get-OBSLuminanceAlphaShader.md +++ b/docs/Get-OBSLuminanceAlphaShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceAlphaShader ### Synopsis -Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From e940e26959ba4a1611d5d616f625b667453966d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:35 +0000 Subject: [PATCH 2621/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSLuminanceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSLuminanceShader.md b/docs/Get-OBSLuminanceShader.md index 0034b4425..368dd6b97 100644 --- a/docs/Get-OBSLuminanceShader.md +++ b/docs/Get-OBSLuminanceShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceShader ### Synopsis -Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3fb82e671785ce611e9f532f40d60a9782561c09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:35 +0000 Subject: [PATCH 2622/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSMatrixShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSMatrixShader.md b/docs/Get-OBSMatrixShader.md index 6bff65017..699167349 100644 --- a/docs/Get-OBSMatrixShader.md +++ b/docs/Get-OBSMatrixShader.md @@ -3,7 +3,7 @@ Get-OBSMatrixShader ### Synopsis -Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |17 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 8a8fd85c243c0ae3c7d216ef2bf6d88cd65b1f5f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:35 +0000 Subject: [PATCH 2623/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSMultiplyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSMultiplyShader.md b/docs/Get-OBSMultiplyShader.md index a2dfe9717..552434c86 100644 --- a/docs/Get-OBSMultiplyShader.md +++ b/docs/Get-OBSMultiplyShader.md @@ -3,7 +3,7 @@ Get-OBSMultiplyShader ### Synopsis -Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From befe19689c10874f5a6e53473024b7ba0a26d666 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:36 +0000 Subject: [PATCH 2624/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSNightSkyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSNightSkyShader.md b/docs/Get-OBSNightSkyShader.md index 8aa8fbe30..3cda16ee1 100644 --- a/docs/Get-OBSNightSkyShader.md +++ b/docs/Get-OBSNightSkyShader.md @@ -3,7 +3,7 @@ Get-OBSNightSkyShader ### Synopsis -Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -156,6 +156,12 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 405f8ad1712c08e5ced02211a2585b776b2388e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:36 +0000 Subject: [PATCH 2625/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSOpacityShader.md b/docs/Get-OBSOpacityShader.md index 90eba35d0..1b7aa1459 100644 --- a/docs/Get-OBSOpacityShader.md +++ b/docs/Get-OBSOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSOpacityShader ### Synopsis -Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c789d1a5baa8c2acd8f2879bf0dfa4e81d8a390f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:36 +0000 Subject: [PATCH 2626/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPagePeelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPagePeelShader.md b/docs/Get-OBSPagePeelShader.md index dea4f7354..33a3026ae 100644 --- a/docs/Get-OBSPagePeelShader.md +++ b/docs/Get-OBSPagePeelShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelShader ### Synopsis -Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] Date: Thu, 15 Feb 2024 00:55:36 +0000 Subject: [PATCH 2627/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPagePeelTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPagePeelTransitionShader.md b/docs/Get-OBSPagePeelTransitionShader.md index fd2287b32..cf4836bd4 100644 --- a/docs/Get-OBSPagePeelTransitionShader.md +++ b/docs/Get-OBSPagePeelTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelTransitionShader ### Synopsis -Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |---------|--------|--------|-------------|---------------| |`[float]`|false |2 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7008b49b3480b0ecb3ad87a586cf652505cc3e5a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:36 +0000 Subject: [PATCH 2628/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPerlinNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPerlinNoiseShader.md b/docs/Get-OBSPerlinNoiseShader.md index c5ad93eb3..bbe6bc6b6 100644 --- a/docs/Get-OBSPerlinNoiseShader.md +++ b/docs/Get-OBSPerlinNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSPerlinNoiseShader ### Synopsis -Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |---------|--------|--------|-------------|--------------| |`[float]`|false |2 |false |speed_vertical| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **WhiteNoise** |Type |Required|Position|PipelineInput|Aliases | From 6376d883e9743f7c8410d4dcacf5cdb457dafb44 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:36 +0000 Subject: [PATCH 2629/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPieChartShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPieChartShader.md b/docs/Get-OBSPieChartShader.md index 7a6855fed..61511f8ac 100644 --- a/docs/Get-OBSPieChartShader.md +++ b/docs/Get-OBSPieChartShader.md @@ -3,7 +3,7 @@ Get-OBSPieChartShader ### Synopsis -Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -192,6 +192,12 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |-------|--------|--------|-------------| |`[int]`|false |3 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From eacbbff10c5a221bc658fee3530225eb403d8bcc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:37 +0000 Subject: [PATCH 2630/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPixelationShader.md b/docs/Get-OBSPixelationShader.md index 90a43e4aa..9b236ea71 100644 --- a/docs/Get-OBSPixelationShader.md +++ b/docs/Get-OBSPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationShader ### Synopsis -Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No |---------|--------|--------|-------------|------------| |`[float]`|false |0 |false |Target_Width| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7edbcd9688fa6643c702496f71344140c88a13b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:37 +0000 Subject: [PATCH 2631/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPixelationTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPixelationTransitionShader.md b/docs/Get-OBSPixelationTransitionShader.md index a34c7a6e7..1055f053e 100644 --- a/docs/Get-OBSPixelationTransitionShader.md +++ b/docs/Get-OBSPixelationTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationTransitionShader ### Synopsis -Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |---------|--------|--------|-------------|---------------| |`[float]`|false |0 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 11aace97fc6406e151529d4095989e573935f4da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:37 +0000 Subject: [PATCH 2632/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSPulseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSPulseShader.md b/docs/Get-OBSPulseShader.md index ccefad9b8..70dd71f14 100644 --- a/docs/Get-OBSPulseShader.md +++ b/docs/Get-OBSPulseShader.md @@ -3,7 +3,7 @@ Get-OBSPulseShader ### Synopsis -Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------| |`[float]`|false |8 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 99a9aa6da797174220027a41400804cb41ed405f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:37 +0000 Subject: [PATCH 2633/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRainbowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRainbowShader.md b/docs/Get-OBSRainbowShader.md index 4f81a61ad..74a21a669 100644 --- a/docs/Get-OBSRainbowShader.md +++ b/docs/Get-OBSRainbowShader.md @@ -3,7 +3,7 @@ Get-OBSRainbowShader ### Synopsis -Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -120,6 +120,12 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |---------|--------|--------|-------------| |`[float]`|false |2 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From 815acf6855073105ad1d90e3e3851320c9e6ba2d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:37 +0000 Subject: [PATCH 2634/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRainWindowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRainWindowShader.md b/docs/Get-OBSRainWindowShader.md index 594e61dfd..f487aa584 100644 --- a/docs/Get-OBSRainWindowShader.md +++ b/docs/Get-OBSRainWindowShader.md @@ -3,7 +3,7 @@ Get-OBSRainWindowShader ### Synopsis -Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |---------|--------|--------|-------------|--------------| |`[float]`|false |2 |false |trail_strength| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 4dd1c7a409bd15661cfcd7a5287c4089535cbfd7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:37 +0000 Subject: [PATCH 2635/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRectangularDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRectangularDropShadowShader.md b/docs/Get-OBSRectangularDropShadowShader.md index dbc35ba12..db1484da1 100644 --- a/docs/Get-OBSRectangularDropShadowShader.md +++ b/docs/Get-OBSRectangularDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSRectangularDropShadowShader ### Synopsis -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2636/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSReflectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSReflectShader.md b/docs/Get-OBSReflectShader.md index aa28e81b6..081732d11 100644 --- a/docs/Get-OBSReflectShader.md +++ b/docs/Get-OBSReflectShader.md @@ -3,7 +3,7 @@ Get-OBSReflectShader ### Synopsis -Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Sour |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From 8bfa5b8c596024685b6d18991069c84d0d4bc32c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2637/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRemovePartialPixelsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRemovePartialPixelsShader.md b/docs/Get-OBSRemovePartialPixelsShader.md index 4c99679ed..d87614b8e 100644 --- a/docs/Get-OBSRemovePartialPixelsShader.md +++ b/docs/Get-OBSRemovePartialPixelsShader.md @@ -3,7 +3,7 @@ Get-OBSRemovePartialPixelsShader ### Synopsis -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2638/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRepeatShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRepeatShader.md b/docs/Get-OBSRepeatShader.md index e19bd5cc4..667dae8f4 100644 --- a/docs/Get-OBSRepeatShader.md +++ b/docs/Get-OBSRepeatShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatShader ### Synopsis -Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |----------|--------|--------|---------------------|-------------| |`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From d5eff75e6317b2ac6d21514dcbff1c387e05dbe9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2639/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRepeatTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRepeatTextureShader.md b/docs/Get-OBSRepeatTextureShader.md index 033fc3de5..0f344d854 100644 --- a/docs/Get-OBSRepeatTextureShader.md +++ b/docs/Get-OBSRepeatTextureShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatTextureShader ### Synopsis -Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |----------|--------|--------|-------------|---------| |`[string]`|false |5 |false |tex_image| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 686ec86dc4badc17ab87db1dd3f9b1ee71081f36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2640/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRgbColorWheelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRgbColorWheelShader.md b/docs/Get-OBSRgbColorWheelShader.md index 1152ecf46..abd506c11 100644 --- a/docs/Get-OBSRgbColorWheelShader.md +++ b/docs/Get-OBSRgbColorWheelShader.md @@ -3,7 +3,7 @@ Get-OBSRgbColorWheelShader ### Synopsis -Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 6f8d35157b23daf94076c588860a5eb3ad728ede Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2641/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRgbSplitShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRgbSplitShader.md b/docs/Get-OBSRgbSplitShader.md index 40369837c..6c35d7ee7 100644 --- a/docs/Get-OBSRgbSplitShader.md +++ b/docs/Get-OBSRgbSplitShader.md @@ -3,7 +3,7 @@ Get-OBSRgbSplitShader ### Synopsis -Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 44b81ae789c0f78969487f956a2fa0e1c3a54278 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:38 +0000 Subject: [PATCH 2642/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRgbvisibilityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRgbvisibilityShader.md b/docs/Get-OBSRgbvisibilityShader.md index 39f084a41..cf30841dc 100644 --- a/docs/Get-OBSRgbvisibilityShader.md +++ b/docs/Get-OBSRgbvisibilityShader.md @@ -3,7 +3,7 @@ Get-OBSRgbvisibilityShader ### Synopsis -Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 8407351f8deb06dcb5a664a9a3c00384012cf7e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2643/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRippleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRippleShader.md b/docs/Get-OBSRippleShader.md index 9d84e3bda..0adf52739 100644 --- a/docs/Get-OBSRippleShader.md +++ b/docs/Get-OBSRippleShader.md @@ -3,7 +3,7 @@ Get-OBSRippleShader ### Synopsis -Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |---------|--------|--------|-------------|-----------| |`[float]`|false |1 |false |time_factor| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From def48bfdbe484bae664aacc9e87c339cd565abf2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2644/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRotatingSourceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRotatingSourceShader.md b/docs/Get-OBSRotatingSourceShader.md index d29e8cbbe..9cf331863 100644 --- a/docs/Get-OBSRotatingSourceShader.md +++ b/docs/Get-OBSRotatingSourceShader.md @@ -3,7 +3,7 @@ Get-OBSRotatingSourceShader ### Synopsis -Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom |---------|--------|--------|-------------|----------| |`[float]`|false |0 |false |spin_speed| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **XCenter** |Type |Required|Position|PipelineInput|Aliases | From 39064cdaa072afd8741370c8c686958265de166b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2645/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRotatoeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRotatoeShader.md b/docs/Get-OBSRotatoeShader.md index c8edaec01..d2e1374f4 100644 --- a/docs/Get-OBSRotatoeShader.md +++ b/docs/Get-OBSRotatoeShader.md @@ -3,7 +3,7 @@ Get-OBSRotatoeShader ### Synopsis -Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |-------|--------|--------|-------------|-------------| |`[int]`|false |8 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 80a5e66d9ee7bab8013589198ebf955e904053f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2646/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRoundedRect2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRect2Shader.md b/docs/Get-OBSRoundedRect2Shader.md index d201f2819..2c520af9e 100644 --- a/docs/Get-OBSRoundedRect2Shader.md +++ b/docs/Get-OBSRoundedRect2Shader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRect2Shader ### Synopsis -Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0eca6bc066f491bb70d8960bdffc30b3d1b85b41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2647/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRoundedRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRectPerCornerShader.md b/docs/Get-OBSRoundedRectPerCornerShader.md index 1b2f1d1f1..f6c27a695 100644 --- a/docs/Get-OBSRoundedRectPerCornerShader.md +++ b/docs/Get-OBSRoundedRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerCornerShader ### Synopsis -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 772587047ace396a15da19b54f46f766817d3b8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2648/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRoundedRectPerSideShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRectPerSideShader.md b/docs/Get-OBSRoundedRectPerSideShader.md index 609b9fd6d..9acbe4315 100644 --- a/docs/Get-OBSRoundedRectPerSideShader.md +++ b/docs/Get-OBSRoundedRectPerSideShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerSideShader ### Synopsis -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5dbb6784b1dda8afe886d4f8273e466a5529e733 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2649/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRoundedRectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedRectShader.md b/docs/Get-OBSRoundedRectShader.md index bdb6d6e5f..9500c4280 100644 --- a/docs/Get-OBSRoundedRectShader.md +++ b/docs/Get-OBSRoundedRectShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectShader ### Synopsis -Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3134031419edf39feb5aeb59f6c7330bb64f3164 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2650/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRoundedStrokeGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedStrokeGradientShader.md b/docs/Get-OBSRoundedStrokeGradientShader.md index b51f597f9..2d331ceb9 100644 --- a/docs/Get-OBSRoundedStrokeGradientShader.md +++ b/docs/Get-OBSRoundedStrokeGradientShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeGradientShader ### Synopsis -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 929bf69d874678e99ad582cabad59e0d9c158649 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:39 +0000 Subject: [PATCH 2651/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSRoundedStrokeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSRoundedStrokeShader.md b/docs/Get-OBSRoundedStrokeShader.md index a7fa44f08..60dc2a6d0 100644 --- a/docs/Get-OBSRoundedStrokeShader.md +++ b/docs/Get-OBSRoundedStrokeShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeShader ### Synopsis -Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0f6dd966b008b7adc10d762d27e6066bb9b119cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:40 +0000 Subject: [PATCH 2652/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSScanLineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSScanLineShader.md b/docs/Get-OBSScanLineShader.md index 99fa69340..cb42a98d4 100644 --- a/docs/Get-OBSScanLineShader.md +++ b/docs/Get-OBSScanLineShader.md @@ -3,7 +3,7 @@ Get-OBSScanLineShader ### Synopsis -Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From a4553dcd520b5f2c359c9dc6c49512011c43242c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:40 +0000 Subject: [PATCH 2653/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSeascapeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSeascapeShader.md b/docs/Get-OBSSeascapeShader.md index 35ec3f5c8..6c70bf96d 100644 --- a/docs/Get-OBSSeascapeShader.md +++ b/docs/Get-OBSSeascapeShader.md @@ -3,7 +3,7 @@ Get-OBSSeascapeShader ### Synopsis -Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |----------|--------|--------|---------------------|-------------| |`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b586f6536446600b5da8834e7c348bb9368cfc3e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:41 +0000 Subject: [PATCH 2654/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSeasickShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSeasickShader.md b/docs/Get-OBSSeasickShader.md index eeb8feec1..60e5d3aec 100644 --- a/docs/Get-OBSSeasickShader.md +++ b/docs/Get-OBSSeasickShader.md @@ -3,7 +3,7 @@ Get-OBSSeasickShader ### Synopsis -Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] Date: Thu, 15 Feb 2024 00:55:41 +0000 Subject: [PATCH 2655/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSelectiveColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSelectiveColorShader.md b/docs/Get-OBSSelectiveColorShader.md index 7adb75f74..cda62bba4 100644 --- a/docs/Get-OBSSelectiveColorShader.md +++ b/docs/Get-OBSSelectiveColorShader.md @@ -3,7 +3,7 @@ Get-OBSSelectiveColorShader ### Synopsis -Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From dd1894e752a77bcbb9f5a543adc6e0b1bb32223d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:41 +0000 Subject: [PATCH 2656/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSShakeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSShakeShader.md b/docs/Get-OBSShakeShader.md index 3525c2c3e..80d830c2e 100644 --- a/docs/Get-OBSShakeShader.md +++ b/docs/Get-OBSShakeShader.md @@ -3,7 +3,7 @@ Get-OBSShakeShader ### Synopsis -Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------| |`[float]`|false |10 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 95d9a5e240497239da9f26d5e57abdba2d396d6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:41 +0000 Subject: [PATCH 2657/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSShineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSShineShader.md b/docs/Get-OBSShineShader.md index caa1c9046..6a3ae88ef 100644 --- a/docs/Get-OBSShineShader.md +++ b/docs/Get-OBSShineShader.md @@ -3,7 +3,7 @@ Get-OBSShineShader ### Synopsis -Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |---------|--------|--------|-------------|-----------| |`[float]`|false |7 |false |stop_adjust| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 94ba46c7f6a47be31bb837fa0a4d50deaf2d50e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:41 +0000 Subject: [PATCH 2658/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSimpleGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSimpleGradientShader.md b/docs/Get-OBSSimpleGradientShader.md index 25a63cc38..4590c71e3 100644 --- a/docs/Get-OBSSimpleGradientShader.md +++ b/docs/Get-OBSSimpleGradientShader.md @@ -3,7 +3,7 @@ Get-OBSSimpleGradientShader ### Synopsis -Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |-------|--------|--------|-------------|----------------| |`[int]`|false |0 |false |speed_percentage| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 238ef87ac6b2eb914f94fd6dc62c90b332621bd3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:41 +0000 Subject: [PATCH 2659/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSimplexNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSimplexNoiseShader.md b/docs/Get-OBSSimplexNoiseShader.md index bfbd588b2..4805bb13d 100644 --- a/docs/Get-OBSSimplexNoiseShader.md +++ b/docs/Get-OBSSimplexNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSSimplexNoiseShader ### Synopsis -Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |----------|--------|--------|-------------|---------------| |`[switch]`|false |Named |false |Use_Alpha_Layer| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ce41d8e15f16b7d31d4ca1b06312a54e371773ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:42 +0000 Subject: [PATCH 2660/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSpotlightShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSpotlightShader.md b/docs/Get-OBSSpotlightShader.md index 8d7e9e009..bcc20ecf5 100644 --- a/docs/Get-OBSSpotlightShader.md +++ b/docs/Get-OBSSpotlightShader.md @@ -3,7 +3,7 @@ Get-OBSSpotlightShader ### Synopsis -Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp |----------|--------|--------|-------------|---------------| |`[string]`|false |2 |false |Spotlight_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VerticalOffset** |Type |Required|Position|PipelineInput|Aliases | From 3091f3a807c3408e3f2347dc33913c3ce35f03ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:42 +0000 Subject: [PATCH 2661/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSSwirlShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSSwirlShader.md b/docs/Get-OBSSwirlShader.md index 60ee51dcd..6d13602f0 100644 --- a/docs/Get-OBSSwirlShader.md +++ b/docs/Get-OBSSwirlShader.md @@ -3,7 +3,7 @@ Get-OBSSwirlShader ### Synopsis -Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 999d9f80d4af36e6703b94ee607cfab10d86d788 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:42 +0000 Subject: [PATCH 2662/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSThermalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSThermalShader.md b/docs/Get-OBSThermalShader.md index fb794b67f..e4b5d9b87 100644 --- a/docs/Get-OBSThermalShader.md +++ b/docs/Get-OBSThermalShader.md @@ -3,7 +3,7 @@ Get-OBSThermalShader ### Synopsis -Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From bb0f66851592dade3f37b457466e9dd9dd6c2a00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:42 +0000 Subject: [PATCH 2663/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSTvCrtSubpixelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSTvCrtSubpixelShader.md b/docs/Get-OBSTvCrtSubpixelShader.md index 2c553934a..89cec03cf 100644 --- a/docs/Get-OBSTvCrtSubpixelShader.md +++ b/docs/Get-OBSTvCrtSubpixelShader.md @@ -3,7 +3,7 @@ Get-OBSTvCrtSubpixelShader ### Synopsis -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VGap** |Type |Required|Position|PipelineInput| From 5b2eff18536d96aa5f90d3330a19c38d84888d40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:42 +0000 Subject: [PATCH 2664/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSTwistShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSTwistShader.md b/docs/Get-OBSTwistShader.md index ecd16bc6f..98b175533 100644 --- a/docs/Get-OBSTwistShader.md +++ b/docs/Get-OBSTwistShader.md @@ -3,7 +3,7 @@ Get-OBSTwistShader ### Synopsis -Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d662a48fed5befbb59acfb95eef2e5a436e58253 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2665/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSTwoPassDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSTwoPassDropShadowShader.md b/docs/Get-OBSTwoPassDropShadowShader.md index d7a9c9493..dda6a0034 100644 --- a/docs/Get-OBSTwoPassDropShadowShader.md +++ b/docs/Get-OBSTwoPassDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSTwoPassDropShadowShader ### Synopsis -Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 9b1add78142f5a9937adbf357b329313be9ce544 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2666/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSVCRShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVCRShader.md b/docs/Get-OBSVCRShader.md index 1ee7c0520..4298e6956 100644 --- a/docs/Get-OBSVCRShader.md +++ b/docs/Get-OBSVCRShader.md @@ -3,7 +3,7 @@ Get-OBSVCRShader ### Synopsis -Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2667/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSVHSShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVHSShader.md b/docs/Get-OBSVHSShader.md index 771aa0102..c341f1b7f 100644 --- a/docs/Get-OBSVHSShader.md +++ b/docs/Get-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 57235c254701c9f68f458206ca9b0b0e3c821dc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2668/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSVignettingShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVignettingShader.md b/docs/Get-OBSVignettingShader.md index 35801fd34..516313fb4 100644 --- a/docs/Get-OBSVignettingShader.md +++ b/docs/Get-OBSVignettingShader.md @@ -3,7 +3,7 @@ Get-OBSVignettingShader ### Synopsis -Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3f4b08f9ae889b8806a083d3da62aa1e7eb14f16 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2669/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSVoronoiPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSVoronoiPixelationShader.md b/docs/Get-OBSVoronoiPixelationShader.md index 8dbb0a4ed..579397818 100644 --- a/docs/Get-OBSVoronoiPixelationShader.md +++ b/docs/Get-OBSVoronoiPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSVoronoiPixelationShader ### Synopsis -Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 73806e57f23fbb044de9b9b1eaaf7c3ff9b8bc3f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2670/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSZigZagShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSZigZagShader.md b/docs/Get-OBSZigZagShader.md index 18d784361..5172f3a4b 100644 --- a/docs/Get-OBSZigZagShader.md +++ b/docs/Get-OBSZigZagShader.md @@ -3,7 +3,7 @@ Get-OBSZigZagShader ### Synopsis -Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 9bd046f04fb0a1ba88575b729e3427275c89e0a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:43 +0000 Subject: [PATCH 2671/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSZoomBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSZoomBlurShader.md b/docs/Get-OBSZoomBlurShader.md index e6bb238a7..ae72bb140 100644 --- a/docs/Get-OBSZoomBlurShader.md +++ b/docs/Get-OBSZoomBlurShader.md @@ -3,7 +3,7 @@ Get-OBSZoomBlurShader ### Synopsis -Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |-------|--------|--------|-------------|-------------| |`[int]`|false |2 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 464186fd91d14891f6a334c8dc32c3554c9b43c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:44 +0000 Subject: [PATCH 2672/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Get-OBSZoomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Get-OBSZoomShader.md b/docs/Get-OBSZoomShader.md index 229353324..efb3ec830 100644 --- a/docs/Get-OBSZoomShader.md +++ b/docs/Get-OBSZoomShader.md @@ -3,7 +3,7 @@ Get-OBSZoomShader ### Synopsis -Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 860badb624e7705be348929d2e9ad0d642c3cd52 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:51 +0000 Subject: [PATCH 2673/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAddShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAddShader.md b/docs/Add-OBSAddShader.md index fb7a0df88..a2db12cab 100644 --- a/docs/Add-OBSAddShader.md +++ b/docs/Add-OBSAddShader.md @@ -3,7 +3,7 @@ Get-OBSAddShader ### Synopsis -Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ce275bf00cbce1075b3ae80955a8524185aa4490 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:51 +0000 Subject: [PATCH 2674/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAlphaBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAlphaBorderShader.md b/docs/Add-OBSAlphaBorderShader.md index 89b20ec13..5184bf5c5 100644 --- a/docs/Add-OBSAlphaBorderShader.md +++ b/docs/Add-OBSAlphaBorderShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaBorderShader ### Synopsis -Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From fdd7e3fb2a8da8aeea537a33fa8fe292ac58aa8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:51 +0000 Subject: [PATCH 2675/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAlphaGamingBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAlphaGamingBentCameraShader.md b/docs/Add-OBSAlphaGamingBentCameraShader.md index bcdd52b82..82845c34b 100644 --- a/docs/Add-OBSAlphaGamingBentCameraShader.md +++ b/docs/Add-OBSAlphaGamingBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaGamingBentCameraShader ### Synopsis -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0982e0994d55ca2b64d524c45a5c6a9ad54d41b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:51 +0000 Subject: [PATCH 2676/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAnimatedPathShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAnimatedPathShader.md b/docs/Add-OBSAnimatedPathShader.md index 395279b95..43304efaf 100644 --- a/docs/Add-OBSAnimatedPathShader.md +++ b/docs/Add-OBSAnimatedPathShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedPathShader ### Synopsis -Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |-------|--------|--------|-------------|-------------| |`[int]`|false |7 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From c1417d93cf953b3b805da2426218577fefdd6efb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:51 +0000 Subject: [PATCH 2677/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAnimatedTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAnimatedTextureShader.md b/docs/Add-OBSAnimatedTextureShader.md index 87bf5cafa..2dc81b3d2 100644 --- a/docs/Add-OBSAnimatedTextureShader.md +++ b/docs/Add-OBSAnimatedTextureShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedTextureShader ### Synopsis -Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -156,6 +156,12 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|-------------|-------------------------| |`[switch]`|false |Named |false |Use_Animation_Image_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 0c9bb9bf2da0cf51903eaab407163fa8fe73b852 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:51 +0000 Subject: [PATCH 2678/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAsciiShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAsciiShader.md b/docs/Add-OBSAsciiShader.md index 38f04236a..c6fa59029 100644 --- a/docs/Add-OBSAsciiShader.md +++ b/docs/Add-OBSAsciiShader.md @@ -3,7 +3,7 @@ Get-OBSAsciiShader ### Synopsis -Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2679/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSAspectRatioShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSAspectRatioShader.md b/docs/Add-OBSAspectRatioShader.md index 7f25093b4..6b11f78ca 100644 --- a/docs/Add-OBSAspectRatioShader.md +++ b/docs/Add-OBSAspectRatioShader.md @@ -3,7 +3,7 @@ Get-OBSAspectRatioShader ### Synopsis -Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |----------|--------|--------|---------------------|-------------| |`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From cafcd3e9e71c53b2682c6323ab71fd0053a81073 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2680/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBackgroundRemovalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBackgroundRemovalShader.md b/docs/Add-OBSBackgroundRemovalShader.md index 4117a391f..c793634cc 100644 --- a/docs/Add-OBSBackgroundRemovalShader.md +++ b/docs/Add-OBSBackgroundRemovalShader.md @@ -3,7 +3,7 @@ Get-OBSBackgroundRemovalShader ### Synopsis -Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|-------------| |`[string]`|false |9 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From cd77ef7026bb35801d10e040e7b8482a17240f93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2681/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBlendOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBlendOpacityShader.md b/docs/Add-OBSBlendOpacityShader.md index 7bf9da06f..e33409d5c 100644 --- a/docs/Add-OBSBlendOpacityShader.md +++ b/docs/Add-OBSBlendOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSBlendOpacityShader ### Synopsis -Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2682/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBlinkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBlinkShader.md b/docs/Add-OBSBlinkShader.md index 5b3e942bd..5389fb6c4 100644 --- a/docs/Add-OBSBlinkShader.md +++ b/docs/Add-OBSBlinkShader.md @@ -3,7 +3,7 @@ Get-OBSBlinkShader ### Synopsis -Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2683/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBloomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBloomShader.md b/docs/Add-OBSBloomShader.md index 161969887..e4fc8bba8 100644 --- a/docs/Add-OBSBloomShader.md +++ b/docs/Add-OBSBloomShader.md @@ -3,7 +3,7 @@ Get-OBSBloomShader ### Synopsis -Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2684/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBorderShader.md b/docs/Add-OBSBorderShader.md index fadeb50ff..88a592d7b 100644 --- a/docs/Add-OBSBorderShader.md +++ b/docs/Add-OBSBorderShader.md @@ -3,7 +3,7 @@ Get-OBSBorderShader ### Synopsis -Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 411d73cd7e5fe5b329a9aecaa5ad5c41c02111ed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2685/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBoxBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBoxBlurShader.md b/docs/Add-OBSBoxBlurShader.md index 7f7ca04f4..fb293b9a4 100644 --- a/docs/Add-OBSBoxBlurShader.md +++ b/docs/Add-OBSBoxBlurShader.md @@ -3,7 +3,7 @@ Get-OBSBoxBlurShader ### Synopsis -Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2686/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBulgePinchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBulgePinchShader.md b/docs/Add-OBSBulgePinchShader.md index f100f241c..a946bf65a 100644 --- a/docs/Add-OBSBulgePinchShader.md +++ b/docs/Add-OBSBulgePinchShader.md @@ -3,7 +3,7 @@ Get-OBSBulgePinchShader ### Synopsis -Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0857a67765227cd312c1e60fdc71416f66e5f2fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2687/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSBurnShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSBurnShader.md b/docs/Add-OBSBurnShader.md index 60d44b60a..dc9a2b771 100644 --- a/docs/Add-OBSBurnShader.md +++ b/docs/Add-OBSBurnShader.md @@ -3,7 +3,7 @@ Get-OBSBurnShader ### Synopsis -Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |---------|--------|--------|-------------| |`[float]`|false |1 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From cb2c1f6ba610673de431db97a77a6b87dd9e3b80 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:52 +0000 Subject: [PATCH 2688/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCartoonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCartoonShader.md b/docs/Add-OBSCartoonShader.md index 1b4ce0c62..0235e1b80 100644 --- a/docs/Add-OBSCartoonShader.md +++ b/docs/Add-OBSCartoonShader.md @@ -3,7 +3,7 @@ Get-OBSCartoonShader ### Synopsis -Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 42740523c6557cb40f6daa5eae9ecdb3849d9fc9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2689/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCellShadedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCellShadedShader.md b/docs/Add-OBSCellShadedShader.md index 5efcd4646..7b68ec729 100644 --- a/docs/Add-OBSCellShadedShader.md +++ b/docs/Add-OBSCellShadedShader.md @@ -3,7 +3,7 @@ Get-OBSCellShadedShader ### Synopsis -Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f2ee091f6e96ff0a05b230e572e7e99060f8775a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2690/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSChromaticAberrationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSChromaticAberrationShader.md b/docs/Add-OBSChromaticAberrationShader.md index 143ee2651..d2e270d01 100644 --- a/docs/Add-OBSChromaticAberrationShader.md +++ b/docs/Add-OBSChromaticAberrationShader.md @@ -3,7 +3,7 @@ Get-OBSChromaticAberrationShader ### Synopsis -Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |----------|--------|--------|-------------|----------| |`[switch]`|false |Named |false |use_random| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From de7a8494a7e8dafcacabb1d8b5d4ab723349a804 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2691/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSChromaUVDistortionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSChromaUVDistortionShader.md b/docs/Add-OBSChromaUVDistortionShader.md index f062a3687..00901d12d 100644 --- a/docs/Add-OBSChromaUVDistortionShader.md +++ b/docs/Add-OBSChromaUVDistortionShader.md @@ -3,7 +3,7 @@ Get-OBSChromaUVDistortionShader ### Synopsis -Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0fea4cadbb581ae720019bc36502c6cd4472ad73 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2692/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCircleMaskFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCircleMaskFilterShader.md b/docs/Add-OBSCircleMaskFilterShader.md index f435303d9..7d6a01076 100644 --- a/docs/Add-OBSCircleMaskFilterShader.md +++ b/docs/Add-OBSCircleMaskFilterShader.md @@ -3,7 +3,7 @@ Get-OBSCircleMaskFilterShader ### Synopsis -Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |-------|--------|--------|-------------|---------------| |`[int]`|false |4 |false |Source_Offset_Y| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f64415ec838519fd2b9e8f89b160ae341e089539 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2693/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSColorDepthShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSColorDepthShader.md b/docs/Add-OBSColorDepthShader.md index e638c83bd..09a9a7a91 100644 --- a/docs/Add-OBSColorDepthShader.md +++ b/docs/Add-OBSColorDepthShader.md @@ -3,7 +3,7 @@ Get-OBSColorDepthShader ### Synopsis -Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 65bac571f74c248c20202f6d2db211fe282fd470 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2694/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSColorGradeFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSColorGradeFilterShader.md b/docs/Add-OBSColorGradeFilterShader.md index 1710b874c..c8b096fa0 100644 --- a/docs/Add-OBSColorGradeFilterShader.md +++ b/docs/Add-OBSColorGradeFilterShader.md @@ -3,7 +3,7 @@ Get-OBSColorGradeFilterShader ### Synopsis -Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 2e3dd2fd4cbac7ac548af01c29f2fca181e0f7f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2695/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCornerPinShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCornerPinShader.md b/docs/Add-OBSCornerPinShader.md index d6c10bc0a..1a122c1ea 100644 --- a/docs/Add-OBSCornerPinShader.md +++ b/docs/Add-OBSCornerPinShader.md @@ -3,7 +3,7 @@ Get-OBSCornerPinShader ### Synopsis -Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |---------|--------|--------|-------------|-----------| |`[float]`|false |3 |false |Top_Right_Y| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From e169c59302de652d8e8cc6fa455b1b295f824cda Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2696/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCrtCurvatureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCrtCurvatureShader.md b/docs/Add-OBSCrtCurvatureShader.md index be690aed4..16cd6a949 100644 --- a/docs/Add-OBSCrtCurvatureShader.md +++ b/docs/Add-OBSCrtCurvatureShader.md @@ -3,7 +3,7 @@ Get-OBSCrtCurvatureShader ### Synopsis -Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From aa09632fd14c3169649eeac98e12a050ffadb307 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2697/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCutRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCutRectPerCornerShader.md b/docs/Add-OBSCutRectPerCornerShader.md index e1e6c137a..c76a7c6d2 100644 --- a/docs/Add-OBSCutRectPerCornerShader.md +++ b/docs/Add-OBSCutRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSCutRectPerCornerShader ### Synopsis -Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From bf93bf161a9daadc9a04e145bf26e8c85fd9c578 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:53 +0000 Subject: [PATCH 2698/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSCylinderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSCylinderShader.md b/docs/Add-OBSCylinderShader.md index 5bb36395a..07a2cacf1 100644 --- a/docs/Add-OBSCylinderShader.md +++ b/docs/Add-OBSCylinderShader.md @@ -3,7 +3,7 @@ Get-OBSCylinderShader ### Synopsis -Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 44ab9b4e7a30d15271a11774cc4b5a9f21a0ffcf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2699/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDarkenShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDarkenShader.md b/docs/Add-OBSDarkenShader.md index 6a81b5ac1..a3eab1244 100644 --- a/docs/Add-OBSDarkenShader.md +++ b/docs/Add-OBSDarkenShader.md @@ -3,7 +3,7 @@ Get-OBSDarkenShader ### Synopsis -Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 25f97df8d9a713c87ba70db4ee3d8c0cce4d63a3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2700/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDeadPixelFixerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDeadPixelFixerShader.md b/docs/Add-OBSDeadPixelFixerShader.md index fa4e4cea9..52de7278a 100644 --- a/docs/Add-OBSDeadPixelFixerShader.md +++ b/docs/Add-OBSDeadPixelFixerShader.md @@ -3,7 +3,7 @@ Get-OBSDeadPixelFixerShader ### Synopsis -Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From cb5d74a19c096a3efcb7c7c3abbd3ef477d89e10 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2701/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDivideRotateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDivideRotateShader.md b/docs/Add-OBSDivideRotateShader.md index 99bf961ca..651cec3c6 100644 --- a/docs/Add-OBSDivideRotateShader.md +++ b/docs/Add-OBSDivideRotateShader.md @@ -3,7 +3,7 @@ Get-OBSDivideRotateShader ### Synopsis -Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |-------|--------|--------|-------------|----------------| |`[int]`|false |1 |false |speed_percentage| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 665172b53087f903d6d2224fd78b5e9950070280 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2702/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDoodleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDoodleShader.md b/docs/Add-OBSDoodleShader.md index 9a76ab712..8939cc510 100644 --- a/docs/Add-OBSDoodleShader.md +++ b/docs/Add-OBSDoodleShader.md @@ -3,7 +3,7 @@ Get-OBSDoodleShader ### Synopsis -Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 84759ba91c340dab49bfcb0f219b179fba7ac5ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2703/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDrawingsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDrawingsShader.md b/docs/Add-OBSDrawingsShader.md index 389229d55..219eef585 100644 --- a/docs/Add-OBSDrawingsShader.md +++ b/docs/Add-OBSDrawingsShader.md @@ -3,7 +3,7 @@ Get-OBSDrawingsShader ### Synopsis -Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2704/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDropShadowShader.md b/docs/Add-OBSDropShadowShader.md index 625008889..cd0d0bd1d 100644 --- a/docs/Add-OBSDropShadowShader.md +++ b/docs/Add-OBSDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSDropShadowShader ### Synopsis -Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5a0ae94e3449934367b4182ec0238bcded523009 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2705/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDrunkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDrunkShader.md b/docs/Add-OBSDrunkShader.md index 230e425a8..792565154 100644 --- a/docs/Add-OBSDrunkShader.md +++ b/docs/Add-OBSDrunkShader.md @@ -3,7 +3,7 @@ Get-OBSDrunkShader ### Synopsis -Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |----------|--------|--------|---------------------|-------------| |`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5430a622250ad29ae89626d8a334bfe55da0d8ac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2706/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSDynamicMaskShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSDynamicMaskShader.md b/docs/Add-OBSDynamicMaskShader.md index e63709519..d3a9a0050 100644 --- a/docs/Add-OBSDynamicMaskShader.md +++ b/docs/Add-OBSDynamicMaskShader.md @@ -3,7 +3,7 @@ Get-OBSDynamicMaskShader ### Synopsis -Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -198,6 +198,12 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |25 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0205525b5a1de33c1e55019167fabfd938d588f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2707/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSEdgeDetectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEdgeDetectionShader.md b/docs/Add-OBSEdgeDetectionShader.md index 209b647b2..23ad8c596 100644 --- a/docs/Add-OBSEdgeDetectionShader.md +++ b/docs/Add-OBSEdgeDetectionShader.md @@ -3,7 +3,7 @@ Get-OBSEdgeDetectionShader ### Synopsis -Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 281c757d9835fe843328ac356a8ea98edc5a8d89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2708/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSEmbersShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEmbersShader.md b/docs/Add-OBSEmbersShader.md index 92999c42a..0a77701e9 100644 --- a/docs/Add-OBSEmbersShader.md +++ b/docs/Add-OBSEmbersShader.md @@ -3,7 +3,7 @@ Get-OBSEmbersShader ### Synopsis -Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -150,6 +150,12 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 37e9794c97e316f42a80d8cf5078b76c6b44ae62 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:54 +0000 Subject: [PATCH 2709/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSEmbossColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEmbossColorShader.md b/docs/Add-OBSEmbossColorShader.md index cf16eb734..1b946a4c0 100644 --- a/docs/Add-OBSEmbossColorShader.md +++ b/docs/Add-OBSEmbossColorShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossColorShader ### Synopsis -Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |-------|--------|--------|-------------|---------------| |`[int]`|false |3 |false |Up_Down_Percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 1eb44c8c0cc10418c39e66584576d8d02ba0fc9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2710/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSEmbossShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSEmbossShader.md b/docs/Add-OBSEmbossShader.md index 56dea2550..fa23ddd55 100644 --- a/docs/Add-OBSEmbossShader.md +++ b/docs/Add-OBSEmbossShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossShader ### Synopsis -Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |----------|--------|--------|-------------|---------| |`[switch]`|false |Named |false |Use_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From da86066244bcc0182da0eb5a75458940c40193a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2711/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSExeldroBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSExeldroBentCameraShader.md b/docs/Add-OBSExeldroBentCameraShader.md index 379fd671a..912d4f2b9 100644 --- a/docs/Add-OBSExeldroBentCameraShader.md +++ b/docs/Add-OBSExeldroBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSExeldroBentCameraShader ### Synopsis -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2712/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFadeTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFadeTransitionShader.md b/docs/Add-OBSFadeTransitionShader.md index 52db862e7..f36c14929 100644 --- a/docs/Add-OBSFadeTransitionShader.md +++ b/docs/Add-OBSFadeTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSFadeTransitionShader ### Synopsis -Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |---------|--------|--------|-------------|---------------| |`[float]`|false |2 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 65a0eab0a4480a5056efae021674ad9358749d0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2713/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFillColorGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorGradientShader.md b/docs/Add-OBSFillColorGradientShader.md index 680063f15..49cd80e2e 100644 --- a/docs/Add-OBSFillColorGradientShader.md +++ b/docs/Add-OBSFillColorGradientShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorGradientShader ### Synopsis -Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From a98748405237e5ae4362493a85cb651646706cbe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2714/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFillColorLinearShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorLinearShader.md b/docs/Add-OBSFillColorLinearShader.md index 970b7a645..c142370b9 100644 --- a/docs/Add-OBSFillColorLinearShader.md +++ b/docs/Add-OBSFillColorLinearShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorLinearShader ### Synopsis -Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 443e1d839bc412bb984d02f3222e95639c4d257f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2715/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFillColorRadialDegreesShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorRadialDegreesShader.md b/docs/Add-OBSFillColorRadialDegreesShader.md index 4505e7e80..ae2234a6d 100644 --- a/docs/Add-OBSFillColorRadialDegreesShader.md +++ b/docs/Add-OBSFillColorRadialDegreesShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialDegreesShader ### Synopsis -Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |---------|--------|--------|-------------|-----------| |`[float]`|false |2 |false |Start_Angle| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From bbba448ea8552c94f2b812feca55050eb6602280 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2716/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFillColorRadialPercentageShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFillColorRadialPercentageShader.md b/docs/Add-OBSFillColorRadialPercentageShader.md index 775a9a894..6cc1bd22f 100644 --- a/docs/Add-OBSFillColorRadialPercentageShader.md +++ b/docs/Add-OBSFillColorRadialPercentageShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialPercentageShader ### Synopsis -Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |---------|--------|--------|-------------|-----------| |`[float]`|false |2 |false |Start_Angle| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b6be0a0fd77618386d5ee6ac9e71f55e5c1daf31 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2717/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFilterTemplateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFilterTemplateShader.md b/docs/Add-OBSFilterTemplateShader.md index be91c5a84..4b9d258a9 100644 --- a/docs/Add-OBSFilterTemplateShader.md +++ b/docs/Add-OBSFilterTemplateShader.md @@ -3,7 +3,7 @@ Get-OBSFilterTemplateShader ### Synopsis -Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 0d8afd1c32f52fb054a02f778aa1ba23619a5758 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2718/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFire3Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFire3Shader.md b/docs/Add-OBSFire3Shader.md index d4c11d146..ba84c632d 100644 --- a/docs/Add-OBSFire3Shader.md +++ b/docs/Add-OBSFire3Shader.md @@ -3,7 +3,7 @@ Get-OBSFire3Shader ### Synopsis -Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -186,6 +186,12 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |-------|--------|--------|-------------| |`[int]`|false |15 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 986e15143f23c5fa396b0bd497c8920a15055b9c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:55 +0000 Subject: [PATCH 2719/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFireShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFireShader.md b/docs/Add-OBSFireShader.md index aa697a0e9..2d0c6e393 100644 --- a/docs/Add-OBSFireShader.md +++ b/docs/Add-OBSFireShader.md @@ -3,7 +3,7 @@ Get-OBSFireShader ### Synopsis -Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -120,6 +120,12 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2720/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFireworksShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFireworksShader.md b/docs/Add-OBSFireworksShader.md index 8beb550cd..78ea455eb 100644 --- a/docs/Add-OBSFireworksShader.md +++ b/docs/Add-OBSFireworksShader.md @@ -3,7 +3,7 @@ Get-OBSFireworksShader ### Synopsis -Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad |----------|--------|--------|---------------------|-------------| |`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UseTransparancy** |Type |Required|Position|PipelineInput|Aliases | From ce624b2349b29616eac581c8427d7f63c7d98bb1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2721/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFisheyeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFisheyeShader.md b/docs/Add-OBSFisheyeShader.md index 0653efdda..ba70a8f14 100644 --- a/docs/Add-OBSFisheyeShader.md +++ b/docs/Add-OBSFisheyeShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeShader ### Synopsis -Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From be1b7f4af4f6fd58cee46e0cefcaba8c3304f20b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2722/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFisheyeXyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFisheyeXyShader.md b/docs/Add-OBSFisheyeXyShader.md index 6a1c88a84..9ac5e15f3 100644 --- a/docs/Add-OBSFisheyeXyShader.md +++ b/docs/Add-OBSFisheyeXyShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeXyShader ### Synopsis -Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3b92acb1a9f028b3e5cfff02c4f4fe3b8941aa4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2723/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSFrostedGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSFrostedGlassShader.md b/docs/Add-OBSFrostedGlassShader.md index 6b3e54faa..c2abc55d6 100644 --- a/docs/Add-OBSFrostedGlassShader.md +++ b/docs/Add-OBSFrostedGlassShader.md @@ -3,7 +3,7 @@ Get-OBSFrostedGlassShader ### Synopsis -Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7f644d1fbc9f11345736e64e7d7f5d856c86b5aa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2724/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGammaCorrectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGammaCorrectionShader.md b/docs/Add-OBSGammaCorrectionShader.md index b682d0ece..b4fb52ca0 100644 --- a/docs/Add-OBSGammaCorrectionShader.md +++ b/docs/Add-OBSGammaCorrectionShader.md @@ -3,7 +3,7 @@ Get-OBSGammaCorrectionShader ### Synopsis -Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2725/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGaussianBlurAdvancedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianBlurAdvancedShader.md b/docs/Add-OBSGaussianBlurAdvancedShader.md index e83580821..39a67d808 100644 --- a/docs/Add-OBSGaussianBlurAdvancedShader.md +++ b/docs/Add-OBSGaussianBlurAdvancedShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurAdvancedShader ### Synopsis -Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 661b39824cb16e7644e72f76f61f8b6968502a0a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2726/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGaussianBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianBlurShader.md b/docs/Add-OBSGaussianBlurShader.md index 02bf99e4d..4ac697d20 100644 --- a/docs/Add-OBSGaussianBlurShader.md +++ b/docs/Add-OBSGaussianBlurShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurShader ### Synopsis -Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |-----------|--------|--------|-------------|------------| |`[float[]]`|false |6 |false |u_texelDelta| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 84ba747ae9d031ac43c9ed0bf818188767f8ef5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2727/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGaussianBlurSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianBlurSimpleShader.md b/docs/Add-OBSGaussianBlurSimpleShader.md index 9517872c2..7cd0578d8 100644 --- a/docs/Add-OBSGaussianBlurSimpleShader.md +++ b/docs/Add-OBSGaussianBlurSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurSimpleShader ### Synopsis -Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas |-------|--------|--------|-------------| |`[int]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 902573fbddc5a4f942d05e7c61177abd038073e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2728/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGaussianExampleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianExampleShader.md b/docs/Add-OBSGaussianExampleShader.md index 704028263..d35ba3b44 100644 --- a/docs/Add-OBSGaussianExampleShader.md +++ b/docs/Add-OBSGaussianExampleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianExampleShader ### Synopsis -Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|-------------|----------| |`[string]`|false |10 |false |text_color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From ab99328336d7101ae08634af625353b61274d81d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2729/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGaussianSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGaussianSimpleShader.md b/docs/Add-OBSGaussianSimpleShader.md index 318da80f8..6505d646d 100644 --- a/docs/Add-OBSGaussianSimpleShader.md +++ b/docs/Add-OBSGaussianSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianSimpleShader ### Synopsis -Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From b9c1497766bfc9bf0714bc5b34268761d254998d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:56 +0000 Subject: [PATCH 2730/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGbCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGbCameraShader.md b/docs/Add-OBSGbCameraShader.md index 0f8fabbb0..cfaa24156 100644 --- a/docs/Add-OBSGbCameraShader.md +++ b/docs/Add-OBSGbCameraShader.md @@ -3,7 +3,7 @@ Get-OBSGbCameraShader ### Synopsis -Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 01d6ca9fedde4ff044e0218403f435c0a49e33d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2731/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlassShader.md b/docs/Add-OBSGlassShader.md index 91d1adfd2..9c7c8c425 100644 --- a/docs/Add-OBSGlassShader.md +++ b/docs/Add-OBSGlassShader.md @@ -3,7 +3,7 @@ Get-OBSGlassShader ### Synopsis -Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **XSize** |Type |Required|Position|PipelineInput| From bd734b32b4823bb56efd4a6892ff50bdcf248b55 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2732/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGlitchAnalogShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlitchAnalogShader.md b/docs/Add-OBSGlitchAnalogShader.md index d86d063e1..aa2faa36e 100644 --- a/docs/Add-OBSGlitchAnalogShader.md +++ b/docs/Add-OBSGlitchAnalogShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchAnalogShader ### Synopsis -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -126,6 +126,12 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VerticalJumpAmount** |Type |Required|Position|PipelineInput|Aliases | From c8e96ee3cfdd213d53264a97df8c00ac3df0f018 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2733/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGlitchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlitchShader.md b/docs/Add-OBSGlitchShader.md index a38f7f32d..239c02bb5 100644 --- a/docs/Add-OBSGlitchShader.md +++ b/docs/Add-OBSGlitchShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchShader ### Synopsis -Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0a7ce9c1bbcc34c9612a69c38df9c7e21cce85e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2734/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGlowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGlowShader.md b/docs/Add-OBSGlowShader.md index 949eb3433..f6d735389 100644 --- a/docs/Add-OBSGlowShader.md +++ b/docs/Add-OBSGlowShader.md @@ -3,7 +3,7 @@ Get-OBSGlowShader ### Synopsis -Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From bdbcddc77d8d17d68d3515169dbf844a4f4e18ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2735/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSGradientShader.md b/docs/Add-OBSGradientShader.md index f35b8c9f0..0659fe535 100644 --- a/docs/Add-OBSGradientShader.md +++ b/docs/Add-OBSGradientShader.md @@ -3,7 +3,7 @@ Get-OBSGradientShader ### Synopsis -Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -150,6 +150,12 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |---------|--------|--------|-------------|----------| |`[float]`|false |1 |false |start_step| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From 09f6f3845a4f74d85b617a2670586b04c2bf33b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2736/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSHalftoneShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHalftoneShader.md b/docs/Add-OBSHalftoneShader.md index 837b024c7..0702de0f7 100644 --- a/docs/Add-OBSHalftoneShader.md +++ b/docs/Add-OBSHalftoneShader.md @@ -3,7 +3,7 @@ Get-OBSHalftoneShader ### Synopsis -Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5db034d8ffaede7b881fd449d1cbe1cbe198c73f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2737/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSHeatWaveSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHeatWaveSimpleShader.md b/docs/Add-OBSHeatWaveSimpleShader.md index 51b594616..55816175b 100644 --- a/docs/Add-OBSHeatWaveSimpleShader.md +++ b/docs/Add-OBSHeatWaveSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSHeatWaveSimpleShader ### Synopsis -Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |---------|--------|--------|-------------| |`[float]`|false |1 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 1d3b3c56ef40a6aa9c7a2b0c49f95b11451782d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2738/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSHexagonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHexagonShader.md b/docs/Add-OBSHexagonShader.md index d01791998..9216f8b42 100644 --- a/docs/Add-OBSHexagonShader.md +++ b/docs/Add-OBSHexagonShader.md @@ -3,7 +3,7 @@ Get-OBSHexagonShader ### Synopsis -Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -126,6 +126,12 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |-------|--------|--------|-------------|-------------| |`[int]`|false |4 |false |Speed_Percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ZoomAnimate** |Type |Required|Position|PipelineInput|Aliases | From f2467f38b748489f257b6124b0a89044b09605ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2739/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSHslHsvSaturationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHslHsvSaturationShader.md b/docs/Add-OBSHslHsvSaturationShader.md index ddc716975..62965bc33 100644 --- a/docs/Add-OBSHslHsvSaturationShader.md +++ b/docs/Add-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7fd5aafefb5a98b1c838038049e9139d8ed72b45 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2740/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSHueRotatonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSHueRotatonShader.md b/docs/Add-OBSHueRotatonShader.md index da2e83d14..f98d9993b 100644 --- a/docs/Add-OBSHueRotatonShader.md +++ b/docs/Add-OBSHueRotatonShader.md @@ -3,7 +3,7 @@ Get-OBSHueRotatonShader ### Synopsis -Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 978e488bf5990866816c0e4425bb0727d68c5feb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:57 +0000 Subject: [PATCH 2741/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSIntensityScopeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSIntensityScopeShader.md b/docs/Add-OBSIntensityScopeShader.md index f9cab5c04..9a45b9e83 100644 --- a/docs/Add-OBSIntensityScopeShader.md +++ b/docs/Add-OBSIntensityScopeShader.md @@ -3,7 +3,7 @@ Get-OBSIntensityScopeShader ### Synopsis -Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From dbba3927d34eec873a8a4a1901cabad5a94b8fd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2742/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSInvertLumaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSInvertLumaShader.md b/docs/Add-OBSInvertLumaShader.md index eb4fbe47f..8d70cf701 100644 --- a/docs/Add-OBSInvertLumaShader.md +++ b/docs/Add-OBSInvertLumaShader.md @@ -3,7 +3,7 @@ Get-OBSInvertLumaShader ### Synopsis -Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha |----------|--------|--------|-------------|---------| |`[switch]`|false |Named |false |Test_Ramp| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5112cadb6b981774250681755c3269b28811477b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2743/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSLuminance2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSLuminance2Shader.md b/docs/Add-OBSLuminance2Shader.md index ba3455f2d..ded8118db 100644 --- a/docs/Add-OBSLuminance2Shader.md +++ b/docs/Add-OBSLuminance2Shader.md @@ -3,7 +3,7 @@ Get-OBSLuminance2Shader ### Synopsis -Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2744/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSLuminanceAlphaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSLuminanceAlphaShader.md b/docs/Add-OBSLuminanceAlphaShader.md index 818fd36ca..c7cd3777d 100644 --- a/docs/Add-OBSLuminanceAlphaShader.md +++ b/docs/Add-OBSLuminanceAlphaShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceAlphaShader ### Synopsis -Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 67fad4132f2b7f3cb6a0186454b2bdcf8ccaf536 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2745/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSLuminanceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSLuminanceShader.md b/docs/Add-OBSLuminanceShader.md index 0034b4425..368dd6b97 100644 --- a/docs/Add-OBSLuminanceShader.md +++ b/docs/Add-OBSLuminanceShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceShader ### Synopsis -Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 427f8c66d458b1d23c9b937b34e497a310e390f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2746/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSMatrixShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSMatrixShader.md b/docs/Add-OBSMatrixShader.md index 6bff65017..699167349 100644 --- a/docs/Add-OBSMatrixShader.md +++ b/docs/Add-OBSMatrixShader.md @@ -3,7 +3,7 @@ Get-OBSMatrixShader ### Synopsis -Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |17 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 1e8cd0346cfa152147d0b22ec6a47599f63d0fe5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2747/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSMultiplyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSMultiplyShader.md b/docs/Add-OBSMultiplyShader.md index a2dfe9717..552434c86 100644 --- a/docs/Add-OBSMultiplyShader.md +++ b/docs/Add-OBSMultiplyShader.md @@ -3,7 +3,7 @@ Get-OBSMultiplyShader ### Synopsis -Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b718ead385f793fbda15660506694c17ce3dbf8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2748/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSNightSkyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSNightSkyShader.md b/docs/Add-OBSNightSkyShader.md index 8aa8fbe30..3cda16ee1 100644 --- a/docs/Add-OBSNightSkyShader.md +++ b/docs/Add-OBSNightSkyShader.md @@ -3,7 +3,7 @@ Get-OBSNightSkyShader ### Synopsis -Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -156,6 +156,12 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3da9c5aca21b1b21f8ef7eb99fb107377c6140d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2749/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSOpacityShader.md b/docs/Add-OBSOpacityShader.md index 90eba35d0..1b7aa1459 100644 --- a/docs/Add-OBSOpacityShader.md +++ b/docs/Add-OBSOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSOpacityShader ### Synopsis -Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 77846096ee00c2f0c2e0eacfcb730e5a6919d15d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2750/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPagePeelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPagePeelShader.md b/docs/Add-OBSPagePeelShader.md index dea4f7354..33a3026ae 100644 --- a/docs/Add-OBSPagePeelShader.md +++ b/docs/Add-OBSPagePeelShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelShader ### Synopsis -Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] Date: Thu, 15 Feb 2024 00:55:58 +0000 Subject: [PATCH 2751/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPagePeelTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPagePeelTransitionShader.md b/docs/Add-OBSPagePeelTransitionShader.md index fd2287b32..cf4836bd4 100644 --- a/docs/Add-OBSPagePeelTransitionShader.md +++ b/docs/Add-OBSPagePeelTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelTransitionShader ### Synopsis -Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |---------|--------|--------|-------------|---------------| |`[float]`|false |2 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 6346a55999d4a1ae734379e96d78b67cf915c92a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2752/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPerlinNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPerlinNoiseShader.md b/docs/Add-OBSPerlinNoiseShader.md index c5ad93eb3..bbe6bc6b6 100644 --- a/docs/Add-OBSPerlinNoiseShader.md +++ b/docs/Add-OBSPerlinNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSPerlinNoiseShader ### Synopsis -Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |---------|--------|--------|-------------|--------------| |`[float]`|false |2 |false |speed_vertical| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **WhiteNoise** |Type |Required|Position|PipelineInput|Aliases | From 0f06d908ac944efd639639bcacadb279b794ae79 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2753/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPieChartShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPieChartShader.md b/docs/Add-OBSPieChartShader.md index 7a6855fed..61511f8ac 100644 --- a/docs/Add-OBSPieChartShader.md +++ b/docs/Add-OBSPieChartShader.md @@ -3,7 +3,7 @@ Get-OBSPieChartShader ### Synopsis -Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -192,6 +192,12 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |-------|--------|--------|-------------| |`[int]`|false |3 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 778fab883c628f149edbd58bd0f4dcec33828dc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2754/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPixelationShader.md b/docs/Add-OBSPixelationShader.md index 90a43e4aa..9b236ea71 100644 --- a/docs/Add-OBSPixelationShader.md +++ b/docs/Add-OBSPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationShader ### Synopsis -Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No |---------|--------|--------|-------------|------------| |`[float]`|false |0 |false |Target_Width| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From e3499c44e38096908dbd5dd2f073ce05b2a753f3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2755/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPixelationTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPixelationTransitionShader.md b/docs/Add-OBSPixelationTransitionShader.md index a34c7a6e7..1055f053e 100644 --- a/docs/Add-OBSPixelationTransitionShader.md +++ b/docs/Add-OBSPixelationTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationTransitionShader ### Synopsis -Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |---------|--------|--------|-------------|---------------| |`[float]`|false |0 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 61f19debb49192420cc31a3c27110140c273dbf4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2756/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSPulseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSPulseShader.md b/docs/Add-OBSPulseShader.md index ccefad9b8..70dd71f14 100644 --- a/docs/Add-OBSPulseShader.md +++ b/docs/Add-OBSPulseShader.md @@ -3,7 +3,7 @@ Get-OBSPulseShader ### Synopsis -Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------| |`[float]`|false |8 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 7dce7eb4e8a83055fe6ed7c4cbe8558758c655a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2757/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRainbowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRainbowShader.md b/docs/Add-OBSRainbowShader.md index 4f81a61ad..74a21a669 100644 --- a/docs/Add-OBSRainbowShader.md +++ b/docs/Add-OBSRainbowShader.md @@ -3,7 +3,7 @@ Get-OBSRainbowShader ### Synopsis -Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -120,6 +120,12 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |---------|--------|--------|-------------| |`[float]`|false |2 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From f616174974e9cc109e6493a31ab6c980fddef32b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2758/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRainWindowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRainWindowShader.md b/docs/Add-OBSRainWindowShader.md index 594e61dfd..f487aa584 100644 --- a/docs/Add-OBSRainWindowShader.md +++ b/docs/Add-OBSRainWindowShader.md @@ -3,7 +3,7 @@ Get-OBSRainWindowShader ### Synopsis -Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |---------|--------|--------|-------------|--------------| |`[float]`|false |2 |false |trail_strength| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 796990933b3ddb16a3d3905492b9a1d300e93d26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2759/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRectangularDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRectangularDropShadowShader.md b/docs/Add-OBSRectangularDropShadowShader.md index dbc35ba12..db1484da1 100644 --- a/docs/Add-OBSRectangularDropShadowShader.md +++ b/docs/Add-OBSRectangularDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSRectangularDropShadowShader ### Synopsis -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2760/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSReflectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSReflectShader.md b/docs/Add-OBSReflectShader.md index aa28e81b6..081732d11 100644 --- a/docs/Add-OBSReflectShader.md +++ b/docs/Add-OBSReflectShader.md @@ -3,7 +3,7 @@ Get-OBSReflectShader ### Synopsis -Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Sour |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From dedae3cfe65ddeeeb231bb1b041e797c5e2d4dc6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:55:59 +0000 Subject: [PATCH 2761/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRemovePartialPixelsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRemovePartialPixelsShader.md b/docs/Add-OBSRemovePartialPixelsShader.md index 4c99679ed..d87614b8e 100644 --- a/docs/Add-OBSRemovePartialPixelsShader.md +++ b/docs/Add-OBSRemovePartialPixelsShader.md @@ -3,7 +3,7 @@ Get-OBSRemovePartialPixelsShader ### Synopsis -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2762/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRepeatShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRepeatShader.md b/docs/Add-OBSRepeatShader.md index e19bd5cc4..667dae8f4 100644 --- a/docs/Add-OBSRepeatShader.md +++ b/docs/Add-OBSRepeatShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatShader ### Synopsis -Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |----------|--------|--------|---------------------|-------------| |`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From f4a63a78e5a2e88173716b18277331684e18759e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2763/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRepeatTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRepeatTextureShader.md b/docs/Add-OBSRepeatTextureShader.md index 033fc3de5..0f344d854 100644 --- a/docs/Add-OBSRepeatTextureShader.md +++ b/docs/Add-OBSRepeatTextureShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatTextureShader ### Synopsis -Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |----------|--------|--------|-------------|---------| |`[string]`|false |5 |false |tex_image| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From ff86b249d15b826f910ec2bd7244d694ce0e07eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2764/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRgbColorWheelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRgbColorWheelShader.md b/docs/Add-OBSRgbColorWheelShader.md index 1152ecf46..abd506c11 100644 --- a/docs/Add-OBSRgbColorWheelShader.md +++ b/docs/Add-OBSRgbColorWheelShader.md @@ -3,7 +3,7 @@ Get-OBSRgbColorWheelShader ### Synopsis -Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 8629f035f311821e1dae8ed050b3b437e9ce54d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2765/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRgbSplitShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRgbSplitShader.md b/docs/Add-OBSRgbSplitShader.md index 40369837c..6c35d7ee7 100644 --- a/docs/Add-OBSRgbSplitShader.md +++ b/docs/Add-OBSRgbSplitShader.md @@ -3,7 +3,7 @@ Get-OBSRgbSplitShader ### Synopsis -Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 83abfe5f2c7e900145fd1dc9a36f6b836a79610d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2766/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRgbvisibilityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRgbvisibilityShader.md b/docs/Add-OBSRgbvisibilityShader.md index 39f084a41..cf30841dc 100644 --- a/docs/Add-OBSRgbvisibilityShader.md +++ b/docs/Add-OBSRgbvisibilityShader.md @@ -3,7 +3,7 @@ Get-OBSRgbvisibilityShader ### Synopsis -Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 4ee460070c941c740759ed517ff0f5ec40e9a094 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2767/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRippleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRippleShader.md b/docs/Add-OBSRippleShader.md index 9d84e3bda..0adf52739 100644 --- a/docs/Add-OBSRippleShader.md +++ b/docs/Add-OBSRippleShader.md @@ -3,7 +3,7 @@ Get-OBSRippleShader ### Synopsis -Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |---------|--------|--------|-------------|-----------| |`[float]`|false |1 |false |time_factor| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 636769d553f7361dbee257ac709ae801fe22c181 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2768/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRotatingSourceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRotatingSourceShader.md b/docs/Add-OBSRotatingSourceShader.md index d29e8cbbe..9cf331863 100644 --- a/docs/Add-OBSRotatingSourceShader.md +++ b/docs/Add-OBSRotatingSourceShader.md @@ -3,7 +3,7 @@ Get-OBSRotatingSourceShader ### Synopsis -Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom |---------|--------|--------|-------------|----------| |`[float]`|false |0 |false |spin_speed| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **XCenter** |Type |Required|Position|PipelineInput|Aliases | From bf9ef424358492a6a72fea65558b2a939a0c2c98 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2769/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRotatoeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRotatoeShader.md b/docs/Add-OBSRotatoeShader.md index c8edaec01..d2e1374f4 100644 --- a/docs/Add-OBSRotatoeShader.md +++ b/docs/Add-OBSRotatoeShader.md @@ -3,7 +3,7 @@ Get-OBSRotatoeShader ### Synopsis -Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |-------|--------|--------|-------------|-------------| |`[int]`|false |8 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 12faa5aeea1e58c26f3d6c1f6bac60fc54f4b0c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2770/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRoundedRect2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRect2Shader.md b/docs/Add-OBSRoundedRect2Shader.md index d201f2819..2c520af9e 100644 --- a/docs/Add-OBSRoundedRect2Shader.md +++ b/docs/Add-OBSRoundedRect2Shader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRect2Shader ### Synopsis -Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 314f124ea92b4a83ca060a7ed531f94d99ae2a39 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2771/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRoundedRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRectPerCornerShader.md b/docs/Add-OBSRoundedRectPerCornerShader.md index 1b2f1d1f1..f6c27a695 100644 --- a/docs/Add-OBSRoundedRectPerCornerShader.md +++ b/docs/Add-OBSRoundedRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerCornerShader ### Synopsis -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 52d99ffad3c34baf782a20585f1947599433dc9f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:00 +0000 Subject: [PATCH 2772/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRoundedRectPerSideShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRectPerSideShader.md b/docs/Add-OBSRoundedRectPerSideShader.md index 609b9fd6d..9acbe4315 100644 --- a/docs/Add-OBSRoundedRectPerSideShader.md +++ b/docs/Add-OBSRoundedRectPerSideShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerSideShader ### Synopsis -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 9bf8479c8fb4b6b7dd316b18c93aeecc7c9d8e9a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2773/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRoundedRectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedRectShader.md b/docs/Add-OBSRoundedRectShader.md index bdb6d6e5f..9500c4280 100644 --- a/docs/Add-OBSRoundedRectShader.md +++ b/docs/Add-OBSRoundedRectShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectShader ### Synopsis -Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5a288d4e1d0e7890ba907ca42b57ed6d3a0152fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2774/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRoundedStrokeGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedStrokeGradientShader.md b/docs/Add-OBSRoundedStrokeGradientShader.md index b51f597f9..2d331ceb9 100644 --- a/docs/Add-OBSRoundedStrokeGradientShader.md +++ b/docs/Add-OBSRoundedStrokeGradientShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeGradientShader ### Synopsis -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c595509de1d678b725afd3d0b52e52c8e336582b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2775/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSRoundedStrokeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSRoundedStrokeShader.md b/docs/Add-OBSRoundedStrokeShader.md index a7fa44f08..60dc2a6d0 100644 --- a/docs/Add-OBSRoundedStrokeShader.md +++ b/docs/Add-OBSRoundedStrokeShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeShader ### Synopsis -Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 30074a5f57cf63e5b68f589d3a004b0631e97045 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2776/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSScanLineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSScanLineShader.md b/docs/Add-OBSScanLineShader.md index 99fa69340..cb42a98d4 100644 --- a/docs/Add-OBSScanLineShader.md +++ b/docs/Add-OBSScanLineShader.md @@ -3,7 +3,7 @@ Get-OBSScanLineShader ### Synopsis -Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 945178b5bef7c784a5ab9df31fa928f996c97c75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2777/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSeascapeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSeascapeShader.md b/docs/Add-OBSSeascapeShader.md index 35ec3f5c8..6c70bf96d 100644 --- a/docs/Add-OBSSeascapeShader.md +++ b/docs/Add-OBSSeascapeShader.md @@ -3,7 +3,7 @@ Get-OBSSeascapeShader ### Synopsis -Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |----------|--------|--------|---------------------|-------------| |`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ca693fd93a0cc58574ad574cda810af45e63235b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2778/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSeasickShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSeasickShader.md b/docs/Add-OBSSeasickShader.md index eeb8feec1..60e5d3aec 100644 --- a/docs/Add-OBSSeasickShader.md +++ b/docs/Add-OBSSeasickShader.md @@ -3,7 +3,7 @@ Get-OBSSeasickShader ### Synopsis -Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2779/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSelectiveColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSelectiveColorShader.md b/docs/Add-OBSSelectiveColorShader.md index 7adb75f74..cda62bba4 100644 --- a/docs/Add-OBSSelectiveColorShader.md +++ b/docs/Add-OBSSelectiveColorShader.md @@ -3,7 +3,7 @@ Get-OBSSelectiveColorShader ### Synopsis -Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 1aad69ba0fdb86125b6b61d5da327ef2614d68ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:01 +0000 Subject: [PATCH 2780/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSShakeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSShakeShader.md b/docs/Add-OBSShakeShader.md index 3525c2c3e..80d830c2e 100644 --- a/docs/Add-OBSShakeShader.md +++ b/docs/Add-OBSShakeShader.md @@ -3,7 +3,7 @@ Get-OBSShakeShader ### Synopsis -Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------| |`[float]`|false |10 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From f18e157e09a51c5ba17239a4feee710a9e7cae54 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2781/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSShineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSShineShader.md b/docs/Add-OBSShineShader.md index caa1c9046..6a3ae88ef 100644 --- a/docs/Add-OBSShineShader.md +++ b/docs/Add-OBSShineShader.md @@ -3,7 +3,7 @@ Get-OBSShineShader ### Synopsis -Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |---------|--------|--------|-------------|-----------| |`[float]`|false |7 |false |stop_adjust| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3b9032f5984860d696eed0de2e3232d2a1a9b12c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2782/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSimpleGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSimpleGradientShader.md b/docs/Add-OBSSimpleGradientShader.md index 25a63cc38..4590c71e3 100644 --- a/docs/Add-OBSSimpleGradientShader.md +++ b/docs/Add-OBSSimpleGradientShader.md @@ -3,7 +3,7 @@ Get-OBSSimpleGradientShader ### Synopsis -Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |-------|--------|--------|-------------|----------------| |`[int]`|false |0 |false |speed_percentage| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3d1ebb28ede9a1c87935d56f230695e1bf7e857e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2783/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSimplexNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSimplexNoiseShader.md b/docs/Add-OBSSimplexNoiseShader.md index bfbd588b2..4805bb13d 100644 --- a/docs/Add-OBSSimplexNoiseShader.md +++ b/docs/Add-OBSSimplexNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSSimplexNoiseShader ### Synopsis -Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |----------|--------|--------|-------------|---------------| |`[switch]`|false |Named |false |Use_Alpha_Layer| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b2d5743682981ead8152c9fbf6da541f757f237d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2784/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSpotlightShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSpotlightShader.md b/docs/Add-OBSSpotlightShader.md index 8d7e9e009..bcc20ecf5 100644 --- a/docs/Add-OBSSpotlightShader.md +++ b/docs/Add-OBSSpotlightShader.md @@ -3,7 +3,7 @@ Get-OBSSpotlightShader ### Synopsis -Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp |----------|--------|--------|-------------|---------------| |`[string]`|false |2 |false |Spotlight_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VerticalOffset** |Type |Required|Position|PipelineInput|Aliases | From 41a9ed4a94acf54ea85aa5cccb78468a8d05f4e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2785/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSSwirlShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSSwirlShader.md b/docs/Add-OBSSwirlShader.md index 60ee51dcd..6d13602f0 100644 --- a/docs/Add-OBSSwirlShader.md +++ b/docs/Add-OBSSwirlShader.md @@ -3,7 +3,7 @@ Get-OBSSwirlShader ### Synopsis -Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c04d10d800cff3eda7499cc88e18d0fa0e9ddcfe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2786/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSThermalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSThermalShader.md b/docs/Add-OBSThermalShader.md index fb794b67f..e4b5d9b87 100644 --- a/docs/Add-OBSThermalShader.md +++ b/docs/Add-OBSThermalShader.md @@ -3,7 +3,7 @@ Get-OBSThermalShader ### Synopsis -Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 492fc1df19873339bfaaff5380871170aeae426a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2787/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSTvCrtSubpixelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSTvCrtSubpixelShader.md b/docs/Add-OBSTvCrtSubpixelShader.md index 2c553934a..89cec03cf 100644 --- a/docs/Add-OBSTvCrtSubpixelShader.md +++ b/docs/Add-OBSTvCrtSubpixelShader.md @@ -3,7 +3,7 @@ Get-OBSTvCrtSubpixelShader ### Synopsis -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VGap** |Type |Required|Position|PipelineInput| From 50d82afbb04c2d40f4ae93b441491583a7df81e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2788/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSTwistShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSTwistShader.md b/docs/Add-OBSTwistShader.md index ecd16bc6f..98b175533 100644 --- a/docs/Add-OBSTwistShader.md +++ b/docs/Add-OBSTwistShader.md @@ -3,7 +3,7 @@ Get-OBSTwistShader ### Synopsis -Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 38c221cafd811011b51a1b144ae786d3134cd494 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:02 +0000 Subject: [PATCH 2789/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSTwoPassDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSTwoPassDropShadowShader.md b/docs/Add-OBSTwoPassDropShadowShader.md index d7a9c9493..dda6a0034 100644 --- a/docs/Add-OBSTwoPassDropShadowShader.md +++ b/docs/Add-OBSTwoPassDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSTwoPassDropShadowShader ### Synopsis -Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 34bd4d5263b115f111fe9de5e08fefcb72d8529f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2790/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSVCRShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVCRShader.md b/docs/Add-OBSVCRShader.md index 1ee7c0520..4298e6956 100644 --- a/docs/Add-OBSVCRShader.md +++ b/docs/Add-OBSVCRShader.md @@ -3,7 +3,7 @@ Get-OBSVCRShader ### Synopsis -Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2791/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSVHSShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVHSShader.md b/docs/Add-OBSVHSShader.md index 771aa0102..c341f1b7f 100644 --- a/docs/Add-OBSVHSShader.md +++ b/docs/Add-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From a32668832d73a405dd8c71596bee2cd864b280f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2792/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSVignettingShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVignettingShader.md b/docs/Add-OBSVignettingShader.md index 35801fd34..516313fb4 100644 --- a/docs/Add-OBSVignettingShader.md +++ b/docs/Add-OBSVignettingShader.md @@ -3,7 +3,7 @@ Get-OBSVignettingShader ### Synopsis -Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b769f2e11d264a316abb80b2dbde2f8d7f1148c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2793/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSVoronoiPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSVoronoiPixelationShader.md b/docs/Add-OBSVoronoiPixelationShader.md index 8dbb0a4ed..579397818 100644 --- a/docs/Add-OBSVoronoiPixelationShader.md +++ b/docs/Add-OBSVoronoiPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSVoronoiPixelationShader ### Synopsis -Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0873b32d32f203e29af0002a128217c0ae7992f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2794/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSZigZagShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSZigZagShader.md b/docs/Add-OBSZigZagShader.md index 18d784361..5172f3a4b 100644 --- a/docs/Add-OBSZigZagShader.md +++ b/docs/Add-OBSZigZagShader.md @@ -3,7 +3,7 @@ Get-OBSZigZagShader ### Synopsis -Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 8fd0f9195fd1225af1c48e02f6a4cd89ff5c236f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2795/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSZoomBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSZoomBlurShader.md b/docs/Add-OBSZoomBlurShader.md index e6bb238a7..ae72bb140 100644 --- a/docs/Add-OBSZoomBlurShader.md +++ b/docs/Add-OBSZoomBlurShader.md @@ -3,7 +3,7 @@ Get-OBSZoomBlurShader ### Synopsis -Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |-------|--------|--------|-------------|-------------| |`[int]`|false |2 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 9a87560f9682075ac9792dc6e7f9cc1d9d41f479 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:03 +0000 Subject: [PATCH 2796/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Add-OBSZoomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Add-OBSZoomShader.md b/docs/Add-OBSZoomShader.md index 229353324..efb3ec830 100644 --- a/docs/Add-OBSZoomShader.md +++ b/docs/Add-OBSZoomShader.md @@ -3,7 +3,7 @@ Get-OBSZoomShader ### Synopsis -Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c0776863408bd4df4c2ac3cb5ef39c2f93ab3d0b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2797/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAddShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAddShader.md b/docs/Set-OBSAddShader.md index fb7a0df88..a2db12cab 100644 --- a/docs/Set-OBSAddShader.md +++ b/docs/Set-OBSAddShader.md @@ -3,7 +3,7 @@ Get-OBSAddShader ### Synopsis -Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 6192fd7b3d1ed41882e47e9b4a625893e14263a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2798/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAlphaBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAlphaBorderShader.md b/docs/Set-OBSAlphaBorderShader.md index 89b20ec13..5184bf5c5 100644 --- a/docs/Set-OBSAlphaBorderShader.md +++ b/docs/Set-OBSAlphaBorderShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaBorderShader ### Synopsis -Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 817bb714338c759a17d2e6d0997d610c59b1f182 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2799/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAlphaGamingBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAlphaGamingBentCameraShader.md b/docs/Set-OBSAlphaGamingBentCameraShader.md index bcdd52b82..82845c34b 100644 --- a/docs/Set-OBSAlphaGamingBentCameraShader.md +++ b/docs/Set-OBSAlphaGamingBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSAlphaGamingBentCameraShader ### Synopsis -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From afcc5ad0380b9a45e9da93e485f58405c63dcc96 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2800/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAnimatedPathShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAnimatedPathShader.md b/docs/Set-OBSAnimatedPathShader.md index 395279b95..43304efaf 100644 --- a/docs/Set-OBSAnimatedPathShader.md +++ b/docs/Set-OBSAnimatedPathShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedPathShader ### Synopsis -Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |-------|--------|--------|-------------|-------------| |`[int]`|false |7 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 2d37f193396d61e5d3ea82e92462b6534fbed6f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2801/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAnimatedTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAnimatedTextureShader.md b/docs/Set-OBSAnimatedTextureShader.md index 87bf5cafa..2dc81b3d2 100644 --- a/docs/Set-OBSAnimatedTextureShader.md +++ b/docs/Set-OBSAnimatedTextureShader.md @@ -3,7 +3,7 @@ Get-OBSAnimatedTextureShader ### Synopsis -Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -156,6 +156,12 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|-------------|-------------------------| |`[switch]`|false |Named |false |Use_Animation_Image_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 60049e681501ee9aaa5a67fae11d7ac717a569d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2802/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAsciiShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAsciiShader.md b/docs/Set-OBSAsciiShader.md index 38f04236a..c6fa59029 100644 --- a/docs/Set-OBSAsciiShader.md +++ b/docs/Set-OBSAsciiShader.md @@ -3,7 +3,7 @@ Get-OBSAsciiShader ### Synopsis -Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2803/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSAspectRatioShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSAspectRatioShader.md b/docs/Set-OBSAspectRatioShader.md index 7f25093b4..6b11f78ca 100644 --- a/docs/Set-OBSAspectRatioShader.md +++ b/docs/Set-OBSAspectRatioShader.md @@ -3,7 +3,7 @@ Get-OBSAspectRatioShader ### Synopsis -Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |----------|--------|--------|---------------------|-------------| |`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From c2168c92c1b35027209bf7cae561627aa74da978 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2804/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBackgroundRemovalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBackgroundRemovalShader.md b/docs/Set-OBSBackgroundRemovalShader.md index 4117a391f..c793634cc 100644 --- a/docs/Set-OBSBackgroundRemovalShader.md +++ b/docs/Set-OBSBackgroundRemovalShader.md @@ -3,7 +3,7 @@ Get-OBSBackgroundRemovalShader ### Synopsis -Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|-------------| |`[string]`|false |9 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 029ba016a02c43c258cb4d365ed2ff794f5bd401 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2805/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBlendOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBlendOpacityShader.md b/docs/Set-OBSBlendOpacityShader.md index 7bf9da06f..e33409d5c 100644 --- a/docs/Set-OBSBlendOpacityShader.md +++ b/docs/Set-OBSBlendOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSBlendOpacityShader ### Synopsis -Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2806/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBlinkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBlinkShader.md b/docs/Set-OBSBlinkShader.md index 5b3e942bd..5389fb6c4 100644 --- a/docs/Set-OBSBlinkShader.md +++ b/docs/Set-OBSBlinkShader.md @@ -3,7 +3,7 @@ Get-OBSBlinkShader ### Synopsis -Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] Date: Thu, 15 Feb 2024 00:56:10 +0000 Subject: [PATCH 2807/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBloomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBloomShader.md b/docs/Set-OBSBloomShader.md index 161969887..e4fc8bba8 100644 --- a/docs/Set-OBSBloomShader.md +++ b/docs/Set-OBSBloomShader.md @@ -3,7 +3,7 @@ Get-OBSBloomShader ### Synopsis -Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2808/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBorderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBorderShader.md b/docs/Set-OBSBorderShader.md index fadeb50ff..88a592d7b 100644 --- a/docs/Set-OBSBorderShader.md +++ b/docs/Set-OBSBorderShader.md @@ -3,7 +3,7 @@ Get-OBSBorderShader ### Synopsis -Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f3096b6fce8557688fe98983864834ba1396af02 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2809/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBoxBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBoxBlurShader.md b/docs/Set-OBSBoxBlurShader.md index 7f7ca04f4..fb293b9a4 100644 --- a/docs/Set-OBSBoxBlurShader.md +++ b/docs/Set-OBSBoxBlurShader.md @@ -3,7 +3,7 @@ Get-OBSBoxBlurShader ### Synopsis -Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2810/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBulgePinchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBulgePinchShader.md b/docs/Set-OBSBulgePinchShader.md index f100f241c..a946bf65a 100644 --- a/docs/Set-OBSBulgePinchShader.md +++ b/docs/Set-OBSBulgePinchShader.md @@ -3,7 +3,7 @@ Get-OBSBulgePinchShader ### Synopsis -Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 985b6310a945a8e4eb9358316fb7feec8752fa5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2811/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSBurnShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSBurnShader.md b/docs/Set-OBSBurnShader.md index 60d44b60a..dc9a2b771 100644 --- a/docs/Set-OBSBurnShader.md +++ b/docs/Set-OBSBurnShader.md @@ -3,7 +3,7 @@ Get-OBSBurnShader ### Synopsis -Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |---------|--------|--------|-------------| |`[float]`|false |1 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 83e882112cfb2e4f0868c3296e3e93d085100a93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2812/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCartoonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCartoonShader.md b/docs/Set-OBSCartoonShader.md index 1b4ce0c62..0235e1b80 100644 --- a/docs/Set-OBSCartoonShader.md +++ b/docs/Set-OBSCartoonShader.md @@ -3,7 +3,7 @@ Get-OBSCartoonShader ### Synopsis -Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From b12bfd027102a18a4919a33258ca404d77bf49d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2813/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCellShadedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCellShadedShader.md b/docs/Set-OBSCellShadedShader.md index 5efcd4646..7b68ec729 100644 --- a/docs/Set-OBSCellShadedShader.md +++ b/docs/Set-OBSCellShadedShader.md @@ -3,7 +3,7 @@ Get-OBSCellShadedShader ### Synopsis -Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c40de3065932c1362ff50d23eb0f23fdb10d9e3e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2814/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSChromaticAberrationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSChromaticAberrationShader.md b/docs/Set-OBSChromaticAberrationShader.md index 143ee2651..d2e270d01 100644 --- a/docs/Set-OBSChromaticAberrationShader.md +++ b/docs/Set-OBSChromaticAberrationShader.md @@ -3,7 +3,7 @@ Get-OBSChromaticAberrationShader ### Synopsis -Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |----------|--------|--------|-------------|----------| |`[switch]`|false |Named |false |use_random| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 72549785fdaf113368101f19c0d3c33134d03670 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2815/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSChromaUVDistortionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSChromaUVDistortionShader.md b/docs/Set-OBSChromaUVDistortionShader.md index f062a3687..00901d12d 100644 --- a/docs/Set-OBSChromaUVDistortionShader.md +++ b/docs/Set-OBSChromaUVDistortionShader.md @@ -3,7 +3,7 @@ Get-OBSChromaUVDistortionShader ### Synopsis -Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From eea97089e1cb9857f32ca43fa72bfc20aac357b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2816/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCircleMaskFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCircleMaskFilterShader.md b/docs/Set-OBSCircleMaskFilterShader.md index f435303d9..7d6a01076 100644 --- a/docs/Set-OBSCircleMaskFilterShader.md +++ b/docs/Set-OBSCircleMaskFilterShader.md @@ -3,7 +3,7 @@ Get-OBSCircleMaskFilterShader ### Synopsis -Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |-------|--------|--------|-------------|---------------| |`[int]`|false |4 |false |Source_Offset_Y| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b55d27bac1d98db73a82e7fac50be457a00831a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2817/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSColorDepthShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSColorDepthShader.md b/docs/Set-OBSColorDepthShader.md index e638c83bd..09a9a7a91 100644 --- a/docs/Set-OBSColorDepthShader.md +++ b/docs/Set-OBSColorDepthShader.md @@ -3,7 +3,7 @@ Get-OBSColorDepthShader ### Synopsis -Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 55bcd5ac52b5d36f790d43c0605fc4a628ac17d2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:11 +0000 Subject: [PATCH 2818/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSColorGradeFilterShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSColorGradeFilterShader.md b/docs/Set-OBSColorGradeFilterShader.md index 1710b874c..c8b096fa0 100644 --- a/docs/Set-OBSColorGradeFilterShader.md +++ b/docs/Set-OBSColorGradeFilterShader.md @@ -3,7 +3,7 @@ Get-OBSColorGradeFilterShader ### Synopsis -Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From bea2ded6ccbb43bcd5bc10479d8b020f8df6fdb7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2819/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCornerPinShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCornerPinShader.md b/docs/Set-OBSCornerPinShader.md index d6c10bc0a..1a122c1ea 100644 --- a/docs/Set-OBSCornerPinShader.md +++ b/docs/Set-OBSCornerPinShader.md @@ -3,7 +3,7 @@ Get-OBSCornerPinShader ### Synopsis -Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |---------|--------|--------|-------------|-----------| |`[float]`|false |3 |false |Top_Right_Y| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d938a8ab72da846054b92734eaf9762e5c2000af Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2820/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCrtCurvatureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCrtCurvatureShader.md b/docs/Set-OBSCrtCurvatureShader.md index be690aed4..16cd6a949 100644 --- a/docs/Set-OBSCrtCurvatureShader.md +++ b/docs/Set-OBSCrtCurvatureShader.md @@ -3,7 +3,7 @@ Get-OBSCrtCurvatureShader ### Synopsis -Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 947f8eb21809a0635562827dee20dbd7058afdee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2821/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCutRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCutRectPerCornerShader.md b/docs/Set-OBSCutRectPerCornerShader.md index e1e6c137a..c76a7c6d2 100644 --- a/docs/Set-OBSCutRectPerCornerShader.md +++ b/docs/Set-OBSCutRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSCutRectPerCornerShader ### Synopsis -Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 7a6815103b237f895220fe14cd5d6089bafc02a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2822/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSCylinderShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSCylinderShader.md b/docs/Set-OBSCylinderShader.md index 5bb36395a..07a2cacf1 100644 --- a/docs/Set-OBSCylinderShader.md +++ b/docs/Set-OBSCylinderShader.md @@ -3,7 +3,7 @@ Get-OBSCylinderShader ### Synopsis -Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 84bbd6e600dd51896cf7744482774e2e9be5977a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2823/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDarkenShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDarkenShader.md b/docs/Set-OBSDarkenShader.md index 6a81b5ac1..a3eab1244 100644 --- a/docs/Set-OBSDarkenShader.md +++ b/docs/Set-OBSDarkenShader.md @@ -3,7 +3,7 @@ Get-OBSDarkenShader ### Synopsis -Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3a2d28c9b70e0ab43b80c1409652db7fa620e6ed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2824/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDeadPixelFixerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDeadPixelFixerShader.md b/docs/Set-OBSDeadPixelFixerShader.md index fa4e4cea9..52de7278a 100644 --- a/docs/Set-OBSDeadPixelFixerShader.md +++ b/docs/Set-OBSDeadPixelFixerShader.md @@ -3,7 +3,7 @@ Get-OBSDeadPixelFixerShader ### Synopsis -Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From a0a993ceeaab4d3c30c19fadc4a842ffc5fe9038 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2825/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDivideRotateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDivideRotateShader.md b/docs/Set-OBSDivideRotateShader.md index 99bf961ca..651cec3c6 100644 --- a/docs/Set-OBSDivideRotateShader.md +++ b/docs/Set-OBSDivideRotateShader.md @@ -3,7 +3,7 @@ Get-OBSDivideRotateShader ### Synopsis -Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |-------|--------|--------|-------------|----------------| |`[int]`|false |1 |false |speed_percentage| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c6a2ca8a977fcee075e20a38e6d2e14603dcb02d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2826/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDoodleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDoodleShader.md b/docs/Set-OBSDoodleShader.md index 9a76ab712..8939cc510 100644 --- a/docs/Set-OBSDoodleShader.md +++ b/docs/Set-OBSDoodleShader.md @@ -3,7 +3,7 @@ Get-OBSDoodleShader ### Synopsis -Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 44a924aead75304406654f20f61a37879520e452 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2827/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDrawingsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDrawingsShader.md b/docs/Set-OBSDrawingsShader.md index 389229d55..219eef585 100644 --- a/docs/Set-OBSDrawingsShader.md +++ b/docs/Set-OBSDrawingsShader.md @@ -3,7 +3,7 @@ Get-OBSDrawingsShader ### Synopsis -Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2828/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDropShadowShader.md b/docs/Set-OBSDropShadowShader.md index 625008889..cd0d0bd1d 100644 --- a/docs/Set-OBSDropShadowShader.md +++ b/docs/Set-OBSDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSDropShadowShader ### Synopsis -Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3a8559a937e1548819784d2757bbf1b42ef8e5cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:12 +0000 Subject: [PATCH 2829/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDrunkShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDrunkShader.md b/docs/Set-OBSDrunkShader.md index 230e425a8..792565154 100644 --- a/docs/Set-OBSDrunkShader.md +++ b/docs/Set-OBSDrunkShader.md @@ -3,7 +3,7 @@ Get-OBSDrunkShader ### Synopsis -Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |----------|--------|--------|---------------------|-------------| |`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 988dd0766531213956be32f9eed11add23ce4a3a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2830/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSDynamicMaskShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSDynamicMaskShader.md b/docs/Set-OBSDynamicMaskShader.md index e63709519..d3a9a0050 100644 --- a/docs/Set-OBSDynamicMaskShader.md +++ b/docs/Set-OBSDynamicMaskShader.md @@ -3,7 +3,7 @@ Get-OBSDynamicMaskShader ### Synopsis -Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -198,6 +198,12 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |25 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 15a6425b2a1623cd8b12f815567ea5e57a5d2eee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2831/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSEdgeDetectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEdgeDetectionShader.md b/docs/Set-OBSEdgeDetectionShader.md index 209b647b2..23ad8c596 100644 --- a/docs/Set-OBSEdgeDetectionShader.md +++ b/docs/Set-OBSEdgeDetectionShader.md @@ -3,7 +3,7 @@ Get-OBSEdgeDetectionShader ### Synopsis -Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ff8752fece2151535902c9e703520133883bfcfd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2832/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSEmbersShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEmbersShader.md b/docs/Set-OBSEmbersShader.md index 92999c42a..0a77701e9 100644 --- a/docs/Set-OBSEmbersShader.md +++ b/docs/Set-OBSEmbersShader.md @@ -3,7 +3,7 @@ Get-OBSEmbersShader ### Synopsis -Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -150,6 +150,12 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From ff04874e97a882e60d2c0e047028a086aded65a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2833/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSEmbossColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEmbossColorShader.md b/docs/Set-OBSEmbossColorShader.md index cf16eb734..1b946a4c0 100644 --- a/docs/Set-OBSEmbossColorShader.md +++ b/docs/Set-OBSEmbossColorShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossColorShader ### Synopsis -Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |-------|--------|--------|-------------|---------------| |`[int]`|false |3 |false |Up_Down_Percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 2e0224e9b4f37dd13f2da041e136e94b19e03fe6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2834/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSEmbossShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSEmbossShader.md b/docs/Set-OBSEmbossShader.md index 56dea2550..fa23ddd55 100644 --- a/docs/Set-OBSEmbossShader.md +++ b/docs/Set-OBSEmbossShader.md @@ -3,7 +3,7 @@ Get-OBSEmbossShader ### Synopsis -Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |----------|--------|--------|-------------|---------| |`[switch]`|false |Named |false |Use_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 4d1dc1fe49cdac2c785b18e3bc9475c30c7a9ccd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2835/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSExeldroBentCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSExeldroBentCameraShader.md b/docs/Set-OBSExeldroBentCameraShader.md index 379fd671a..912d4f2b9 100644 --- a/docs/Set-OBSExeldroBentCameraShader.md +++ b/docs/Set-OBSExeldroBentCameraShader.md @@ -3,7 +3,7 @@ Get-OBSExeldroBentCameraShader ### Synopsis -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2836/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFadeTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFadeTransitionShader.md b/docs/Set-OBSFadeTransitionShader.md index 52db862e7..f36c14929 100644 --- a/docs/Set-OBSFadeTransitionShader.md +++ b/docs/Set-OBSFadeTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSFadeTransitionShader ### Synopsis -Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |---------|--------|--------|-------------|---------------| |`[float]`|false |2 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 131583ded2364a61424a896a26b0fa6f2111cf16 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2837/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFillColorGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorGradientShader.md b/docs/Set-OBSFillColorGradientShader.md index 680063f15..49cd80e2e 100644 --- a/docs/Set-OBSFillColorGradientShader.md +++ b/docs/Set-OBSFillColorGradientShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorGradientShader ### Synopsis -Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From e9006e0cc3a5c5e06fbdcbbca68297980aa0ce3a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2838/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFillColorLinearShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorLinearShader.md b/docs/Set-OBSFillColorLinearShader.md index 970b7a645..c142370b9 100644 --- a/docs/Set-OBSFillColorLinearShader.md +++ b/docs/Set-OBSFillColorLinearShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorLinearShader ### Synopsis -Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 2bbf142dbcca020d52c1cc3216df969de3f0f1a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2839/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFillColorRadialDegreesShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorRadialDegreesShader.md b/docs/Set-OBSFillColorRadialDegreesShader.md index 4505e7e80..ae2234a6d 100644 --- a/docs/Set-OBSFillColorRadialDegreesShader.md +++ b/docs/Set-OBSFillColorRadialDegreesShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialDegreesShader ### Synopsis -Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |---------|--------|--------|-------------|-----------| |`[float]`|false |2 |false |Start_Angle| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c315cf7f5268519b91cb8e94c744f8973ed8c1c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:13 +0000 Subject: [PATCH 2840/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFillColorRadialPercentageShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFillColorRadialPercentageShader.md b/docs/Set-OBSFillColorRadialPercentageShader.md index 775a9a894..6cc1bd22f 100644 --- a/docs/Set-OBSFillColorRadialPercentageShader.md +++ b/docs/Set-OBSFillColorRadialPercentageShader.md @@ -3,7 +3,7 @@ Get-OBSFillColorRadialPercentageShader ### Synopsis -Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |---------|--------|--------|-------------|-----------| |`[float]`|false |2 |false |Start_Angle| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b11adbbe8abd0be756194f5583ee39d0fde7e6ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2841/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFilterTemplateShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFilterTemplateShader.md b/docs/Set-OBSFilterTemplateShader.md index be91c5a84..4b9d258a9 100644 --- a/docs/Set-OBSFilterTemplateShader.md +++ b/docs/Set-OBSFilterTemplateShader.md @@ -3,7 +3,7 @@ Get-OBSFilterTemplateShader ### Synopsis -Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 3f8a052f4305a82ae8a45e5323a7b32a098964fd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2842/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFire3Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFire3Shader.md b/docs/Set-OBSFire3Shader.md index d4c11d146..ba84c632d 100644 --- a/docs/Set-OBSFire3Shader.md +++ b/docs/Set-OBSFire3Shader.md @@ -3,7 +3,7 @@ Get-OBSFire3Shader ### Synopsis -Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -186,6 +186,12 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |-------|--------|--------|-------------| |`[int]`|false |15 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 41e1484a83f8c15d87325217ebb12c05b5b2f813 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2843/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFireShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFireShader.md b/docs/Set-OBSFireShader.md index aa697a0e9..2d0c6e393 100644 --- a/docs/Set-OBSFireShader.md +++ b/docs/Set-OBSFireShader.md @@ -3,7 +3,7 @@ Get-OBSFireShader ### Synopsis -Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -120,6 +120,12 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2844/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFireworksShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFireworksShader.md b/docs/Set-OBSFireworksShader.md index 8beb550cd..78ea455eb 100644 --- a/docs/Set-OBSFireworksShader.md +++ b/docs/Set-OBSFireworksShader.md @@ -3,7 +3,7 @@ Get-OBSFireworksShader ### Synopsis -Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad |----------|--------|--------|---------------------|-------------| |`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UseTransparancy** |Type |Required|Position|PipelineInput|Aliases | From df43ae26d79522356d4a49dddd352440753bec5f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2845/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFisheyeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFisheyeShader.md b/docs/Set-OBSFisheyeShader.md index 0653efdda..ba70a8f14 100644 --- a/docs/Set-OBSFisheyeShader.md +++ b/docs/Set-OBSFisheyeShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeShader ### Synopsis -Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 85220e550556b9cf3e1d949373cff7266093c154 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2846/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFisheyeXyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFisheyeXyShader.md b/docs/Set-OBSFisheyeXyShader.md index 6a1c88a84..9ac5e15f3 100644 --- a/docs/Set-OBSFisheyeXyShader.md +++ b/docs/Set-OBSFisheyeXyShader.md @@ -3,7 +3,7 @@ Get-OBSFisheyeXyShader ### Synopsis -Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c6ed5f5a07a650a38647dd0b28c02835b0463796 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2847/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSFrostedGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSFrostedGlassShader.md b/docs/Set-OBSFrostedGlassShader.md index 6b3e54faa..c2abc55d6 100644 --- a/docs/Set-OBSFrostedGlassShader.md +++ b/docs/Set-OBSFrostedGlassShader.md @@ -3,7 +3,7 @@ Get-OBSFrostedGlassShader ### Synopsis -Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f7ae31a905edf97396930b7e76cabc112b373b4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2848/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGammaCorrectionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGammaCorrectionShader.md b/docs/Set-OBSGammaCorrectionShader.md index b682d0ece..b4fb52ca0 100644 --- a/docs/Set-OBSGammaCorrectionShader.md +++ b/docs/Set-OBSGammaCorrectionShader.md @@ -3,7 +3,7 @@ Get-OBSGammaCorrectionShader ### Synopsis -Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2849/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGaussianBlurAdvancedShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianBlurAdvancedShader.md b/docs/Set-OBSGaussianBlurAdvancedShader.md index e83580821..39a67d808 100644 --- a/docs/Set-OBSGaussianBlurAdvancedShader.md +++ b/docs/Set-OBSGaussianBlurAdvancedShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurAdvancedShader ### Synopsis -Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 87fc61aa0e76817f41c3d9d2c7af4366c89fae5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2850/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGaussianBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianBlurShader.md b/docs/Set-OBSGaussianBlurShader.md index 02bf99e4d..4ac697d20 100644 --- a/docs/Set-OBSGaussianBlurShader.md +++ b/docs/Set-OBSGaussianBlurShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurShader ### Synopsis -Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |-----------|--------|--------|-------------|------------| |`[float[]]`|false |6 |false |u_texelDelta| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From ed6e7e5230a50bde6af18d3e5358008504acd1e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:14 +0000 Subject: [PATCH 2851/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGaussianBlurSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianBlurSimpleShader.md b/docs/Set-OBSGaussianBlurSimpleShader.md index 9517872c2..7cd0578d8 100644 --- a/docs/Set-OBSGaussianBlurSimpleShader.md +++ b/docs/Set-OBSGaussianBlurSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianBlurSimpleShader ### Synopsis -Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas |-------|--------|--------|-------------| |`[int]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From b27209735d9ba9aa3d6bc2998699a673df477455 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2852/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGaussianExampleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianExampleShader.md b/docs/Set-OBSGaussianExampleShader.md index 704028263..d35ba3b44 100644 --- a/docs/Set-OBSGaussianExampleShader.md +++ b/docs/Set-OBSGaussianExampleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianExampleShader ### Synopsis -Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |----------|--------|--------|-------------|----------| |`[string]`|false |10 |false |text_color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 4925a9d615848e4740b08564ed946e3cda9ee374 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2853/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGaussianSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGaussianSimpleShader.md b/docs/Set-OBSGaussianSimpleShader.md index 318da80f8..6505d646d 100644 --- a/docs/Set-OBSGaussianSimpleShader.md +++ b/docs/Set-OBSGaussianSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSGaussianSimpleShader ### Synopsis -Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 59aa3f76ab8a49599847c190530f0ed89b16b7db Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2854/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGbCameraShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGbCameraShader.md b/docs/Set-OBSGbCameraShader.md index 0f8fabbb0..cfaa24156 100644 --- a/docs/Set-OBSGbCameraShader.md +++ b/docs/Set-OBSGbCameraShader.md @@ -3,7 +3,7 @@ Get-OBSGbCameraShader ### Synopsis -Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0e1a1b76afd8d11ee10a07514fb85d01ba65b5e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2855/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGlassShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlassShader.md b/docs/Set-OBSGlassShader.md index 91d1adfd2..9c7c8c425 100644 --- a/docs/Set-OBSGlassShader.md +++ b/docs/Set-OBSGlassShader.md @@ -3,7 +3,7 @@ Get-OBSGlassShader ### Synopsis -Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **XSize** |Type |Required|Position|PipelineInput| From 0c177796eaa490b85bba705267311ceab4686cfa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2856/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGlitchAnalogShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlitchAnalogShader.md b/docs/Set-OBSGlitchAnalogShader.md index d86d063e1..aa2faa36e 100644 --- a/docs/Set-OBSGlitchAnalogShader.md +++ b/docs/Set-OBSGlitchAnalogShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchAnalogShader ### Synopsis -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -126,6 +126,12 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |----------|--------|--------|---------------------|-------------| |`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VerticalJumpAmount** |Type |Required|Position|PipelineInput|Aliases | From bbdf355917d865a9aa2dd8f175d39e03b83bbd3c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2857/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGlitchShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlitchShader.md b/docs/Set-OBSGlitchShader.md index a38f7f32d..239c02bb5 100644 --- a/docs/Set-OBSGlitchShader.md +++ b/docs/Set-OBSGlitchShader.md @@ -3,7 +3,7 @@ Get-OBSGlitchShader ### Synopsis -Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 73a2e39790146fb037bd9bb7ab09c11c5f791272 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2858/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGlowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGlowShader.md b/docs/Set-OBSGlowShader.md index 949eb3433..f6d735389 100644 --- a/docs/Set-OBSGlowShader.md +++ b/docs/Set-OBSGlowShader.md @@ -3,7 +3,7 @@ Get-OBSGlowShader ### Synopsis -Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From a646e4855e7c4fd898ad7d01a3b3394e552c9e47 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2859/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSGradientShader.md b/docs/Set-OBSGradientShader.md index f35b8c9f0..0659fe535 100644 --- a/docs/Set-OBSGradientShader.md +++ b/docs/Set-OBSGradientShader.md @@ -3,7 +3,7 @@ Get-OBSGradientShader ### Synopsis -Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -150,6 +150,12 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |---------|--------|--------|-------------|----------| |`[float]`|false |1 |false |start_step| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From bb1b046780a49aec03fcdbe85b4c4556f1359019 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2860/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSHalftoneShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHalftoneShader.md b/docs/Set-OBSHalftoneShader.md index 837b024c7..0702de0f7 100644 --- a/docs/Set-OBSHalftoneShader.md +++ b/docs/Set-OBSHalftoneShader.md @@ -3,7 +3,7 @@ Get-OBSHalftoneShader ### Synopsis -Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From bf5387ce5817657398960703a9d877712b6b44e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:15 +0000 Subject: [PATCH 2861/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSHeatWaveSimpleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHeatWaveSimpleShader.md b/docs/Set-OBSHeatWaveSimpleShader.md index 51b594616..55816175b 100644 --- a/docs/Set-OBSHeatWaveSimpleShader.md +++ b/docs/Set-OBSHeatWaveSimpleShader.md @@ -3,7 +3,7 @@ Get-OBSHeatWaveSimpleShader ### Synopsis -Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |---------|--------|--------|-------------| |`[float]`|false |1 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0eb7fb3753c366a075aefe85bc9c2704063aeefc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2862/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSHexagonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHexagonShader.md b/docs/Set-OBSHexagonShader.md index d01791998..9216f8b42 100644 --- a/docs/Set-OBSHexagonShader.md +++ b/docs/Set-OBSHexagonShader.md @@ -3,7 +3,7 @@ Get-OBSHexagonShader ### Synopsis -Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -126,6 +126,12 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |-------|--------|--------|-------------|-------------| |`[int]`|false |4 |false |Speed_Percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **ZoomAnimate** |Type |Required|Position|PipelineInput|Aliases | From 4597cb1f2a77b7aedb200d26c978bd4af033a58b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2863/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSHslHsvSaturationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHslHsvSaturationShader.md b/docs/Set-OBSHslHsvSaturationShader.md index ddc716975..62965bc33 100644 --- a/docs/Set-OBSHslHsvSaturationShader.md +++ b/docs/Set-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c0325450de3f2185a60113e9ce4817caaf78a1a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2864/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSHueRotatonShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSHueRotatonShader.md b/docs/Set-OBSHueRotatonShader.md index da2e83d14..f98d9993b 100644 --- a/docs/Set-OBSHueRotatonShader.md +++ b/docs/Set-OBSHueRotatonShader.md @@ -3,7 +3,7 @@ Get-OBSHueRotatonShader ### Synopsis -Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 1723d9ec7609c9489d4ca534bbc774c7d5d73ca3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2865/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSIntensityScopeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSIntensityScopeShader.md b/docs/Set-OBSIntensityScopeShader.md index f9cab5c04..9a45b9e83 100644 --- a/docs/Set-OBSIntensityScopeShader.md +++ b/docs/Set-OBSIntensityScopeShader.md @@ -3,7 +3,7 @@ Get-OBSIntensityScopeShader ### Synopsis -Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f3cbb5a111b8c58acd1fc139568210963ef56d1e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2866/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSInvertLumaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSInvertLumaShader.md b/docs/Set-OBSInvertLumaShader.md index eb4fbe47f..8d70cf701 100644 --- a/docs/Set-OBSInvertLumaShader.md +++ b/docs/Set-OBSInvertLumaShader.md @@ -3,7 +3,7 @@ Get-OBSInvertLumaShader ### Synopsis -Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha |----------|--------|--------|-------------|---------| |`[switch]`|false |Named |false |Test_Ramp| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f68010032c00ce141b7d49d113f32ae3db2311fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2867/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSLuminance2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSLuminance2Shader.md b/docs/Set-OBSLuminance2Shader.md index ba3455f2d..ded8118db 100644 --- a/docs/Set-OBSLuminance2Shader.md +++ b/docs/Set-OBSLuminance2Shader.md @@ -3,7 +3,7 @@ Get-OBSLuminance2Shader ### Synopsis -Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2868/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSLuminanceAlphaShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSLuminanceAlphaShader.md b/docs/Set-OBSLuminanceAlphaShader.md index 818fd36ca..c7cd3777d 100644 --- a/docs/Set-OBSLuminanceAlphaShader.md +++ b/docs/Set-OBSLuminanceAlphaShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceAlphaShader ### Synopsis -Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |----------|--------|--------|---------------------|-------------| |`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 4a6d25c3bb291241cb06b431b98a855ba023ba2c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2869/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSLuminanceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSLuminanceShader.md b/docs/Set-OBSLuminanceShader.md index 0034b4425..368dd6b97 100644 --- a/docs/Set-OBSLuminanceShader.md +++ b/docs/Set-OBSLuminanceShader.md @@ -3,7 +3,7 @@ Get-OBSLuminanceShader ### Synopsis -Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f122e10a138cc82ba9a5f2dbcbf62066ca529200 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2870/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSMatrixShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSMatrixShader.md b/docs/Set-OBSMatrixShader.md index 6bff65017..699167349 100644 --- a/docs/Set-OBSMatrixShader.md +++ b/docs/Set-OBSMatrixShader.md @@ -3,7 +3,7 @@ Get-OBSMatrixShader ### Synopsis -Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |----------|--------|--------|---------------------|-------------| |`[string]`|false |17 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From e911f08a43dc69dd58c3ca6927c5d26f090d846f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2871/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSMultiplyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSMultiplyShader.md b/docs/Set-OBSMultiplyShader.md index a2dfe9717..552434c86 100644 --- a/docs/Set-OBSMultiplyShader.md +++ b/docs/Set-OBSMultiplyShader.md @@ -3,7 +3,7 @@ Get-OBSMultiplyShader ### Synopsis -Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d149c24f0954759194eedd753718c2d620e899b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:16 +0000 Subject: [PATCH 2872/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSNightSkyShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSNightSkyShader.md b/docs/Set-OBSNightSkyShader.md index 8aa8fbe30..3cda16ee1 100644 --- a/docs/Set-OBSNightSkyShader.md +++ b/docs/Set-OBSNightSkyShader.md @@ -3,7 +3,7 @@ Get-OBSNightSkyShader ### Synopsis -Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -156,6 +156,12 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From e9ddcd7ac534104b2ebcf677928eddf88cd389db Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2873/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSOpacityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSOpacityShader.md b/docs/Set-OBSOpacityShader.md index 90eba35d0..1b7aa1459 100644 --- a/docs/Set-OBSOpacityShader.md +++ b/docs/Set-OBSOpacityShader.md @@ -3,7 +3,7 @@ Get-OBSOpacityShader ### Synopsis -Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ab09b56ba7e317fbc4714b56c69ea83b6062f517 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2874/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPagePeelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPagePeelShader.md b/docs/Set-OBSPagePeelShader.md index dea4f7354..33a3026ae 100644 --- a/docs/Set-OBSPagePeelShader.md +++ b/docs/Set-OBSPagePeelShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelShader ### Synopsis -Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2875/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPagePeelTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPagePeelTransitionShader.md b/docs/Set-OBSPagePeelTransitionShader.md index fd2287b32..cf4836bd4 100644 --- a/docs/Set-OBSPagePeelTransitionShader.md +++ b/docs/Set-OBSPagePeelTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPagePeelTransitionShader ### Synopsis -Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |---------|--------|--------|-------------|---------------| |`[float]`|false |2 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From aaaa887508b6e6a73e4776b8717674812792abce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2876/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPerlinNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPerlinNoiseShader.md b/docs/Set-OBSPerlinNoiseShader.md index c5ad93eb3..bbe6bc6b6 100644 --- a/docs/Set-OBSPerlinNoiseShader.md +++ b/docs/Set-OBSPerlinNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSPerlinNoiseShader ### Synopsis -Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |---------|--------|--------|-------------|--------------| |`[float]`|false |2 |false |speed_vertical| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **WhiteNoise** |Type |Required|Position|PipelineInput|Aliases | From aef64270b7fb4047c39fefefdfbc062234ad235a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2877/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPieChartShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPieChartShader.md b/docs/Set-OBSPieChartShader.md index 7a6855fed..61511f8ac 100644 --- a/docs/Set-OBSPieChartShader.md +++ b/docs/Set-OBSPieChartShader.md @@ -3,7 +3,7 @@ Get-OBSPieChartShader ### Synopsis -Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -192,6 +192,12 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |-------|--------|--------|-------------| |`[int]`|false |3 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ab64aa927245d23dae2080e0694c1d8ecd698c8b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2878/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPixelationShader.md b/docs/Set-OBSPixelationShader.md index 90a43e4aa..9b236ea71 100644 --- a/docs/Set-OBSPixelationShader.md +++ b/docs/Set-OBSPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationShader ### Synopsis -Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No |---------|--------|--------|-------------|------------| |`[float]`|false |0 |false |Target_Width| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 54e7f0b70ab8cb02bd059588f587cf1f829e0102 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2879/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPixelationTransitionShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPixelationTransitionShader.md b/docs/Set-OBSPixelationTransitionShader.md index a34c7a6e7..1055f053e 100644 --- a/docs/Set-OBSPixelationTransitionShader.md +++ b/docs/Set-OBSPixelationTransitionShader.md @@ -3,7 +3,7 @@ Get-OBSPixelationTransitionShader ### Synopsis -Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |---------|--------|--------|-------------|---------------| |`[float]`|false |0 |false |transition_time| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d14f8ee000c9e98d2bfe699783bd6cc7db7dbb67 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2880/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSPulseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSPulseShader.md b/docs/Set-OBSPulseShader.md index ccefad9b8..70dd71f14 100644 --- a/docs/Set-OBSPulseShader.md +++ b/docs/Set-OBSPulseShader.md @@ -3,7 +3,7 @@ Get-OBSPulseShader ### Synopsis -Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------| |`[float]`|false |8 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From d6fe4c803ab5357d9eb249c1922117cb8d62d117 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2881/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRainbowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRainbowShader.md b/docs/Set-OBSRainbowShader.md index 4f81a61ad..74a21a669 100644 --- a/docs/Set-OBSRainbowShader.md +++ b/docs/Set-OBSRainbowShader.md @@ -3,7 +3,7 @@ Get-OBSRainbowShader ### Synopsis -Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -120,6 +120,12 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |---------|--------|--------|-------------| |`[float]`|false |2 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From 8c971e59e3e2602dcd240da546bd6940b2a96891 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:17 +0000 Subject: [PATCH 2882/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRainWindowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRainWindowShader.md b/docs/Set-OBSRainWindowShader.md index 594e61dfd..f487aa584 100644 --- a/docs/Set-OBSRainWindowShader.md +++ b/docs/Set-OBSRainWindowShader.md @@ -3,7 +3,7 @@ Get-OBSRainWindowShader ### Synopsis -Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |---------|--------|--------|-------------|--------------| |`[float]`|false |2 |false |trail_strength| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From dd3f61558ebdc475bb3a7c109938b1e832ec7005 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2883/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRectangularDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRectangularDropShadowShader.md b/docs/Set-OBSRectangularDropShadowShader.md index dbc35ba12..db1484da1 100644 --- a/docs/Set-OBSRectangularDropShadowShader.md +++ b/docs/Set-OBSRectangularDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSRectangularDropShadowShader ### Synopsis -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2884/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSReflectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSReflectShader.md b/docs/Set-OBSReflectShader.md index aa28e81b6..081732d11 100644 --- a/docs/Set-OBSReflectShader.md +++ b/docs/Set-OBSReflectShader.md @@ -3,7 +3,7 @@ Get-OBSReflectShader ### Synopsis -Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Sour |----------|--------|--------|---------------------|-------------| |`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **Vertical** |Type |Required|Position|PipelineInput| From 6a97644a412e1a6ba1cc5e4d52f6d1b769905d5f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2885/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRemovePartialPixelsShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRemovePartialPixelsShader.md b/docs/Set-OBSRemovePartialPixelsShader.md index 4c99679ed..d87614b8e 100644 --- a/docs/Set-OBSRemovePartialPixelsShader.md +++ b/docs/Set-OBSRemovePartialPixelsShader.md @@ -3,7 +3,7 @@ Get-OBSRemovePartialPixelsShader ### Synopsis -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2886/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRepeatShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRepeatShader.md b/docs/Set-OBSRepeatShader.md index e19bd5cc4..667dae8f4 100644 --- a/docs/Set-OBSRepeatShader.md +++ b/docs/Set-OBSRepeatShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatShader ### Synopsis -Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |----------|--------|--------|---------------------|-------------| |`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 88c928c9c8e3a700a783ec2edb0665b7d13e385e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2887/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRepeatTextureShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRepeatTextureShader.md b/docs/Set-OBSRepeatTextureShader.md index 033fc3de5..0f344d854 100644 --- a/docs/Set-OBSRepeatTextureShader.md +++ b/docs/Set-OBSRepeatTextureShader.md @@ -3,7 +3,7 @@ Get-OBSRepeatTextureShader ### Synopsis -Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |----------|--------|--------|-------------|---------| |`[string]`|false |5 |false |tex_image| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 70208993b9b8ba8c7c9b8ce5f37152f184908dd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2888/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRgbColorWheelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRgbColorWheelShader.md b/docs/Set-OBSRgbColorWheelShader.md index 1152ecf46..abd506c11 100644 --- a/docs/Set-OBSRgbColorWheelShader.md +++ b/docs/Set-OBSRgbColorWheelShader.md @@ -3,7 +3,7 @@ Get-OBSRgbColorWheelShader ### Synopsis -Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 3bfb842c019ce84caf2a78b9da6d6aaa8c19e53b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2889/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRgbSplitShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRgbSplitShader.md b/docs/Set-OBSRgbSplitShader.md index 40369837c..6c35d7ee7 100644 --- a/docs/Set-OBSRgbSplitShader.md +++ b/docs/Set-OBSRgbSplitShader.md @@ -3,7 +3,7 @@ Get-OBSRgbSplitShader ### Synopsis -Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f80180e49e749dbae1862de091c431a043e5a4d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2890/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRgbvisibilityShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRgbvisibilityShader.md b/docs/Set-OBSRgbvisibilityShader.md index 39f084a41..cf30841dc 100644 --- a/docs/Set-OBSRgbvisibilityShader.md +++ b/docs/Set-OBSRgbvisibilityShader.md @@ -3,7 +3,7 @@ Get-OBSRgbvisibilityShader ### Synopsis -Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 9e21ad404e2aad92d94befcc49616cc9a3da032d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2891/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRippleShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRippleShader.md b/docs/Set-OBSRippleShader.md index 9d84e3bda..0adf52739 100644 --- a/docs/Set-OBSRippleShader.md +++ b/docs/Set-OBSRippleShader.md @@ -3,7 +3,7 @@ Get-OBSRippleShader ### Synopsis -Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |---------|--------|--------|-------------|-----------| |`[float]`|false |1 |false |time_factor| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5b38300ff2f2258c008d19e2f12149c341fc7fd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2892/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRotatingSourceShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRotatingSourceShader.md b/docs/Set-OBSRotatingSourceShader.md index d29e8cbbe..9cf331863 100644 --- a/docs/Set-OBSRotatingSourceShader.md +++ b/docs/Set-OBSRotatingSourceShader.md @@ -3,7 +3,7 @@ Get-OBSRotatingSourceShader ### Synopsis -Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom |---------|--------|--------|-------------|----------| |`[float]`|false |0 |false |spin_speed| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **XCenter** |Type |Required|Position|PipelineInput|Aliases | From 70c9705dabf4690695caf8f1795539c64e290262 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:18 +0000 Subject: [PATCH 2893/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRotatoeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRotatoeShader.md b/docs/Set-OBSRotatoeShader.md index c8edaec01..d2e1374f4 100644 --- a/docs/Set-OBSRotatoeShader.md +++ b/docs/Set-OBSRotatoeShader.md @@ -3,7 +3,7 @@ Get-OBSRotatoeShader ### Synopsis -Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |-------|--------|--------|-------------|-------------| |`[int]`|false |8 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 0adc84c6e04b5ed771bfd4e4b1302a0da27a433f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2894/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRoundedRect2Shader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRect2Shader.md b/docs/Set-OBSRoundedRect2Shader.md index d201f2819..2c520af9e 100644 --- a/docs/Set-OBSRoundedRect2Shader.md +++ b/docs/Set-OBSRoundedRect2Shader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRect2Shader ### Synopsis -Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 1a6f4220cccfa15b0923837eabe15cff61d53879 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2895/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRoundedRectPerCornerShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRectPerCornerShader.md b/docs/Set-OBSRoundedRectPerCornerShader.md index 1b2f1d1f1..f6c27a695 100644 --- a/docs/Set-OBSRoundedRectPerCornerShader.md +++ b/docs/Set-OBSRoundedRectPerCornerShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerCornerShader ### Synopsis -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d21fb221412a261b1b2345658a784a583988f765 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2896/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRoundedRectPerSideShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRectPerSideShader.md b/docs/Set-OBSRoundedRectPerSideShader.md index 609b9fd6d..9acbe4315 100644 --- a/docs/Set-OBSRoundedRectPerSideShader.md +++ b/docs/Set-OBSRoundedRectPerSideShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectPerSideShader ### Synopsis -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 5c08563fff4af73a9c23ef6f3b73fcf76e28bb96 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2897/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRoundedRectShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedRectShader.md b/docs/Set-OBSRoundedRectShader.md index bdb6d6e5f..9500c4280 100644 --- a/docs/Set-OBSRoundedRectShader.md +++ b/docs/Set-OBSRoundedRectShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedRectShader ### Synopsis -Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 9b55309fa47d40699fc57d08f6b7037321195e5f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2898/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRoundedStrokeGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedStrokeGradientShader.md b/docs/Set-OBSRoundedStrokeGradientShader.md index b51f597f9..2d331ceb9 100644 --- a/docs/Set-OBSRoundedStrokeGradientShader.md +++ b/docs/Set-OBSRoundedStrokeGradientShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeGradientShader ### Synopsis -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 889e06caa9013557fe326ecd9830cdbc16b26294 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2899/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSRoundedStrokeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSRoundedStrokeShader.md b/docs/Set-OBSRoundedStrokeShader.md index a7fa44f08..60dc2a6d0 100644 --- a/docs/Set-OBSRoundedStrokeShader.md +++ b/docs/Set-OBSRoundedStrokeShader.md @@ -3,7 +3,7 @@ Get-OBSRoundedStrokeShader ### Synopsis -Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From a42eaaa088a5e3a974f015eb918fdcc603d2840a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2900/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSScanLineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSScanLineShader.md b/docs/Set-OBSScanLineShader.md index 99fa69340..cb42a98d4 100644 --- a/docs/Set-OBSScanLineShader.md +++ b/docs/Set-OBSScanLineShader.md @@ -3,7 +3,7 @@ Get-OBSScanLineShader ### Synopsis -Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From fd9f0f5d6242755718bd81914175ac1c337f0019 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2901/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSeascapeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSeascapeShader.md b/docs/Set-OBSSeascapeShader.md index 35ec3f5c8..6c70bf96d 100644 --- a/docs/Set-OBSSeascapeShader.md +++ b/docs/Set-OBSSeascapeShader.md @@ -3,7 +3,7 @@ Get-OBSSeascapeShader ### Synopsis -Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |----------|--------|--------|---------------------|-------------| |`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 56fd3d2a23ba7d6f885b7db57e0716a2baa40f91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2902/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSeasickShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSeasickShader.md b/docs/Set-OBSSeasickShader.md index eeb8feec1..60e5d3aec 100644 --- a/docs/Set-OBSSeasickShader.md +++ b/docs/Set-OBSSeasickShader.md @@ -3,7 +3,7 @@ Get-OBSSeasickShader ### Synopsis -Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -78,6 +78,12 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2903/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSelectiveColorShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSelectiveColorShader.md b/docs/Set-OBSSelectiveColorShader.md index 7adb75f74..cda62bba4 100644 --- a/docs/Set-OBSSelectiveColorShader.md +++ b/docs/Set-OBSSelectiveColorShader.md @@ -3,7 +3,7 @@ Get-OBSSelectiveColorShader ### Synopsis -Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -114,6 +114,12 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 84afc8e10e2ee833cb36808c1c8f8821951f1d1c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:19 +0000 Subject: [PATCH 2904/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSShakeShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSShakeShader.md b/docs/Set-OBSShakeShader.md index 3525c2c3e..80d830c2e 100644 --- a/docs/Set-OBSShakeShader.md +++ b/docs/Set-OBSShakeShader.md @@ -3,7 +3,7 @@ Get-OBSShakeShader ### Synopsis -Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |---------|--------|--------|-------------| |`[float]`|false |10 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 3118453622da8413f99c037b72cdc3751db6f965 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2905/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSShineShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSShineShader.md b/docs/Set-OBSShineShader.md index caa1c9046..6a3ae88ef 100644 --- a/docs/Set-OBSShineShader.md +++ b/docs/Set-OBSShineShader.md @@ -3,7 +3,7 @@ Get-OBSShineShader ### Synopsis -Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -132,6 +132,12 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |---------|--------|--------|-------------|-----------| |`[float]`|false |7 |false |stop_adjust| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From c5df6cc6d4af5d61cfc6a5b1e81cfa7b89f8de89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2906/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSimpleGradientShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSimpleGradientShader.md b/docs/Set-OBSSimpleGradientShader.md index 25a63cc38..4590c71e3 100644 --- a/docs/Set-OBSSimpleGradientShader.md +++ b/docs/Set-OBSSimpleGradientShader.md @@ -3,7 +3,7 @@ Get-OBSSimpleGradientShader ### Synopsis -Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |-------|--------|--------|-------------|----------------| |`[int]`|false |0 |false |speed_percentage| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 50b2475f210fd193a8605a316cd753f9fee1ec77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2907/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSimplexNoiseShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSimplexNoiseShader.md b/docs/Set-OBSSimplexNoiseShader.md index bfbd588b2..4805bb13d 100644 --- a/docs/Set-OBSSimplexNoiseShader.md +++ b/docs/Set-OBSSimplexNoiseShader.md @@ -3,7 +3,7 @@ Get-OBSSimplexNoiseShader ### Synopsis -Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |----------|--------|--------|-------------|---------------| |`[switch]`|false |Named |false |Use_Alpha_Layer| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 22ef9b487a2aeee3248d0b0f732fa16f46b1caf8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2908/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSpotlightShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSpotlightShader.md b/docs/Set-OBSSpotlightShader.md index 8d7e9e009..bcc20ecf5 100644 --- a/docs/Set-OBSSpotlightShader.md +++ b/docs/Set-OBSSpotlightShader.md @@ -3,7 +3,7 @@ Get-OBSSpotlightShader ### Synopsis -Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp |----------|--------|--------|-------------|---------------| |`[string]`|false |2 |false |Spotlight_Color| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VerticalOffset** |Type |Required|Position|PipelineInput|Aliases | From 26d306a674ca9b6def0dcf47c6449362c38aa1c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2909/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSSwirlShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSSwirlShader.md b/docs/Set-OBSSwirlShader.md index 60ee51dcd..6d13602f0 100644 --- a/docs/Set-OBSSwirlShader.md +++ b/docs/Set-OBSSwirlShader.md @@ -3,7 +3,7 @@ Get-OBSSwirlShader ### Synopsis -Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -90,6 +90,12 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From d02fc44fc33fe489751de22290497678b3916baa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2910/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSThermalShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSThermalShader.md b/docs/Set-OBSThermalShader.md index fb794b67f..e4b5d9b87 100644 --- a/docs/Set-OBSThermalShader.md +++ b/docs/Set-OBSThermalShader.md @@ -3,7 +3,7 @@ Get-OBSThermalShader ### Synopsis -Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -54,6 +54,12 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From fb7819b98ed39d8ed905fc0e2e837600e74745d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2911/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSTvCrtSubpixelShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSTvCrtSubpixelShader.md b/docs/Set-OBSTvCrtSubpixelShader.md index 2c553934a..89cec03cf 100644 --- a/docs/Set-OBSTvCrtSubpixelShader.md +++ b/docs/Set-OBSTvCrtSubpixelShader.md @@ -3,7 +3,7 @@ Get-OBSTvCrtSubpixelShader ### Synopsis -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **VGap** |Type |Required|Position|PipelineInput| From aa1ea0318dc96d4efb3b23d167afcfe5d394ff23 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2912/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSTwistShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSTwistShader.md b/docs/Set-OBSTwistShader.md index ecd16bc6f..98b175533 100644 --- a/docs/Set-OBSTwistShader.md +++ b/docs/Set-OBSTwistShader.md @@ -3,7 +3,7 @@ Get-OBSTwistShader ### Synopsis -Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From f085cc598fbd6a514751a57141755665c821edd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2913/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSTwoPassDropShadowShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSTwoPassDropShadowShader.md b/docs/Set-OBSTwoPassDropShadowShader.md index d7a9c9493..dda6a0034 100644 --- a/docs/Set-OBSTwoPassDropShadowShader.md +++ b/docs/Set-OBSTwoPassDropShadowShader.md @@ -3,7 +3,7 @@ Get-OBSTwoPassDropShadowShader ### Synopsis -Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -96,6 +96,12 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |----------|--------|--------|---------------------|-------------| |`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + #### **UvOffset** |Type |Required|Position|PipelineInput|Aliases | From 01b1f67a8d8f55d53245f7e26de7bc40e886b546 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2914/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSVCRShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVCRShader.md b/docs/Set-OBSVCRShader.md index 1ee7c0520..4298e6956 100644 --- a/docs/Set-OBSVCRShader.md +++ b/docs/Set-OBSVCRShader.md @@ -3,7 +3,7 @@ Get-OBSVCRShader ### Synopsis -Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] Date: Thu, 15 Feb 2024 00:56:20 +0000 Subject: [PATCH 2915/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSVHSShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVHSShader.md b/docs/Set-OBSVHSShader.md index 771aa0102..c341f1b7f 100644 --- a/docs/Set-OBSVHSShader.md +++ b/docs/Set-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -108,6 +108,12 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |----------|--------|--------|---------------------|-------------| |`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 68a47300e59b1c85baed3fc4c93cf71e1c3024ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:21 +0000 Subject: [PATCH 2916/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSVignettingShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVignettingShader.md b/docs/Set-OBSVignettingShader.md index 35801fd34..516313fb4 100644 --- a/docs/Set-OBSVignettingShader.md +++ b/docs/Set-OBSVignettingShader.md @@ -3,7 +3,7 @@ Get-OBSVignettingShader ### Synopsis -Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -72,6 +72,12 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa |----------|--------|--------|---------------------|-------------| |`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From ab1e8235e4f8e10ab8d827b0880396eb46073e70 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:21 +0000 Subject: [PATCH 2917/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSVoronoiPixelationShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSVoronoiPixelationShader.md b/docs/Set-OBSVoronoiPixelationShader.md index 8dbb0a4ed..579397818 100644 --- a/docs/Set-OBSVoronoiPixelationShader.md +++ b/docs/Set-OBSVoronoiPixelationShader.md @@ -3,7 +3,7 @@ Get-OBSVoronoiPixelationShader ### Synopsis -Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -60,6 +60,12 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |----------|--------|--------|---------------------|-------------| |`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 689c469ce7ec8b4155cb7b9410cd6c807d4dd387 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:21 +0000 Subject: [PATCH 2918/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSZigZagShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSZigZagShader.md b/docs/Set-OBSZigZagShader.md index 18d784361..5172f3a4b 100644 --- a/docs/Set-OBSZigZagShader.md +++ b/docs/Set-OBSZigZagShader.md @@ -3,7 +3,7 @@ Get-OBSZigZagShader ### Synopsis -Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -102,6 +102,12 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |----------|--------|--------|---------------------|-------------| |`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 0a4ad9824b7823591813a6b6c0f52c465c77833a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:21 +0000 Subject: [PATCH 2919/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSZoomBlurShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSZoomBlurShader.md b/docs/Set-OBSZoomBlurShader.md index e6bb238a7..ae72bb140 100644 --- a/docs/Set-OBSZoomBlurShader.md +++ b/docs/Set-OBSZoomBlurShader.md @@ -3,7 +3,7 @@ Get-OBSZoomBlurShader ### Synopsis -Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -84,6 +84,12 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |-------|--------|--------|-------------|-------------| |`[int]`|false |2 |false |speed_percent| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From 518807ed522044ff4dff484de267f552fec3a135 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:21 +0000 Subject: [PATCH 2920/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/Set-OBSZoomShader.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Set-OBSZoomShader.md b/docs/Set-OBSZoomShader.md index 229353324..efb3ec830 100644 --- a/docs/Set-OBSZoomShader.md +++ b/docs/Set-OBSZoomShader.md @@ -3,7 +3,7 @@ Get-OBSZoomShader ### Synopsis -Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [] +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -66,6 +66,12 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |----------|--------|--------|---------------------|-------------| |`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + --- ### Inputs From baa4ce86b37ad0630501bec39d81af4958d3721e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 00:56:36 +0000 Subject: [PATCH 2921/4768] feat: Improving Shader Build ( Fixes #163 ) Adding UseShaderTime and improving [switch] behavior --- docs/obs-powershell-commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index ad0302a25..9beca619b 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 733 commands -(298 functions and 435 aliases) +obs-powershell exports 736 commands +(299 functions and 437 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -142,6 +142,7 @@ Functions |[Get-OBSRecordDirectory](Get-OBSRecordDirectory.md) |Get-OBSRecordDirectory : GetRecordDirectory | |[Get-OBSRecordStatus](Get-OBSRecordStatus.md) |Get-OBSRecordStatus : GetRecordStatus | |[Get-OBSRectangularDropShadowShader](Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSReflectShader](Get-OBSReflectShader.md) | |[Get-OBSRemovePartialPixelsShader](Get-OBSRemovePartialPixelsShader.md) | |[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | @@ -449,6 +450,7 @@ Aliases |[Get-OBSRecordDirectory](Get-OBSRecordDirectory.md) | |[Get-OBSRecordStatus](Get-OBSRecordStatus.md) | |[Get-OBSRectangularDropShadowShader](Get-OBSRectangularDropShadowShader.md) | +|[Get-OBSReflectShader](Get-OBSReflectShader.md) | |[Get-OBSRemovePartialPixelsShader](Get-OBSRemovePartialPixelsShader.md) | |[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | From 4cbbd7e46f427d771ea0782c558b0ebaf0adc4e1 Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 16:57:51 -0800 Subject: [PATCH 2922/4768] feat: RGBA Percent Shader ( Fixes #198 ) --- Shaders/RGBA_Percent.shader | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Shaders/RGBA_Percent.shader diff --git a/Shaders/RGBA_Percent.shader b/Shaders/RGBA_Percent.shader new file mode 100644 index 000000000..a4e5fa1c2 --- /dev/null +++ b/Shaders/RGBA_Percent.shader @@ -0,0 +1,49 @@ +// Simple RGBA Percent Shader +// Allows Red, Green, or Blue to be adjusted between 0-200% +// Allows Alpha to be adjusted between 0/100% +uniform float RedPercent< + string label = "Red percentage"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 200; + float step = 1.0; +> = 100; + +uniform float GreenPercent< + string label = "Green percentage"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 200; + float step = 1.0; +> = 100; + +uniform float BluePercent< + string label = "Blue percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200; + float step = 1.0; +> = 100.0; + + +uniform float AlphaPercent< + string label = "Alpha percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + + float4 imageColors = image.Sample(textureSampler, v_in.uv); + float4 adjustedColor = float4( + imageColors.r * (RedPercent * 0.01), + imageColors.g * (GreenPercent * 0.01), + imageColors.b * (BluePercent * 0.01), + imageColors.a * (AlphaPercent * 0.01) + ); + return adjustedColor; +} From fa69c5aa52a44f5b05b5b7db9377a0694923cf71 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:03:20 +0000 Subject: [PATCH 2923/4768] feat: RGBA Percent Shader ( Fixes #198 ) --- Commands/Shaders/Get-OBSRGBAPercentShader.ps1 | 199 ++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 Commands/Shaders/Get-OBSRGBAPercentShader.ps1 diff --git a/Commands/Shaders/Get-OBSRGBAPercentShader.ps1 b/Commands/Shaders/Get-OBSRGBAPercentShader.ps1 new file mode 100644 index 000000000..f22eec066 --- /dev/null +++ b/Commands/Shaders/Get-OBSRGBAPercentShader.ps1 @@ -0,0 +1,199 @@ +function Get-OBSRGBAPercentShader { + +[Alias('Set-OBSRGBAPercentShader','Add-OBSRGBAPercentShader')] +param( +# Set the RedPercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('RedPercent')] +[Single] +$RedPercent, +# Set the GreenPercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('GreenPercent')] +[Single] +$GreenPercent, +# Set the BluePercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('BluePercent')] +[Single] +$BluePercent, +# Set the AlphaPercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('AlphaPercent')] +[Single] +$AlphaPercent, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'RGBA_Percent' +$ShaderNoun = 'OBSRGBAPercentShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple RGBA Percent Shader +// Allows Red, Green, or Blue to be adjusted between 0-200% +// Allows Alpha to be adjusted between 0/100% +uniform float RedPercent< + string label = "Red percentage"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 200; + float step = 1.0; +> = 100; + +uniform float GreenPercent< + string label = "Green percentage"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 200; + float step = 1.0; +> = 100; + +uniform float BluePercent< + string label = "Blue percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200; + float step = 1.0; +> = 100.0; + + +uniform float AlphaPercent< + string label = "Alpha percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + + float4 imageColors = image.Sample(textureSampler, v_in.uv); + float4 adjustedColor = float4( + imageColors.r * (RedPercent * 0.01), + imageColors.g * (GreenPercent * 0.01), + imageColors.b * (BluePercent * 0.01), + imageColors.a * (AlphaPercent * 0.01) + ); + return adjustedColor; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 5f228b133def7a5e9a436423ee14a9caa9a46358 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:03:20 +0000 Subject: [PATCH 2924/4768] feat: RGBA Percent Shader ( Fixes #198 ) --- obs-powershell.psd1 | 1 + 1 file changed, 1 insertion(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index d02d56bd3..4bcbb303b 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -431,6 +431,7 @@ Initial Release of obs-powershell 'Get-OBSRemovePartialPixelsShader', 'Get-OBSRepeatShader', 'Get-OBSRepeatTextureShader', +'Get-OBSRGBAPercentShader', 'Get-OBSRgbColorWheelShader', 'Get-OBSRgbSplitShader', 'Get-OBSRgbvisibilityShader', From 69d1d8aaa02a152ca1b3cf6ab8c807651026e8a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:03:47 +0000 Subject: [PATCH 2925/4768] feat: RGBA Percent Shader ( Fixes #198 ) --- docs/Get-OBSRGBAPercentShader.md | 102 +++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSRGBAPercentShader.md diff --git a/docs/Get-OBSRGBAPercentShader.md b/docs/Get-OBSRGBAPercentShader.md new file mode 100644 index 000000000..d913689eb --- /dev/null +++ b/docs/Get-OBSRGBAPercentShader.md @@ -0,0 +1,102 @@ +Get-OBSRGBAPercentShader +------------------------ + +### Synopsis + +Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **BluePercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GreenPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRGBAPercentShader; CommonParameters=True; parameter=System.Object[]}} +``` From ed871fcb31e8f2846f134eab8356b0f4d357363c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:04:05 +0000 Subject: [PATCH 2926/4768] feat: RGBA Percent Shader ( Fixes #198 ) --- docs/Add-OBSRGBAPercentShader.md | 102 +++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSRGBAPercentShader.md diff --git a/docs/Add-OBSRGBAPercentShader.md b/docs/Add-OBSRGBAPercentShader.md new file mode 100644 index 000000000..d913689eb --- /dev/null +++ b/docs/Add-OBSRGBAPercentShader.md @@ -0,0 +1,102 @@ +Get-OBSRGBAPercentShader +------------------------ + +### Synopsis + +Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **BluePercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GreenPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRGBAPercentShader; CommonParameters=True; parameter=System.Object[]}} +``` From 9adff4063b9e2cb3a6f6acd40e7d74d8c7b89162 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:04:19 +0000 Subject: [PATCH 2927/4768] feat: RGBA Percent Shader ( Fixes #198 ) --- docs/Set-OBSRGBAPercentShader.md | 102 +++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSRGBAPercentShader.md diff --git a/docs/Set-OBSRGBAPercentShader.md b/docs/Set-OBSRGBAPercentShader.md new file mode 100644 index 000000000..d913689eb --- /dev/null +++ b/docs/Set-OBSRGBAPercentShader.md @@ -0,0 +1,102 @@ +Get-OBSRGBAPercentShader +------------------------ + +### Synopsis + +Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **AlphaPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **BluePercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GreenPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedPercent** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRGBAPercentShader; CommonParameters=True; parameter=System.Object[]}} +``` From c00883029803ec740519df5c31b0384422a56e8c Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 17:10:07 -0800 Subject: [PATCH 2928/4768] feat: Zoom XY Shader ( Fixes #199 ) --- Shaders/Zoom_XY.shader | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Shaders/Zoom_XY.shader diff --git a/Shaders/Zoom_XY.shader b/Shaders/Zoom_XY.shader new file mode 100644 index 000000000..36d74c7ff --- /dev/null +++ b/Shaders/Zoom_XY.shader @@ -0,0 +1,44 @@ +// Zoom XY Shader + +// A simple twist on the Zoom Shader in https://github.com/exeldro/obs-shaderfilter/ + +// The allow for an independent Horizontal and Vertical Zoom. + +uniform int center_x_percent< + string label = "center x percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float x_power< + string label = "x power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1; + +uniform float y_power< + string label = "y power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + uv.x = (v_in.uv.x - center_pos.x) * x_power + center_pos.x; + uv.y = (v_in.uv.y - center_pos.y) * y_power + center_pos.y; + return image.Sample(textureSampler, uv); +} \ No newline at end of file From b63146e89fa9e2070f9689afada612e7b6ee5e75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:15:47 +0000 Subject: [PATCH 2929/4768] feat: Zoom XY Shader ( Fixes #199 ) --- Commands/Shaders/Get-OBSZoomXYShader.ps1 | 197 +++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 Commands/Shaders/Get-OBSZoomXYShader.ps1 diff --git a/Commands/Shaders/Get-OBSZoomXYShader.ps1 b/Commands/Shaders/Get-OBSZoomXYShader.ps1 new file mode 100644 index 000000000..96b162b3a --- /dev/null +++ b/Commands/Shaders/Get-OBSZoomXYShader.ps1 @@ -0,0 +1,197 @@ +function Get-OBSZoomXYShader { + +[Alias('Set-OBSZoomXYShader','Add-OBSZoomXYShader')] +param( +# Set the center_x_percent of OBSZoomXYShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSZoomXYShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# Set the x_power of OBSZoomXYShader +[Alias('x_power')] +[ComponentModel.DefaultBindingProperty('x_power')] +[Single] +$XPower, +# Set the y_power of OBSZoomXYShader +[Alias('y_power')] +[ComponentModel.DefaultBindingProperty('y_power')] +[Single] +$YPower, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Zoom_XY' +$ShaderNoun = 'OBSZoomXYShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Zoom XY Shader + +// A simple twist on the Zoom Shader in https://github.com/exeldro/obs-shaderfilter/ + +// The allow for an independent Horizontal and Vertical Zoom. + +uniform int center_x_percent< + string label = "center x percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float x_power< + string label = "x power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1; + +uniform float y_power< + string label = "y power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + uv.x = (v_in.uv.x - center_pos.x) * x_power + center_pos.x; + uv.y = (v_in.uv.y - center_pos.y) * y_power + center_pos.y; + return image.Sample(textureSampler, uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 7743331019d4f991f49104e1640abdcf94d3e19f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:15:47 +0000 Subject: [PATCH 2930/4768] feat: Zoom XY Shader ( Fixes #199 ) --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 5e9626d61..c70c8dd02 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 736 commands -(299 functions and 437 aliases) +obs-powershell exports 739 commands +(300 functions and 439 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -147,6 +147,7 @@ Functions |[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](docs/Get-OBSReplayBufferStatus.md) |Get-OBSReplayBufferStatus : GetReplayBufferStatus | +|[Get-OBSRGBAPercentShader](docs/Get-OBSRGBAPercentShader.md) | |[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](docs/Get-OBSRgbvisibilityShader.md) | @@ -455,6 +456,7 @@ Aliases |[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](docs/Get-OBSReplayBufferStatus.md) | +|[Get-OBSRGBAPercentShader](docs/Get-OBSRGBAPercentShader.md) | |[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](docs/Get-OBSRgbvisibilityShader.md) | From d38cbfcebc745b207c7aa48ff82e22ab83418f65 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:15:47 +0000 Subject: [PATCH 2931/4768] feat: Zoom XY Shader ( Fixes #199 ) --- obs-powershell.psd1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 4bcbb303b..248a592f5 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -464,6 +464,7 @@ Initial Release of obs-powershell 'Get-OBSVoronoiPixelationShader', 'Get-OBSZigZagShader', 'Get-OBSZoomBlurShader', -'Get-OBSZoomShader' +'Get-OBSZoomShader', +'Get-OBSZoomXYShader' } From a8f32a9e59cc388cb3393b21f8992e4dc23d6c84 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:16:18 +0000 Subject: [PATCH 2932/4768] feat: Zoom XY Shader ( Fixes #199 ) --- docs/Get-OBSZoomXYShader.md | 102 ++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Get-OBSZoomXYShader.md diff --git a/docs/Get-OBSZoomXYShader.md b/docs/Get-OBSZoomXYShader.md new file mode 100644 index 000000000..371860238 --- /dev/null +++ b/docs/Get-OBSZoomXYShader.md @@ -0,0 +1,102 @@ +Get-OBSZoomXYShader +------------------- + +### Synopsis + +Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **XPower** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |x_power| + +#### **YPower** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |3 |false |y_power| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomXYShader; CommonParameters=True; parameter=System.Object[]}} +``` From c62c86148430fe74daba3b2ce6e3e46fb1667c36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:16:34 +0000 Subject: [PATCH 2933/4768] feat: Zoom XY Shader ( Fixes #199 ) --- docs/Add-OBSZoomXYShader.md | 102 ++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Add-OBSZoomXYShader.md diff --git a/docs/Add-OBSZoomXYShader.md b/docs/Add-OBSZoomXYShader.md new file mode 100644 index 000000000..371860238 --- /dev/null +++ b/docs/Add-OBSZoomXYShader.md @@ -0,0 +1,102 @@ +Get-OBSZoomXYShader +------------------- + +### Synopsis + +Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **XPower** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |x_power| + +#### **YPower** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |3 |false |y_power| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomXYShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4e3fb4dca8b19365de93b725d98686d201b2b8b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:16:48 +0000 Subject: [PATCH 2934/4768] feat: Zoom XY Shader ( Fixes #199 ) --- docs/Set-OBSZoomXYShader.md | 102 ++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/Set-OBSZoomXYShader.md diff --git a/docs/Set-OBSZoomXYShader.md b/docs/Set-OBSZoomXYShader.md new file mode 100644 index 000000000..371860238 --- /dev/null +++ b/docs/Set-OBSZoomXYShader.md @@ -0,0 +1,102 @@ +Get-OBSZoomXYShader +------------------- + +### Synopsis + +Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterXPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |center_x_percent| + +#### **CenterYPercent** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |center_y_percent| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **XPower** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |x_power| + +#### **YPower** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |3 |false |y_power| + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSZoomXYShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6cdb62799452a6870654a0031163470ecb53e441 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:17:03 +0000 Subject: [PATCH 2935/4768] feat: Zoom XY Shader ( Fixes #199 ) --- docs/obs-powershell-commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 9beca619b..3aeddba53 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 736 commands -(299 functions and 437 aliases) +obs-powershell exports 739 commands +(300 functions and 439 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -147,6 +147,7 @@ Functions |[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](Get-OBSReplayBufferStatus.md) |Get-OBSReplayBufferStatus : GetReplayBufferStatus | +|[Get-OBSRGBAPercentShader](Get-OBSRGBAPercentShader.md) | |[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](Get-OBSRgbvisibilityShader.md) | @@ -455,6 +456,7 @@ Aliases |[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | |[Get-OBSReplayBufferStatus](Get-OBSReplayBufferStatus.md) | +|[Get-OBSRGBAPercentShader](Get-OBSRGBAPercentShader.md) | |[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](Get-OBSRgbvisibilityShader.md) | From 73956356a75ab5c2f8fef12dec27c7de234cc9aa Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Wed, 14 Feb 2024 17:26:37 -0800 Subject: [PATCH 2936/4768] feat: Flip Shader ( Fixes #200 ) --- Shaders/Flip.shader | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Shaders/Flip.shader diff --git a/Shaders/Flip.shader b/Shaders/Flip.shader new file mode 100644 index 000000000..c9e92e3fa --- /dev/null +++ b/Shaders/Flip.shader @@ -0,0 +1,21 @@ +// A Simple Flip Shader + +uniform bool Horizontal< + string label = "Flip horizontally"; +> = true; +uniform bool Vertical< + string label = "Flip vertically"; +> = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + if (Horizontal == true) { + pos.x = 1 - pos.x; + } + if (Vertical == true) { + pos.y = 1 - pos.y; + } + + return image.Sample(textureSampler, pos); +} From afcf3cc5dd250f476b012304d87e29165b7df97b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:32:13 +0000 Subject: [PATCH 2937/4768] feat: Flip Shader ( Fixes #200 ) --- Commands/Shaders/Get-OBSFlipShader.ps1 | 163 +++++++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 Commands/Shaders/Get-OBSFlipShader.ps1 diff --git a/Commands/Shaders/Get-OBSFlipShader.ps1 b/Commands/Shaders/Get-OBSFlipShader.ps1 new file mode 100644 index 000000000..26860befe --- /dev/null +++ b/Commands/Shaders/Get-OBSFlipShader.ps1 @@ -0,0 +1,163 @@ +function Get-OBSFlipShader { + +[Alias('Set-OBSFlipShader','Add-OBSFlipShader')] +param( +# Set the Horizontal of OBSFlipShader +[ComponentModel.DefaultBindingProperty('Horizontal')] +[Management.Automation.SwitchParameter] +$Horizontal, +# Set the Vertical of OBSFlipShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Flip' +$ShaderNoun = 'OBSFlipShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// A Simple Flip Shader + +uniform bool Horizontal< + string label = "Flip horizontally"; +> = true; +uniform bool Vertical< + string label = "Flip vertically"; +> = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + if (Horizontal == true) { + pos.x = 1 - pos.x; + } + if (Vertical == true) { + pos.y = 1 - pos.y; + } + + return image.Sample(textureSampler, pos); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From e3335bc21fe58b30ead31baf7c34a7733f932fa1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:32:14 +0000 Subject: [PATCH 2938/4768] feat: Flip Shader ( Fixes #200 ) --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index c70c8dd02..c17796ec9 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 739 commands -(300 functions and 439 aliases) +obs-powershell exports 742 commands +(301 functions and 441 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -208,6 +208,7 @@ Functions |[Get-OBSZigZagShader](docs/Get-OBSZigZagShader.md) | |[Get-OBSZoomBlurShader](docs/Get-OBSZoomBlurShader.md) | |[Get-OBSZoomShader](docs/Get-OBSZoomShader.md) | +|[Get-OBSZoomXYShader](docs/Get-OBSZoomXYShader.md) | |[Hide-OBS](docs/Hide-OBS.md) |Hide OBS | |[Import-OBSEffect](docs/Import-OBSEffect.md) |Imports Effects | |[Open-OBSInputFiltersDialog](docs/Open-OBSInputFiltersDialog.md) |Open-OBSInputFiltersDialog : OpenInputFiltersDialog | @@ -517,6 +518,7 @@ Aliases |[Get-OBSZigZagShader](docs/Get-OBSZigZagShader.md) | |[Get-OBSZoomBlurShader](docs/Get-OBSZoomBlurShader.md) | |[Get-OBSZoomShader](docs/Get-OBSZoomShader.md) | +|[Get-OBSZoomXYShader](docs/Get-OBSZoomXYShader.md) | |[Hide-OBS](docs/Hide-OBS.md) | |[Import-OBSEffect](docs/Import-OBSEffect.md) | |[Open-OBSInputFiltersDialog](docs/Open-OBSInputFiltersDialog.md) | From 859d8f181fb5fb76808a044be97bc1b8658b2f4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:32:14 +0000 Subject: [PATCH 2939/4768] feat: Flip Shader ( Fixes #200 ) --- obs-powershell.psd1 | 1 + 1 file changed, 1 insertion(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 248a592f5..8bd15dc03 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -390,6 +390,7 @@ Initial Release of obs-powershell 'Get-OBSFireworksShader', 'Get-OBSFisheyeShader', 'Get-OBSFisheyeXyShader', +'Get-OBSFlipShader', 'Get-OBSFrostedGlassShader', 'Get-OBSGammaCorrectionShader', 'Get-OBSGaussianBlurAdvancedShader', From c9cf9bfef2819210a16bead2a61fe75f6d6095d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:32:34 +0000 Subject: [PATCH 2940/4768] feat: Flip Shader ( Fixes #200 ) --- docs/Get-OBSFlipShader.md | 90 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Get-OBSFlipShader.md diff --git a/docs/Get-OBSFlipShader.md b/docs/Get-OBSFlipShader.md new file mode 100644 index 000000000..2aa386c27 --- /dev/null +++ b/docs/Get-OBSFlipShader.md @@ -0,0 +1,90 @@ +Get-OBSFlipShader +----------------- + +### Synopsis + +Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFlipShader; CommonParameters=True; parameter=System.Object[]}} +``` From a3cbac3a00a2fb671cba28c3100b812e2b785d4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:32:56 +0000 Subject: [PATCH 2941/4768] feat: Flip Shader ( Fixes #200 ) --- docs/Add-OBSFlipShader.md | 90 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Add-OBSFlipShader.md diff --git a/docs/Add-OBSFlipShader.md b/docs/Add-OBSFlipShader.md new file mode 100644 index 000000000..2aa386c27 --- /dev/null +++ b/docs/Add-OBSFlipShader.md @@ -0,0 +1,90 @@ +Get-OBSFlipShader +----------------- + +### Synopsis + +Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFlipShader; CommonParameters=True; parameter=System.Object[]}} +``` From 554a1ac1c3e4fd14ce8676c58e6cbbe4536b1859 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:33:11 +0000 Subject: [PATCH 2942/4768] feat: Flip Shader ( Fixes #200 ) --- docs/Set-OBSFlipShader.md | 90 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 docs/Set-OBSFlipShader.md diff --git a/docs/Set-OBSFlipShader.md b/docs/Set-OBSFlipShader.md new file mode 100644 index 000000000..2aa386c27 --- /dev/null +++ b/docs/Set-OBSFlipShader.md @@ -0,0 +1,90 @@ +Get-OBSFlipShader +----------------- + +### Synopsis + +Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |1 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Horizontal** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |2 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Vertical** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFlipShader; CommonParameters=True; parameter=System.Object[]}} +``` From 28604cbe61619ceebb3b99d3ac079163327ed21f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 15 Feb 2024 01:33:30 +0000 Subject: [PATCH 2943/4768] feat: Flip Shader ( Fixes #200 ) --- docs/obs-powershell-commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 3aeddba53..06ac471f0 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 739 commands -(300 functions and 439 aliases) +obs-powershell exports 742 commands +(301 functions and 441 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -208,6 +208,7 @@ Functions |[Get-OBSZigZagShader](Get-OBSZigZagShader.md) | |[Get-OBSZoomBlurShader](Get-OBSZoomBlurShader.md) | |[Get-OBSZoomShader](Get-OBSZoomShader.md) | +|[Get-OBSZoomXYShader](Get-OBSZoomXYShader.md) | |[Hide-OBS](Hide-OBS.md) |Hide OBS | |[Import-OBSEffect](Import-OBSEffect.md) |Imports Effects | |[Open-OBSInputFiltersDialog](Open-OBSInputFiltersDialog.md) |Open-OBSInputFiltersDialog : OpenInputFiltersDialog | @@ -517,6 +518,7 @@ Aliases |[Get-OBSZigZagShader](Get-OBSZigZagShader.md) | |[Get-OBSZoomBlurShader](Get-OBSZoomBlurShader.md) | |[Get-OBSZoomShader](Get-OBSZoomShader.md) | +|[Get-OBSZoomXYShader](Get-OBSZoomXYShader.md) | |[Hide-OBS](Hide-OBS.md) | |[Import-OBSEffect](Import-OBSEffect.md) | |[Open-OBSInputFiltersDialog](Open-OBSInputFiltersDialog.md) | From cd5f34e84e63dbe8b4bd0cc9724a5f632f5cbbb1 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Fri, 18 Oct 2024 23:35:22 -0700 Subject: [PATCH 2944/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .github/workflows/build-obs-powershell.yml | 12 +++--------- .../GitHub}/Jobs/BuildOBSPowerShell.psd1 | 0 .../obs-powershell.GitHubWorkflow.PSDevOps.ps1 | 0 .../OBS.GetCurrentProgramScene.Response/ToString.ps1 | 1 + 4 files changed, 4 insertions(+), 9 deletions(-) rename {GitHub => Build/GitHub}/Jobs/BuildOBSPowerShell.psd1 (100%) rename obs-powershell.GitHubWorkflow.PSDevOps.ps1 => Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 (100%) create mode 100644 Types/OBS.GetCurrentProgramScene.Response/ToString.ps1 diff --git a/.github/workflows/build-obs-powershell.yml b/.github/workflows/build-obs-powershell.yml index 6517280a5..2b2662ecf 100644 --- a/.github/workflows/build-obs-powershell.yml +++ b/.github/workflows/build-obs-powershell.yml @@ -113,7 +113,7 @@ jobs: Install-Module -Name Pester -Repository PSGallery -Force -Scope CurrentUser -MaximumVersion $PesterMaxVersion -SkipPublisherCheck -AllowClobber Import-Module Pester -Force -PassThru -MaximumVersion $PesterMaxVersion} @Parameters - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: RunPester id: RunPester shell: pwsh @@ -170,9 +170,6 @@ jobs: $result = Invoke-Pester -PassThru -Verbose -OutputFile ".\$moduleName.TestResults.xml" -OutputFormat NUnitXml @codeCoverageParameters - "::set-output name=TotalCount::$($result.TotalCount)", - "::set-output name=PassedCount::$($result.PassedCount)", - "::set-output name=FailedCount::$($result.FailedCount)" | Out-Host if ($result.FailedCount -gt 0) { "::debug:: $($result.FailedCount) tests failed" foreach ($r in $result.TestResult) { @@ -184,7 +181,7 @@ jobs: } } @Parameters - name: PublishTestResults - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: PesterResults path: '**.TestResults.xml' @@ -578,11 +575,8 @@ jobs: - name: Use PSSVG Action uses: StartAutomating/PSSVG@main id: PSSVG - - name: PipeScript + - name: BuildPipeScript uses: StartAutomating/PipeScript@main - id: PipeScript - with: - serial: true - name: UseEZOut uses: StartAutomating/EZOut@master - name: Use GitPub Action diff --git a/GitHub/Jobs/BuildOBSPowerShell.psd1 b/Build/GitHub/Jobs/BuildOBSPowerShell.psd1 similarity index 100% rename from GitHub/Jobs/BuildOBSPowerShell.psd1 rename to Build/GitHub/Jobs/BuildOBSPowerShell.psd1 diff --git a/obs-powershell.GitHubWorkflow.PSDevOps.ps1 b/Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 similarity index 100% rename from obs-powershell.GitHubWorkflow.PSDevOps.ps1 rename to Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 diff --git a/Types/OBS.GetCurrentProgramScene.Response/ToString.ps1 b/Types/OBS.GetCurrentProgramScene.Response/ToString.ps1 new file mode 100644 index 000000000..d5515a80e --- /dev/null +++ b/Types/OBS.GetCurrentProgramScene.Response/ToString.ps1 @@ -0,0 +1 @@ +$this.currentProgramSceneName \ No newline at end of file From a3d3e23a7d2f56ed2611c8923855507851105154 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:44 +0000 Subject: [PATCH 2945/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- en-us/obs-powershell-commands.help.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index c17796ec9..27587517a 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 742 commands -(301 functions and 441 aliases) +obs-powershell exports 745 commands +(302 functions and 443 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -80,6 +80,7 @@ Functions |[Get-OBSFireworksShader](docs/Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](docs/Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](docs/Get-OBSFisheyeXyShader.md) | +|[Get-OBSFlipShader](docs/Get-OBSFlipShader.md) | |[Get-OBSFrostedGlassShader](docs/Get-OBSFrostedGlassShader.md) | |[Get-OBSGammaCorrectionShader](docs/Get-OBSGammaCorrectionShader.md) | |[Get-OBSGaussianBlurAdvancedShader](docs/Get-OBSGaussianBlurAdvancedShader.md) | @@ -390,6 +391,7 @@ Aliases |[Get-OBSFireworksShader](docs/Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](docs/Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](docs/Get-OBSFisheyeXyShader.md) | +|[Get-OBSFlipShader](docs/Get-OBSFlipShader.md) | |[Get-OBSFrostedGlassShader](docs/Get-OBSFrostedGlassShader.md) | |[Get-OBSGammaCorrectionShader](docs/Get-OBSGammaCorrectionShader.md) | |[Get-OBSGaussianBlurAdvancedShader](docs/Get-OBSGaussianBlurAdvancedShader.md) | From 385e5a8822c895b76d291104dd39ac1201fbc4d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:44 +0000 Subject: [PATCH 2946/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- obs-powershell.psd1 | 52 ++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 8bd15dc03..77d8ea619 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -315,31 +315,6 @@ Initial Release of obs-powershell 'Switch-OBSReplayBuffer', 'Switch-OBSStream', 'Switch-OBSVirtualCam', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter', -'Get-OBSEffect', -'Import-OBSEffect', -'Remove-OBSEffect', -'Start-OBSEffect', -'Stop-OBSEffect', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSoundCloudSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource', 'Get-OBSAddShader', 'Get-OBSAlphaBorderShader', 'Get-OBSAlphaGamingBentCameraShader', @@ -466,6 +441,31 @@ Initial Release of obs-powershell 'Get-OBSZigZagShader', 'Get-OBSZoomBlurShader', 'Get-OBSZoomShader', -'Get-OBSZoomXYShader' +'Get-OBSZoomXYShader', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSoundCloudSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource', +'Get-OBSEffect', +'Import-OBSEffect', +'Remove-OBSEffect', +'Start-OBSEffect', +'Stop-OBSEffect', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter' } From 35a4d45ce7b4bf74def087405b3a2b4400d93952 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:48 +0000 Subject: [PATCH 2947/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- obs-powershell.format.ps1xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-powershell.format.ps1xml b/obs-powershell.format.ps1xml index 70c902338..8d1bfeae5 100644 --- a/obs-powershell.format.ps1xml +++ b/obs-powershell.format.ps1xml @@ -1,5 +1,5 @@ - + From cfb218588738372d229ff2203fbf52dd875ddd91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:48 +0000 Subject: [PATCH 2948/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- obs-powershell.types.ps1xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/obs-powershell.types.ps1xml b/obs-powershell.types.ps1xml index febb5a2f1..a472d0edb 100644 --- a/obs-powershell.types.ps1xml +++ b/obs-powershell.types.ps1xml @@ -1,5 +1,5 @@ - + OBS.Beat @@ -591,6 +591,17 @@ $this |
+ + OBS.GetCurrentProgramScene.Response + + + ToString + + + + OBS.GetInputList.Response From 058aebec6477fec6a1af115593170482671ca0d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:58 +0000 Subject: [PATCH 2949/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSInput.json | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSInput.json diff --git a/docs/_data/Help/Add-OBSInput.json b/docs/_data/Help/Add-OBSInput.json new file mode 100644 index 000000000..8da924e11 --- /dev/null +++ b/docs/_data/Help/Add-OBSInput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSInput : CreateInput", + "Description": "Creates a new input, adding it as a scene item to the specified scene.\n\n\nAdd-OBSInput calls the OBS WebSocket with a request of type CreateInput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createinput" + ], + "Examples": [] +} \ No newline at end of file From 62d9b921712d4ff1b3e0d244ae88da913eaf5811 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:58 +0000 Subject: [PATCH 2950/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSProfile.json | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSProfile.json diff --git a/docs/_data/Help/Add-OBSProfile.json b/docs/_data/Help/Add-OBSProfile.json new file mode 100644 index 000000000..ba931c320 --- /dev/null +++ b/docs/_data/Help/Add-OBSProfile.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSProfile : CreateProfile", + "Description": "Creates a new profile, switching to it in the process\n\n\nAdd-OBSProfile calls the OBS WebSocket with a request of type CreateProfile.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createprofile" + ], + "Examples": [] +} \ No newline at end of file From b81fd1a5b88934b9cb56cc7ec02d2e0183307986 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:58 +0000 Subject: [PATCH 2951/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSScene.json | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSScene.json diff --git a/docs/_data/Help/Add-OBSScene.json b/docs/_data/Help/Add-OBSScene.json new file mode 100644 index 000000000..18fd556b0 --- /dev/null +++ b/docs/_data/Help/Add-OBSScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSScene : CreateScene", + "Description": "Creates a new scene in OBS.\n\n\nAdd-OBSScene calls the OBS WebSocket with a request of type CreateScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscene" + ], + "Examples": [] +} \ No newline at end of file From 80010a09c01880834c25b75b3bb6e931d3c95465 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:59 +0000 Subject: [PATCH 2952/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSceneCollection.json | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSceneCollection.json diff --git a/docs/_data/Help/Add-OBSSceneCollection.json b/docs/_data/Help/Add-OBSSceneCollection.json new file mode 100644 index 000000000..b7e0b3348 --- /dev/null +++ b/docs/_data/Help/Add-OBSSceneCollection.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSceneCollection : CreateSceneCollection", + "Description": "Creates a new scene collection, switching to it in the process.\n\nNote: This will block until the collection has finished changing.\n\n\nAdd-OBSSceneCollection calls the OBS WebSocket with a request of type CreateSceneCollection.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscenecollection" + ], + "Examples": [] +} \ No newline at end of file From 99c6b591d5737ae02e76eec466532e58ceba43c1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:59 +0000 Subject: [PATCH 2953/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSceneItem.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSceneItem.json diff --git a/docs/_data/Help/Add-OBSSceneItem.json b/docs/_data/Help/Add-OBSSceneItem.json new file mode 100644 index 000000000..449e42cd0 --- /dev/null +++ b/docs/_data/Help/Add-OBSSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSceneItem : CreateSceneItem", + "Description": "Creates a new scene item using a source.\n\nScenes only\n\n\nAdd-OBSSceneItem calls the OBS WebSocket with a request of type CreateSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsceneitem" + ], + "Examples": [] +} \ No newline at end of file From 21a7ba8df70ce583d284a1ae77d9a698a2fc9d5a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:59 +0000 Subject: [PATCH 2954/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSourceFilter.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSourceFilter.json diff --git a/docs/_data/Help/Add-OBSSourceFilter.json b/docs/_data/Help/Add-OBSSourceFilter.json new file mode 100644 index 000000000..deb82ea07 --- /dev/null +++ b/docs/_data/Help/Add-OBSSourceFilter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSourceFilter : CreateSourceFilter", + "Description": "Creates a new filter, adding it to the specified source.\n\n\nAdd-OBSSourceFilter calls the OBS WebSocket with a request of type CreateSourceFilter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsourcefilter" + ], + "Examples": [] +} \ No newline at end of file From 789a086a67bbd9c58ccf3e936fb5ba25fb4eceac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:37:59 +0000 Subject: [PATCH 2955/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Clear-OBSScene.json | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Clear-OBSScene.json diff --git a/docs/_data/Help/Clear-OBSScene.json b/docs/_data/Help/Clear-OBSScene.json new file mode 100644 index 000000000..a7f77643d --- /dev/null +++ b/docs/_data/Help/Clear-OBSScene.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Clears a Scene in OBS", + "Description": "Clears a Scene in OBS.\n\nAll inputs will be removed from the scene.\n\nThis cannot be undone, so you will be prompted for confirmation.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Clear-OBSScene -SceneName Scene" + } + ] +} \ No newline at end of file From 0cb9d6968864f25c6b842b630706aba95797c8f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:00 +0000 Subject: [PATCH 2956/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Connect-OBS.json | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Connect-OBS.json diff --git a/docs/_data/Help/Connect-OBS.json b/docs/_data/Help/Connect-OBS.json new file mode 100644 index 000000000..4bad9c93e --- /dev/null +++ b/docs/_data/Help/Connect-OBS.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Connects to Open Broadcast Studio", + "Description": "Connects to the obs-websocket.\n\nThis must occur at least once to use obs-powershell.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Connect-OBS" + } + ] +} \ No newline at end of file From 6691f6e5c67587e770d8659279019ebeb798bc26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:00 +0000 Subject: [PATCH 2957/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Copy-OBSSceneItem.json | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Copy-OBSSceneItem.json diff --git a/docs/_data/Help/Copy-OBSSceneItem.json b/docs/_data/Help/Copy-OBSSceneItem.json new file mode 100644 index 000000000..f7eef3b83 --- /dev/null +++ b/docs/_data/Help/Copy-OBSSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Copy-OBSSceneItem : DuplicateSceneItem", + "Description": "Duplicates a scene item, copying all transform and crop info.\n\nScenes only\n\n\nCopy-OBSSceneItem calls the OBS WebSocket with a request of type DuplicateSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#duplicatesceneitem" + ], + "Examples": [] +} \ No newline at end of file From c86041d89148d81932aeda04d84407d48d8fc876 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:00 +0000 Subject: [PATCH 2958/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Disconnect-OBS.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Disconnect-OBS.json diff --git a/docs/_data/Help/Disconnect-OBS.json b/docs/_data/Help/Disconnect-OBS.json new file mode 100644 index 000000000..7a19402e5 --- /dev/null +++ b/docs/_data/Help/Disconnect-OBS.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Disconnects OBS", + "Description": "Disconnects Websockets from OBS.\n\nAll websockets will be disconnected.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Disconnect-OBS" + } + ] +} \ No newline at end of file From 7f952225dfde154ba0fabbcae388186dd0053530 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:00 +0000 Subject: [PATCH 2959/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBS.json | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Get-OBS.json diff --git a/docs/_data/Help/Get-OBS.json b/docs/_data/Help/Get-OBS.json new file mode 100644 index 000000000..bd9f55c27 --- /dev/null +++ b/docs/_data/Help/Get-OBS.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Gets OBS", + "Description": "Outputs OBS connection information and state.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBS" + } + ] +} \ No newline at end of file From 54477443ec93c0ea6330b2c916840396be982391 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:00 +0000 Subject: [PATCH 2960/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSAddShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAddShader.json diff --git a/docs/_data/Help/Get-OBSAddShader.json b/docs/_data/Help/Get-OBSAddShader.json new file mode 100644 index 000000000..705b8a877 --- /dev/null +++ b/docs/_data/Help/Get-OBSAddShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c7e8ebf926657c86a90699d272bca001a461d0b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:01 +0000 Subject: [PATCH 2961/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSAlphaBorderShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAlphaBorderShader.json diff --git a/docs/_data/Help/Get-OBSAlphaBorderShader.json b/docs/_data/Help/Get-OBSAlphaBorderShader.json new file mode 100644 index 000000000..a1a1e027f --- /dev/null +++ b/docs/_data/Help/Get-OBSAlphaBorderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e6bcc3d6f827e164a49db9ea959685eb130197c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:01 +0000 Subject: [PATCH 2962/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSAlphaGamingBentCameraShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json diff --git a/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json b/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json new file mode 100644 index 000000000..d0540bf7b --- /dev/null +++ b/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1997f4d587d275b84b276d961911f6a11a67b8ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:01 +0000 Subject: [PATCH 2963/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSAnimatedPathShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAnimatedPathShader.json diff --git a/docs/_data/Help/Get-OBSAnimatedPathShader.json b/docs/_data/Help/Get-OBSAnimatedPathShader.json new file mode 100644 index 000000000..e880f077f --- /dev/null +++ b/docs/_data/Help/Get-OBSAnimatedPathShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From be2f9ed6e0d00290cb588d48267fe954b9d318cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:01 +0000 Subject: [PATCH 2964/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSAnimatedTextureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAnimatedTextureShader.json diff --git a/docs/_data/Help/Get-OBSAnimatedTextureShader.json b/docs/_data/Help/Get-OBSAnimatedTextureShader.json new file mode 100644 index 000000000..b0e5f975f --- /dev/null +++ b/docs/_data/Help/Get-OBSAnimatedTextureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5df9881ede20902b37bb17c36d6de9f874ca4df4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:01 +0000 Subject: [PATCH 2965/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSAsciiShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAsciiShader.json diff --git a/docs/_data/Help/Get-OBSAsciiShader.json b/docs/_data/Help/Get-OBSAsciiShader.json new file mode 100644 index 000000000..4d6d14224 --- /dev/null +++ b/docs/_data/Help/Get-OBSAsciiShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 13d7bc04cf205706bde2a580322e01dfe85c7cd8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:02 +0000 Subject: [PATCH 2966/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSAspectRatioShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAspectRatioShader.json diff --git a/docs/_data/Help/Get-OBSAspectRatioShader.json b/docs/_data/Help/Get-OBSAspectRatioShader.json new file mode 100644 index 000000000..fd3cf291f --- /dev/null +++ b/docs/_data/Help/Get-OBSAspectRatioShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ecc2a8517039d3447fa9e48fbbdda1302aa78504 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:02 +0000 Subject: [PATCH 2967/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSBackgroundRemovalShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBackgroundRemovalShader.json diff --git a/docs/_data/Help/Get-OBSBackgroundRemovalShader.json b/docs/_data/Help/Get-OBSBackgroundRemovalShader.json new file mode 100644 index 000000000..205be77d5 --- /dev/null +++ b/docs/_data/Help/Get-OBSBackgroundRemovalShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5c780d86446d008847cc17d70e17296ae22e57fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:02 +0000 Subject: [PATCH 2968/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSBlendOpacityShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBlendOpacityShader.json diff --git a/docs/_data/Help/Get-OBSBlendOpacityShader.json b/docs/_data/Help/Get-OBSBlendOpacityShader.json new file mode 100644 index 000000000..7bbf047ed --- /dev/null +++ b/docs/_data/Help/Get-OBSBlendOpacityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bd4a482d4656582e273ee73de35677068b3fd237 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:02 +0000 Subject: [PATCH 2969/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBlinkShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBlinkShader.json diff --git a/docs/_data/Help/Get-OBSBlinkShader.json b/docs/_data/Help/Get-OBSBlinkShader.json new file mode 100644 index 000000000..2973e5079 --- /dev/null +++ b/docs/_data/Help/Get-OBSBlinkShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1954065c1c87787dcce83f0b029b5b0aa455a9cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:03 +0000 Subject: [PATCH 2970/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBloomShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBloomShader.json diff --git a/docs/_data/Help/Get-OBSBloomShader.json b/docs/_data/Help/Get-OBSBloomShader.json new file mode 100644 index 000000000..b705909c3 --- /dev/null +++ b/docs/_data/Help/Get-OBSBloomShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c3fe2b5c926401d35a87b609e1ccbfe5021437d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:03 +0000 Subject: [PATCH 2971/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBorderShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBorderShader.json diff --git a/docs/_data/Help/Get-OBSBorderShader.json b/docs/_data/Help/Get-OBSBorderShader.json new file mode 100644 index 000000000..868dca86d --- /dev/null +++ b/docs/_data/Help/Get-OBSBorderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 97a5eabe790eb99b1988b5dbfe347a074457b30a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:03 +0000 Subject: [PATCH 2972/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBoxBlurShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBoxBlurShader.json diff --git a/docs/_data/Help/Get-OBSBoxBlurShader.json b/docs/_data/Help/Get-OBSBoxBlurShader.json new file mode 100644 index 000000000..e4f7d736f --- /dev/null +++ b/docs/_data/Help/Get-OBSBoxBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 58e526fa9b0764d0503a859e0d3454904ac42074 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:03 +0000 Subject: [PATCH 2973/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBulgePinchShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBulgePinchShader.json diff --git a/docs/_data/Help/Get-OBSBulgePinchShader.json b/docs/_data/Help/Get-OBSBulgePinchShader.json new file mode 100644 index 000000000..7ee877a41 --- /dev/null +++ b/docs/_data/Help/Get-OBSBulgePinchShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 307a178abbd2d6191445533fbe60a8614b7797bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:03 +0000 Subject: [PATCH 2974/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBurnShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBurnShader.json diff --git a/docs/_data/Help/Get-OBSBurnShader.json b/docs/_data/Help/Get-OBSBurnShader.json new file mode 100644 index 000000000..0e5ad04b6 --- /dev/null +++ b/docs/_data/Help/Get-OBSBurnShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c7fa9bd750150f7dbad45ac1e66f4fbd36148871 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:04 +0000 Subject: [PATCH 2975/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSCartoonShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCartoonShader.json diff --git a/docs/_data/Help/Get-OBSCartoonShader.json b/docs/_data/Help/Get-OBSCartoonShader.json new file mode 100644 index 000000000..38965ebad --- /dev/null +++ b/docs/_data/Help/Get-OBSCartoonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 080387fb720c6a2936a0de1dabb8369c257a343f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:04 +0000 Subject: [PATCH 2976/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSCellShadedShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCellShadedShader.json diff --git a/docs/_data/Help/Get-OBSCellShadedShader.json b/docs/_data/Help/Get-OBSCellShadedShader.json new file mode 100644 index 000000000..3d50c192f --- /dev/null +++ b/docs/_data/Help/Get-OBSCellShadedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 85aeede8a1c026e69bbc63a1893422279194c1d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:04 +0000 Subject: [PATCH 2977/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSChromaticAberrationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSChromaticAberrationShader.json diff --git a/docs/_data/Help/Get-OBSChromaticAberrationShader.json b/docs/_data/Help/Get-OBSChromaticAberrationShader.json new file mode 100644 index 000000000..daa15776e --- /dev/null +++ b/docs/_data/Help/Get-OBSChromaticAberrationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 26141105dd54790681c72252f4ef1da2747840eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:04 +0000 Subject: [PATCH 2978/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSChromaUVDistortionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSChromaUVDistortionShader.json diff --git a/docs/_data/Help/Get-OBSChromaUVDistortionShader.json b/docs/_data/Help/Get-OBSChromaUVDistortionShader.json new file mode 100644 index 000000000..66e162085 --- /dev/null +++ b/docs/_data/Help/Get-OBSChromaUVDistortionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 09bf8bf525475e95ce5b920174ca6ca1a50baaba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:04 +0000 Subject: [PATCH 2979/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSCircleMaskFilterShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCircleMaskFilterShader.json diff --git a/docs/_data/Help/Get-OBSCircleMaskFilterShader.json b/docs/_data/Help/Get-OBSCircleMaskFilterShader.json new file mode 100644 index 000000000..50ea58fd9 --- /dev/null +++ b/docs/_data/Help/Get-OBSCircleMaskFilterShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1bd06d465ef9e4d2fb1de092b38785fea5a8dcee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:05 +0000 Subject: [PATCH 2980/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSColorDepthShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSColorDepthShader.json diff --git a/docs/_data/Help/Get-OBSColorDepthShader.json b/docs/_data/Help/Get-OBSColorDepthShader.json new file mode 100644 index 000000000..571d37737 --- /dev/null +++ b/docs/_data/Help/Get-OBSColorDepthShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0a4b57cf70b516de4c627cba75d962967437c610 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:05 +0000 Subject: [PATCH 2981/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSColorGradeFilterShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSColorGradeFilterShader.json diff --git a/docs/_data/Help/Get-OBSColorGradeFilterShader.json b/docs/_data/Help/Get-OBSColorGradeFilterShader.json new file mode 100644 index 000000000..12b6a9177 --- /dev/null +++ b/docs/_data/Help/Get-OBSColorGradeFilterShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6bc2b7cecb8f82715a419981c678da7d6ccbf103 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:05 +0000 Subject: [PATCH 2982/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSCornerPinShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCornerPinShader.json diff --git a/docs/_data/Help/Get-OBSCornerPinShader.json b/docs/_data/Help/Get-OBSCornerPinShader.json new file mode 100644 index 000000000..d5d734e67 --- /dev/null +++ b/docs/_data/Help/Get-OBSCornerPinShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3bbb8451795152ea7ea6f6422e46846503f47f2e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:05 +0000 Subject: [PATCH 2983/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSCrtCurvatureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCrtCurvatureShader.json diff --git a/docs/_data/Help/Get-OBSCrtCurvatureShader.json b/docs/_data/Help/Get-OBSCrtCurvatureShader.json new file mode 100644 index 000000000..727f5e96c --- /dev/null +++ b/docs/_data/Help/Get-OBSCrtCurvatureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 909422df0a95bbc909d3c3128390e6aacd8e88cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:06 +0000 Subject: [PATCH 2984/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSCurrentPreviewScene.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCurrentPreviewScene.json diff --git a/docs/_data/Help/Get-OBSCurrentPreviewScene.json b/docs/_data/Help/Get-OBSCurrentPreviewScene.json new file mode 100644 index 000000000..b43b28342 --- /dev/null +++ b/docs/_data/Help/Get-OBSCurrentPreviewScene.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentPreviewScene : GetCurrentPreviewScene", + "Description": "Gets the current preview scene.\n\nOnly available when studio mode is enabled.\n\nNote: This request is slated to have the `currentPreview`-prefixed fields removed from in an upcoming RPC version.\n\n\nGet-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type GetCurrentPreviewScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentpreviewscene" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentPreviewScene" + } + ] +} \ No newline at end of file From 6eed601b2baefd29bd76ee1cefc540ec4d6bef6f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:06 +0000 Subject: [PATCH 2985/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSCurrentProgramScene.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCurrentProgramScene.json diff --git a/docs/_data/Help/Get-OBSCurrentProgramScene.json b/docs/_data/Help/Get-OBSCurrentProgramScene.json new file mode 100644 index 000000000..94add3940 --- /dev/null +++ b/docs/_data/Help/Get-OBSCurrentProgramScene.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentProgramScene : GetCurrentProgramScene", + "Description": "Gets the current program scene.\n\nNote: This request is slated to have the `currentProgram`-prefixed fields removed from in an upcoming RPC version.\n\n\nGet-OBSCurrentProgramScene calls the OBS WebSocket with a request of type GetCurrentProgramScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentprogramscene" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentProgramScene" + } + ] +} \ No newline at end of file From 35fe9d67725f06d9173d6853d16fdeb2a832debc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:06 +0000 Subject: [PATCH 2986/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSCurrentSceneTransition.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCurrentSceneTransition.json diff --git a/docs/_data/Help/Get-OBSCurrentSceneTransition.json b/docs/_data/Help/Get-OBSCurrentSceneTransition.json new file mode 100644 index 000000000..e48a69c6a --- /dev/null +++ b/docs/_data/Help/Get-OBSCurrentSceneTransition.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentSceneTransition : GetCurrentSceneTransition", + "Description": "Gets information about the current scene transition.\n\n\nGet-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type GetCurrentSceneTransition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransition" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentSceneTransition" + } + ] +} \ No newline at end of file From e83f92363d0d459ff029aa902c4bc3cdfc3f0691 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:06 +0000 Subject: [PATCH 2987/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSCurrentSceneTransitionCursor.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCurrentSceneTransitionCursor.json diff --git a/docs/_data/Help/Get-OBSCurrentSceneTransitionCursor.json b/docs/_data/Help/Get-OBSCurrentSceneTransitionCursor.json new file mode 100644 index 000000000..fe3160b45 --- /dev/null +++ b/docs/_data/Help/Get-OBSCurrentSceneTransitionCursor.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor", + "Description": "Gets the cursor position of the current scene transition.\n\nNote: `transitionCursor` will return 1.0 when the transition is inactive.\n\n\nGet-OBSCurrentSceneTransitionCursor calls the OBS WebSocket with a request of type GetCurrentSceneTransitionCursor.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransitioncursor" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentSceneTransitionCursor" + } + ] +} \ No newline at end of file From 8084fd99ef0c1ace8ae47ac678c8ed77a240a289 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:06 +0000 Subject: [PATCH 2988/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSCutRectPerCornerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCutRectPerCornerShader.json diff --git a/docs/_data/Help/Get-OBSCutRectPerCornerShader.json b/docs/_data/Help/Get-OBSCutRectPerCornerShader.json new file mode 100644 index 000000000..38453760e --- /dev/null +++ b/docs/_data/Help/Get-OBSCutRectPerCornerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0e0c2e8c768a2a66ddfcc304defd1f7bd01f1d1a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:06 +0000 Subject: [PATCH 2989/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSCylinderShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCylinderShader.json diff --git a/docs/_data/Help/Get-OBSCylinderShader.json b/docs/_data/Help/Get-OBSCylinderShader.json new file mode 100644 index 000000000..6f6a0f013 --- /dev/null +++ b/docs/_data/Help/Get-OBSCylinderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7b939c3dda101553321cb19ce9a801291b386066 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:07 +0000 Subject: [PATCH 2990/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSDarkenShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDarkenShader.json diff --git a/docs/_data/Help/Get-OBSDarkenShader.json b/docs/_data/Help/Get-OBSDarkenShader.json new file mode 100644 index 000000000..73897b41b --- /dev/null +++ b/docs/_data/Help/Get-OBSDarkenShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f4f62dae08c90ac5de5aaa45e6a6900362070b4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:07 +0000 Subject: [PATCH 2991/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSDeadPixelFixerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDeadPixelFixerShader.json diff --git a/docs/_data/Help/Get-OBSDeadPixelFixerShader.json b/docs/_data/Help/Get-OBSDeadPixelFixerShader.json new file mode 100644 index 000000000..aa2307b6c --- /dev/null +++ b/docs/_data/Help/Get-OBSDeadPixelFixerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ac36e7777079051d9cde695d4af19d96e88f2619 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:07 +0000 Subject: [PATCH 2992/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSDivideRotateShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDivideRotateShader.json diff --git a/docs/_data/Help/Get-OBSDivideRotateShader.json b/docs/_data/Help/Get-OBSDivideRotateShader.json new file mode 100644 index 000000000..9f95b286b --- /dev/null +++ b/docs/_data/Help/Get-OBSDivideRotateShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From cf8aa3a1800fa748598a978ab6a20d021e4e9970 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:07 +0000 Subject: [PATCH 2993/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSDoodleShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDoodleShader.json diff --git a/docs/_data/Help/Get-OBSDoodleShader.json b/docs/_data/Help/Get-OBSDoodleShader.json new file mode 100644 index 000000000..769adca77 --- /dev/null +++ b/docs/_data/Help/Get-OBSDoodleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c8de009d4804e37f9794dc1d003226cc2e2aaa81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:08 +0000 Subject: [PATCH 2994/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSDrawingsShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDrawingsShader.json diff --git a/docs/_data/Help/Get-OBSDrawingsShader.json b/docs/_data/Help/Get-OBSDrawingsShader.json new file mode 100644 index 000000000..48d75446d --- /dev/null +++ b/docs/_data/Help/Get-OBSDrawingsShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a99093a25d6add8fda9594873318246180ee60e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:08 +0000 Subject: [PATCH 2995/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSDropShadowShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDropShadowShader.json diff --git a/docs/_data/Help/Get-OBSDropShadowShader.json b/docs/_data/Help/Get-OBSDropShadowShader.json new file mode 100644 index 000000000..2cdff2899 --- /dev/null +++ b/docs/_data/Help/Get-OBSDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4ba22a65f4397cefbf7dac8e421223a131aea338 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:08 +0000 Subject: [PATCH 2996/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSDrunkShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDrunkShader.json diff --git a/docs/_data/Help/Get-OBSDrunkShader.json b/docs/_data/Help/Get-OBSDrunkShader.json new file mode 100644 index 000000000..3188fb20b --- /dev/null +++ b/docs/_data/Help/Get-OBSDrunkShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e9f341cf72c5f535ee64879fef19aaed19397ced Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:08 +0000 Subject: [PATCH 2997/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSDynamicMaskShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDynamicMaskShader.json diff --git a/docs/_data/Help/Get-OBSDynamicMaskShader.json b/docs/_data/Help/Get-OBSDynamicMaskShader.json new file mode 100644 index 000000000..e9ad5017c --- /dev/null +++ b/docs/_data/Help/Get-OBSDynamicMaskShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8c237cdcd68ebb2e63cf7c4020ef518c688965dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:08 +0000 Subject: [PATCH 2998/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSEdgeDetectionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSEdgeDetectionShader.json diff --git a/docs/_data/Help/Get-OBSEdgeDetectionShader.json b/docs/_data/Help/Get-OBSEdgeDetectionShader.json new file mode 100644 index 000000000..9b494b357 --- /dev/null +++ b/docs/_data/Help/Get-OBSEdgeDetectionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5c679786360e52e9c6ff57d72e25648b8261ed4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:09 +0000 Subject: [PATCH 2999/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSEffect.json | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/_data/Help/Get-OBSEffect.json diff --git a/docs/_data/Help/Get-OBSEffect.json b/docs/_data/Help/Get-OBSEffect.json new file mode 100644 index 000000000..051d47359 --- /dev/null +++ b/docs/_data/Help/Get-OBSEffect.json @@ -0,0 +1,36 @@ +{ + "Synopsis": "Gets OBS Effects", + "Description": "Gets effects currently loaded into OBS-PowerShell.\n\nAn effect can be thought of as a name with a series of messages to OBS.\n\nThose messages can be defined in a .json file or a script, in any module that tags OBS.\n\nThey can also be defined in a function or script named like:\n\n* `*.OBS.FX.*`\n* `*.OBS.Effect.*`\n* `*.OBS.Effects.*`", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [] +} \ No newline at end of file From 799497d12e28c402e8aebbc1ee9c41ccf94695a6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:09 +0000 Subject: [PATCH 3000/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSEmbersShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSEmbersShader.json diff --git a/docs/_data/Help/Get-OBSEmbersShader.json b/docs/_data/Help/Get-OBSEmbersShader.json new file mode 100644 index 000000000..38e75a1fe --- /dev/null +++ b/docs/_data/Help/Get-OBSEmbersShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3d4c4b1508050df9429b4251a4dfac11397acfc9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:09 +0000 Subject: [PATCH 3001/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSEmbossColorShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSEmbossColorShader.json diff --git a/docs/_data/Help/Get-OBSEmbossColorShader.json b/docs/_data/Help/Get-OBSEmbossColorShader.json new file mode 100644 index 000000000..88e8cc70a --- /dev/null +++ b/docs/_data/Help/Get-OBSEmbossColorShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1df50623fa52102c7d55f8bcf9824a87e3381045 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:09 +0000 Subject: [PATCH 3002/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSEmbossShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSEmbossShader.json diff --git a/docs/_data/Help/Get-OBSEmbossShader.json b/docs/_data/Help/Get-OBSEmbossShader.json new file mode 100644 index 000000000..1a159dbbb --- /dev/null +++ b/docs/_data/Help/Get-OBSEmbossShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 267103a3f986f1096d39324bf386392599a160fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:09 +0000 Subject: [PATCH 3003/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSExeldroBentCameraShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSExeldroBentCameraShader.json diff --git a/docs/_data/Help/Get-OBSExeldroBentCameraShader.json b/docs/_data/Help/Get-OBSExeldroBentCameraShader.json new file mode 100644 index 000000000..f7017ef5b --- /dev/null +++ b/docs/_data/Help/Get-OBSExeldroBentCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From eeea8cda850ea17bac7b08097e82177f367fdfcd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:10 +0000 Subject: [PATCH 3004/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSFadeTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFadeTransitionShader.json diff --git a/docs/_data/Help/Get-OBSFadeTransitionShader.json b/docs/_data/Help/Get-OBSFadeTransitionShader.json new file mode 100644 index 000000000..d14e4ca63 --- /dev/null +++ b/docs/_data/Help/Get-OBSFadeTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4a09a5c5aa169f28a517c9a782e7bf1ad8f7ed21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:10 +0000 Subject: [PATCH 3005/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSFillColorGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFillColorGradientShader.json diff --git a/docs/_data/Help/Get-OBSFillColorGradientShader.json b/docs/_data/Help/Get-OBSFillColorGradientShader.json new file mode 100644 index 000000000..4123ff909 --- /dev/null +++ b/docs/_data/Help/Get-OBSFillColorGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 91e1dce36ddc73128923b80006f19ce6610249ea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:10 +0000 Subject: [PATCH 3006/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSFillColorLinearShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFillColorLinearShader.json diff --git a/docs/_data/Help/Get-OBSFillColorLinearShader.json b/docs/_data/Help/Get-OBSFillColorLinearShader.json new file mode 100644 index 000000000..6f3e71ec6 --- /dev/null +++ b/docs/_data/Help/Get-OBSFillColorLinearShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a342ad42d6427f70447199c297f92ce317f17fce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:10 +0000 Subject: [PATCH 3007/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSFillColorRadialDegreesShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json diff --git a/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json b/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json new file mode 100644 index 000000000..81a001404 --- /dev/null +++ b/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a8366e54c5f67f6cb1f4f4b515f499fa20aa3a45 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:10 +0000 Subject: [PATCH 3008/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...et-OBSFillColorRadialPercentageShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json diff --git a/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json b/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json new file mode 100644 index 000000000..fd3c3342c --- /dev/null +++ b/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4151bee61c24c1902bb5a9d2457ee8462a3f595a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:10 +0000 Subject: [PATCH 3009/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSFilterTemplateShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFilterTemplateShader.json diff --git a/docs/_data/Help/Get-OBSFilterTemplateShader.json b/docs/_data/Help/Get-OBSFilterTemplateShader.json new file mode 100644 index 000000000..3a0c96520 --- /dev/null +++ b/docs/_data/Help/Get-OBSFilterTemplateShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 413f1cff954e23a83055be408434703413b5a6cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:11 +0000 Subject: [PATCH 3010/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFire3Shader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFire3Shader.json diff --git a/docs/_data/Help/Get-OBSFire3Shader.json b/docs/_data/Help/Get-OBSFire3Shader.json new file mode 100644 index 000000000..c29623591 --- /dev/null +++ b/docs/_data/Help/Get-OBSFire3Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5faf8333e1018c808e468d8f50061fb6805a6038 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:11 +0000 Subject: [PATCH 3011/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFireShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFireShader.json diff --git a/docs/_data/Help/Get-OBSFireShader.json b/docs/_data/Help/Get-OBSFireShader.json new file mode 100644 index 000000000..a06399abd --- /dev/null +++ b/docs/_data/Help/Get-OBSFireShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 914ab875cb1836d143a3a9d5955f615c74ef6dee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:11 +0000 Subject: [PATCH 3012/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFireworksShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFireworksShader.json diff --git a/docs/_data/Help/Get-OBSFireworksShader.json b/docs/_data/Help/Get-OBSFireworksShader.json new file mode 100644 index 000000000..d70cab7ad --- /dev/null +++ b/docs/_data/Help/Get-OBSFireworksShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3b5eecf56fd614e5bddd67771adb5dbe528d15e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:11 +0000 Subject: [PATCH 3013/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFisheyeShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFisheyeShader.json diff --git a/docs/_data/Help/Get-OBSFisheyeShader.json b/docs/_data/Help/Get-OBSFisheyeShader.json new file mode 100644 index 000000000..88ef68395 --- /dev/null +++ b/docs/_data/Help/Get-OBSFisheyeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1e19404ba2e436d42dfcde9a4707641854541c44 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:11 +0000 Subject: [PATCH 3014/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFisheyeXyShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFisheyeXyShader.json diff --git a/docs/_data/Help/Get-OBSFisheyeXyShader.json b/docs/_data/Help/Get-OBSFisheyeXyShader.json new file mode 100644 index 000000000..5386532d5 --- /dev/null +++ b/docs/_data/Help/Get-OBSFisheyeXyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 27c0997b2ee355c797099d9da1dae0adff30fbb4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:11 +0000 Subject: [PATCH 3015/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFlipShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFlipShader.json diff --git a/docs/_data/Help/Get-OBSFlipShader.json b/docs/_data/Help/Get-OBSFlipShader.json new file mode 100644 index 000000000..3da225f21 --- /dev/null +++ b/docs/_data/Help/Get-OBSFlipShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 28df0222b7bb433d4cf7e466065c5eae343b46f3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:12 +0000 Subject: [PATCH 3016/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSFrostedGlassShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFrostedGlassShader.json diff --git a/docs/_data/Help/Get-OBSFrostedGlassShader.json b/docs/_data/Help/Get-OBSFrostedGlassShader.json new file mode 100644 index 000000000..3076f6094 --- /dev/null +++ b/docs/_data/Help/Get-OBSFrostedGlassShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7e4196e0c4fd4545e4f71d295404b40fe927ec10 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:12 +0000 Subject: [PATCH 3017/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSGammaCorrectionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGammaCorrectionShader.json diff --git a/docs/_data/Help/Get-OBSGammaCorrectionShader.json b/docs/_data/Help/Get-OBSGammaCorrectionShader.json new file mode 100644 index 000000000..be6f57eb7 --- /dev/null +++ b/docs/_data/Help/Get-OBSGammaCorrectionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 080ba3737a14353ccba8511e451d3cd74ea7af41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:12 +0000 Subject: [PATCH 3018/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSGaussianBlurAdvancedShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json diff --git a/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json b/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json new file mode 100644 index 000000000..56bccb351 --- /dev/null +++ b/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f82be75ad7a3a0e1a6285fa20cc9360cd30bf6be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:12 +0000 Subject: [PATCH 3019/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSGaussianBlurShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGaussianBlurShader.json diff --git a/docs/_data/Help/Get-OBSGaussianBlurShader.json b/docs/_data/Help/Get-OBSGaussianBlurShader.json new file mode 100644 index 000000000..4a6d210db --- /dev/null +++ b/docs/_data/Help/Get-OBSGaussianBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bd33e6cc861f7b30529849dd3990b2b2d3c38a19 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:12 +0000 Subject: [PATCH 3020/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSGaussianBlurSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json diff --git a/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json b/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json new file mode 100644 index 000000000..994a9e4b8 --- /dev/null +++ b/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3bc82a9d3d57db68dc24c0c5e33603be620bdae6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:12 +0000 Subject: [PATCH 3021/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSGaussianExampleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGaussianExampleShader.json diff --git a/docs/_data/Help/Get-OBSGaussianExampleShader.json b/docs/_data/Help/Get-OBSGaussianExampleShader.json new file mode 100644 index 000000000..e2a0de96e --- /dev/null +++ b/docs/_data/Help/Get-OBSGaussianExampleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From cd0d2ff66a593ff00736cd9320265d8a4a63dc75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:13 +0000 Subject: [PATCH 3022/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSGaussianSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGaussianSimpleShader.json diff --git a/docs/_data/Help/Get-OBSGaussianSimpleShader.json b/docs/_data/Help/Get-OBSGaussianSimpleShader.json new file mode 100644 index 000000000..b81e0bb7d --- /dev/null +++ b/docs/_data/Help/Get-OBSGaussianSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d0375952ef3bdf3854985901606b4a950585c343 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:13 +0000 Subject: [PATCH 3023/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGbCameraShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGbCameraShader.json diff --git a/docs/_data/Help/Get-OBSGbCameraShader.json b/docs/_data/Help/Get-OBSGbCameraShader.json new file mode 100644 index 000000000..dafdd12f4 --- /dev/null +++ b/docs/_data/Help/Get-OBSGbCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 217b59a88e2eec55522ce1db22e7932d0382a58f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:13 +0000 Subject: [PATCH 3024/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGlassShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGlassShader.json diff --git a/docs/_data/Help/Get-OBSGlassShader.json b/docs/_data/Help/Get-OBSGlassShader.json new file mode 100644 index 000000000..3895d11fe --- /dev/null +++ b/docs/_data/Help/Get-OBSGlassShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bed34ba3f87db8056ef015b6b056b1d3e1088fae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:13 +0000 Subject: [PATCH 3025/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSGlitchAnalogShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGlitchAnalogShader.json diff --git a/docs/_data/Help/Get-OBSGlitchAnalogShader.json b/docs/_data/Help/Get-OBSGlitchAnalogShader.json new file mode 100644 index 000000000..5872cd9b9 --- /dev/null +++ b/docs/_data/Help/Get-OBSGlitchAnalogShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 73ee5558845419f108259ac27aa9e2730369c402 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:13 +0000 Subject: [PATCH 3026/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGlitchShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGlitchShader.json diff --git a/docs/_data/Help/Get-OBSGlitchShader.json b/docs/_data/Help/Get-OBSGlitchShader.json new file mode 100644 index 000000000..8a54d1bac --- /dev/null +++ b/docs/_data/Help/Get-OBSGlitchShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 939c786eaf5cbb091829863848c7a20aa9c0f79d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:13 +0000 Subject: [PATCH 3027/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGlowShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGlowShader.json diff --git a/docs/_data/Help/Get-OBSGlowShader.json b/docs/_data/Help/Get-OBSGlowShader.json new file mode 100644 index 000000000..17b954e3b --- /dev/null +++ b/docs/_data/Help/Get-OBSGlowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e5975bf7d1027b353b9f140da1a320c80f556d85 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:14 +0000 Subject: [PATCH 3028/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGradientShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGradientShader.json diff --git a/docs/_data/Help/Get-OBSGradientShader.json b/docs/_data/Help/Get-OBSGradientShader.json new file mode 100644 index 000000000..da25a5b56 --- /dev/null +++ b/docs/_data/Help/Get-OBSGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1f022ce6c63a03157d48e88123bd93bfd377eb8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:14 +0000 Subject: [PATCH 3029/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGroup.json | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGroup.json diff --git a/docs/_data/Help/Get-OBSGroup.json b/docs/_data/Help/Get-OBSGroup.json new file mode 100644 index 000000000..da8d3ac58 --- /dev/null +++ b/docs/_data/Help/Get-OBSGroup.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSGroup : GetGroupList", + "Description": "Gets an array of all groups in OBS.\n\nGroups in OBS are actually scenes, but renamed and modified. In obs-websocket, we treat them as scenes where we can.\n\n\nGet-OBSGroup calls the OBS WebSocket with a request of type GetGroupList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgrouplist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSGroup" + } + ] +} \ No newline at end of file From cb34eb471a3b3264d1e16805ccfadb0a943882a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:14 +0000 Subject: [PATCH 3030/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSGroupSceneItem.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSGroupSceneItem.json diff --git a/docs/_data/Help/Get-OBSGroupSceneItem.json b/docs/_data/Help/Get-OBSGroupSceneItem.json new file mode 100644 index 000000000..aad67fa45 --- /dev/null +++ b/docs/_data/Help/Get-OBSGroupSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSGroupSceneItem : GetGroupSceneItemList", + "Description": "Basically GetSceneItemList, but for groups.\n\nUsing groups at all in OBS is discouraged, as they are very broken under the hood. Please use nested scenes instead.\n\nGroups only\n\n\nGet-OBSGroupSceneItem calls the OBS WebSocket with a request of type GetGroupSceneItemList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgroupsceneitemlist" + ], + "Examples": [] +} \ No newline at end of file From 1f6f4c55a69f6d133fbc15e28f9e37bec11488ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:14 +0000 Subject: [PATCH 3031/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSHalftoneShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSHalftoneShader.json diff --git a/docs/_data/Help/Get-OBSHalftoneShader.json b/docs/_data/Help/Get-OBSHalftoneShader.json new file mode 100644 index 000000000..5169bdc1a --- /dev/null +++ b/docs/_data/Help/Get-OBSHalftoneShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6eb67173d00ae1e3a448bf6b601d2e481298a198 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:14 +0000 Subject: [PATCH 3032/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSHeatWaveSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSHeatWaveSimpleShader.json diff --git a/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json b/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json new file mode 100644 index 000000000..867dcd3de --- /dev/null +++ b/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7e3e93121c505f934a3192ab4ac4783a4b26e6a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:14 +0000 Subject: [PATCH 3033/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSHexagonShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSHexagonShader.json diff --git a/docs/_data/Help/Get-OBSHexagonShader.json b/docs/_data/Help/Get-OBSHexagonShader.json new file mode 100644 index 000000000..eaacec57e --- /dev/null +++ b/docs/_data/Help/Get-OBSHexagonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 48b6d113b95f6eada7d82aac7ae576dde3cd6644 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3034/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSHotkey.json | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSHotkey.json diff --git a/docs/_data/Help/Get-OBSHotkey.json b/docs/_data/Help/Get-OBSHotkey.json new file mode 100644 index 000000000..1cfc31a8f --- /dev/null +++ b/docs/_data/Help/Get-OBSHotkey.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSHotkey : GetHotkeyList", + "Description": "Gets an array of all hotkey names in OBS.\n\nNote: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.\n\n\nGet-OBSHotkey calls the OBS WebSocket with a request of type GetHotkeyList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gethotkeylist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSHotkey" + } + ] +} \ No newline at end of file From fa088a7c41cebee56e33f8e7732f5282026b5ac0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3035/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSHslHsvSaturationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSHslHsvSaturationShader.json diff --git a/docs/_data/Help/Get-OBSHslHsvSaturationShader.json b/docs/_data/Help/Get-OBSHslHsvSaturationShader.json new file mode 100644 index 000000000..1f5b300a3 --- /dev/null +++ b/docs/_data/Help/Get-OBSHslHsvSaturationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3b4ce5e4fa7b6680486a243566698ae9af76d663 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3036/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSHueRotatonShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSHueRotatonShader.json diff --git a/docs/_data/Help/Get-OBSHueRotatonShader.json b/docs/_data/Help/Get-OBSHueRotatonShader.json new file mode 100644 index 000000000..bfe2409ff --- /dev/null +++ b/docs/_data/Help/Get-OBSHueRotatonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 30f584ff93121a0c2ca0ba15bd8d164aa24f6d29 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3037/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInput.json | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInput.json diff --git a/docs/_data/Help/Get-OBSInput.json b/docs/_data/Help/Get-OBSInput.json new file mode 100644 index 000000000..75167e000 --- /dev/null +++ b/docs/_data/Help/Get-OBSInput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInput : GetInputList", + "Description": "Gets an array of all inputs in OBS.\n\n\nGet-OBSInput calls the OBS WebSocket with a request of type GetInputList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputlist" + ], + "Examples": [] +} \ No newline at end of file From 5921acfa5a4d1232240260da4990f0930d9e79d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3038/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInputAudioBalance.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputAudioBalance.json diff --git a/docs/_data/Help/Get-OBSInputAudioBalance.json b/docs/_data/Help/Get-OBSInputAudioBalance.json new file mode 100644 index 000000000..a0bf0858b --- /dev/null +++ b/docs/_data/Help/Get-OBSInputAudioBalance.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioBalance : GetInputAudioBalance", + "Description": "Gets the audio balance of an input.\n\n\nGet-OBSInputAudioBalance calls the OBS WebSocket with a request of type GetInputAudioBalance.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiobalance" + ], + "Examples": [] +} \ No newline at end of file From 46c9c4e262c8e95e361ff2510e5f15b9e2f8eb09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3039/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSInputAudioMonitorType.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputAudioMonitorType.json diff --git a/docs/_data/Help/Get-OBSInputAudioMonitorType.json b/docs/_data/Help/Get-OBSInputAudioMonitorType.json new file mode 100644 index 000000000..a44f32cb6 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputAudioMonitorType.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioMonitorType : GetInputAudioMonitorType", + "Description": "Gets the audio monitor type of an input.\n\nThe available audio monitor types are:\n\n- `OBS_MONITORING_TYPE_NONE`\n- `OBS_MONITORING_TYPE_MONITOR_ONLY`\n- `OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT`\n\n\nGet-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type GetInputAudioMonitorType.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiomonitortype" + ], + "Examples": [] +} \ No newline at end of file From a910d38f9e44df0993f3f13dfdf305d39da8794c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3040/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSInputAudioSyncOffset.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputAudioSyncOffset.json diff --git a/docs/_data/Help/Get-OBSInputAudioSyncOffset.json b/docs/_data/Help/Get-OBSInputAudioSyncOffset.json new file mode 100644 index 000000000..4e7dddb57 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputAudioSyncOffset.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset", + "Description": "Gets the audio sync offset of an input.\n\nNote: The audio sync offset can be negative too!\n\n\nGet-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type GetInputAudioSyncOffset.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiosyncoffset" + ], + "Examples": [] +} \ No newline at end of file From ddb3ced9260b75652bf8e0371c74d3ab617165a3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3041/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInputAudioTracks.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputAudioTracks.json diff --git a/docs/_data/Help/Get-OBSInputAudioTracks.json b/docs/_data/Help/Get-OBSInputAudioTracks.json new file mode 100644 index 000000000..ce62e8548 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputAudioTracks.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioTracks : GetInputAudioTracks", + "Description": "Gets the enable state of all audio tracks of an input.\n\n\nGet-OBSInputAudioTracks calls the OBS WebSocket with a request of type GetInputAudioTracks.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiotracks" + ], + "Examples": [] +} \ No newline at end of file From 673d3eb662d144c13a96cdbf5a54bf277eb85919 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:15 +0000 Subject: [PATCH 3042/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSInputDefaultSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputDefaultSettings.json diff --git a/docs/_data/Help/Get-OBSInputDefaultSettings.json b/docs/_data/Help/Get-OBSInputDefaultSettings.json new file mode 100644 index 000000000..f3cf78157 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputDefaultSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputDefaultSettings : GetInputDefaultSettings", + "Description": "Gets the default settings for an input kind.\n\n\nGet-OBSInputDefaultSettings calls the OBS WebSocket with a request of type GetInputDefaultSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputdefaultsettings" + ], + "Examples": [] +} \ No newline at end of file From a253810c68cd0595071fe14a0d126bdafc4619d0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3043/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInputKind.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputKind.json diff --git a/docs/_data/Help/Get-OBSInputKind.json b/docs/_data/Help/Get-OBSInputKind.json new file mode 100644 index 000000000..2774bd13e --- /dev/null +++ b/docs/_data/Help/Get-OBSInputKind.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputKind : GetInputKindList", + "Description": "Gets an array of all available input kinds in OBS.\n\n\nGet-OBSInputKind calls the OBS WebSocket with a request of type GetInputKindList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputkindlist" + ], + "Examples": [] +} \ No newline at end of file From b36df71a0ca13a0e5bd997ccc086527d778eb0dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3044/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInputMute.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputMute.json diff --git a/docs/_data/Help/Get-OBSInputMute.json b/docs/_data/Help/Get-OBSInputMute.json new file mode 100644 index 000000000..4d2cf61d1 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputMute.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputMute : GetInputMute", + "Description": "Gets the audio mute state of an input.\n\n\nGet-OBSInputMute calls the OBS WebSocket with a request of type GetInputMute.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputmute" + ], + "Examples": [] +} \ No newline at end of file From 54b36109cf5e9cfb5c48aa9b8737b474642b1cd0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3045/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...t-OBSInputPropertiesListPropertyItems.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputPropertiesListPropertyItems.json diff --git a/docs/_data/Help/Get-OBSInputPropertiesListPropertyItems.json b/docs/_data/Help/Get-OBSInputPropertiesListPropertyItems.json new file mode 100644 index 000000000..a20a903a7 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputPropertiesListPropertyItems.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems", + "Description": "Gets the items of a list property from an input's properties.\n\nNote: Use this in cases where an input provides a dynamic, selectable list of items. For example, display capture, where it provides a list of available displays.\n\n\nGet-OBSInputPropertiesListPropertyItems calls the OBS WebSocket with a request of type GetInputPropertiesListPropertyItems.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputpropertieslistpropertyitems" + ], + "Examples": [] +} \ No newline at end of file From dc3f748c6b49a2d4d28dbbb0824b7ba50667678c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3046/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInputSettings.json | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputSettings.json diff --git a/docs/_data/Help/Get-OBSInputSettings.json b/docs/_data/Help/Get-OBSInputSettings.json new file mode 100644 index 000000000..49e1507d8 --- /dev/null +++ b/docs/_data/Help/Get-OBSInputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputSettings : GetInputSettings", + "Description": "Gets the settings of an input.\n\nNote: Does not include defaults. To create the entire settings object, overlay `inputSettings` over the `defaultInputSettings` provided by `GetInputDefaultSettings`.\n\n\nGet-OBSInputSettings calls the OBS WebSocket with a request of type GetInputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputsettings" + ], + "Examples": [] +} \ No newline at end of file From 9464020d8c06f8aa2d87873f33e8003bebd8ac08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3047/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInputVolume.json | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInputVolume.json diff --git a/docs/_data/Help/Get-OBSInputVolume.json b/docs/_data/Help/Get-OBSInputVolume.json new file mode 100644 index 000000000..c39c227db --- /dev/null +++ b/docs/_data/Help/Get-OBSInputVolume.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputVolume : GetInputVolume", + "Description": "Gets the current volume setting of an input.\n\n\nGet-OBSInputVolume calls the OBS WebSocket with a request of type GetInputVolume.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputvolume" + ], + "Examples": [] +} \ No newline at end of file From fca7b079e0e8202776c01945586261d06c5e233c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3048/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSIntensityScopeShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSIntensityScopeShader.json diff --git a/docs/_data/Help/Get-OBSIntensityScopeShader.json b/docs/_data/Help/Get-OBSIntensityScopeShader.json new file mode 100644 index 000000000..fea527830 --- /dev/null +++ b/docs/_data/Help/Get-OBSIntensityScopeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 12730e9b6654b7df53bcc7165bd9adb7729b1f8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:16 +0000 Subject: [PATCH 3049/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSInvertLumaShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSInvertLumaShader.json diff --git a/docs/_data/Help/Get-OBSInvertLumaShader.json b/docs/_data/Help/Get-OBSInvertLumaShader.json new file mode 100644 index 000000000..5b6e144c7 --- /dev/null +++ b/docs/_data/Help/Get-OBSInvertLumaShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a468cfc099aa2c9479ed8e748d331cd79d259a6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3050/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSLastReplayBufferReplay.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSLastReplayBufferReplay.json diff --git a/docs/_data/Help/Get-OBSLastReplayBufferReplay.json b/docs/_data/Help/Get-OBSLastReplayBufferReplay.json new file mode 100644 index 000000000..a09404aaa --- /dev/null +++ b/docs/_data/Help/Get-OBSLastReplayBufferReplay.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay", + "Description": "Gets the filename of the last replay buffer save file.\n\n\nGet-OBSLastReplayBufferReplay calls the OBS WebSocket with a request of type GetLastReplayBufferReplay.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getlastreplaybufferreplay" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSLastReplayBufferReplay" + } + ] +} \ No newline at end of file From 00bc3753e09f467db001ea37c29122f55e726283 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3051/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSLuminance2Shader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSLuminance2Shader.json diff --git a/docs/_data/Help/Get-OBSLuminance2Shader.json b/docs/_data/Help/Get-OBSLuminance2Shader.json new file mode 100644 index 000000000..210290dee --- /dev/null +++ b/docs/_data/Help/Get-OBSLuminance2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 518a5e1b05ebc1d4707ecaa192bd096d5201f6e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3052/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSLuminanceAlphaShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSLuminanceAlphaShader.json diff --git a/docs/_data/Help/Get-OBSLuminanceAlphaShader.json b/docs/_data/Help/Get-OBSLuminanceAlphaShader.json new file mode 100644 index 000000000..77530e77b --- /dev/null +++ b/docs/_data/Help/Get-OBSLuminanceAlphaShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b18e6c23a6df93c774d845c253806c3f20f3f121 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3053/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSLuminanceShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSLuminanceShader.json diff --git a/docs/_data/Help/Get-OBSLuminanceShader.json b/docs/_data/Help/Get-OBSLuminanceShader.json new file mode 100644 index 000000000..d5142f1d2 --- /dev/null +++ b/docs/_data/Help/Get-OBSLuminanceShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a0d146b64e118a8bd8af369f34293b7cbce8563a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3054/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSMatrixShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSMatrixShader.json diff --git a/docs/_data/Help/Get-OBSMatrixShader.json b/docs/_data/Help/Get-OBSMatrixShader.json new file mode 100644 index 000000000..81fb6d551 --- /dev/null +++ b/docs/_data/Help/Get-OBSMatrixShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From dab3a7117a55a968566db03dd0285ea2d0217779 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3055/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSMediaInputStatus.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSMediaInputStatus.json diff --git a/docs/_data/Help/Get-OBSMediaInputStatus.json b/docs/_data/Help/Get-OBSMediaInputStatus.json new file mode 100644 index 000000000..68173d2d5 --- /dev/null +++ b/docs/_data/Help/Get-OBSMediaInputStatus.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSMediaInputStatus : GetMediaInputStatus", + "Description": "Gets the status of a media input.\n\nMedia States:\n\n- `OBS_MEDIA_STATE_NONE`\n- `OBS_MEDIA_STATE_PLAYING`\n- `OBS_MEDIA_STATE_OPENING`\n- `OBS_MEDIA_STATE_BUFFERING`\n- `OBS_MEDIA_STATE_PAUSED`\n- `OBS_MEDIA_STATE_STOPPED`\n- `OBS_MEDIA_STATE_ENDED`\n- `OBS_MEDIA_STATE_ERROR`\n\n\nGet-OBSMediaInputStatus calls the OBS WebSocket with a request of type GetMediaInputStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmediainputstatus" + ], + "Examples": [] +} \ No newline at end of file From 2ab51e4749a2ac9df82934a443163266b03004a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3056/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSMonitor.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSMonitor.json diff --git a/docs/_data/Help/Get-OBSMonitor.json b/docs/_data/Help/Get-OBSMonitor.json new file mode 100644 index 000000000..222d79896 --- /dev/null +++ b/docs/_data/Help/Get-OBSMonitor.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSMonitor : GetMonitorList", + "Description": "Gets a list of connected monitors and information about them.\n\n\nGet-OBSMonitor calls the OBS WebSocket with a request of type GetMonitorList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmonitorlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSMonitor" + } + ] +} \ No newline at end of file From 332786146cf5a67818cdd61831be459651b686e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:17 +0000 Subject: [PATCH 3057/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSMultiplyShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSMultiplyShader.json diff --git a/docs/_data/Help/Get-OBSMultiplyShader.json b/docs/_data/Help/Get-OBSMultiplyShader.json new file mode 100644 index 000000000..c41d7067f --- /dev/null +++ b/docs/_data/Help/Get-OBSMultiplyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7af551107fec383851115b3cd31239387eb2d20d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3058/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSNightSkyShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSNightSkyShader.json diff --git a/docs/_data/Help/Get-OBSNightSkyShader.json b/docs/_data/Help/Get-OBSNightSkyShader.json new file mode 100644 index 000000000..5e8e788ec --- /dev/null +++ b/docs/_data/Help/Get-OBSNightSkyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f7957aff3d5a5435938a5ff19bd12ba42fa42140 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3059/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSOpacityShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSOpacityShader.json diff --git a/docs/_data/Help/Get-OBSOpacityShader.json b/docs/_data/Help/Get-OBSOpacityShader.json new file mode 100644 index 000000000..0b7145c2b --- /dev/null +++ b/docs/_data/Help/Get-OBSOpacityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 43814e729e349382550d95ad06814a3c74c6f9e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3060/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSOutput.json | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSOutput.json diff --git a/docs/_data/Help/Get-OBSOutput.json b/docs/_data/Help/Get-OBSOutput.json new file mode 100644 index 000000000..dceabe56f --- /dev/null +++ b/docs/_data/Help/Get-OBSOutput.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSOutput : GetOutputList", + "Description": "Gets the list of available outputs.\n\n\nGet-OBSOutput calls the OBS WebSocket with a request of type GetOutputList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSOutput" + } + ] +} \ No newline at end of file From dfc03cdd47104e284f4261ccab04c9188a9a3c8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3061/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSOutputSettings.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSOutputSettings.json diff --git a/docs/_data/Help/Get-OBSOutputSettings.json b/docs/_data/Help/Get-OBSOutputSettings.json new file mode 100644 index 000000000..2045b742e --- /dev/null +++ b/docs/_data/Help/Get-OBSOutputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSOutputSettings : GetOutputSettings", + "Description": "Gets the settings of an output.\n\n\nGet-OBSOutputSettings calls the OBS WebSocket with a request of type GetOutputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputsettings" + ], + "Examples": [] +} \ No newline at end of file From 30df62a0259d5bcf53e268cabd3a4d5c9914abba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3062/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSOutputStatus.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSOutputStatus.json diff --git a/docs/_data/Help/Get-OBSOutputStatus.json b/docs/_data/Help/Get-OBSOutputStatus.json new file mode 100644 index 000000000..3ada79716 --- /dev/null +++ b/docs/_data/Help/Get-OBSOutputStatus.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSOutputStatus : GetOutputStatus", + "Description": "Gets the status of an output.\n\n\nGet-OBSOutputStatus calls the OBS WebSocket with a request of type GetOutputStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputstatus" + ], + "Examples": [] +} \ No newline at end of file From 90b534ec0b3f87bb2f213f78ed087b117702c5d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3063/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPagePeelShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPagePeelShader.json diff --git a/docs/_data/Help/Get-OBSPagePeelShader.json b/docs/_data/Help/Get-OBSPagePeelShader.json new file mode 100644 index 000000000..afad989ec --- /dev/null +++ b/docs/_data/Help/Get-OBSPagePeelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bb17281f1a010b6a045ef6ddb62c16f5f44b8a04 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3064/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSPagePeelTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPagePeelTransitionShader.json diff --git a/docs/_data/Help/Get-OBSPagePeelTransitionShader.json b/docs/_data/Help/Get-OBSPagePeelTransitionShader.json new file mode 100644 index 000000000..8dc3b44f8 --- /dev/null +++ b/docs/_data/Help/Get-OBSPagePeelTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f4fcbde83c6b50640d1121cf5d70d68e8e39aaba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:18 +0000 Subject: [PATCH 3065/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPerlinNoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPerlinNoiseShader.json diff --git a/docs/_data/Help/Get-OBSPerlinNoiseShader.json b/docs/_data/Help/Get-OBSPerlinNoiseShader.json new file mode 100644 index 000000000..f1c26be33 --- /dev/null +++ b/docs/_data/Help/Get-OBSPerlinNoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5280c04cd7ff63f4c29f0963144e60b758f806bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3066/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPersistentData.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPersistentData.json diff --git a/docs/_data/Help/Get-OBSPersistentData.json b/docs/_data/Help/Get-OBSPersistentData.json new file mode 100644 index 000000000..0c4ebfef0 --- /dev/null +++ b/docs/_data/Help/Get-OBSPersistentData.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSPersistentData : GetPersistentData", + "Description": "Gets the value of a \"slot\" from the selected persistent data realm.\n\n\nGet-OBSPersistentData calls the OBS WebSocket with a request of type GetPersistentData.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getpersistentdata" + ], + "Examples": [] +} \ No newline at end of file From 4b3b009b081e5167391eb49839721c5191b06721 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3067/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPieChartShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPieChartShader.json diff --git a/docs/_data/Help/Get-OBSPieChartShader.json b/docs/_data/Help/Get-OBSPieChartShader.json new file mode 100644 index 000000000..535375e5a --- /dev/null +++ b/docs/_data/Help/Get-OBSPieChartShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4eaaedcfa3d3a529c988ddc70db1b637f68627fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3068/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPixelationShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPixelationShader.json diff --git a/docs/_data/Help/Get-OBSPixelationShader.json b/docs/_data/Help/Get-OBSPixelationShader.json new file mode 100644 index 000000000..b2d891902 --- /dev/null +++ b/docs/_data/Help/Get-OBSPixelationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From fccf7eb3de2d2cec2f71b3d65a98f9c9ae10d1c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3069/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSPixelationTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPixelationTransitionShader.json diff --git a/docs/_data/Help/Get-OBSPixelationTransitionShader.json b/docs/_data/Help/Get-OBSPixelationTransitionShader.json new file mode 100644 index 000000000..6f03e9326 --- /dev/null +++ b/docs/_data/Help/Get-OBSPixelationTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6b5d2842735e04d3157ba578ecee5754fe4206f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3070/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSProfile.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSProfile.json diff --git a/docs/_data/Help/Get-OBSProfile.json b/docs/_data/Help/Get-OBSProfile.json new file mode 100644 index 000000000..7d0cd691e --- /dev/null +++ b/docs/_data/Help/Get-OBSProfile.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSProfile : GetProfileList", + "Description": "Gets an array of all profiles\n\n\nGet-OBSProfile calls the OBS WebSocket with a request of type GetProfileList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofilelist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSProfile" + } + ] +} \ No newline at end of file From 6b22c45d6ddfc1481c6d13f1c2ba464992eed1e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3071/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSProfileParameter.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSProfileParameter.json diff --git a/docs/_data/Help/Get-OBSProfileParameter.json b/docs/_data/Help/Get-OBSProfileParameter.json new file mode 100644 index 000000000..8ecd4fb2e --- /dev/null +++ b/docs/_data/Help/Get-OBSProfileParameter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSProfileParameter : GetProfileParameter", + "Description": "Gets a parameter from the current profile's configuration.\n\n\nGet-OBSProfileParameter calls the OBS WebSocket with a request of type GetProfileParameter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofileparameter" + ], + "Examples": [] +} \ No newline at end of file From bd87949d542e6bb1c3980174aad20abe44ea4c75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:19 +0000 Subject: [PATCH 3072/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPulseShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPulseShader.json diff --git a/docs/_data/Help/Get-OBSPulseShader.json b/docs/_data/Help/Get-OBSPulseShader.json new file mode 100644 index 000000000..1b7dcf056 --- /dev/null +++ b/docs/_data/Help/Get-OBSPulseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7d80e4ba973bdb9e9daa9fa4dd2f763bf9b439eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3073/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRainbowShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRainbowShader.json diff --git a/docs/_data/Help/Get-OBSRainbowShader.json b/docs/_data/Help/Get-OBSRainbowShader.json new file mode 100644 index 000000000..3bb4556a6 --- /dev/null +++ b/docs/_data/Help/Get-OBSRainbowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5c552297e008c47e6147b3cd4f4635fced696b86 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3074/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRainWindowShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRainWindowShader.json diff --git a/docs/_data/Help/Get-OBSRainWindowShader.json b/docs/_data/Help/Get-OBSRainWindowShader.json new file mode 100644 index 000000000..41316a192 --- /dev/null +++ b/docs/_data/Help/Get-OBSRainWindowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 91f2e3d7b8db8136b4f631c5c5906c0346ff8128 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3075/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRecordDirectory.json | 41 +++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRecordDirectory.json diff --git a/docs/_data/Help/Get-OBSRecordDirectory.json b/docs/_data/Help/Get-OBSRecordDirectory.json new file mode 100644 index 000000000..40bcc9246 --- /dev/null +++ b/docs/_data/Help/Get-OBSRecordDirectory.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSRecordDirectory : GetRecordDirectory", + "Description": "Gets the current directory that the record output is set to.\n\n\nGet-OBSRecordDirectory calls the OBS WebSocket with a request of type GetRecordDirectory.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecorddirectory" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSRecordDirectory" + } + ] +} \ No newline at end of file From bc0b33603f1c7039db5bf41c7e6ee4436b62528e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3076/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRecordStatus.json | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRecordStatus.json diff --git a/docs/_data/Help/Get-OBSRecordStatus.json b/docs/_data/Help/Get-OBSRecordStatus.json new file mode 100644 index 000000000..a653ce70e --- /dev/null +++ b/docs/_data/Help/Get-OBSRecordStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSRecordStatus : GetRecordStatus", + "Description": "Gets the status of the record output.\n\n\nGet-OBSRecordStatus calls the OBS WebSocket with a request of type GetRecordStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecordstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSRecordStatus" + } + ] +} \ No newline at end of file From c1974d696c0f2471db3a7dbe4907a45af2bbe6db Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3077/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSRectangularDropShadowShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRectangularDropShadowShader.json diff --git a/docs/_data/Help/Get-OBSRectangularDropShadowShader.json b/docs/_data/Help/Get-OBSRectangularDropShadowShader.json new file mode 100644 index 000000000..650a53285 --- /dev/null +++ b/docs/_data/Help/Get-OBSRectangularDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 61cf388483f2e7ff57299f53af6495d27c1c03b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3078/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSReflectShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSReflectShader.json diff --git a/docs/_data/Help/Get-OBSReflectShader.json b/docs/_data/Help/Get-OBSReflectShader.json new file mode 100644 index 000000000..219e772c8 --- /dev/null +++ b/docs/_data/Help/Get-OBSReflectShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a2cf2897e63ffcc1277a13a4f5d0e4cfdc9cdfd3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3079/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSRemovePartialPixelsShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRemovePartialPixelsShader.json diff --git a/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json b/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json new file mode 100644 index 000000000..54b30405e --- /dev/null +++ b/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c4ce6ce187d198e1c4e7e5b788fcf7c685a1ef97 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:20 +0000 Subject: [PATCH 3080/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRepeatShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRepeatShader.json diff --git a/docs/_data/Help/Get-OBSRepeatShader.json b/docs/_data/Help/Get-OBSRepeatShader.json new file mode 100644 index 000000000..6c4a86a74 --- /dev/null +++ b/docs/_data/Help/Get-OBSRepeatShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a4d3e3b9a20e1d9fcd10042be1e1b1837f84fdc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3081/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSRepeatTextureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRepeatTextureShader.json diff --git a/docs/_data/Help/Get-OBSRepeatTextureShader.json b/docs/_data/Help/Get-OBSRepeatTextureShader.json new file mode 100644 index 000000000..d382ca992 --- /dev/null +++ b/docs/_data/Help/Get-OBSRepeatTextureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 24ce58e3af3bf084837b859574789d143e7d2212 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3082/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSReplayBufferStatus.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSReplayBufferStatus.json diff --git a/docs/_data/Help/Get-OBSReplayBufferStatus.json b/docs/_data/Help/Get-OBSReplayBufferStatus.json new file mode 100644 index 000000000..01ee56f61 --- /dev/null +++ b/docs/_data/Help/Get-OBSReplayBufferStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSReplayBufferStatus : GetReplayBufferStatus", + "Description": "Gets the status of the replay buffer output.\n\n\nGet-OBSReplayBufferStatus calls the OBS WebSocket with a request of type GetReplayBufferStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getreplaybufferstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSReplayBufferStatus" + } + ] +} \ No newline at end of file From 0f1be4483b9929ecf9f65903a9f67684659b79c1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3083/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRGBAPercentShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRGBAPercentShader.json diff --git a/docs/_data/Help/Get-OBSRGBAPercentShader.json b/docs/_data/Help/Get-OBSRGBAPercentShader.json new file mode 100644 index 000000000..5d6cb64aa --- /dev/null +++ b/docs/_data/Help/Get-OBSRGBAPercentShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5efe30c61b5478d4d1066780d2a131c2aee4e965 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3084/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSRgbColorWheelShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRgbColorWheelShader.json diff --git a/docs/_data/Help/Get-OBSRgbColorWheelShader.json b/docs/_data/Help/Get-OBSRgbColorWheelShader.json new file mode 100644 index 000000000..965e571d3 --- /dev/null +++ b/docs/_data/Help/Get-OBSRgbColorWheelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b51b104fd07463b039d4e08297f603a4bf341b13 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3085/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRgbSplitShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRgbSplitShader.json diff --git a/docs/_data/Help/Get-OBSRgbSplitShader.json b/docs/_data/Help/Get-OBSRgbSplitShader.json new file mode 100644 index 000000000..6b97f7549 --- /dev/null +++ b/docs/_data/Help/Get-OBSRgbSplitShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 77c7346fdf6c6ffaacb1e27349dc54371be55442 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3086/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSRgbvisibilityShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRgbvisibilityShader.json diff --git a/docs/_data/Help/Get-OBSRgbvisibilityShader.json b/docs/_data/Help/Get-OBSRgbvisibilityShader.json new file mode 100644 index 000000000..1675c70aa --- /dev/null +++ b/docs/_data/Help/Get-OBSRgbvisibilityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3aa4550df56a6c643fac4e65742462adabe20d05 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:21 +0000 Subject: [PATCH 3087/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRippleShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRippleShader.json diff --git a/docs/_data/Help/Get-OBSRippleShader.json b/docs/_data/Help/Get-OBSRippleShader.json new file mode 100644 index 000000000..35583c3ec --- /dev/null +++ b/docs/_data/Help/Get-OBSRippleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7bd38a3bc1af9e3552458efc5112142351c4e845 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3088/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSRotatingSourceShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRotatingSourceShader.json diff --git a/docs/_data/Help/Get-OBSRotatingSourceShader.json b/docs/_data/Help/Get-OBSRotatingSourceShader.json new file mode 100644 index 000000000..81ca32462 --- /dev/null +++ b/docs/_data/Help/Get-OBSRotatingSourceShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6e32a4c38f53b095cddc00f2551328fffe8ab311 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3089/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRotatoeShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRotatoeShader.json diff --git a/docs/_data/Help/Get-OBSRotatoeShader.json b/docs/_data/Help/Get-OBSRotatoeShader.json new file mode 100644 index 000000000..2e073a20f --- /dev/null +++ b/docs/_data/Help/Get-OBSRotatoeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 95c3926d89f60356ed2718cd686f727e88315555 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3090/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSRoundedRect2Shader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRoundedRect2Shader.json diff --git a/docs/_data/Help/Get-OBSRoundedRect2Shader.json b/docs/_data/Help/Get-OBSRoundedRect2Shader.json new file mode 100644 index 000000000..c73261647 --- /dev/null +++ b/docs/_data/Help/Get-OBSRoundedRect2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 30cf5c64809aceb1580a3a4940d3335a620c04e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3091/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSRoundedRectPerCornerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json diff --git a/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json b/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json new file mode 100644 index 000000000..8a6fda223 --- /dev/null +++ b/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5dbb1344ff5994f85dce91d039f14e1c1abc62b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3092/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSRoundedRectPerSideShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRoundedRectPerSideShader.json diff --git a/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json b/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json new file mode 100644 index 000000000..8def50b0d --- /dev/null +++ b/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ff4b584945985ab075c7d8a26856758d4fee6af2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3093/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSRoundedRectShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRoundedRectShader.json diff --git a/docs/_data/Help/Get-OBSRoundedRectShader.json b/docs/_data/Help/Get-OBSRoundedRectShader.json new file mode 100644 index 000000000..b49e57e9f --- /dev/null +++ b/docs/_data/Help/Get-OBSRoundedRectShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 348d97aa1e51f01444a5c3a6689c56b7c5efb9b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:22 +0000 Subject: [PATCH 3094/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSRoundedStrokeGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json diff --git a/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json b/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json new file mode 100644 index 000000000..a651afcef --- /dev/null +++ b/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1e30690de2dc777f778e87d7f6eef14f6eae951e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3095/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSRoundedStrokeShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRoundedStrokeShader.json diff --git a/docs/_data/Help/Get-OBSRoundedStrokeShader.json b/docs/_data/Help/Get-OBSRoundedStrokeShader.json new file mode 100644 index 000000000..4e3b0befb --- /dev/null +++ b/docs/_data/Help/Get-OBSRoundedStrokeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c05ed215acc3cb82be330869f97b5c2408cd61b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3096/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSScanLineShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSScanLineShader.json diff --git a/docs/_data/Help/Get-OBSScanLineShader.json b/docs/_data/Help/Get-OBSScanLineShader.json new file mode 100644 index 000000000..0ada8f69a --- /dev/null +++ b/docs/_data/Help/Get-OBSScanLineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0cbe546008e41f2c8e720c5776e24233de9db453 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3097/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSScene.json | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSScene.json diff --git a/docs/_data/Help/Get-OBSScene.json b/docs/_data/Help/Get-OBSScene.json new file mode 100644 index 000000000..8be5c3b01 --- /dev/null +++ b/docs/_data/Help/Get-OBSScene.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSScene : GetSceneList", + "Description": "Gets an array of all scenes in OBS.\n\n\nGet-OBSScene calls the OBS WebSocket with a request of type GetSceneList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenelist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSScene" + } + ] +} \ No newline at end of file From 6c64a729ff1e563ac0544f398d027c677c94bc11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3098/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneCollection.json | 41 +++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneCollection.json diff --git a/docs/_data/Help/Get-OBSSceneCollection.json b/docs/_data/Help/Get-OBSSceneCollection.json new file mode 100644 index 000000000..76e87627a --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneCollection.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSceneCollection : GetSceneCollectionList", + "Description": "Gets an array of all scene collections\n\n\nGet-OBSSceneCollection calls the OBS WebSocket with a request of type GetSceneCollectionList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenecollectionlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSceneCollection" + } + ] +} \ No newline at end of file From 9ffc280f036f0dee04a6246f56d16a1c44196a4c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3099/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneItem.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItem.json diff --git a/docs/_data/Help/Get-OBSSceneItem.json b/docs/_data/Help/Get-OBSSceneItem.json new file mode 100644 index 000000000..5e8f92cc4 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItem : GetSceneItemList", + "Description": "Gets a list of all scene items in a scene.\n\nScenes only\n\n\nGet-OBSSceneItem calls the OBS WebSocket with a request of type GetSceneItemList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlist" + ], + "Examples": [] +} \ No newline at end of file From 4f998539176dcdb952cf9d0bb11af5a2053eaea9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3100/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSSceneItemBlendMode.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemBlendMode.json diff --git a/docs/_data/Help/Get-OBSSceneItemBlendMode.json b/docs/_data/Help/Get-OBSSceneItemBlendMode.json new file mode 100644 index 000000000..4c33df294 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemBlendMode.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemBlendMode : GetSceneItemBlendMode", + "Description": "Gets the blend mode of a scene item.\n\nBlend modes:\n\n- `OBS_BLEND_NORMAL`\n- `OBS_BLEND_ADDITIVE`\n- `OBS_BLEND_SUBTRACT`\n- `OBS_BLEND_SCREEN`\n- `OBS_BLEND_MULTIPLY`\n- `OBS_BLEND_LIGHTEN`\n- `OBS_BLEND_DARKEN`\n\nScenes and Groups\n\n\nGet-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type GetSceneItemBlendMode.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemblendmode" + ], + "Examples": [] +} \ No newline at end of file From c9b828b36f59dc66caa94cafa58005b9e8ba642d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3101/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneItemEnabled.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemEnabled.json diff --git a/docs/_data/Help/Get-OBSSceneItemEnabled.json b/docs/_data/Help/Get-OBSSceneItemEnabled.json new file mode 100644 index 000000000..621b87202 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemEnabled : GetSceneItemEnabled", + "Description": "Gets the enable state of a scene item.\n\nScenes and Groups\n\n\nGet-OBSSceneItemEnabled calls the OBS WebSocket with a request of type GetSceneItemEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemenabled" + ], + "Examples": [] +} \ No newline at end of file From 921ec1956cb3e2885698d19a14f87c32502e5f56 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:23 +0000 Subject: [PATCH 3102/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneItemId.json | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemId.json diff --git a/docs/_data/Help/Get-OBSSceneItemId.json b/docs/_data/Help/Get-OBSSceneItemId.json new file mode 100644 index 000000000..e04e18bf0 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemId.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemId : GetSceneItemId", + "Description": "Searches a scene for a source, and returns its id.\n\nScenes and Groups\n\n\nGet-OBSSceneItemId calls the OBS WebSocket with a request of type GetSceneItemId.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemid" + ], + "Examples": [] +} \ No newline at end of file From b235b1228125810410577e47e11200ee1d1d2605 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3103/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneItemIndex.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemIndex.json diff --git a/docs/_data/Help/Get-OBSSceneItemIndex.json b/docs/_data/Help/Get-OBSSceneItemIndex.json new file mode 100644 index 000000000..6e42c172a --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemIndex.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemIndex : GetSceneItemIndex", + "Description": "Gets the index position of a scene item in a scene.\n\nAn index of 0 is at the bottom of the source list in the UI.\n\nScenes and Groups\n\n\nGet-OBSSceneItemIndex calls the OBS WebSocket with a request of type GetSceneItemIndex.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemindex" + ], + "Examples": [] +} \ No newline at end of file From e89e4a55c74e9acc3a8456323b417e4881a2cf3a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3104/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneItemLocked.json | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemLocked.json diff --git a/docs/_data/Help/Get-OBSSceneItemLocked.json b/docs/_data/Help/Get-OBSSceneItemLocked.json new file mode 100644 index 000000000..56b213ea4 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemLocked.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemLocked : GetSceneItemLocked", + "Description": "Gets the lock state of a scene item.\n\nScenes and Groups\n\n\nGet-OBSSceneItemLocked calls the OBS WebSocket with a request of type GetSceneItemLocked.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlocked" + ], + "Examples": [] +} \ No newline at end of file From 5481b17cd8332d9aa218967a9ecda8267cefdbe8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3105/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneItemSource.json | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemSource.json diff --git a/docs/_data/Help/Get-OBSSceneItemSource.json b/docs/_data/Help/Get-OBSSceneItemSource.json new file mode 100644 index 000000000..64f5da3a0 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemSource.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemSource : GetSceneItemSource", + "Description": "Gets the source associated with a scene item.\n\n\nGet-OBSSceneItemSource calls the OBS WebSocket with a request of type GetSceneItemSource.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemsource" + ], + "Examples": [] +} \ No newline at end of file From 97de37046e8a23187f2da3d127388328eaa05128 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3106/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSSceneItemTransform.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneItemTransform.json diff --git a/docs/_data/Help/Get-OBSSceneItemTransform.json b/docs/_data/Help/Get-OBSSceneItemTransform.json new file mode 100644 index 000000000..97e2d954e --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneItemTransform.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemTransform : GetSceneItemTransform", + "Description": "Gets the transform and crop info of a scene item.\n\nScenes and Groups\n\n\nGet-OBSSceneItemTransform calls the OBS WebSocket with a request of type GetSceneItemTransform.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemtransform" + ], + "Examples": [] +} \ No newline at end of file From b4793a613cde25f761927882febd2e8c003eb5de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3107/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSSceneSceneTransitionOverride.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneSceneTransitionOverride.json diff --git a/docs/_data/Help/Get-OBSSceneSceneTransitionOverride.json b/docs/_data/Help/Get-OBSSceneSceneTransitionOverride.json new file mode 100644 index 000000000..4f0e8ef18 --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneSceneTransitionOverride.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride", + "Description": "Gets the scene transition overridden for a scene.\n\nNote: A transition UUID response field is not currently able to be implemented as of 2024-1-18.\n\n\nGet-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type GetSceneSceneTransitionOverride.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenescenetransitionoverride" + ], + "Examples": [] +} \ No newline at end of file From 4d655e61bb2a7faef7e1364c53b663784da3fa7b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3108/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSceneTransition.json | 41 +++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSceneTransition.json diff --git a/docs/_data/Help/Get-OBSSceneTransition.json b/docs/_data/Help/Get-OBSSceneTransition.json new file mode 100644 index 000000000..d2d6c77ea --- /dev/null +++ b/docs/_data/Help/Get-OBSSceneTransition.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSceneTransition : GetSceneTransitionList", + "Description": "Gets an array of all scene transitions in OBS.\n\n\nGet-OBSSceneTransition calls the OBS WebSocket with a request of type GetSceneTransitionList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenetransitionlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSceneTransition" + } + ] +} \ No newline at end of file From 6aea71c62dfa1d28c34782fa7a1a70b2e5cac2b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3109/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSeascapeShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSeascapeShader.json diff --git a/docs/_data/Help/Get-OBSSeascapeShader.json b/docs/_data/Help/Get-OBSSeascapeShader.json new file mode 100644 index 000000000..854433ab4 --- /dev/null +++ b/docs/_data/Help/Get-OBSSeascapeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 73875309c906db52478fcd436095a1ba96198da9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:24 +0000 Subject: [PATCH 3110/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSeasickShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSeasickShader.json diff --git a/docs/_data/Help/Get-OBSSeasickShader.json b/docs/_data/Help/Get-OBSSeasickShader.json new file mode 100644 index 000000000..74ab7991f --- /dev/null +++ b/docs/_data/Help/Get-OBSSeasickShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c243d35c2c223a27ddf0f04fcf774f7a1cdd354b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3111/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSSelectiveColorShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSelectiveColorShader.json diff --git a/docs/_data/Help/Get-OBSSelectiveColorShader.json b/docs/_data/Help/Get-OBSSelectiveColorShader.json new file mode 100644 index 000000000..167a52600 --- /dev/null +++ b/docs/_data/Help/Get-OBSSelectiveColorShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f2c0dbd3159488f205384d27749683680d80702d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3112/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSShakeShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSShakeShader.json diff --git a/docs/_data/Help/Get-OBSShakeShader.json b/docs/_data/Help/Get-OBSShakeShader.json new file mode 100644 index 000000000..83de5fbb8 --- /dev/null +++ b/docs/_data/Help/Get-OBSShakeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 56bd2e70c40e1d18ce432ed8dfa64e0ae1f1fc9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3113/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSShineShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSShineShader.json diff --git a/docs/_data/Help/Get-OBSShineShader.json b/docs/_data/Help/Get-OBSShineShader.json new file mode 100644 index 000000000..fd49a93f1 --- /dev/null +++ b/docs/_data/Help/Get-OBSShineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9c546642dde2ffee712ec48039e1b14a0095151e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3114/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSSimpleGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSimpleGradientShader.json diff --git a/docs/_data/Help/Get-OBSSimpleGradientShader.json b/docs/_data/Help/Get-OBSSimpleGradientShader.json new file mode 100644 index 000000000..7f86021bb --- /dev/null +++ b/docs/_data/Help/Get-OBSSimpleGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f04edfe3b757f046beed1075332cdf4b958692fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3115/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Get-OBSSimplexNoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSimplexNoiseShader.json diff --git a/docs/_data/Help/Get-OBSSimplexNoiseShader.json b/docs/_data/Help/Get-OBSSimplexNoiseShader.json new file mode 100644 index 000000000..d3aaa0216 --- /dev/null +++ b/docs/_data/Help/Get-OBSSimplexNoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 884d57eecb36bc25fe870196399ee8b313653210 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3116/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSourceActive.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSourceActive.json diff --git a/docs/_data/Help/Get-OBSSourceActive.json b/docs/_data/Help/Get-OBSSourceActive.json new file mode 100644 index 000000000..a45d5096e --- /dev/null +++ b/docs/_data/Help/Get-OBSSourceActive.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceActive : GetSourceActive", + "Description": "Gets the active and show state of a source.\n\n**Compatible with inputs and scenes.**\n\n\nGet-OBSSourceActive calls the OBS WebSocket with a request of type GetSourceActive.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourceactive" + ], + "Examples": [] +} \ No newline at end of file From b758f69e402d1ede946fe77a6c9c233a252c3568 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:25 +0000 Subject: [PATCH 3117/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSourceFilter.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSourceFilter.json diff --git a/docs/_data/Help/Get-OBSSourceFilter.json b/docs/_data/Help/Get-OBSSourceFilter.json new file mode 100644 index 000000000..d8589e082 --- /dev/null +++ b/docs/_data/Help/Get-OBSSourceFilter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceFilter : GetSourceFilter", + "Description": "Gets the info for a specific source filter.\n\n\nGet-OBSSourceFilter calls the OBS WebSocket with a request of type GetSourceFilter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilter" + ], + "Examples": [] +} \ No newline at end of file From b1caf420f1050579068cf2dea2d65fdb82cea516 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3118/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Get-OBSSourceFilterDefaultSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSourceFilterDefaultSettings.json diff --git a/docs/_data/Help/Get-OBSSourceFilterDefaultSettings.json b/docs/_data/Help/Get-OBSSourceFilterDefaultSettings.json new file mode 100644 index 000000000..a08aabdfb --- /dev/null +++ b/docs/_data/Help/Get-OBSSourceFilterDefaultSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings", + "Description": "Gets the default settings for a filter kind.\n\n\nGet-OBSSourceFilterDefaultSettings calls the OBS WebSocket with a request of type GetSourceFilterDefaultSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterdefaultsettings" + ], + "Examples": [] +} \ No newline at end of file From 083dd3a9f13474bafe474bee332d60fb9c9c2643 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3119/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSourceFilterKind.json | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSourceFilterKind.json diff --git a/docs/_data/Help/Get-OBSSourceFilterKind.json b/docs/_data/Help/Get-OBSSourceFilterKind.json new file mode 100644 index 000000000..803939ba3 --- /dev/null +++ b/docs/_data/Help/Get-OBSSourceFilterKind.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSourceFilterKind : GetSourceFilterKindList", + "Description": "Gets an array of all available source filter kinds.\n\nSimilar to `GetInputKindList`\n\n\nGet-OBSSourceFilterKind calls the OBS WebSocket with a request of type GetSourceFilterKindList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterkindlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSourceFilterKind" + } + ] +} \ No newline at end of file From dcb6e945169a4c7a8dd4d8c69ace5de6f0b6727f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3120/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSourceFilterList.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSourceFilterList.json diff --git a/docs/_data/Help/Get-OBSSourceFilterList.json b/docs/_data/Help/Get-OBSSourceFilterList.json new file mode 100644 index 000000000..48a148103 --- /dev/null +++ b/docs/_data/Help/Get-OBSSourceFilterList.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceFilterList : GetSourceFilterList", + "Description": "Gets an array of all of a source's filters.\n\n\nGet-OBSSourceFilterList calls the OBS WebSocket with a request of type GetSourceFilterList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterlist" + ], + "Examples": [] +} \ No newline at end of file From 844c28013568afd701bea67b38f386c32a5ee990 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3121/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSourceScreenshot.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSourceScreenshot.json diff --git a/docs/_data/Help/Get-OBSSourceScreenshot.json b/docs/_data/Help/Get-OBSSourceScreenshot.json new file mode 100644 index 000000000..9e60ff7e4 --- /dev/null +++ b/docs/_data/Help/Get-OBSSourceScreenshot.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceScreenshot : GetSourceScreenshot", + "Description": "Gets a Base64-encoded screenshot of a source.\n\nThe `imageWidth` and `imageHeight` parameters are treated as \"scale to inner\", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept.\nIf `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source.\n\n**Compatible with inputs and scenes.**\n\n\nGet-OBSSourceScreenshot calls the OBS WebSocket with a request of type GetSourceScreenshot.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcescreenshot" + ], + "Examples": [] +} \ No newline at end of file From 776434df29268523238a844bd91c6617b13f9e3a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3122/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSpecialInputs.json | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSpecialInputs.json diff --git a/docs/_data/Help/Get-OBSSpecialInputs.json b/docs/_data/Help/Get-OBSSpecialInputs.json new file mode 100644 index 000000000..831f76ca5 --- /dev/null +++ b/docs/_data/Help/Get-OBSSpecialInputs.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSpecialInputs : GetSpecialInputs", + "Description": "Gets the names of all special inputs.\n\n\nGet-OBSSpecialInputs calls the OBS WebSocket with a request of type GetSpecialInputs.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getspecialinputs" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSpecialInputs" + } + ] +} \ No newline at end of file From a0846ff1288c547c0c952c1133d2077f268a79b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3123/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSpotlightShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSpotlightShader.json diff --git a/docs/_data/Help/Get-OBSSpotlightShader.json b/docs/_data/Help/Get-OBSSpotlightShader.json new file mode 100644 index 000000000..854182a18 --- /dev/null +++ b/docs/_data/Help/Get-OBSSpotlightShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 64376bad3cc7f4c647af4f503acb6cfedae4f5c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3124/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSStats.json | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSStats.json diff --git a/docs/_data/Help/Get-OBSStats.json b/docs/_data/Help/Get-OBSStats.json new file mode 100644 index 000000000..11e6051aa --- /dev/null +++ b/docs/_data/Help/Get-OBSStats.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStats : GetStats", + "Description": "Gets statistics about OBS, obs-websocket, and the current session.\n\n\nGet-OBSStats calls the OBS WebSocket with a request of type GetStats.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstats" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStats" + } + ] +} \ No newline at end of file From c451f8b54517bd20134e8bd61322ea94a51e965d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3125/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSStreamServiceSettings.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSStreamServiceSettings.json diff --git a/docs/_data/Help/Get-OBSStreamServiceSettings.json b/docs/_data/Help/Get-OBSStreamServiceSettings.json new file mode 100644 index 000000000..a23e50331 --- /dev/null +++ b/docs/_data/Help/Get-OBSStreamServiceSettings.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStreamServiceSettings : GetStreamServiceSettings", + "Description": "Gets the current stream service settings (stream destination).\n\n\nGet-OBSStreamServiceSettings calls the OBS WebSocket with a request of type GetStreamServiceSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamservicesettings" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStreamServiceSettings" + } + ] +} \ No newline at end of file From b986e91803ace098726477b679afd43ab0d41566 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:26 +0000 Subject: [PATCH 3126/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSStreamStatus.json | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSStreamStatus.json diff --git a/docs/_data/Help/Get-OBSStreamStatus.json b/docs/_data/Help/Get-OBSStreamStatus.json new file mode 100644 index 000000000..368bf63f5 --- /dev/null +++ b/docs/_data/Help/Get-OBSStreamStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStreamStatus : GetStreamStatus", + "Description": "Gets the status of the stream output.\n\n\nGet-OBSStreamStatus calls the OBS WebSocket with a request of type GetStreamStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStreamStatus" + } + ] +} \ No newline at end of file From 1408117dd3f533abbadcee94ce2e0deabfc57594 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3127/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSStudioModeEnabled.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSStudioModeEnabled.json diff --git a/docs/_data/Help/Get-OBSStudioModeEnabled.json b/docs/_data/Help/Get-OBSStudioModeEnabled.json new file mode 100644 index 000000000..446caef59 --- /dev/null +++ b/docs/_data/Help/Get-OBSStudioModeEnabled.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStudioModeEnabled : GetStudioModeEnabled", + "Description": "Gets whether studio is enabled.\n\n\nGet-OBSStudioModeEnabled calls the OBS WebSocket with a request of type GetStudioModeEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstudiomodeenabled" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStudioModeEnabled" + } + ] +} \ No newline at end of file From 2228dfe8faf0d7933c3b84c850311feed9bd53c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3128/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSwirlShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSwirlShader.json diff --git a/docs/_data/Help/Get-OBSSwirlShader.json b/docs/_data/Help/Get-OBSSwirlShader.json new file mode 100644 index 000000000..2245a99c5 --- /dev/null +++ b/docs/_data/Help/Get-OBSSwirlShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b48324fc079880ae92fed327bc5b8b6cd4e3a220 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3129/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSThermalShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSThermalShader.json diff --git a/docs/_data/Help/Get-OBSThermalShader.json b/docs/_data/Help/Get-OBSThermalShader.json new file mode 100644 index 000000000..cb5416546 --- /dev/null +++ b/docs/_data/Help/Get-OBSThermalShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7d2379de3bb43b6d6f00593b5b623e2da9a68db9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3130/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSTransitionKind.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSTransitionKind.json diff --git a/docs/_data/Help/Get-OBSTransitionKind.json b/docs/_data/Help/Get-OBSTransitionKind.json new file mode 100644 index 000000000..6dc953c2a --- /dev/null +++ b/docs/_data/Help/Get-OBSTransitionKind.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSTransitionKind : GetTransitionKindList", + "Description": "Gets an array of all available transition kinds.\n\nSimilar to `GetInputKindList`\n\n\nGet-OBSTransitionKind calls the OBS WebSocket with a request of type GetTransitionKindList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gettransitionkindlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSTransitionKind" + } + ] +} \ No newline at end of file From 9ceda8d5b63cd9ff18707d2d94ed6d59938a79da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3131/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSTvCrtSubpixelShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSTvCrtSubpixelShader.json diff --git a/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json b/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json new file mode 100644 index 000000000..0de0bf554 --- /dev/null +++ b/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5cbf2717d6a49cae9956848761d4bfc88cfa4b12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3132/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSTwistShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSTwistShader.json diff --git a/docs/_data/Help/Get-OBSTwistShader.json b/docs/_data/Help/Get-OBSTwistShader.json new file mode 100644 index 000000000..a8d7fc1b4 --- /dev/null +++ b/docs/_data/Help/Get-OBSTwistShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4c8e75f2fc8757b79fea90c5dcf06dd0bc58e44a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3133/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSTwoPassDropShadowShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSTwoPassDropShadowShader.json diff --git a/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json b/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json new file mode 100644 index 000000000..2461bde27 --- /dev/null +++ b/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9cdabfcba582c618053fb60923c1a808509929fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:27 +0000 Subject: [PATCH 3134/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVCRShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVCRShader.json diff --git a/docs/_data/Help/Get-OBSVCRShader.json b/docs/_data/Help/Get-OBSVCRShader.json new file mode 100644 index 000000000..8d5c91699 --- /dev/null +++ b/docs/_data/Help/Get-OBSVCRShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f5517ac0eb001a31353f3a954b047215413c50ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3135/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVersion.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVersion.json diff --git a/docs/_data/Help/Get-OBSVersion.json b/docs/_data/Help/Get-OBSVersion.json new file mode 100644 index 000000000..8dc1e4c68 --- /dev/null +++ b/docs/_data/Help/Get-OBSVersion.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSVersion : GetVersion", + "Description": "Gets data about the current plugin and RPC version.\n\n\nGet-OBSVersion calls the OBS WebSocket with a request of type GetVersion.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getversion" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSVersion" + } + ] +} \ No newline at end of file From 0ed365b4e10b779bb7a224265e1f8563851098bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3136/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVHSShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVHSShader.json diff --git a/docs/_data/Help/Get-OBSVHSShader.json b/docs/_data/Help/Get-OBSVHSShader.json new file mode 100644 index 000000000..743cd0edc --- /dev/null +++ b/docs/_data/Help/Get-OBSVHSShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ed5c85894c4f6f5c611edf498d38608f9a5a62a6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3137/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVideoSettings.json | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVideoSettings.json diff --git a/docs/_data/Help/Get-OBSVideoSettings.json b/docs/_data/Help/Get-OBSVideoSettings.json new file mode 100644 index 000000000..4bcd61a83 --- /dev/null +++ b/docs/_data/Help/Get-OBSVideoSettings.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSVideoSettings : GetVideoSettings", + "Description": "Gets the current video settings.\n\nNote: To get the true FPS value, divide the FPS numerator by the FPS denominator. Example: `60000/1001`\n\n\nGet-OBSVideoSettings calls the OBS WebSocket with a request of type GetVideoSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvideosettings" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSVideoSettings" + } + ] +} \ No newline at end of file From 3503bfc53179ec2c85854e65a890a36d55148202 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3138/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVignettingShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVignettingShader.json diff --git a/docs/_data/Help/Get-OBSVignettingShader.json b/docs/_data/Help/Get-OBSVignettingShader.json new file mode 100644 index 000000000..61647c987 --- /dev/null +++ b/docs/_data/Help/Get-OBSVignettingShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b8aafcb82d814b303db940c95825c97127a0aa83 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3139/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVirtualCamStatus.json | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVirtualCamStatus.json diff --git a/docs/_data/Help/Get-OBSVirtualCamStatus.json b/docs/_data/Help/Get-OBSVirtualCamStatus.json new file mode 100644 index 000000000..0591fdfa8 --- /dev/null +++ b/docs/_data/Help/Get-OBSVirtualCamStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSVirtualCamStatus : GetVirtualCamStatus", + "Description": "Gets the status of the virtualcam output.\n\n\nGet-OBSVirtualCamStatus calls the OBS WebSocket with a request of type GetVirtualCamStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvirtualcamstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSVirtualCamStatus" + } + ] +} \ No newline at end of file From b7fc280a3001e79a38678825bada0597e354815b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3140/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSVoronoiPixelationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVoronoiPixelationShader.json diff --git a/docs/_data/Help/Get-OBSVoronoiPixelationShader.json b/docs/_data/Help/Get-OBSVoronoiPixelationShader.json new file mode 100644 index 000000000..27678a463 --- /dev/null +++ b/docs/_data/Help/Get-OBSVoronoiPixelationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a7c30a9eee2b7c1276435f5bd1e32cce014793c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3141/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSZigZagShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSZigZagShader.json diff --git a/docs/_data/Help/Get-OBSZigZagShader.json b/docs/_data/Help/Get-OBSZigZagShader.json new file mode 100644 index 000000000..3d2b657a9 --- /dev/null +++ b/docs/_data/Help/Get-OBSZigZagShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b216e8d97116189eeebd78790f575eae2d601ef3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:28 +0000 Subject: [PATCH 3142/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSZoomBlurShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSZoomBlurShader.json diff --git a/docs/_data/Help/Get-OBSZoomBlurShader.json b/docs/_data/Help/Get-OBSZoomBlurShader.json new file mode 100644 index 000000000..aee04c70d --- /dev/null +++ b/docs/_data/Help/Get-OBSZoomBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 68c2369721faa0301ba9cf4a962277e330802f1a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3143/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSZoomShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSZoomShader.json diff --git a/docs/_data/Help/Get-OBSZoomShader.json b/docs/_data/Help/Get-OBSZoomShader.json new file mode 100644 index 000000000..8cf5230c1 --- /dev/null +++ b/docs/_data/Help/Get-OBSZoomShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4c798a912d015bb348c1efc7900e39d14ed313f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3144/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSZoomXYShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSZoomXYShader.json diff --git a/docs/_data/Help/Get-OBSZoomXYShader.json b/docs/_data/Help/Get-OBSZoomXYShader.json new file mode 100644 index 000000000..cde841cc0 --- /dev/null +++ b/docs/_data/Help/Get-OBSZoomXYShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 390b6d4e2140f1b208db263300a386b5c804b861 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3145/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Hide-OBS.json | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Hide-OBS.json diff --git a/docs/_data/Help/Hide-OBS.json b/docs/_data/Help/Hide-OBS.json new file mode 100644 index 000000000..11b7f78a0 --- /dev/null +++ b/docs/_data/Help/Hide-OBS.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Hide OBS", + "Description": "Hides items in OBS", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Hide-OBS -SourceName \"foo\"" + } + ] +} \ No newline at end of file From 5b7b93e1b61efd858e7b5d50145c4eb7227c929a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3146/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Import-OBSEffect.json | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Import-OBSEffect.json diff --git a/docs/_data/Help/Import-OBSEffect.json b/docs/_data/Help/Import-OBSEffect.json new file mode 100644 index 000000000..f35651d00 --- /dev/null +++ b/docs/_data/Help/Import-OBSEffect.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Imports Effects", + "Description": "Imports obs-powershell effects", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Import-OBSEffect -Path (Get-Module obs-powershell)" + } + ] +} \ No newline at end of file From 064c270a214e770706761bf989e2672bf4853911 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3147/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Open-OBSInputFiltersDialog.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Open-OBSInputFiltersDialog.json diff --git a/docs/_data/Help/Open-OBSInputFiltersDialog.json b/docs/_data/Help/Open-OBSInputFiltersDialog.json new file mode 100644 index 000000000..5aefb71c1 --- /dev/null +++ b/docs/_data/Help/Open-OBSInputFiltersDialog.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSInputFiltersDialog : OpenInputFiltersDialog", + "Description": "Opens the filters dialog of an input.\n\n\nOpen-OBSInputFiltersDialog calls the OBS WebSocket with a request of type OpenInputFiltersDialog.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputfiltersdialog" + ], + "Examples": [] +} \ No newline at end of file From be86d53328830c8ee1daa361a3ed831cc1f1579b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3148/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Open-OBSInputInteractDialog.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Open-OBSInputInteractDialog.json diff --git a/docs/_data/Help/Open-OBSInputInteractDialog.json b/docs/_data/Help/Open-OBSInputInteractDialog.json new file mode 100644 index 000000000..7f7176f4b --- /dev/null +++ b/docs/_data/Help/Open-OBSInputInteractDialog.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSInputInteractDialog : OpenInputInteractDialog", + "Description": "Opens the interact dialog of an input.\n\n\nOpen-OBSInputInteractDialog calls the OBS WebSocket with a request of type OpenInputInteractDialog.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputinteractdialog" + ], + "Examples": [] +} \ No newline at end of file From a13f7099523c77bd03466bb729547e1b8956afb0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3149/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Open-OBSInputPropertiesDialog.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Open-OBSInputPropertiesDialog.json diff --git a/docs/_data/Help/Open-OBSInputPropertiesDialog.json b/docs/_data/Help/Open-OBSInputPropertiesDialog.json new file mode 100644 index 000000000..63667431c --- /dev/null +++ b/docs/_data/Help/Open-OBSInputPropertiesDialog.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog", + "Description": "Opens the properties dialog of an input.\n\n\nOpen-OBSInputPropertiesDialog calls the OBS WebSocket with a request of type OpenInputPropertiesDialog.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputpropertiesdialog" + ], + "Examples": [] +} \ No newline at end of file From 3b9d190b29d21c493185ae716b0c8a1c7ca708ac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3150/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Open-OBSSourceProjector.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Open-OBSSourceProjector.json diff --git a/docs/_data/Help/Open-OBSSourceProjector.json b/docs/_data/Help/Open-OBSSourceProjector.json new file mode 100644 index 000000000..e36288136 --- /dev/null +++ b/docs/_data/Help/Open-OBSSourceProjector.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSSourceProjector : OpenSourceProjector", + "Description": "Opens a projector for a source.\n\nNote: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.\n\n\nOpen-OBSSourceProjector calls the OBS WebSocket with a request of type OpenSourceProjector.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#opensourceprojector" + ], + "Examples": [] +} \ No newline at end of file From df992a00fca902be160929aa3480ef34ba605c65 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:29 +0000 Subject: [PATCH 3151/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Open-OBSVideoMixProjector.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Open-OBSVideoMixProjector.json diff --git a/docs/_data/Help/Open-OBSVideoMixProjector.json b/docs/_data/Help/Open-OBSVideoMixProjector.json new file mode 100644 index 000000000..e70e977db --- /dev/null +++ b/docs/_data/Help/Open-OBSVideoMixProjector.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSVideoMixProjector : OpenVideoMixProjector", + "Description": "Opens a projector for a specific output video mix.\n\nMix types:\n\n- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PREVIEW`\n- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PROGRAM`\n- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_MULTIVIEW`\n\nNote: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.\n\n\nOpen-OBSVideoMixProjector calls the OBS WebSocket with a request of type OpenVideoMixProjector.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openvideomixprojector" + ], + "Examples": [] +} \ No newline at end of file From c61ba720da8e8c575f89b651c1db04bca2ccfbd1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3152/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Receive-OBS.json | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Receive-OBS.json diff --git a/docs/_data/Help/Receive-OBS.json b/docs/_data/Help/Receive-OBS.json new file mode 100644 index 000000000..f7c708e58 --- /dev/null +++ b/docs/_data/Help/Receive-OBS.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Receives data from OBS", + "Description": "Receives responses from the OBS WebSocket", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 933db320d48022a1d068c51f947a917c48bc8eb8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3153/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBS.json | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 docs/_data/Help/Remove-OBS.json diff --git a/docs/_data/Help/Remove-OBS.json b/docs/_data/Help/Remove-OBS.json new file mode 100644 index 000000000..2c61835d8 --- /dev/null +++ b/docs/_data/Help/Remove-OBS.json @@ -0,0 +1,47 @@ +{ + "Synopsis": "Remove OBS", + "Description": "Removes items from OBS", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Remove-OBS -SourceName \"foo\"" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Remove-OBS -SceneName \"bar\"" + } + ] +} \ No newline at end of file From b29c81abdac162ad5bc2729d42c52df309ecc357 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3154/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBSEffect.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Remove-OBSEffect.json diff --git a/docs/_data/Help/Remove-OBSEffect.json b/docs/_data/Help/Remove-OBSEffect.json new file mode 100644 index 000000000..ee4d0fb1d --- /dev/null +++ b/docs/_data/Help/Remove-OBSEffect.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Removes OBS Effects", + "Description": "Removes effects currently loaded into OBS-PowerShell.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + "This removes effects from memory, but will not delete effect commands or remove effect scripts." + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null + ], + "Examples": [] +} \ No newline at end of file From 78c4935475310826832535e93d781084031885e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3155/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBSInput.json | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Remove-OBSInput.json diff --git a/docs/_data/Help/Remove-OBSInput.json b/docs/_data/Help/Remove-OBSInput.json new file mode 100644 index 000000000..50e5dd762 --- /dev/null +++ b/docs/_data/Help/Remove-OBSInput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSInput : RemoveInput", + "Description": "Removes an existing input.\n\nNote: Will immediately remove all associated scene items.\n\n\nRemove-OBSInput calls the OBS WebSocket with a request of type RemoveInput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeinput" + ], + "Examples": [] +} \ No newline at end of file From 2f2ef11c4af5061b21b9b7e64555f30e996d38ed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3156/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBSProfile.json | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Remove-OBSProfile.json diff --git a/docs/_data/Help/Remove-OBSProfile.json b/docs/_data/Help/Remove-OBSProfile.json new file mode 100644 index 000000000..67206fcbe --- /dev/null +++ b/docs/_data/Help/Remove-OBSProfile.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSProfile : RemoveProfile", + "Description": "Removes a profile. If the current profile is chosen, it will change to a different profile first.\n\n\nRemove-OBSProfile calls the OBS WebSocket with a request of type RemoveProfile.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeprofile" + ], + "Examples": [] +} \ No newline at end of file From 5573c61f288744b4936af87e1cf4f24e92e62e40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3157/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBSScene.json | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Remove-OBSScene.json diff --git a/docs/_data/Help/Remove-OBSScene.json b/docs/_data/Help/Remove-OBSScene.json new file mode 100644 index 000000000..65abc9777 --- /dev/null +++ b/docs/_data/Help/Remove-OBSScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSScene : RemoveScene", + "Description": "Removes a scene from OBS.\n\n\nRemove-OBSScene calls the OBS WebSocket with a request of type RemoveScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removescene" + ], + "Examples": [] +} \ No newline at end of file From 215a94f847b6470272a30b7514bac414e223c8d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3158/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBSSceneItem.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Remove-OBSSceneItem.json diff --git a/docs/_data/Help/Remove-OBSSceneItem.json b/docs/_data/Help/Remove-OBSSceneItem.json new file mode 100644 index 000000000..9389206ea --- /dev/null +++ b/docs/_data/Help/Remove-OBSSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSSceneItem : RemoveSceneItem", + "Description": "Removes a scene item from a scene.\n\nScenes only\n\n\nRemove-OBSSceneItem calls the OBS WebSocket with a request of type RemoveSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesceneitem" + ], + "Examples": [] +} \ No newline at end of file From 6596f2026a9929e1d2142d96f94fc10d9e4421e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:30 +0000 Subject: [PATCH 3159/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Remove-OBSSourceFilter.json | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Remove-OBSSourceFilter.json diff --git a/docs/_data/Help/Remove-OBSSourceFilter.json b/docs/_data/Help/Remove-OBSSourceFilter.json new file mode 100644 index 000000000..616566669 --- /dev/null +++ b/docs/_data/Help/Remove-OBSSourceFilter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSSourceFilter : RemoveSourceFilter", + "Description": "Removes a filter from a source.\n\n\nRemove-OBSSourceFilter calls the OBS WebSocket with a request of type RemoveSourceFilter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesourcefilter" + ], + "Examples": [] +} \ No newline at end of file From f087bb891d32e18251a44e7efd5c853964e4a21c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3160/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Resume-OBSRecord.json | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Resume-OBSRecord.json diff --git a/docs/_data/Help/Resume-OBSRecord.json b/docs/_data/Help/Resume-OBSRecord.json new file mode 100644 index 000000000..69558d735 --- /dev/null +++ b/docs/_data/Help/Resume-OBSRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Resume-OBSRecord : ResumeRecord", + "Description": "Resumes the record output.\n\n\nResume-OBSRecord calls the OBS WebSocket with a request of type ResumeRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#resumerecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Resume-OBSRecord" + } + ] +} \ No newline at end of file From 6820ca4c6948f8420ef0fec85eb86c0b8e856c1a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3161/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Save-OBSReplayBuffer.json | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Save-OBSReplayBuffer.json diff --git a/docs/_data/Help/Save-OBSReplayBuffer.json b/docs/_data/Help/Save-OBSReplayBuffer.json new file mode 100644 index 000000000..ab364b8f0 --- /dev/null +++ b/docs/_data/Help/Save-OBSReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Save-OBSReplayBuffer : SaveReplayBuffer", + "Description": "Saves the contents of the replay buffer output.\n\n\nSave-OBSReplayBuffer calls the OBS WebSocket with a request of type SaveReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savereplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Save-OBSReplayBuffer" + } + ] +} \ No newline at end of file From d529ac288afa9d72ee7240bfd3688ca5ec398ac6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3162/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Save-OBSSourceScreenshot.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Save-OBSSourceScreenshot.json diff --git a/docs/_data/Help/Save-OBSSourceScreenshot.json b/docs/_data/Help/Save-OBSSourceScreenshot.json new file mode 100644 index 000000000..c5cdd47fd --- /dev/null +++ b/docs/_data/Help/Save-OBSSourceScreenshot.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Save-OBSSourceScreenshot : SaveSourceScreenshot", + "Description": "Saves a screenshot of a source to the filesystem.\n\nThe `imageWidth` and `imageHeight` parameters are treated as \"scale to inner\", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept.\nIf `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source.\n\n**Compatible with inputs and scenes.**\n\n\nSave-OBSSourceScreenshot calls the OBS WebSocket with a request of type SaveSourceScreenshot.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savesourcescreenshot" + ], + "Examples": [] +} \ No newline at end of file From 46146391340bba163990ed16978d1ea75a8d5701 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3163/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Send-OBS.json | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/_data/Help/Send-OBS.json diff --git a/docs/_data/Help/Send-OBS.json b/docs/_data/Help/Send-OBS.json new file mode 100644 index 000000000..982c3f3d5 --- /dev/null +++ b/docs/_data/Help/Send-OBS.json @@ -0,0 +1,36 @@ +{ + "Synopsis": "Sends messages to the OBS websocket.", + "Description": "Sends one or more messages to the OBS websocket.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [] +} \ No newline at end of file From 4288b4a759cab5f12850088bf4cf306ca8191458 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3164/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Send-OBSCallVendorRequest.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSCallVendorRequest.json diff --git a/docs/_data/Help/Send-OBSCallVendorRequest.json b/docs/_data/Help/Send-OBSCallVendorRequest.json new file mode 100644 index 000000000..e3939a498 --- /dev/null +++ b/docs/_data/Help/Send-OBSCallVendorRequest.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSCallVendorRequest : CallVendorRequest", + "Description": "Call a request registered to a vendor.\n\nA vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket.\nIf a plugin or script implements vendor requests or events, documentation is expected to be provided with them.\n\n\nSend-OBSCallVendorRequest calls the OBS WebSocket with a request of type CallVendorRequest.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#callvendorrequest" + ], + "Examples": [] +} \ No newline at end of file From af343f5506398f9f36a122ba794d13e3a53f364e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3165/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Send-OBSCustomEvent.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSCustomEvent.json diff --git a/docs/_data/Help/Send-OBSCustomEvent.json b/docs/_data/Help/Send-OBSCustomEvent.json new file mode 100644 index 000000000..19b946e89 --- /dev/null +++ b/docs/_data/Help/Send-OBSCustomEvent.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSCustomEvent : BroadcastCustomEvent", + "Description": "Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed.\n\n\nSend-OBSCustomEvent calls the OBS WebSocket with a request of type BroadcastCustomEvent.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#broadcastcustomevent" + ], + "Examples": [] +} \ No newline at end of file From e494ddc2dedfd7cd862e39f14f2bc3c1de628eae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3166/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Send-OBSOffsetMediaInputCursor.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSOffsetMediaInputCursor.json diff --git a/docs/_data/Help/Send-OBSOffsetMediaInputCursor.json b/docs/_data/Help/Send-OBSOffsetMediaInputCursor.json new file mode 100644 index 000000000..ad3ebe5ab --- /dev/null +++ b/docs/_data/Help/Send-OBSOffsetMediaInputCursor.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor", + "Description": "Offsets the current cursor position of a media input by the specified value.\n\nThis request does not perform bounds checking of the cursor position.\n\n\nSend-OBSOffsetMediaInputCursor calls the OBS WebSocket with a request of type OffsetMediaInputCursor.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#offsetmediainputcursor" + ], + "Examples": [] +} \ No newline at end of file From 3b5442460cadde69d0015ac5decc97684c15c28d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:31 +0000 Subject: [PATCH 3167/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Send-OBSPauseRecord.json | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Send-OBSPauseRecord.json diff --git a/docs/_data/Help/Send-OBSPauseRecord.json b/docs/_data/Help/Send-OBSPauseRecord.json new file mode 100644 index 000000000..491a063d4 --- /dev/null +++ b/docs/_data/Help/Send-OBSPauseRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Send-OBSPauseRecord : PauseRecord", + "Description": "Pauses the record output.\n\n\nSend-OBSPauseRecord calls the OBS WebSocket with a request of type PauseRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pauserecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Send-OBSPauseRecord" + } + ] +} \ No newline at end of file From d01208827ec6b65fa2ccd596ccbe1bb622eb7e8b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3168/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Send-OBSPressInputPropertiesButton.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSPressInputPropertiesButton.json diff --git a/docs/_data/Help/Send-OBSPressInputPropertiesButton.json b/docs/_data/Help/Send-OBSPressInputPropertiesButton.json new file mode 100644 index 000000000..9083e5aea --- /dev/null +++ b/docs/_data/Help/Send-OBSPressInputPropertiesButton.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSPressInputPropertiesButton : PressInputPropertiesButton", + "Description": "Presses a button in the properties of an input.\n\nSome known `propertyName` values are:\n\n- `refreshnocache` - Browser source reload button\n\nNote: Use this in cases where there is a button in the properties of an input that cannot be accessed in any other way. For example, browser sources, where there is a refresh button.\n\n\nSend-OBSPressInputPropertiesButton calls the OBS WebSocket with a request of type PressInputPropertiesButton.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pressinputpropertiesbutton" + ], + "Examples": [] +} \ No newline at end of file From cce94368afae90f7e777a0142d1e6b65b6d5f44e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3169/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Send-OBSSleep.json | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSSleep.json diff --git a/docs/_data/Help/Send-OBSSleep.json b/docs/_data/Help/Send-OBSSleep.json new file mode 100644 index 000000000..2d5957186 --- /dev/null +++ b/docs/_data/Help/Send-OBSSleep.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSSleep : Sleep", + "Description": "Sleeps for a time duration or number of frames. Only available in request batches with types `SERIAL_REALTIME` or `SERIAL_FRAME`.\n\n\nSend-OBSSleep calls the OBS WebSocket with a request of type Sleep.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sleep" + ], + "Examples": [] +} \ No newline at end of file From 81b76832d4819235dc32a3a809c48596438002bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3170/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Send-OBSStreamCaption.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSStreamCaption.json diff --git a/docs/_data/Help/Send-OBSStreamCaption.json b/docs/_data/Help/Send-OBSStreamCaption.json new file mode 100644 index 000000000..9553cca0d --- /dev/null +++ b/docs/_data/Help/Send-OBSStreamCaption.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSStreamCaption : SendStreamCaption", + "Description": "Sends CEA-608 caption text over the stream output.\n\n\nSend-OBSStreamCaption calls the OBS WebSocket with a request of type SendStreamCaption.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sendstreamcaption" + ], + "Examples": [] +} \ No newline at end of file From 4d14f0285a9b662a52401b6773cdd38969c8c66f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3171/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Send-OBSTriggerHotkeyByKeySequence.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSTriggerHotkeyByKeySequence.json diff --git a/docs/_data/Help/Send-OBSTriggerHotkeyByKeySequence.json b/docs/_data/Help/Send-OBSTriggerHotkeyByKeySequence.json new file mode 100644 index 000000000..5069579d8 --- /dev/null +++ b/docs/_data/Help/Send-OBSTriggerHotkeyByKeySequence.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence", + "Description": "Triggers a hotkey using a sequence of keys.\n\nNote: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.\n\n\nSend-OBSTriggerHotkeyByKeySequence calls the OBS WebSocket with a request of type TriggerHotkeyByKeySequence.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybykeysequence" + ], + "Examples": [] +} \ No newline at end of file From 24768165f1dd420557e3d46998b7112676131f6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3172/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Send-OBSTriggerHotkeyByName.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSTriggerHotkeyByName.json diff --git a/docs/_data/Help/Send-OBSTriggerHotkeyByName.json b/docs/_data/Help/Send-OBSTriggerHotkeyByName.json new file mode 100644 index 000000000..f3749977f --- /dev/null +++ b/docs/_data/Help/Send-OBSTriggerHotkeyByName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSTriggerHotkeyByName : TriggerHotkeyByName", + "Description": "Triggers a hotkey using its name. See `GetHotkeyList`.\n\nNote: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.\n\n\nSend-OBSTriggerHotkeyByName calls the OBS WebSocket with a request of type TriggerHotkeyByName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybyname" + ], + "Examples": [] +} \ No newline at end of file From e3f503ac0121dc5389d6f492c9181f61be0b0539 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3173/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Send-OBSTriggerMediaInputAction.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Send-OBSTriggerMediaInputAction.json diff --git a/docs/_data/Help/Send-OBSTriggerMediaInputAction.json b/docs/_data/Help/Send-OBSTriggerMediaInputAction.json new file mode 100644 index 000000000..eb40f4bfb --- /dev/null +++ b/docs/_data/Help/Send-OBSTriggerMediaInputAction.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSTriggerMediaInputAction : TriggerMediaInputAction", + "Description": "Triggers an action on a media input.\n\n\nSend-OBSTriggerMediaInputAction calls the OBS WebSocket with a request of type TriggerMediaInputAction.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggermediainputaction" + ], + "Examples": [] +} \ No newline at end of file From 5c2120e5b10761eb80d96ae09e604fd4da656a9d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3174/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Send-OBSTriggerStudioModeTransition.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Send-OBSTriggerStudioModeTransition.json diff --git a/docs/_data/Help/Send-OBSTriggerStudioModeTransition.json b/docs/_data/Help/Send-OBSTriggerStudioModeTransition.json new file mode 100644 index 000000000..69a7c95f7 --- /dev/null +++ b/docs/_data/Help/Send-OBSTriggerStudioModeTransition.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition", + "Description": "Triggers the current scene transition. Same functionality as the `Transition` button in studio mode.\n\n\nSend-OBSTriggerStudioModeTransition calls the OBS WebSocket with a request of type TriggerStudioModeTransition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerstudiomodetransition" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Send-OBSTriggerStudioModeTransition" + } + ] +} \ No newline at end of file From 76817ed81d7b41c4f32ca11b9259f45807852be0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:32 +0000 Subject: [PATCH 3175/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBS3DFilter.json | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBS3DFilter.json diff --git a/docs/_data/Help/Set-OBS3DFilter.json b/docs/_data/Help/Set-OBS3DFilter.json new file mode 100644 index 000000000..c9f2f15a3 --- /dev/null +++ b/docs/_data/Help/Set-OBS3DFilter.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets an OBS 3D Filter.", + "Description": "Adds or Changes a 3D Filter on an OBS Input. \nThis requires the [3D Effect](https://github.com/exeldro/obs-3d-effect).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a5619e4735fcb0b99393dbc75fd355d44293e853 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3176/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSAudioOutputSource.json | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAudioOutputSource.json diff --git a/docs/_data/Help/Set-OBSAudioOutputSource.json b/docs/_data/Help/Set-OBSAudioOutputSource.json new file mode 100644 index 000000000..092206748 --- /dev/null +++ b/docs/_data/Help/Set-OBSAudioOutputSource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds or sets an audio output source", + "Description": "Adds or sets an audio output source in OBS. This captures the audio that is being sent to an output device.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + "This command currently only supports capturing default audio on Windows. \nTo add support for other operating systems, file an issue or open a pull request." + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSAudioOutputSource" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Set-OBSAudioOutputSource -AudioDevice Speakers" + } + ] +} \ No newline at end of file From 17352efbbcdaef02d199e516737e62f7fd5aac67 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3177/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBrowserSource.json | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBrowserSource.json diff --git a/docs/_data/Help/Set-OBSBrowserSource.json b/docs/_data/Help/Set-OBSBrowserSource.json new file mode 100644 index 000000000..3f7240c75 --- /dev/null +++ b/docs/_data/Help/Set-OBSBrowserSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a browser source", + "Description": "Adds or changes a browser source in OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSBrowserSource -Uri https://pssvg.start-automating.com/Examples/Stars.svg" + } + ] +} \ No newline at end of file From e857fc2eca9377485c4d93751751d90074bd1d98 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3178/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSColorFilter.json | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSColorFilter.json diff --git a/docs/_data/Help/Set-OBSColorFilter.json b/docs/_data/Help/Set-OBSColorFilter.json new file mode 100644 index 000000000..8acc546da --- /dev/null +++ b/docs/_data/Help/Set-OBSColorFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a color filter", + "Description": "Adds or Changes a Color Correction Filter on an OBS Input. \nThis allows you to: \n* Change Opacity on any source \n* Correct gamma \n* Spin the hue \n* Saturate or Desaturate an image \n* Change the contrast \n* Brighten the image \n* Multiply pixels by a color \n* Add a color to all pixels", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri .\\Assets\\obs-powershell-animated-icon.svg | \n Set-OBSColorFilter -Opacity .5" + } + ] +} \ No newline at end of file From 676cc0763bbbdd056e442c8aeedd01f5b814c9c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3179/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSColorSource.json | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/_data/Help/Set-OBSColorSource.json diff --git a/docs/_data/Help/Set-OBSColorSource.json b/docs/_data/Help/Set-OBSColorSource.json new file mode 100644 index 000000000..63681dd66 --- /dev/null +++ b/docs/_data/Help/Set-OBSColorSource.json @@ -0,0 +1,36 @@ +{ + "Synopsis": "Adds a color source", + "Description": "Adds a color source to OBS. This displays a single 32-bit color (RGBA).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [] +} \ No newline at end of file From 0ac0b04a595b3457293720b75b49217af2ae05de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3180/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSCurrentPreviewScene.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentPreviewScene.json diff --git a/docs/_data/Help/Set-OBSCurrentPreviewScene.json b/docs/_data/Help/Set-OBSCurrentPreviewScene.json new file mode 100644 index 000000000..eb2470d69 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentPreviewScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentPreviewScene : SetCurrentPreviewScene", + "Description": "Sets the current preview scene.\n\nOnly available when studio mode is enabled.\n\n\nSet-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type SetCurrentPreviewScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentpreviewscene" + ], + "Examples": [] +} \ No newline at end of file From 5bbf1b66bfb1bd3059efbdb577ac35b52addaecf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3181/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSCurrentProfile.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentProfile.json diff --git a/docs/_data/Help/Set-OBSCurrentProfile.json b/docs/_data/Help/Set-OBSCurrentProfile.json new file mode 100644 index 000000000..31e8a9800 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentProfile.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentProfile : SetCurrentProfile", + "Description": "Switches to a profile.\n\n\nSet-OBSCurrentProfile calls the OBS WebSocket with a request of type SetCurrentProfile.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprofile" + ], + "Examples": [] +} \ No newline at end of file From a1d2008d4380f4c4dc76e6b7591bcb8d1b52660d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3182/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSCurrentProgramScene.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentProgramScene.json diff --git a/docs/_data/Help/Set-OBSCurrentProgramScene.json b/docs/_data/Help/Set-OBSCurrentProgramScene.json new file mode 100644 index 000000000..dfd7b5e17 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentProgramScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentProgramScene : SetCurrentProgramScene", + "Description": "Sets the current program scene.\n\n\nSet-OBSCurrentProgramScene calls the OBS WebSocket with a request of type SetCurrentProgramScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprogramscene" + ], + "Examples": [] +} \ No newline at end of file From 2c3461a697279ca4ade31c401e3a0758009d5ce5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:33 +0000 Subject: [PATCH 3183/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSCurrentSceneCollection.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentSceneCollection.json diff --git a/docs/_data/Help/Set-OBSCurrentSceneCollection.json b/docs/_data/Help/Set-OBSCurrentSceneCollection.json new file mode 100644 index 000000000..393ea8d12 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentSceneCollection.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneCollection : SetCurrentSceneCollection", + "Description": "Switches to a scene collection.\n\nNote: This will block until the collection has finished changing.\n\n\nSet-OBSCurrentSceneCollection calls the OBS WebSocket with a request of type SetCurrentSceneCollection.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenecollection" + ], + "Examples": [] +} \ No newline at end of file From 619468635622b3c5e072413fce68aad2a7ce68ae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3184/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSCurrentSceneTransition.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentSceneTransition.json diff --git a/docs/_data/Help/Set-OBSCurrentSceneTransition.json b/docs/_data/Help/Set-OBSCurrentSceneTransition.json new file mode 100644 index 000000000..a51a09284 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentSceneTransition.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneTransition : SetCurrentSceneTransition", + "Description": "Sets the current scene transition.\n\nSmall note: While the namespace of scene transitions is generally unique, that uniqueness is not a guarantee as it is with other resources like inputs.\n\n\nSet-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type SetCurrentSceneTransition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransition" + ], + "Examples": [] +} \ No newline at end of file From 42633a6a7dc2c4f55c2251bda6f685c48a62e7d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3185/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...Set-OBSCurrentSceneTransitionDuration.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentSceneTransitionDuration.json diff --git a/docs/_data/Help/Set-OBSCurrentSceneTransitionDuration.json b/docs/_data/Help/Set-OBSCurrentSceneTransitionDuration.json new file mode 100644 index 000000000..8fcf5a67d --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentSceneTransitionDuration.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration", + "Description": "Sets the duration of the current scene transition, if it is not fixed.\n\n\nSet-OBSCurrentSceneTransitionDuration calls the OBS WebSocket with a request of type SetCurrentSceneTransitionDuration.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionduration" + ], + "Examples": [] +} \ No newline at end of file From bbb245165eb36eec11122af9b7548adb9dccafea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3186/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...Set-OBSCurrentSceneTransitionSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurrentSceneTransitionSettings.json diff --git a/docs/_data/Help/Set-OBSCurrentSceneTransitionSettings.json b/docs/_data/Help/Set-OBSCurrentSceneTransitionSettings.json new file mode 100644 index 000000000..91b05df62 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurrentSceneTransitionSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings", + "Description": "Sets the settings of the current scene transition.\n\n\nSet-OBSCurrentSceneTransitionSettings calls the OBS WebSocket with a request of type SetCurrentSceneTransitionSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionsettings" + ], + "Examples": [] +} \ No newline at end of file From 239bddcde6d372f0016ac5d23114a08d4e3dd4fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3187/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDisplaySource.json | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDisplaySource.json diff --git a/docs/_data/Help/Set-OBSDisplaySource.json b/docs/_data/Help/Set-OBSDisplaySource.json new file mode 100644 index 000000000..e4c134f1a --- /dev/null +++ b/docs/_data/Help/Set-OBSDisplaySource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds a display source", + "Description": "Adds a display source to OBS. This captures the contents of the display.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSDisplaySource # Adds a display source of the primary monitor" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Add-OBSDisplaySource -Display 2 # Adds a display source of the second monitor" + } + ] +} \ No newline at end of file From 1868367c2676400b84c0efa67a8545efaf07c059 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3188/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSEqualizerFilter.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSEqualizerFilter.json diff --git a/docs/_data/Help/Set-OBSEqualizerFilter.json b/docs/_data/Help/Set-OBSEqualizerFilter.json new file mode 100644 index 000000000..29c3a8a85 --- /dev/null +++ b/docs/_data/Help/Set-OBSEqualizerFilter.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a Equalizer filter.", + "Description": "Adds or Changes a 3-band Equalizer Filter on an OBS Input.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c4444fee59410ff725835056e9e5f5c02496240f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3189/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSGainFilter.json | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGainFilter.json diff --git a/docs/_data/Help/Set-OBSGainFilter.json b/docs/_data/Help/Set-OBSGainFilter.json new file mode 100644 index 000000000..f9a5418fc --- /dev/null +++ b/docs/_data/Help/Set-OBSGainFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Gain filter.", + "Description": "Adds or Changes a Gain Filter on an OBS Input. \nThis allows you to make the audio louder or softer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSGainFilter -Gain 1.1 # Gains Audio by 1.1 decibels" + } + ] +} \ No newline at end of file From 1d8073590cd07eecdfd375d100bdb2a88f646ec2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3190/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInputAudioBalance.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputAudioBalance.json diff --git a/docs/_data/Help/Set-OBSInputAudioBalance.json b/docs/_data/Help/Set-OBSInputAudioBalance.json new file mode 100644 index 000000000..98dac717e --- /dev/null +++ b/docs/_data/Help/Set-OBSInputAudioBalance.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioBalance : SetInputAudioBalance", + "Description": "Sets the audio balance of an input.\n\n\nSet-OBSInputAudioBalance calls the OBS WebSocket with a request of type SetInputAudioBalance.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiobalance" + ], + "Examples": [] +} \ No newline at end of file From def0c2b5eb53ab8444c5d922b4e762d3ab392872 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:34 +0000 Subject: [PATCH 3191/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSInputAudioMonitorType.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputAudioMonitorType.json diff --git a/docs/_data/Help/Set-OBSInputAudioMonitorType.json b/docs/_data/Help/Set-OBSInputAudioMonitorType.json new file mode 100644 index 000000000..b284d6da0 --- /dev/null +++ b/docs/_data/Help/Set-OBSInputAudioMonitorType.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioMonitorType : SetInputAudioMonitorType", + "Description": "Sets the audio monitor type of an input.\n\n\nSet-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type SetInputAudioMonitorType.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiomonitortype" + ], + "Examples": [] +} \ No newline at end of file From 93da0c4b0396ef51f7e5cf636fa3753191855cde Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3192/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSInputAudioSyncOffset.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputAudioSyncOffset.json diff --git a/docs/_data/Help/Set-OBSInputAudioSyncOffset.json b/docs/_data/Help/Set-OBSInputAudioSyncOffset.json new file mode 100644 index 000000000..55ad570d0 --- /dev/null +++ b/docs/_data/Help/Set-OBSInputAudioSyncOffset.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset", + "Description": "Sets the audio sync offset of an input.\n\n\nSet-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type SetInputAudioSyncOffset.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiosyncoffset" + ], + "Examples": [] +} \ No newline at end of file From b1544f0c661f4b420933784515893d69e246c83b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3193/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInputAudioTracks.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputAudioTracks.json diff --git a/docs/_data/Help/Set-OBSInputAudioTracks.json b/docs/_data/Help/Set-OBSInputAudioTracks.json new file mode 100644 index 000000000..973b1e245 --- /dev/null +++ b/docs/_data/Help/Set-OBSInputAudioTracks.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioTracks : SetInputAudioTracks", + "Description": "Sets the enable state of audio tracks of an input.\n\n\nSet-OBSInputAudioTracks calls the OBS WebSocket with a request of type SetInputAudioTracks.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiotracks" + ], + "Examples": [] +} \ No newline at end of file From 3158d933204377a08ee56e5c3c3db0ab8ccc9665 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3194/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInputMute.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputMute.json diff --git a/docs/_data/Help/Set-OBSInputMute.json b/docs/_data/Help/Set-OBSInputMute.json new file mode 100644 index 000000000..06b2e281b --- /dev/null +++ b/docs/_data/Help/Set-OBSInputMute.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputMute : SetInputMute", + "Description": "Sets the audio mute state of an input.\n\n\nSet-OBSInputMute calls the OBS WebSocket with a request of type SetInputMute.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputmute" + ], + "Examples": [] +} \ No newline at end of file From 63dc78d5168646321227709bf119c2a9f7312ed5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3195/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInputName.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputName.json diff --git a/docs/_data/Help/Set-OBSInputName.json b/docs/_data/Help/Set-OBSInputName.json new file mode 100644 index 000000000..746ffead7 --- /dev/null +++ b/docs/_data/Help/Set-OBSInputName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputName : SetInputName", + "Description": "Sets the name of an input (rename).\n\n\nSet-OBSInputName calls the OBS WebSocket with a request of type SetInputName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputname" + ], + "Examples": [] +} \ No newline at end of file From 5b5bbdaf2905db85005f0507eeebcb1961046bac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3196/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInputSettings.json | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputSettings.json diff --git a/docs/_data/Help/Set-OBSInputSettings.json b/docs/_data/Help/Set-OBSInputSettings.json new file mode 100644 index 000000000..2ef9f5a6d --- /dev/null +++ b/docs/_data/Help/Set-OBSInputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputSettings : SetInputSettings", + "Description": "Sets the settings of an input.\n\n\nSet-OBSInputSettings calls the OBS WebSocket with a request of type SetInputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputsettings" + ], + "Examples": [] +} \ No newline at end of file From 691e05caa4c1992df45bc3ce0489c428e059c0ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3197/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInputVolume.json | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInputVolume.json diff --git a/docs/_data/Help/Set-OBSInputVolume.json b/docs/_data/Help/Set-OBSInputVolume.json new file mode 100644 index 000000000..d8be904e6 --- /dev/null +++ b/docs/_data/Help/Set-OBSInputVolume.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputVolume : SetInputVolume", + "Description": "Sets the volume setting of an input.\n\n\nSet-OBSInputVolume calls the OBS WebSocket with a request of type SetInputVolume.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputvolume" + ], + "Examples": [] +} \ No newline at end of file From c004e3e2b8f60f488e01e7905a791eec9aecea3d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3198/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSMarkdownSource.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSMarkdownSource.json diff --git a/docs/_data/Help/Set-OBSMarkdownSource.json b/docs/_data/Help/Set-OBSMarkdownSource.json new file mode 100644 index 000000000..ce9f33364 --- /dev/null +++ b/docs/_data/Help/Set-OBSMarkdownSource.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a markdown source", + "Description": "Adds or changes a markdown source in OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 977d0663b50e2425bbce30ed73dc4c1b8b99f338 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:35 +0000 Subject: [PATCH 3199/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSMediaInputCursor.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSMediaInputCursor.json diff --git a/docs/_data/Help/Set-OBSMediaInputCursor.json b/docs/_data/Help/Set-OBSMediaInputCursor.json new file mode 100644 index 000000000..035416dd2 --- /dev/null +++ b/docs/_data/Help/Set-OBSMediaInputCursor.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSMediaInputCursor : SetMediaInputCursor", + "Description": "Sets the cursor position of a media input.\n\nThis request does not perform bounds checking of the cursor position.\n\n\nSet-OBSMediaInputCursor calls the OBS WebSocket with a request of type SetMediaInputCursor.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setmediainputcursor" + ], + "Examples": [] +} \ No newline at end of file From aa87ffd7721cc5defd03851e8694084edfd3e8c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3200/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSMediaSource.json | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Set-OBSMediaSource.json diff --git a/docs/_data/Help/Set-OBSMediaSource.json b/docs/_data/Help/Set-OBSMediaSource.json new file mode 100644 index 000000000..441822c93 --- /dev/null +++ b/docs/_data/Help/Set-OBSMediaSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a media source", + "Description": "Adds a media source to OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSMediaSource -FilePath My.mp4" + } + ] +} \ No newline at end of file From 0f6f1053148e2bfea7690f7b71adccf8f7f87f68 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3201/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSOutputSettings.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSOutputSettings.json diff --git a/docs/_data/Help/Set-OBSOutputSettings.json b/docs/_data/Help/Set-OBSOutputSettings.json new file mode 100644 index 000000000..a6b9683fc --- /dev/null +++ b/docs/_data/Help/Set-OBSOutputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSOutputSettings : SetOutputSettings", + "Description": "Sets the settings of an output.\n\n\nSet-OBSOutputSettings calls the OBS WebSocket with a request of type SetOutputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setoutputsettings" + ], + "Examples": [] +} \ No newline at end of file From ac4941976ad16813b7ae499dbc83bb3fe1566ac9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3202/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPersistentData.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPersistentData.json diff --git a/docs/_data/Help/Set-OBSPersistentData.json b/docs/_data/Help/Set-OBSPersistentData.json new file mode 100644 index 000000000..3aa2b426a --- /dev/null +++ b/docs/_data/Help/Set-OBSPersistentData.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSPersistentData : SetPersistentData", + "Description": "Sets the value of a \"slot\" from the selected persistent data realm.\n\n\nSet-OBSPersistentData calls the OBS WebSocket with a request of type SetPersistentData.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setpersistentdata" + ], + "Examples": [] +} \ No newline at end of file From b3f6675ae9936afa8f8ea2c1dc95f4dc7a0e6fb6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3203/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSProfileParameter.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSProfileParameter.json diff --git a/docs/_data/Help/Set-OBSProfileParameter.json b/docs/_data/Help/Set-OBSProfileParameter.json new file mode 100644 index 000000000..56f05cb3b --- /dev/null +++ b/docs/_data/Help/Set-OBSProfileParameter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSProfileParameter : SetProfileParameter", + "Description": "Sets the value of a parameter in the current profile's configuration.\n\n\nSet-OBSProfileParameter calls the OBS WebSocket with a request of type SetProfileParameter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setprofileparameter" + ], + "Examples": [] +} \ No newline at end of file From be2bfc6b2d67627d838828c2e21c7b5e38a12de6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3204/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRecordDirectory.json | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRecordDirectory.json diff --git a/docs/_data/Help/Set-OBSRecordDirectory.json b/docs/_data/Help/Set-OBSRecordDirectory.json new file mode 100644 index 000000000..955d00e55 --- /dev/null +++ b/docs/_data/Help/Set-OBSRecordDirectory.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSRecordDirectory : SetRecordDirectory", + "Description": "Sets the current directory that the record output writes files to.\n\n\nSet-OBSRecordDirectory calls the OBS WebSocket with a request of type SetRecordDirectory.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setrecorddirectory" + ], + "Examples": [] +} \ No newline at end of file From c4d649340e19f6747847f263be8ae983bfa90365 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3205/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRenderDelayFilter.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRenderDelayFilter.json diff --git a/docs/_data/Help/Set-OBSRenderDelayFilter.json b/docs/_data/Help/Set-OBSRenderDelayFilter.json new file mode 100644 index 000000000..c898cf294 --- /dev/null +++ b/docs/_data/Help/Set-OBSRenderDelayFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a RenderDelay filter.", + "Description": "Adds or Changes a RenderDelay Filter on an OBS Input. \nThis changes the RenderDelay of an image.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSRenderDelayFilter -RenderDelay .75" + } + ] +} \ No newline at end of file From dd08a693fc54154591e8ae30775efdfad2d3c1d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3206/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSScaleFilter.json | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSScaleFilter.json diff --git a/docs/_data/Help/Set-OBSScaleFilter.json b/docs/_data/Help/Set-OBSScaleFilter.json new file mode 100644 index 000000000..e9ab1e703 --- /dev/null +++ b/docs/_data/Help/Set-OBSScaleFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Scale filter.", + "Description": "Adds or Changes a Scale Filter on an OBS Input. \nThis allows you to resize the image source.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSScaleFilter -Resolution \"16:9\"" + } + ] +} \ No newline at end of file From 3145cd14c284669048f57bfba0a633d2b8a21adb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:36 +0000 Subject: [PATCH 3207/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSSceneItemBlendMode.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneItemBlendMode.json diff --git a/docs/_data/Help/Set-OBSSceneItemBlendMode.json b/docs/_data/Help/Set-OBSSceneItemBlendMode.json new file mode 100644 index 000000000..64d3bfba2 --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneItemBlendMode.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemBlendMode : SetSceneItemBlendMode", + "Description": "Sets the blend mode of a scene item.\n\nScenes and Groups\n\n\nSet-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type SetSceneItemBlendMode.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemblendmode" + ], + "Examples": [] +} \ No newline at end of file From 7039d85d0fd6d00b704637382224dad8c1967188 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3208/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSceneItemEnabled.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneItemEnabled.json diff --git a/docs/_data/Help/Set-OBSSceneItemEnabled.json b/docs/_data/Help/Set-OBSSceneItemEnabled.json new file mode 100644 index 000000000..cd9119b44 --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneItemEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemEnabled : SetSceneItemEnabled", + "Description": "Sets the enable state of a scene item.\n\nScenes and Groups\n\n\nSet-OBSSceneItemEnabled calls the OBS WebSocket with a request of type SetSceneItemEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemenabled" + ], + "Examples": [] +} \ No newline at end of file From 5cab5ca5b62996dbb6a7427935d2b7e4b7dec6f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3209/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSceneItemIndex.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneItemIndex.json diff --git a/docs/_data/Help/Set-OBSSceneItemIndex.json b/docs/_data/Help/Set-OBSSceneItemIndex.json new file mode 100644 index 000000000..d09f124e4 --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneItemIndex.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemIndex : SetSceneItemIndex", + "Description": "Sets the index position of a scene item in a scene.\n\nScenes and Groups\n\n\nSet-OBSSceneItemIndex calls the OBS WebSocket with a request of type SetSceneItemIndex.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemindex" + ], + "Examples": [] +} \ No newline at end of file From 6474a11420383f1e83448f543207debecced9545 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3210/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSceneItemLocked.json | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneItemLocked.json diff --git a/docs/_data/Help/Set-OBSSceneItemLocked.json b/docs/_data/Help/Set-OBSSceneItemLocked.json new file mode 100644 index 000000000..ee6666a41 --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneItemLocked.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemLocked : SetSceneItemLocked", + "Description": "Sets the lock state of a scene item.\n\nScenes and Group\n\n\nSet-OBSSceneItemLocked calls the OBS WebSocket with a request of type SetSceneItemLocked.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemlocked" + ], + "Examples": [] +} \ No newline at end of file From f8e2322a31e13cd36b2aef19a61ec78a6dc38aa7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3211/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSSceneItemTransform.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneItemTransform.json diff --git a/docs/_data/Help/Set-OBSSceneItemTransform.json b/docs/_data/Help/Set-OBSSceneItemTransform.json new file mode 100644 index 000000000..732cc1c9e --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneItemTransform.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemTransform : SetSceneItemTransform", + "Description": "Sets the transform and crop info of a scene item.\n\n\nSet-OBSSceneItemTransform calls the OBS WebSocket with a request of type SetSceneItemTransform.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemtransform" + ], + "Examples": [] +} \ No newline at end of file From 36f914208422dc073a222dbad9dab66b36d0b089 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3212/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSceneName.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneName.json diff --git a/docs/_data/Help/Set-OBSSceneName.json b/docs/_data/Help/Set-OBSSceneName.json new file mode 100644 index 000000000..235975402 --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneName : SetSceneName", + "Description": "Sets the name of a scene (rename).\n\n\nSet-OBSSceneName calls the OBS WebSocket with a request of type SetSceneName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenename" + ], + "Examples": [] +} \ No newline at end of file From 5bb04c5fe667632f642fc623e702ab70ba584027 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3213/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSSceneSceneTransitionOverride.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSceneSceneTransitionOverride.json diff --git a/docs/_data/Help/Set-OBSSceneSceneTransitionOverride.json b/docs/_data/Help/Set-OBSSceneSceneTransitionOverride.json new file mode 100644 index 000000000..b2d6b4ae0 --- /dev/null +++ b/docs/_data/Help/Set-OBSSceneSceneTransitionOverride.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride", + "Description": "Sets the scene transition overridden for a scene.\n\n\nSet-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenescenetransitionoverride" + ], + "Examples": [] +} \ No newline at end of file From ff1f7e78cc1fc1bca2f6e281f752c4dae63d1c7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3214/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSScrollFilter.json | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSScrollFilter.json diff --git a/docs/_data/Help/Set-OBSScrollFilter.json b/docs/_data/Help/Set-OBSScrollFilter.json new file mode 100644 index 000000000..09c1bf405 --- /dev/null +++ b/docs/_data/Help/Set-OBSScrollFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a scroll filter.", + "Description": "Adds or Changes a Scroll Filter on an OBS Input. \nThis allows you to scroll horizontally or vertically.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSScrollFilter -HorizontalSpeed 100 -VerticalSpeed 100" + } + ] +} \ No newline at end of file From d6045cbd5b31e4725dc46f01454699207d8c7017 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:37 +0000 Subject: [PATCH 3215/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSShaderFilter.json | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/_data/Help/Set-OBSShaderFilter.json diff --git a/docs/_data/Help/Set-OBSShaderFilter.json b/docs/_data/Help/Set-OBSShaderFilter.json new file mode 100644 index 000000000..9992e3c5c --- /dev/null +++ b/docs/_data/Help/Set-OBSShaderFilter.json @@ -0,0 +1,49 @@ +{ + "Synopsis": "Sets a Shader filter.", + "Description": "Adds or Changes a Shader Filter on an OBS Input. \nThis requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shaderfilter) is installed.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSShaderFilter -FilterName \"FisheyeShader\" -ShaderFile fisheye-xy -ShaderSetting @{ \n center_x_percent=30 \n center_y_percent=70 \n }" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSShaderFilter -FilterName \"SeasickShader\" -ShaderFile seasick -ShaderSetting @{ \n amplitude = 0.05 \n speed = 0.5 \n frequency = 12 \n opacity = 1 \n }" + }, + { + "Title": "EXAMPLE 3", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSShaderFilter -FilterName \"TwistShader\" -ShaderFile twist -ShaderSetting @{ \n center_x_percent=50 \n center_y_percent=50 \n power = 0.05 \n rotation = 80 \n }" + } + ] +} \ No newline at end of file From b790a5bffa34a548d792e82deed5e2142f302ce9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3216/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSharpnessFilter.json | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSharpnessFilter.json diff --git a/docs/_data/Help/Set-OBSSharpnessFilter.json b/docs/_data/Help/Set-OBSSharpnessFilter.json new file mode 100644 index 000000000..baa4da743 --- /dev/null +++ b/docs/_data/Help/Set-OBSSharpnessFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Sharpness filter.", + "Description": "Adds or Changes a Sharpness Filter on an OBS Input. \nThis changes the sharpness of an image.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSSharpnessFilter -Sharpness .75" + } + ] +} \ No newline at end of file From be9933e582bc696e4fc8191b49628a1c93681d8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3217/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSoundCloudSource.json | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSoundCloudSource.json diff --git a/docs/_data/Help/Set-OBSSoundCloudSource.json b/docs/_data/Help/Set-OBSSoundCloudSource.json new file mode 100644 index 000000000..679cdeccc --- /dev/null +++ b/docs/_data/Help/Set-OBSSoundCloudSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Sound Cloud Source", + "Description": "Adds or changes a Sound Cloud source OBS. \nSound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth" + } + ] +} \ No newline at end of file From ee3be917b81ded58939d5b28b41630e30aa5038f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3218/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSSourceFilterEnabled.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSourceFilterEnabled.json diff --git a/docs/_data/Help/Set-OBSSourceFilterEnabled.json b/docs/_data/Help/Set-OBSSourceFilterEnabled.json new file mode 100644 index 000000000..278d25116 --- /dev/null +++ b/docs/_data/Help/Set-OBSSourceFilterEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterEnabled : SetSourceFilterEnabled", + "Description": "Sets the enable state of a source filter.\n\n\nSet-OBSSourceFilterEnabled calls the OBS WebSocket with a request of type SetSourceFilterEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterenabled" + ], + "Examples": [] +} \ No newline at end of file From b56b9772df754583cf57e776187afbe557ef5bb6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3219/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSourceFilterIndex.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSourceFilterIndex.json diff --git a/docs/_data/Help/Set-OBSSourceFilterIndex.json b/docs/_data/Help/Set-OBSSourceFilterIndex.json new file mode 100644 index 000000000..05405a53d --- /dev/null +++ b/docs/_data/Help/Set-OBSSourceFilterIndex.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterIndex : SetSourceFilterIndex", + "Description": "Sets the index position of a filter on a source.\n\n\nSet-OBSSourceFilterIndex calls the OBS WebSocket with a request of type SetSourceFilterIndex.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterindex" + ], + "Examples": [] +} \ No newline at end of file From 0f4b1086a69a7e66dfefd32b13b7b222657062d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3220/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSourceFilterName.json | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSourceFilterName.json diff --git a/docs/_data/Help/Set-OBSSourceFilterName.json b/docs/_data/Help/Set-OBSSourceFilterName.json new file mode 100644 index 000000000..50f75d34e --- /dev/null +++ b/docs/_data/Help/Set-OBSSourceFilterName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterName : SetSourceFilterName", + "Description": "Sets the name of a source filter (rename).\n\n\nSet-OBSSourceFilterName calls the OBS WebSocket with a request of type SetSourceFilterName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltername" + ], + "Examples": [] +} \ No newline at end of file From a9371d2e24a513b4f8542663d18b959277745fc7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3221/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSSourceFilterSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSourceFilterSettings.json diff --git a/docs/_data/Help/Set-OBSSourceFilterSettings.json b/docs/_data/Help/Set-OBSSourceFilterSettings.json new file mode 100644 index 000000000..c89b80784 --- /dev/null +++ b/docs/_data/Help/Set-OBSSourceFilterSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterSettings : SetSourceFilterSettings", + "Description": "Sets the settings of a source filter.\n\n\nSet-OBSSourceFilterSettings calls the OBS WebSocket with a request of type SetSourceFilterSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltersettings" + ], + "Examples": [] +} \ No newline at end of file From cf79d0b7b5f31e2626b1211fdab294eb7e6e843f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:38 +0000 Subject: [PATCH 3222/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSStreamServiceSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSStreamServiceSettings.json diff --git a/docs/_data/Help/Set-OBSStreamServiceSettings.json b/docs/_data/Help/Set-OBSStreamServiceSettings.json new file mode 100644 index 000000000..ab8ce9f3f --- /dev/null +++ b/docs/_data/Help/Set-OBSStreamServiceSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSStreamServiceSettings : SetStreamServiceSettings", + "Description": "Sets the current stream service settings (stream destination).\n\nNote: Simple RTMP settings can be set with type `rtmp_custom` and the settings fields `server` and `key`.\n\n\nSet-OBSStreamServiceSettings calls the OBS WebSocket with a request of type SetStreamServiceSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstreamservicesettings" + ], + "Examples": [] +} \ No newline at end of file From 470b66fca13b802103da692bde336b4d2daa927c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3223/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSStudioModeEnabled.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSStudioModeEnabled.json diff --git a/docs/_data/Help/Set-OBSStudioModeEnabled.json b/docs/_data/Help/Set-OBSStudioModeEnabled.json new file mode 100644 index 000000000..7344b392f --- /dev/null +++ b/docs/_data/Help/Set-OBSStudioModeEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSStudioModeEnabled : SetStudioModeEnabled", + "Description": "Enables or disables studio mode\n\n\nSet-OBSStudioModeEnabled calls the OBS WebSocket with a request of type SetStudioModeEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstudiomodeenabled" + ], + "Examples": [] +} \ No newline at end of file From 208f6079851cae06716f0e7e9507f6900e91387c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3224/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSwitchSource.json | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSwitchSource.json diff --git a/docs/_data/Help/Set-OBSSwitchSource.json b/docs/_data/Help/Set-OBSSwitchSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Set-OBSSwitchSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From f34453ea95f7c5afd72f4595c7d4639b1fed2f07 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3225/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSTBarPosition.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSTBarPosition.json diff --git a/docs/_data/Help/Set-OBSTBarPosition.json b/docs/_data/Help/Set-OBSTBarPosition.json new file mode 100644 index 000000000..6fa044b78 --- /dev/null +++ b/docs/_data/Help/Set-OBSTBarPosition.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSTBarPosition : SetTBarPosition", + "Description": "Sets the position of the TBar.\n\n**Very important note**: This will be deprecated and replaced in a future version of obs-websocket.\n\n\nSet-OBSTBarPosition calls the OBS WebSocket with a request of type SetTBarPosition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#settbarposition" + ], + "Examples": [] +} \ No newline at end of file From 47cd7ee1bb0cbc8749d3e7720d846dd64af20dc8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3226/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSVideoSettings.json | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Set-OBSVideoSettings.json diff --git a/docs/_data/Help/Set-OBSVideoSettings.json b/docs/_data/Help/Set-OBSVideoSettings.json new file mode 100644 index 000000000..859a96c38 --- /dev/null +++ b/docs/_data/Help/Set-OBSVideoSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSVideoSettings : SetVideoSettings", + "Description": "Sets the current video settings.\n\nNote: Fields must be specified in pairs. For example, you cannot set only `baseWidth` without needing to specify `baseHeight`.\n\n\nSet-OBSVideoSettings calls the OBS WebSocket with a request of type SetVideoSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setvideosettings" + ], + "Examples": [] +} \ No newline at end of file From e832b88541afb5140db0e342e4cc22cde6dbc99a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3227/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSVLCSource.json | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Set-OBSVLCSource.json diff --git a/docs/_data/Help/Set-OBSVLCSource.json b/docs/_data/Help/Set-OBSVLCSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Set-OBSVLCSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From 13c89c3a5ad628bb37f6f279b241fbab88336c63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3228/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSWaveformSource.json | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSWaveformSource.json diff --git a/docs/_data/Help/Set-OBSWaveformSource.json b/docs/_data/Help/Set-OBSWaveformSource.json new file mode 100644 index 000000000..54d4cdd82 --- /dev/null +++ b/docs/_data/Help/Set-OBSWaveformSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "OBS Waveform Source", + "Description": "Gets, Sets, or Adds a waveform source in OBS. \nWaveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/)", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSWaveformSource -Name \"SpeakerWaveform\"" + } + ] +} \ No newline at end of file From eb74d4f1deb7b4b913b45cf26407fc4490a4972b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:39 +0000 Subject: [PATCH 3229/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSWindowSource.json | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSWindowSource.json diff --git a/docs/_data/Help/Set-OBSWindowSource.json b/docs/_data/Help/Set-OBSWindowSource.json new file mode 100644 index 000000000..eff834087 --- /dev/null +++ b/docs/_data/Help/Set-OBSWindowSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Adds or sets a window capture source", + "Description": "Adds or sets a windows capture source in OBS. This captures the contents of a window.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow" + } + ] +} \ No newline at end of file From 758d572128a883ef009b915d9c1df09a178b8a38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3230/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Show-OBS.json | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Show-OBS.json diff --git a/docs/_data/Help/Show-OBS.json b/docs/_data/Help/Show-OBS.json new file mode 100644 index 000000000..8e1e2deb0 --- /dev/null +++ b/docs/_data/Help/Show-OBS.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Shows content in OBS", + "Description": "Shows content in Open Broadcasting Studio", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "\n' | Set-Content .\\BlueRect.svg\nShow-OBS -FilePath .\\BlueRect.svg" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Show-OBS -FilePath *excited* -RootPath $home\\Pictures\\Gif" + } + ] +} \ No newline at end of file From aab931e75209c2e189d862895cc35af7f8975364 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3231/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-OBSEffect.json | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Start-OBSEffect.json diff --git a/docs/_data/Help/Start-OBSEffect.json b/docs/_data/Help/Start-OBSEffect.json new file mode 100644 index 000000000..650dd06d0 --- /dev/null +++ b/docs/_data/Help/Start-OBSEffect.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Starts obs-powershell effects.", + "Description": "Starts an effect in OBS PowerShell.\n\nAn effect is either a series of messages or a command that can produce a series of messages.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null + ], + "Examples": [] +} \ No newline at end of file From a4c11b50bf248fc78fe890a6c35ea48cb55c967d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3232/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-OBSOutput.json | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Start-OBSOutput.json diff --git a/docs/_data/Help/Start-OBSOutput.json b/docs/_data/Help/Start-OBSOutput.json new file mode 100644 index 000000000..f7f06d0e3 --- /dev/null +++ b/docs/_data/Help/Start-OBSOutput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Start-OBSOutput : StartOutput", + "Description": "Starts an output.\n\n\nStart-OBSOutput calls the OBS WebSocket with a request of type StartOutput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startoutput" + ], + "Examples": [] +} \ No newline at end of file From 99e175927f55c4f1c254665f9b25342262fcf5ae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3233/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-OBSRecord.json | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Start-OBSRecord.json diff --git a/docs/_data/Help/Start-OBSRecord.json b/docs/_data/Help/Start-OBSRecord.json new file mode 100644 index 000000000..9ca1bfe4d --- /dev/null +++ b/docs/_data/Help/Start-OBSRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSRecord : StartRecord", + "Description": "Starts the record output.\n\n\nStart-OBSRecord calls the OBS WebSocket with a request of type StartRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startrecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSRecord" + } + ] +} \ No newline at end of file From 308ba11cb469942760374d6e4d50a459bf47a508 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3234/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-OBSReplayBuffer.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Start-OBSReplayBuffer.json diff --git a/docs/_data/Help/Start-OBSReplayBuffer.json b/docs/_data/Help/Start-OBSReplayBuffer.json new file mode 100644 index 000000000..85287399e --- /dev/null +++ b/docs/_data/Help/Start-OBSReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSReplayBuffer : StartReplayBuffer", + "Description": "Starts the replay buffer output.\n\n\nStart-OBSReplayBuffer calls the OBS WebSocket with a request of type StartReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startreplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSReplayBuffer" + } + ] +} \ No newline at end of file From fda37b5540570ebfcd15a7e07429c383f0a7d206 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3235/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-OBSStream.json | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Start-OBSStream.json diff --git a/docs/_data/Help/Start-OBSStream.json b/docs/_data/Help/Start-OBSStream.json new file mode 100644 index 000000000..d03070ec3 --- /dev/null +++ b/docs/_data/Help/Start-OBSStream.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSStream : StartStream", + "Description": "Starts the stream output.\n\n\nStart-OBSStream calls the OBS WebSocket with a request of type StartStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startstream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSStream" + } + ] +} \ No newline at end of file From d8677e4e317bfe757b43ba14c49fa9e1cd4b852b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3236/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-OBSVirtualCam.json | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Start-OBSVirtualCam.json diff --git a/docs/_data/Help/Start-OBSVirtualCam.json b/docs/_data/Help/Start-OBSVirtualCam.json new file mode 100644 index 000000000..a4fb618e8 --- /dev/null +++ b/docs/_data/Help/Start-OBSVirtualCam.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSVirtualCam : StartVirtualCam", + "Description": "Starts the virtualcam output.\n\n\nStart-OBSVirtualCam calls the OBS WebSocket with a request of type StartVirtualCam.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startvirtualcam" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSVirtualCam" + } + ] +} \ No newline at end of file From 35b323b935e01135be72a32f4479a143efcce489 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:40 +0000 Subject: [PATCH 3237/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-OBSEffect.json | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/_data/Help/Stop-OBSEffect.json diff --git a/docs/_data/Help/Stop-OBSEffect.json b/docs/_data/Help/Stop-OBSEffect.json new file mode 100644 index 000000000..9d2670e76 --- /dev/null +++ b/docs/_data/Help/Stop-OBSEffect.json @@ -0,0 +1,36 @@ +{ + "Synopsis": "Stops obs-powershell effects.", + "Description": "Stops an effect in OBS PowerShell.\n\nA running effect is a series of messages, and the obs-websocket does not let you cancel a message.\n\nHowever, OBS effects can be bounced or running in a loop.\n\nIf these effects are stopped, they will not continue to loop or bounce.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [] +} \ No newline at end of file From c8f6a53357d026cbe9973dc9d763e29e46c4a0e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3238/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-OBSOutput.json | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Stop-OBSOutput.json diff --git a/docs/_data/Help/Stop-OBSOutput.json b/docs/_data/Help/Stop-OBSOutput.json new file mode 100644 index 000000000..df889ba83 --- /dev/null +++ b/docs/_data/Help/Stop-OBSOutput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Stop-OBSOutput : StopOutput", + "Description": "Stops an output.\n\n\nStop-OBSOutput calls the OBS WebSocket with a request of type StopOutput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopoutput" + ], + "Examples": [] +} \ No newline at end of file From c73291ea5388c7ae5e20d9c93fdabf0e3432eb7a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3239/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-OBSRecord.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Stop-OBSRecord.json diff --git a/docs/_data/Help/Stop-OBSRecord.json b/docs/_data/Help/Stop-OBSRecord.json new file mode 100644 index 000000000..b6b49dcdb --- /dev/null +++ b/docs/_data/Help/Stop-OBSRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSRecord : StopRecord", + "Description": "Stops the record output.\n\n\nStop-OBSRecord calls the OBS WebSocket with a request of type StopRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stoprecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSRecord" + } + ] +} \ No newline at end of file From 56403a4830cdc6bf1c7cb3e9ea77c472938eb2eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3240/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-OBSReplayBuffer.json | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Stop-OBSReplayBuffer.json diff --git a/docs/_data/Help/Stop-OBSReplayBuffer.json b/docs/_data/Help/Stop-OBSReplayBuffer.json new file mode 100644 index 000000000..c3bea5f30 --- /dev/null +++ b/docs/_data/Help/Stop-OBSReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSReplayBuffer : StopReplayBuffer", + "Description": "Stops the replay buffer output.\n\n\nStop-OBSReplayBuffer calls the OBS WebSocket with a request of type StopReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopreplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSReplayBuffer" + } + ] +} \ No newline at end of file From 801efa74c9728ae06f479877c57d60450828abd2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3241/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-OBSStream.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Stop-OBSStream.json diff --git a/docs/_data/Help/Stop-OBSStream.json b/docs/_data/Help/Stop-OBSStream.json new file mode 100644 index 000000000..509847921 --- /dev/null +++ b/docs/_data/Help/Stop-OBSStream.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSStream : StopStream", + "Description": "Stops the stream output.\n\n\nStop-OBSStream calls the OBS WebSocket with a request of type StopStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopstream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSStream" + } + ] +} \ No newline at end of file From 6426e916b9a77b6840f63165de1209a3a7ac5151 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3242/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-OBSVirtualCam.json | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Stop-OBSVirtualCam.json diff --git a/docs/_data/Help/Stop-OBSVirtualCam.json b/docs/_data/Help/Stop-OBSVirtualCam.json new file mode 100644 index 000000000..22ae9bb40 --- /dev/null +++ b/docs/_data/Help/Stop-OBSVirtualCam.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSVirtualCam : StopVirtualCam", + "Description": "Stops the virtualcam output.\n\n\nStop-OBSVirtualCam calls the OBS WebSocket with a request of type StopVirtualCam.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopvirtualcam" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSVirtualCam" + } + ] +} \ No newline at end of file From 1b8a9c72ecba0b2ec5937738989eb421b37cec3f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3243/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSInputMute.json | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSInputMute.json diff --git a/docs/_data/Help/Switch-OBSInputMute.json b/docs/_data/Help/Switch-OBSInputMute.json new file mode 100644 index 000000000..d2d732cbd --- /dev/null +++ b/docs/_data/Help/Switch-OBSInputMute.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Switch-OBSInputMute : ToggleInputMute", + "Description": "Toggles the audio mute state of an input.\n\n\nSwitch-OBSInputMute calls the OBS WebSocket with a request of type ToggleInputMute.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleinputmute" + ], + "Examples": [] +} \ No newline at end of file From 88cc901860640bffef00d62d8d20e599e23eee77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3244/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSOutput.json | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSOutput.json diff --git a/docs/_data/Help/Switch-OBSOutput.json b/docs/_data/Help/Switch-OBSOutput.json new file mode 100644 index 000000000..b5a71b5e8 --- /dev/null +++ b/docs/_data/Help/Switch-OBSOutput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Switch-OBSOutput : ToggleOutput", + "Description": "Toggles the status of an output.\n\n\nSwitch-OBSOutput calls the OBS WebSocket with a request of type ToggleOutput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleoutput" + ], + "Examples": [] +} \ No newline at end of file From dd5fbec2735c990d67540772cfe09ee50ae46815 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:41 +0000 Subject: [PATCH 3245/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSRecord.json | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSRecord.json diff --git a/docs/_data/Help/Switch-OBSRecord.json b/docs/_data/Help/Switch-OBSRecord.json new file mode 100644 index 000000000..5d4ad4d8e --- /dev/null +++ b/docs/_data/Help/Switch-OBSRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSRecord : ToggleRecord", + "Description": "Toggles the status of the record output.\n\n\nSwitch-OBSRecord calls the OBS WebSocket with a request of type ToggleRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSRecord" + } + ] +} \ No newline at end of file From a4149df0592dd8d3b48d80670f0906c642a140cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3246/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSRecordPause.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSRecordPause.json diff --git a/docs/_data/Help/Switch-OBSRecordPause.json b/docs/_data/Help/Switch-OBSRecordPause.json new file mode 100644 index 000000000..bdcc0e9b9 --- /dev/null +++ b/docs/_data/Help/Switch-OBSRecordPause.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSRecordPause : ToggleRecordPause", + "Description": "Toggles pause on the record output.\n\n\nSwitch-OBSRecordPause calls the OBS WebSocket with a request of type ToggleRecordPause.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecordpause" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSRecordPause" + } + ] +} \ No newline at end of file From 61ec117bedf07dab1a78891219fa630bb28514a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3247/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSReplayBuffer.json | 41 +++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSReplayBuffer.json diff --git a/docs/_data/Help/Switch-OBSReplayBuffer.json b/docs/_data/Help/Switch-OBSReplayBuffer.json new file mode 100644 index 000000000..391e546dc --- /dev/null +++ b/docs/_data/Help/Switch-OBSReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSReplayBuffer : ToggleReplayBuffer", + "Description": "Toggles the state of the replay buffer output.\n\n\nSwitch-OBSReplayBuffer calls the OBS WebSocket with a request of type ToggleReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglereplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSReplayBuffer" + } + ] +} \ No newline at end of file From 4271c9106ca166f49c0b22dc987091aa4e542d0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3248/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSStream.json | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSStream.json diff --git a/docs/_data/Help/Switch-OBSStream.json b/docs/_data/Help/Switch-OBSStream.json new file mode 100644 index 000000000..3764dc799 --- /dev/null +++ b/docs/_data/Help/Switch-OBSStream.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSStream : ToggleStream", + "Description": "Toggles the status of the stream output.\n\n\nSwitch-OBSStream calls the OBS WebSocket with a request of type ToggleStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglestream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSStream" + } + ] +} \ No newline at end of file From cc80afa3ad8dfa963cf4a363fdb179d1befa169d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3249/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Switch-OBSVirtualCam.json | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Switch-OBSVirtualCam.json diff --git a/docs/_data/Help/Switch-OBSVirtualCam.json b/docs/_data/Help/Switch-OBSVirtualCam.json new file mode 100644 index 000000000..9b7ce61cb --- /dev/null +++ b/docs/_data/Help/Switch-OBSVirtualCam.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSVirtualCam : ToggleVirtualCam", + "Description": "Toggles the state of the virtualcam output.\n\n\nSwitch-OBSVirtualCam calls the OBS WebSocket with a request of type ToggleVirtualCam.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglevirtualcam" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSVirtualCam" + } + ] +} \ No newline at end of file From 90e4835f9ce023d7e6495a960caaa1cdf97ee38d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3250/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Watch-OBS.json | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 docs/_data/Help/Watch-OBS.json diff --git a/docs/_data/Help/Watch-OBS.json b/docs/_data/Help/Watch-OBS.json new file mode 100644 index 000000000..ce62fed63 --- /dev/null +++ b/docs/_data/Help/Watch-OBS.json @@ -0,0 +1,47 @@ +{ + "Synopsis": "Watches OBS", + "Description": "Watches the OBS websocket for events.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Watch-OBS -WebSocketToken 12345 # Obviously, replace this with your password." + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Watch-OBS # If you turn off authentication on OBS" + } + ] +} \ No newline at end of file From d78c8b20c5ba21a220e07b9a5248050452b18d70 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3251/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBS3BandEqualizerFilter.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBS3BandEqualizerFilter.json diff --git a/docs/_data/Help/Add-OBS3BandEqualizerFilter.json b/docs/_data/Help/Add-OBS3BandEqualizerFilter.json new file mode 100644 index 000000000..29c3a8a85 --- /dev/null +++ b/docs/_data/Help/Add-OBS3BandEqualizerFilter.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a Equalizer filter.", + "Description": "Adds or Changes a 3-band Equalizer Filter on an OBS Input.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From be40f3e17e759162592fc074d15f22382c4b59b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3252/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBS3DFilter.json | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBS3DFilter.json diff --git a/docs/_data/Help/Add-OBS3DFilter.json b/docs/_data/Help/Add-OBS3DFilter.json new file mode 100644 index 000000000..c9f2f15a3 --- /dev/null +++ b/docs/_data/Help/Add-OBS3DFilter.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets an OBS 3D Filter.", + "Description": "Adds or Changes a 3D Filter on an OBS Input. \nThis requires the [3D Effect](https://github.com/exeldro/obs-3d-effect).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7116dc5d5b8f6e8845fde7a7c5d0b85c8970c601 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3253/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSAddShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAddShader.json diff --git a/docs/_data/Help/Add-OBSAddShader.json b/docs/_data/Help/Add-OBSAddShader.json new file mode 100644 index 000000000..705b8a877 --- /dev/null +++ b/docs/_data/Help/Add-OBSAddShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8a6680ffd866aa5d9a3669c1f6870d68c80948fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:42 +0000 Subject: [PATCH 3254/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSAlphaBorderShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAlphaBorderShader.json diff --git a/docs/_data/Help/Add-OBSAlphaBorderShader.json b/docs/_data/Help/Add-OBSAlphaBorderShader.json new file mode 100644 index 000000000..a1a1e027f --- /dev/null +++ b/docs/_data/Help/Add-OBSAlphaBorderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 89e31b010b64fc77725c183a950a0959b89409a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3255/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSAlphaGamingBentCameraShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json diff --git a/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json b/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json new file mode 100644 index 000000000..d0540bf7b --- /dev/null +++ b/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9f81e6ce0531cc16795e735892cbdfd3d2ce8839 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3256/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSAnimatedPathShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAnimatedPathShader.json diff --git a/docs/_data/Help/Add-OBSAnimatedPathShader.json b/docs/_data/Help/Add-OBSAnimatedPathShader.json new file mode 100644 index 000000000..e880f077f --- /dev/null +++ b/docs/_data/Help/Add-OBSAnimatedPathShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3e1e1714f290c72446269066806db34cc94dd6c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3257/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSAnimatedTextureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAnimatedTextureShader.json diff --git a/docs/_data/Help/Add-OBSAnimatedTextureShader.json b/docs/_data/Help/Add-OBSAnimatedTextureShader.json new file mode 100644 index 000000000..b0e5f975f --- /dev/null +++ b/docs/_data/Help/Add-OBSAnimatedTextureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2f9eb30484af9f9715e76f3a4e57d928293f692f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3258/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSAsciiShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAsciiShader.json diff --git a/docs/_data/Help/Add-OBSAsciiShader.json b/docs/_data/Help/Add-OBSAsciiShader.json new file mode 100644 index 000000000..4d6d14224 --- /dev/null +++ b/docs/_data/Help/Add-OBSAsciiShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ae14e37b9992f1dfa495c9fcd8c2a7f7d3acb41a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3259/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSAspectRatioShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAspectRatioShader.json diff --git a/docs/_data/Help/Add-OBSAspectRatioShader.json b/docs/_data/Help/Add-OBSAspectRatioShader.json new file mode 100644 index 000000000..fd3cf291f --- /dev/null +++ b/docs/_data/Help/Add-OBSAspectRatioShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ea45238e2d514d0aa99ebbda72053d8d59a5e8bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3260/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSAudioOutputSource.json | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Add-OBSAudioOutputSource.json diff --git a/docs/_data/Help/Add-OBSAudioOutputSource.json b/docs/_data/Help/Add-OBSAudioOutputSource.json new file mode 100644 index 000000000..092206748 --- /dev/null +++ b/docs/_data/Help/Add-OBSAudioOutputSource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds or sets an audio output source", + "Description": "Adds or sets an audio output source in OBS. This captures the audio that is being sent to an output device.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + "This command currently only supports capturing default audio on Windows. \nTo add support for other operating systems, file an issue or open a pull request." + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSAudioOutputSource" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Set-OBSAudioOutputSource -AudioDevice Speakers" + } + ] +} \ No newline at end of file From f425aac0b10ae5e3702feffe4488fde40aef324d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3261/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSBackgroundRemovalShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBackgroundRemovalShader.json diff --git a/docs/_data/Help/Add-OBSBackgroundRemovalShader.json b/docs/_data/Help/Add-OBSBackgroundRemovalShader.json new file mode 100644 index 000000000..205be77d5 --- /dev/null +++ b/docs/_data/Help/Add-OBSBackgroundRemovalShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5ae04fab747b2504d40f0678aa70e3dc54bdf017 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3262/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSBlendOpacityShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBlendOpacityShader.json diff --git a/docs/_data/Help/Add-OBSBlendOpacityShader.json b/docs/_data/Help/Add-OBSBlendOpacityShader.json new file mode 100644 index 000000000..7bbf047ed --- /dev/null +++ b/docs/_data/Help/Add-OBSBlendOpacityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a721de933c1d97b11a630d51adf3f3e852fe7b8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:43 +0000 Subject: [PATCH 3263/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBlinkShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBlinkShader.json diff --git a/docs/_data/Help/Add-OBSBlinkShader.json b/docs/_data/Help/Add-OBSBlinkShader.json new file mode 100644 index 000000000..2973e5079 --- /dev/null +++ b/docs/_data/Help/Add-OBSBlinkShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9073fdc31bfa41e2966b0ad7138e6ffc4a6fb29a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3264/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBloomShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBloomShader.json diff --git a/docs/_data/Help/Add-OBSBloomShader.json b/docs/_data/Help/Add-OBSBloomShader.json new file mode 100644 index 000000000..b705909c3 --- /dev/null +++ b/docs/_data/Help/Add-OBSBloomShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8c7b1225816f419db0efb1e38f0fad97076a1c65 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3265/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBorderShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBorderShader.json diff --git a/docs/_data/Help/Add-OBSBorderShader.json b/docs/_data/Help/Add-OBSBorderShader.json new file mode 100644 index 000000000..868dca86d --- /dev/null +++ b/docs/_data/Help/Add-OBSBorderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e75723eefb9f57b2b17288f87456020bfadb5633 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3266/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBoxBlurShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBoxBlurShader.json diff --git a/docs/_data/Help/Add-OBSBoxBlurShader.json b/docs/_data/Help/Add-OBSBoxBlurShader.json new file mode 100644 index 000000000..e4f7d736f --- /dev/null +++ b/docs/_data/Help/Add-OBSBoxBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d575482ef012335239d1424fd0961b5735dbe711 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3267/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBrowserSource.json | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBrowserSource.json diff --git a/docs/_data/Help/Add-OBSBrowserSource.json b/docs/_data/Help/Add-OBSBrowserSource.json new file mode 100644 index 000000000..3f7240c75 --- /dev/null +++ b/docs/_data/Help/Add-OBSBrowserSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a browser source", + "Description": "Adds or changes a browser source in OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSBrowserSource -Uri https://pssvg.start-automating.com/Examples/Stars.svg" + } + ] +} \ No newline at end of file From d6bccdc6d167f474c7cc059cafe2e01ed3bb7858 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3268/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBulgePinchShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBulgePinchShader.json diff --git a/docs/_data/Help/Add-OBSBulgePinchShader.json b/docs/_data/Help/Add-OBSBulgePinchShader.json new file mode 100644 index 000000000..7ee877a41 --- /dev/null +++ b/docs/_data/Help/Add-OBSBulgePinchShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 62ee1a993d1bfd21e10e190347384916ccae0f4b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3269/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSBurnShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSBurnShader.json diff --git a/docs/_data/Help/Add-OBSBurnShader.json b/docs/_data/Help/Add-OBSBurnShader.json new file mode 100644 index 000000000..0e5ad04b6 --- /dev/null +++ b/docs/_data/Help/Add-OBSBurnShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 690f7bd74486b59b4de3bd39b8c587e77390674b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3270/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSCartoonShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCartoonShader.json diff --git a/docs/_data/Help/Add-OBSCartoonShader.json b/docs/_data/Help/Add-OBSCartoonShader.json new file mode 100644 index 000000000..38965ebad --- /dev/null +++ b/docs/_data/Help/Add-OBSCartoonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 33e385cb4601f0435603a093024465d2ecf0c44d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3271/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSCellShadedShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCellShadedShader.json diff --git a/docs/_data/Help/Add-OBSCellShadedShader.json b/docs/_data/Help/Add-OBSCellShadedShader.json new file mode 100644 index 000000000..3d50c192f --- /dev/null +++ b/docs/_data/Help/Add-OBSCellShadedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a50645309070ad6cdc2bcaa56ad65bf85422b682 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:44 +0000 Subject: [PATCH 3272/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSChromaticAberrationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSChromaticAberrationShader.json diff --git a/docs/_data/Help/Add-OBSChromaticAberrationShader.json b/docs/_data/Help/Add-OBSChromaticAberrationShader.json new file mode 100644 index 000000000..daa15776e --- /dev/null +++ b/docs/_data/Help/Add-OBSChromaticAberrationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From dfb5027b3ffece682d82301df390a26d04a82f9d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3273/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSChromaUVDistortionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSChromaUVDistortionShader.json diff --git a/docs/_data/Help/Add-OBSChromaUVDistortionShader.json b/docs/_data/Help/Add-OBSChromaUVDistortionShader.json new file mode 100644 index 000000000..66e162085 --- /dev/null +++ b/docs/_data/Help/Add-OBSChromaUVDistortionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From cad795c0e4b947b6a5c1672e83803215018ef72b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3274/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSCircleMaskFilterShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCircleMaskFilterShader.json diff --git a/docs/_data/Help/Add-OBSCircleMaskFilterShader.json b/docs/_data/Help/Add-OBSCircleMaskFilterShader.json new file mode 100644 index 000000000..50ea58fd9 --- /dev/null +++ b/docs/_data/Help/Add-OBSCircleMaskFilterShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a84cf454446d1616959268635fc5f16f7146a049 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3275/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSColorCorrectionFilter.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSColorCorrectionFilter.json diff --git a/docs/_data/Help/Add-OBSColorCorrectionFilter.json b/docs/_data/Help/Add-OBSColorCorrectionFilter.json new file mode 100644 index 000000000..8acc546da --- /dev/null +++ b/docs/_data/Help/Add-OBSColorCorrectionFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a color filter", + "Description": "Adds or Changes a Color Correction Filter on an OBS Input. \nThis allows you to: \n* Change Opacity on any source \n* Correct gamma \n* Spin the hue \n* Saturate or Desaturate an image \n* Change the contrast \n* Brighten the image \n* Multiply pixels by a color \n* Add a color to all pixels", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri .\\Assets\\obs-powershell-animated-icon.svg | \n Set-OBSColorFilter -Opacity .5" + } + ] +} \ No newline at end of file From 88c2efe203c36a6dd0816ab4b625e7b668c48ff2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3276/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSColorDepthShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSColorDepthShader.json diff --git a/docs/_data/Help/Add-OBSColorDepthShader.json b/docs/_data/Help/Add-OBSColorDepthShader.json new file mode 100644 index 000000000..571d37737 --- /dev/null +++ b/docs/_data/Help/Add-OBSColorDepthShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f0f0d80074a9d29a45d52a810b071f5271d23a4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3277/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSColorFilter.json | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSColorFilter.json diff --git a/docs/_data/Help/Add-OBSColorFilter.json b/docs/_data/Help/Add-OBSColorFilter.json new file mode 100644 index 000000000..8acc546da --- /dev/null +++ b/docs/_data/Help/Add-OBSColorFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a color filter", + "Description": "Adds or Changes a Color Correction Filter on an OBS Input. \nThis allows you to: \n* Change Opacity on any source \n* Correct gamma \n* Spin the hue \n* Saturate or Desaturate an image \n* Change the contrast \n* Brighten the image \n* Multiply pixels by a color \n* Add a color to all pixels", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri .\\Assets\\obs-powershell-animated-icon.svg | \n Set-OBSColorFilter -Opacity .5" + } + ] +} \ No newline at end of file From f3e69a2df4cc0649683020667f38a8a1fce6a8cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3278/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSColorGradeFilterShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSColorGradeFilterShader.json diff --git a/docs/_data/Help/Add-OBSColorGradeFilterShader.json b/docs/_data/Help/Add-OBSColorGradeFilterShader.json new file mode 100644 index 000000000..12b6a9177 --- /dev/null +++ b/docs/_data/Help/Add-OBSColorGradeFilterShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2096b70565e46684428ddf927af0e730c2413afe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3279/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSColorSource.json | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/_data/Help/Add-OBSColorSource.json diff --git a/docs/_data/Help/Add-OBSColorSource.json b/docs/_data/Help/Add-OBSColorSource.json new file mode 100644 index 000000000..63681dd66 --- /dev/null +++ b/docs/_data/Help/Add-OBSColorSource.json @@ -0,0 +1,36 @@ +{ + "Synopsis": "Adds a color source", + "Description": "Adds a color source to OBS. This displays a single 32-bit color (RGBA).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [] +} \ No newline at end of file From 47b727ee2da108c3844637eb1d68e51d87dcf5ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3280/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSCornerPinShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCornerPinShader.json diff --git a/docs/_data/Help/Add-OBSCornerPinShader.json b/docs/_data/Help/Add-OBSCornerPinShader.json new file mode 100644 index 000000000..d5d734e67 --- /dev/null +++ b/docs/_data/Help/Add-OBSCornerPinShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 43b34331b6931c5f44b65d56ffd6caf72438fe1e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3281/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSCrtCurvatureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCrtCurvatureShader.json diff --git a/docs/_data/Help/Add-OBSCrtCurvatureShader.json b/docs/_data/Help/Add-OBSCrtCurvatureShader.json new file mode 100644 index 000000000..727f5e96c --- /dev/null +++ b/docs/_data/Help/Add-OBSCrtCurvatureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5f1c642ce0856540dd90a9e4eb5b724b3a206fbc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:45 +0000 Subject: [PATCH 3282/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSCutRectPerCornerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCutRectPerCornerShader.json diff --git a/docs/_data/Help/Add-OBSCutRectPerCornerShader.json b/docs/_data/Help/Add-OBSCutRectPerCornerShader.json new file mode 100644 index 000000000..38453760e --- /dev/null +++ b/docs/_data/Help/Add-OBSCutRectPerCornerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9862b8447ffd6578fd7f01e4bdcf509b43e6b904 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3283/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSCylinderShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCylinderShader.json diff --git a/docs/_data/Help/Add-OBSCylinderShader.json b/docs/_data/Help/Add-OBSCylinderShader.json new file mode 100644 index 000000000..6f6a0f013 --- /dev/null +++ b/docs/_data/Help/Add-OBSCylinderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2210ef250db85a394bdae4f153ecbd8894e915e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3284/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDarkenShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDarkenShader.json diff --git a/docs/_data/Help/Add-OBSDarkenShader.json b/docs/_data/Help/Add-OBSDarkenShader.json new file mode 100644 index 000000000..73897b41b --- /dev/null +++ b/docs/_data/Help/Add-OBSDarkenShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e9606994787ee8fdb316552bff302e4696bfb042 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3285/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSDeadPixelFixerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDeadPixelFixerShader.json diff --git a/docs/_data/Help/Add-OBSDeadPixelFixerShader.json b/docs/_data/Help/Add-OBSDeadPixelFixerShader.json new file mode 100644 index 000000000..aa2307b6c --- /dev/null +++ b/docs/_data/Help/Add-OBSDeadPixelFixerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b6b394753fddb2dc5cb81e4d44c67fba7daaed78 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3286/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDisplaySource.json | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDisplaySource.json diff --git a/docs/_data/Help/Add-OBSDisplaySource.json b/docs/_data/Help/Add-OBSDisplaySource.json new file mode 100644 index 000000000..e4c134f1a --- /dev/null +++ b/docs/_data/Help/Add-OBSDisplaySource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds a display source", + "Description": "Adds a display source to OBS. This captures the contents of the display.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSDisplaySource # Adds a display source of the primary monitor" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Add-OBSDisplaySource -Display 2 # Adds a display source of the second monitor" + } + ] +} \ No newline at end of file From 10676a00a4a909fff1f5c70d8c3620587adac468 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3287/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSDivideRotateShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDivideRotateShader.json diff --git a/docs/_data/Help/Add-OBSDivideRotateShader.json b/docs/_data/Help/Add-OBSDivideRotateShader.json new file mode 100644 index 000000000..9f95b286b --- /dev/null +++ b/docs/_data/Help/Add-OBSDivideRotateShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4abe23a6f57962db934504cfc783b7ab4d740154 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3288/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDoodleShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDoodleShader.json diff --git a/docs/_data/Help/Add-OBSDoodleShader.json b/docs/_data/Help/Add-OBSDoodleShader.json new file mode 100644 index 000000000..769adca77 --- /dev/null +++ b/docs/_data/Help/Add-OBSDoodleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9e686cb29687e238d3668e1038444802c3287ce4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3289/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDrawingsShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDrawingsShader.json diff --git a/docs/_data/Help/Add-OBSDrawingsShader.json b/docs/_data/Help/Add-OBSDrawingsShader.json new file mode 100644 index 000000000..48d75446d --- /dev/null +++ b/docs/_data/Help/Add-OBSDrawingsShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From dab60b4f7d356379b9d1bc8c129dca328ed322c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3290/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDropShadowShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDropShadowShader.json diff --git a/docs/_data/Help/Add-OBSDropShadowShader.json b/docs/_data/Help/Add-OBSDropShadowShader.json new file mode 100644 index 000000000..2cdff2899 --- /dev/null +++ b/docs/_data/Help/Add-OBSDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4c02032903ce7862356cd6ad75df8cf285e1a431 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:46 +0000 Subject: [PATCH 3291/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDrunkShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDrunkShader.json diff --git a/docs/_data/Help/Add-OBSDrunkShader.json b/docs/_data/Help/Add-OBSDrunkShader.json new file mode 100644 index 000000000..3188fb20b --- /dev/null +++ b/docs/_data/Help/Add-OBSDrunkShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ffd3471ed0a99b1274122c3a51ee5e4a362b38f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3292/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSDynamicMaskShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDynamicMaskShader.json diff --git a/docs/_data/Help/Add-OBSDynamicMaskShader.json b/docs/_data/Help/Add-OBSDynamicMaskShader.json new file mode 100644 index 000000000..e9ad5017c --- /dev/null +++ b/docs/_data/Help/Add-OBSDynamicMaskShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3deda8faf124502145672314fb51ac8ad1d94477 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3293/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSEdgeDetectionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSEdgeDetectionShader.json diff --git a/docs/_data/Help/Add-OBSEdgeDetectionShader.json b/docs/_data/Help/Add-OBSEdgeDetectionShader.json new file mode 100644 index 000000000..9b494b357 --- /dev/null +++ b/docs/_data/Help/Add-OBSEdgeDetectionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d2da55fd132ea62ea9da0f40dc44cfcfd6b7c375 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3294/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSEmbersShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSEmbersShader.json diff --git a/docs/_data/Help/Add-OBSEmbersShader.json b/docs/_data/Help/Add-OBSEmbersShader.json new file mode 100644 index 000000000..38e75a1fe --- /dev/null +++ b/docs/_data/Help/Add-OBSEmbersShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2baf2f2cf757d8a28121e35cf5b045a11f77ece0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3295/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSEmbossColorShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSEmbossColorShader.json diff --git a/docs/_data/Help/Add-OBSEmbossColorShader.json b/docs/_data/Help/Add-OBSEmbossColorShader.json new file mode 100644 index 000000000..88e8cc70a --- /dev/null +++ b/docs/_data/Help/Add-OBSEmbossColorShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9770e2f7f25a20bfcdd0b841ee1e061dc5d9d3e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3296/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSEmbossShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSEmbossShader.json diff --git a/docs/_data/Help/Add-OBSEmbossShader.json b/docs/_data/Help/Add-OBSEmbossShader.json new file mode 100644 index 000000000..1a159dbbb --- /dev/null +++ b/docs/_data/Help/Add-OBSEmbossShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 20106efd15231cf76403dfcc6344f20e3c885117 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3297/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSEqualizierFilter.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSEqualizierFilter.json diff --git a/docs/_data/Help/Add-OBSEqualizierFilter.json b/docs/_data/Help/Add-OBSEqualizierFilter.json new file mode 100644 index 000000000..29c3a8a85 --- /dev/null +++ b/docs/_data/Help/Add-OBSEqualizierFilter.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a Equalizer filter.", + "Description": "Adds or Changes a 3-band Equalizer Filter on an OBS Input.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ffc2d36d7ce256b373a12f9e302e6a08f978e058 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3298/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSExeldroBentCameraShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSExeldroBentCameraShader.json diff --git a/docs/_data/Help/Add-OBSExeldroBentCameraShader.json b/docs/_data/Help/Add-OBSExeldroBentCameraShader.json new file mode 100644 index 000000000..f7017ef5b --- /dev/null +++ b/docs/_data/Help/Add-OBSExeldroBentCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ac08ccb4e171ed9027eb516a38c17b74d8ddb8b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3299/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSFadeTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFadeTransitionShader.json diff --git a/docs/_data/Help/Add-OBSFadeTransitionShader.json b/docs/_data/Help/Add-OBSFadeTransitionShader.json new file mode 100644 index 000000000..d14e4ca63 --- /dev/null +++ b/docs/_data/Help/Add-OBSFadeTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7a90056115d4882d5011de11b0487686a7bbd460 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:47 +0000 Subject: [PATCH 3300/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFFMpegSource.json | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFFMpegSource.json diff --git a/docs/_data/Help/Add-OBSFFMpegSource.json b/docs/_data/Help/Add-OBSFFMpegSource.json new file mode 100644 index 000000000..441822c93 --- /dev/null +++ b/docs/_data/Help/Add-OBSFFMpegSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a media source", + "Description": "Adds a media source to OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSMediaSource -FilePath My.mp4" + } + ] +} \ No newline at end of file From 700c84fa9daccf7d57183749830e91440b80ce26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3301/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSFillColorGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFillColorGradientShader.json diff --git a/docs/_data/Help/Add-OBSFillColorGradientShader.json b/docs/_data/Help/Add-OBSFillColorGradientShader.json new file mode 100644 index 000000000..4123ff909 --- /dev/null +++ b/docs/_data/Help/Add-OBSFillColorGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 13c99fe681ce5f9465fc66347c0a12306bee4d74 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3302/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSFillColorLinearShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFillColorLinearShader.json diff --git a/docs/_data/Help/Add-OBSFillColorLinearShader.json b/docs/_data/Help/Add-OBSFillColorLinearShader.json new file mode 100644 index 000000000..6f3e71ec6 --- /dev/null +++ b/docs/_data/Help/Add-OBSFillColorLinearShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f7d7dbb77816d6cfca9acd290835656c77c58870 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3303/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSFillColorRadialDegreesShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json diff --git a/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json b/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json new file mode 100644 index 000000000..81a001404 --- /dev/null +++ b/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b733dc068a15279c2e81ccf7b99fef99fb996baf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3304/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...dd-OBSFillColorRadialPercentageShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json diff --git a/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json b/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json new file mode 100644 index 000000000..fd3c3342c --- /dev/null +++ b/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 230c86dde6b7b3d31a01684817af81c9d7629145 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3305/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSFilterTemplateShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFilterTemplateShader.json diff --git a/docs/_data/Help/Add-OBSFilterTemplateShader.json b/docs/_data/Help/Add-OBSFilterTemplateShader.json new file mode 100644 index 000000000..3a0c96520 --- /dev/null +++ b/docs/_data/Help/Add-OBSFilterTemplateShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 02fd0143e741f254e8d007d6f5c35a6b1308acea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3306/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFire3Shader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFire3Shader.json diff --git a/docs/_data/Help/Add-OBSFire3Shader.json b/docs/_data/Help/Add-OBSFire3Shader.json new file mode 100644 index 000000000..c29623591 --- /dev/null +++ b/docs/_data/Help/Add-OBSFire3Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 740f37f6bf1665832036a606408e6a7e7b6ab907 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3307/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFireShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFireShader.json diff --git a/docs/_data/Help/Add-OBSFireShader.json b/docs/_data/Help/Add-OBSFireShader.json new file mode 100644 index 000000000..a06399abd --- /dev/null +++ b/docs/_data/Help/Add-OBSFireShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3c4afb43a5b1bc5bb7459dccaaeae87e71cab14c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3308/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFireworksShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFireworksShader.json diff --git a/docs/_data/Help/Add-OBSFireworksShader.json b/docs/_data/Help/Add-OBSFireworksShader.json new file mode 100644 index 000000000..d70cab7ad --- /dev/null +++ b/docs/_data/Help/Add-OBSFireworksShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 195337bb9d5baf3e324d596d93eb8ce922a71c10 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:48 +0000 Subject: [PATCH 3309/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFisheyeShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFisheyeShader.json diff --git a/docs/_data/Help/Add-OBSFisheyeShader.json b/docs/_data/Help/Add-OBSFisheyeShader.json new file mode 100644 index 000000000..88ef68395 --- /dev/null +++ b/docs/_data/Help/Add-OBSFisheyeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f2d2cd0ce95a973f5bf012c6ca06135dd06f0deb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3310/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFisheyeXyShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFisheyeXyShader.json diff --git a/docs/_data/Help/Add-OBSFisheyeXyShader.json b/docs/_data/Help/Add-OBSFisheyeXyShader.json new file mode 100644 index 000000000..5386532d5 --- /dev/null +++ b/docs/_data/Help/Add-OBSFisheyeXyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 085cae2fed2155674d52259126bff824fa1f2dc6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3311/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSFlipShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFlipShader.json diff --git a/docs/_data/Help/Add-OBSFlipShader.json b/docs/_data/Help/Add-OBSFlipShader.json new file mode 100644 index 000000000..3da225f21 --- /dev/null +++ b/docs/_data/Help/Add-OBSFlipShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ca65b6f2b63b95fb9ed8a977f52d1a3b3310e5e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3312/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSFrostedGlassShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFrostedGlassShader.json diff --git a/docs/_data/Help/Add-OBSFrostedGlassShader.json b/docs/_data/Help/Add-OBSFrostedGlassShader.json new file mode 100644 index 000000000..3076f6094 --- /dev/null +++ b/docs/_data/Help/Add-OBSFrostedGlassShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9b7bd3a92420f2e1f7b507a51bdf8eb14ce3943e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3313/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSGainFilter.json | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGainFilter.json diff --git a/docs/_data/Help/Add-OBSGainFilter.json b/docs/_data/Help/Add-OBSGainFilter.json new file mode 100644 index 000000000..f9a5418fc --- /dev/null +++ b/docs/_data/Help/Add-OBSGainFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Gain filter.", + "Description": "Adds or Changes a Gain Filter on an OBS Input. \nThis allows you to make the audio louder or softer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSGainFilter -Gain 1.1 # Gains Audio by 1.1 decibels" + } + ] +} \ No newline at end of file From f37cb0747ebb2d9c9554a063c605c4051f7944f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3314/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSGammaCorrectionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGammaCorrectionShader.json diff --git a/docs/_data/Help/Add-OBSGammaCorrectionShader.json b/docs/_data/Help/Add-OBSGammaCorrectionShader.json new file mode 100644 index 000000000..be6f57eb7 --- /dev/null +++ b/docs/_data/Help/Add-OBSGammaCorrectionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bebf10f2490dd94e7c11f83825ecebd9a68afa48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3315/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSGaussianBlurAdvancedShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json diff --git a/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json b/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json new file mode 100644 index 000000000..56bccb351 --- /dev/null +++ b/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 43aaec4c5143fd339627a608aca5806772f0e591 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3316/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSGaussianBlurShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGaussianBlurShader.json diff --git a/docs/_data/Help/Add-OBSGaussianBlurShader.json b/docs/_data/Help/Add-OBSGaussianBlurShader.json new file mode 100644 index 000000000..4a6d210db --- /dev/null +++ b/docs/_data/Help/Add-OBSGaussianBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 29f0dcc609112865cb015e4fd18f5d0f05c45afd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3317/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSGaussianBlurSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json diff --git a/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json b/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json new file mode 100644 index 000000000..994a9e4b8 --- /dev/null +++ b/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6d6eaebdbd64b2963def12e495d49fbfd64493ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3318/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSGaussianExampleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGaussianExampleShader.json diff --git a/docs/_data/Help/Add-OBSGaussianExampleShader.json b/docs/_data/Help/Add-OBSGaussianExampleShader.json new file mode 100644 index 000000000..e2a0de96e --- /dev/null +++ b/docs/_data/Help/Add-OBSGaussianExampleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From df9ac891c3d4bc691f89093ee70ee960aa26d514 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:49 +0000 Subject: [PATCH 3319/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSGaussianSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGaussianSimpleShader.json diff --git a/docs/_data/Help/Add-OBSGaussianSimpleShader.json b/docs/_data/Help/Add-OBSGaussianSimpleShader.json new file mode 100644 index 000000000..b81e0bb7d --- /dev/null +++ b/docs/_data/Help/Add-OBSGaussianSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 40e2d1a5b763beb1cd281815e0660950a761ed11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3320/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSGbCameraShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGbCameraShader.json diff --git a/docs/_data/Help/Add-OBSGbCameraShader.json b/docs/_data/Help/Add-OBSGbCameraShader.json new file mode 100644 index 000000000..dafdd12f4 --- /dev/null +++ b/docs/_data/Help/Add-OBSGbCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bf15317dd3dcfd4b421dc737debc7c2fafd6f9bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3321/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSGlassShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGlassShader.json diff --git a/docs/_data/Help/Add-OBSGlassShader.json b/docs/_data/Help/Add-OBSGlassShader.json new file mode 100644 index 000000000..3895d11fe --- /dev/null +++ b/docs/_data/Help/Add-OBSGlassShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 54273e797ffaa2099a55a44f7e451c640b67b157 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3322/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSGlitchAnalogShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGlitchAnalogShader.json diff --git a/docs/_data/Help/Add-OBSGlitchAnalogShader.json b/docs/_data/Help/Add-OBSGlitchAnalogShader.json new file mode 100644 index 000000000..5872cd9b9 --- /dev/null +++ b/docs/_data/Help/Add-OBSGlitchAnalogShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a948b6277359169f01a1a02c345bb481f6b611b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3323/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSGlitchShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGlitchShader.json diff --git a/docs/_data/Help/Add-OBSGlitchShader.json b/docs/_data/Help/Add-OBSGlitchShader.json new file mode 100644 index 000000000..8a54d1bac --- /dev/null +++ b/docs/_data/Help/Add-OBSGlitchShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3e76e33fde94414ee28b1f0c2a0848c0da3abeb8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3324/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSGlowShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGlowShader.json diff --git a/docs/_data/Help/Add-OBSGlowShader.json b/docs/_data/Help/Add-OBSGlowShader.json new file mode 100644 index 000000000..17b954e3b --- /dev/null +++ b/docs/_data/Help/Add-OBSGlowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b22256927b5b6b3fb8be4fab16d3a93b58b17162 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3325/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSGradientShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSGradientShader.json diff --git a/docs/_data/Help/Add-OBSGradientShader.json b/docs/_data/Help/Add-OBSGradientShader.json new file mode 100644 index 000000000..da25a5b56 --- /dev/null +++ b/docs/_data/Help/Add-OBSGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8fe9dcba5d8e004ad63a1c021cde64b88529e475 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3326/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSHalftoneShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSHalftoneShader.json diff --git a/docs/_data/Help/Add-OBSHalftoneShader.json b/docs/_data/Help/Add-OBSHalftoneShader.json new file mode 100644 index 000000000..5169bdc1a --- /dev/null +++ b/docs/_data/Help/Add-OBSHalftoneShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 315708239a900f7af47790ccf5af4c7f2bfd68cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:50 +0000 Subject: [PATCH 3327/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSHeatWaveSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSHeatWaveSimpleShader.json diff --git a/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json b/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json new file mode 100644 index 000000000..867dcd3de --- /dev/null +++ b/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e32a04a94a07ae65e0b582f0af0c05daf960cfe4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3328/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSHexagonShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSHexagonShader.json diff --git a/docs/_data/Help/Add-OBSHexagonShader.json b/docs/_data/Help/Add-OBSHexagonShader.json new file mode 100644 index 000000000..eaacec57e --- /dev/null +++ b/docs/_data/Help/Add-OBSHexagonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From aeb4edbbeddc77bd832c3407c06584650c1d9128 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3329/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSHslHsvSaturationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSHslHsvSaturationShader.json diff --git a/docs/_data/Help/Add-OBSHslHsvSaturationShader.json b/docs/_data/Help/Add-OBSHslHsvSaturationShader.json new file mode 100644 index 000000000..1f5b300a3 --- /dev/null +++ b/docs/_data/Help/Add-OBSHslHsvSaturationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e702283d3952b700e14bef4fb2aa5ef4ddd2ca17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3330/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSHueRotatonShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSHueRotatonShader.json diff --git a/docs/_data/Help/Add-OBSHueRotatonShader.json b/docs/_data/Help/Add-OBSHueRotatonShader.json new file mode 100644 index 000000000..bfe2409ff --- /dev/null +++ b/docs/_data/Help/Add-OBSHueRotatonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c42c0a9f970dc290e6f0a1463e0be7ccd03a90cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3331/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSIntensityScopeShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSIntensityScopeShader.json diff --git a/docs/_data/Help/Add-OBSIntensityScopeShader.json b/docs/_data/Help/Add-OBSIntensityScopeShader.json new file mode 100644 index 000000000..fea527830 --- /dev/null +++ b/docs/_data/Help/Add-OBSIntensityScopeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 58914632a838cde0c50f3e8643882ca02b3e44ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3332/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSInvertLumaShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSInvertLumaShader.json diff --git a/docs/_data/Help/Add-OBSInvertLumaShader.json b/docs/_data/Help/Add-OBSInvertLumaShader.json new file mode 100644 index 000000000..5b6e144c7 --- /dev/null +++ b/docs/_data/Help/Add-OBSInvertLumaShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 34b178d5e52faec5f690066028b0782f0528b61c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3333/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSLuminance2Shader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSLuminance2Shader.json diff --git a/docs/_data/Help/Add-OBSLuminance2Shader.json b/docs/_data/Help/Add-OBSLuminance2Shader.json new file mode 100644 index 000000000..210290dee --- /dev/null +++ b/docs/_data/Help/Add-OBSLuminance2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7b08bee9301cb4314a727c519b022d387d739c38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3334/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSLuminanceAlphaShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSLuminanceAlphaShader.json diff --git a/docs/_data/Help/Add-OBSLuminanceAlphaShader.json b/docs/_data/Help/Add-OBSLuminanceAlphaShader.json new file mode 100644 index 000000000..77530e77b --- /dev/null +++ b/docs/_data/Help/Add-OBSLuminanceAlphaShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 48202c779c17b502cc74107e7f78f6133341612c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3335/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSLuminanceShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSLuminanceShader.json diff --git a/docs/_data/Help/Add-OBSLuminanceShader.json b/docs/_data/Help/Add-OBSLuminanceShader.json new file mode 100644 index 000000000..d5142f1d2 --- /dev/null +++ b/docs/_data/Help/Add-OBSLuminanceShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f81544a0fed9a9115a98f70db88818b0ed8b4c0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:51 +0000 Subject: [PATCH 3336/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSMarkdownSource.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSMarkdownSource.json diff --git a/docs/_data/Help/Add-OBSMarkdownSource.json b/docs/_data/Help/Add-OBSMarkdownSource.json new file mode 100644 index 000000000..ce9f33364 --- /dev/null +++ b/docs/_data/Help/Add-OBSMarkdownSource.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a markdown source", + "Description": "Adds or changes a markdown source in OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3a5d80b488bbd2b1b281bb1765028e8c3d831761 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3337/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSMatrixShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSMatrixShader.json diff --git a/docs/_data/Help/Add-OBSMatrixShader.json b/docs/_data/Help/Add-OBSMatrixShader.json new file mode 100644 index 000000000..81fb6d551 --- /dev/null +++ b/docs/_data/Help/Add-OBSMatrixShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6cfe892b860eb7dc0b9020ff4ec29cc49ab7366c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3338/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSMediaSource.json | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Add-OBSMediaSource.json diff --git a/docs/_data/Help/Add-OBSMediaSource.json b/docs/_data/Help/Add-OBSMediaSource.json new file mode 100644 index 000000000..441822c93 --- /dev/null +++ b/docs/_data/Help/Add-OBSMediaSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a media source", + "Description": "Adds a media source to OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSMediaSource -FilePath My.mp4" + } + ] +} \ No newline at end of file From 1b24700479fbca5dcb97317100b21509bd3e1281 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3339/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSMonitorSource.json | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Add-OBSMonitorSource.json diff --git a/docs/_data/Help/Add-OBSMonitorSource.json b/docs/_data/Help/Add-OBSMonitorSource.json new file mode 100644 index 000000000..e4c134f1a --- /dev/null +++ b/docs/_data/Help/Add-OBSMonitorSource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds a display source", + "Description": "Adds a display source to OBS. This captures the contents of the display.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSDisplaySource # Adds a display source of the primary monitor" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Add-OBSDisplaySource -Display 2 # Adds a display source of the second monitor" + } + ] +} \ No newline at end of file From 4979a7077dee7f607e7730192705fce1cf859816 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3340/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSMultiplyShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSMultiplyShader.json diff --git a/docs/_data/Help/Add-OBSMultiplyShader.json b/docs/_data/Help/Add-OBSMultiplyShader.json new file mode 100644 index 000000000..c41d7067f --- /dev/null +++ b/docs/_data/Help/Add-OBSMultiplyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7da218fdcba90d55b813f2d1eeb7e2597dc91547 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3341/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSNightSkyShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSNightSkyShader.json diff --git a/docs/_data/Help/Add-OBSNightSkyShader.json b/docs/_data/Help/Add-OBSNightSkyShader.json new file mode 100644 index 000000000..5e8e788ec --- /dev/null +++ b/docs/_data/Help/Add-OBSNightSkyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 78f3ade1580c66b59593e9b89468a9892dcc860b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3342/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSOpacityShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSOpacityShader.json diff --git a/docs/_data/Help/Add-OBSOpacityShader.json b/docs/_data/Help/Add-OBSOpacityShader.json new file mode 100644 index 000000000..0b7145c2b --- /dev/null +++ b/docs/_data/Help/Add-OBSOpacityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a50dcec27e740cb6e3a238204c9e63187427e20a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3343/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSPagePeelShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPagePeelShader.json diff --git a/docs/_data/Help/Add-OBSPagePeelShader.json b/docs/_data/Help/Add-OBSPagePeelShader.json new file mode 100644 index 000000000..afad989ec --- /dev/null +++ b/docs/_data/Help/Add-OBSPagePeelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 31ca749a3398c0918be47832b41fa730c2989b51 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3344/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSPagePeelTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPagePeelTransitionShader.json diff --git a/docs/_data/Help/Add-OBSPagePeelTransitionShader.json b/docs/_data/Help/Add-OBSPagePeelTransitionShader.json new file mode 100644 index 000000000..8dc3b44f8 --- /dev/null +++ b/docs/_data/Help/Add-OBSPagePeelTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From abf617332960b78f7b4461d1e1943d25396111f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:52 +0000 Subject: [PATCH 3345/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSPerlinNoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPerlinNoiseShader.json diff --git a/docs/_data/Help/Add-OBSPerlinNoiseShader.json b/docs/_data/Help/Add-OBSPerlinNoiseShader.json new file mode 100644 index 000000000..f1c26be33 --- /dev/null +++ b/docs/_data/Help/Add-OBSPerlinNoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 159fb57e999c580f86b7fa17b4bfb816a0a59806 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3346/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSPieChartShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPieChartShader.json diff --git a/docs/_data/Help/Add-OBSPieChartShader.json b/docs/_data/Help/Add-OBSPieChartShader.json new file mode 100644 index 000000000..535375e5a --- /dev/null +++ b/docs/_data/Help/Add-OBSPieChartShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 01a0953ac1649dcd589aaff6843f8e4b645876f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3347/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSPixelationShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPixelationShader.json diff --git a/docs/_data/Help/Add-OBSPixelationShader.json b/docs/_data/Help/Add-OBSPixelationShader.json new file mode 100644 index 000000000..b2d891902 --- /dev/null +++ b/docs/_data/Help/Add-OBSPixelationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 998d3602d8c4b5924eaa7de9c22b99696831cf63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3348/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSPixelationTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPixelationTransitionShader.json diff --git a/docs/_data/Help/Add-OBSPixelationTransitionShader.json b/docs/_data/Help/Add-OBSPixelationTransitionShader.json new file mode 100644 index 000000000..6f03e9326 --- /dev/null +++ b/docs/_data/Help/Add-OBSPixelationTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From fdc693df3c0164bb6dd2670f100dc6a031db8d12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3349/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSPlaylistSource.json | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPlaylistSource.json diff --git a/docs/_data/Help/Add-OBSPlaylistSource.json b/docs/_data/Help/Add-OBSPlaylistSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Add-OBSPlaylistSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From 5f268d6032222c0b97442e9a3ed25579f6666ca4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3350/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSPulseShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPulseShader.json diff --git a/docs/_data/Help/Add-OBSPulseShader.json b/docs/_data/Help/Add-OBSPulseShader.json new file mode 100644 index 000000000..1b7dcf056 --- /dev/null +++ b/docs/_data/Help/Add-OBSPulseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 41000117ae4c7025559728500373572a8c6febf4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3351/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRainbowShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRainbowShader.json diff --git a/docs/_data/Help/Add-OBSRainbowShader.json b/docs/_data/Help/Add-OBSRainbowShader.json new file mode 100644 index 000000000..3bb4556a6 --- /dev/null +++ b/docs/_data/Help/Add-OBSRainbowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 580b5a7b63b64861ee95609457fa8c8ef5f1ac0c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3352/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRainWindowShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRainWindowShader.json diff --git a/docs/_data/Help/Add-OBSRainWindowShader.json b/docs/_data/Help/Add-OBSRainWindowShader.json new file mode 100644 index 000000000..41316a192 --- /dev/null +++ b/docs/_data/Help/Add-OBSRainWindowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 315021e41bdc7e1de6ac391ae38bec96ebe6532d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3353/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSRectangularDropShadowShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRectangularDropShadowShader.json diff --git a/docs/_data/Help/Add-OBSRectangularDropShadowShader.json b/docs/_data/Help/Add-OBSRectangularDropShadowShader.json new file mode 100644 index 000000000..650a53285 --- /dev/null +++ b/docs/_data/Help/Add-OBSRectangularDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a285b190653b4749c44973225f920170a43724c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:53 +0000 Subject: [PATCH 3354/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSReflectShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSReflectShader.json diff --git a/docs/_data/Help/Add-OBSReflectShader.json b/docs/_data/Help/Add-OBSReflectShader.json new file mode 100644 index 000000000..219e772c8 --- /dev/null +++ b/docs/_data/Help/Add-OBSReflectShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7fd0927449f12fcaaed76a13840517d2b1dab3f6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3355/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSRemovePartialPixelsShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRemovePartialPixelsShader.json diff --git a/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json b/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json new file mode 100644 index 000000000..54b30405e --- /dev/null +++ b/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0494328434740a6d74588bc061e14f94b2a16665 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3356/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRenderDelayFilter.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRenderDelayFilter.json diff --git a/docs/_data/Help/Add-OBSRenderDelayFilter.json b/docs/_data/Help/Add-OBSRenderDelayFilter.json new file mode 100644 index 000000000..c898cf294 --- /dev/null +++ b/docs/_data/Help/Add-OBSRenderDelayFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a RenderDelay filter.", + "Description": "Adds or Changes a RenderDelay Filter on an OBS Input. \nThis changes the RenderDelay of an image.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSRenderDelayFilter -RenderDelay .75" + } + ] +} \ No newline at end of file From 129893c579f8b03c01075a215b0545c7b9834c41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3357/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRepeatShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRepeatShader.json diff --git a/docs/_data/Help/Add-OBSRepeatShader.json b/docs/_data/Help/Add-OBSRepeatShader.json new file mode 100644 index 000000000..6c4a86a74 --- /dev/null +++ b/docs/_data/Help/Add-OBSRepeatShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From aad0b0a35c012aa047e1a4bfc4a58bf6e1206235 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3358/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSRepeatTextureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRepeatTextureShader.json diff --git a/docs/_data/Help/Add-OBSRepeatTextureShader.json b/docs/_data/Help/Add-OBSRepeatTextureShader.json new file mode 100644 index 000000000..d382ca992 --- /dev/null +++ b/docs/_data/Help/Add-OBSRepeatTextureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 39c5a029c04705ecf579640c4325ff5acda3325f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3359/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRGBAPercentShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRGBAPercentShader.json diff --git a/docs/_data/Help/Add-OBSRGBAPercentShader.json b/docs/_data/Help/Add-OBSRGBAPercentShader.json new file mode 100644 index 000000000..5d6cb64aa --- /dev/null +++ b/docs/_data/Help/Add-OBSRGBAPercentShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 63c20920d4ff4bdfae651ddbaa6c73b053307a8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3360/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSRgbColorWheelShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRgbColorWheelShader.json diff --git a/docs/_data/Help/Add-OBSRgbColorWheelShader.json b/docs/_data/Help/Add-OBSRgbColorWheelShader.json new file mode 100644 index 000000000..965e571d3 --- /dev/null +++ b/docs/_data/Help/Add-OBSRgbColorWheelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f1eeb95b75f2da99afe354a6c85d1ce1af29c83f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3361/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRgbSplitShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRgbSplitShader.json diff --git a/docs/_data/Help/Add-OBSRgbSplitShader.json b/docs/_data/Help/Add-OBSRgbSplitShader.json new file mode 100644 index 000000000..6b97f7549 --- /dev/null +++ b/docs/_data/Help/Add-OBSRgbSplitShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 644b280e91dd2faea727279071fcba4a79db8093 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3362/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSRgbvisibilityShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRgbvisibilityShader.json diff --git a/docs/_data/Help/Add-OBSRgbvisibilityShader.json b/docs/_data/Help/Add-OBSRgbvisibilityShader.json new file mode 100644 index 000000000..1675c70aa --- /dev/null +++ b/docs/_data/Help/Add-OBSRgbvisibilityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 72d720147a47953868850979f0a220075cc00b8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3363/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRippleShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRippleShader.json diff --git a/docs/_data/Help/Add-OBSRippleShader.json b/docs/_data/Help/Add-OBSRippleShader.json new file mode 100644 index 000000000..35583c3ec --- /dev/null +++ b/docs/_data/Help/Add-OBSRippleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d26c9c694f09ea0ced763689c18cf5696b29ab0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:54 +0000 Subject: [PATCH 3364/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSRotatingSourceShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRotatingSourceShader.json diff --git a/docs/_data/Help/Add-OBSRotatingSourceShader.json b/docs/_data/Help/Add-OBSRotatingSourceShader.json new file mode 100644 index 000000000..81ca32462 --- /dev/null +++ b/docs/_data/Help/Add-OBSRotatingSourceShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6278828ab11a7bb1a542757cfeda53d2e896d357 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3365/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRotatoeShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRotatoeShader.json diff --git a/docs/_data/Help/Add-OBSRotatoeShader.json b/docs/_data/Help/Add-OBSRotatoeShader.json new file mode 100644 index 000000000..2e073a20f --- /dev/null +++ b/docs/_data/Help/Add-OBSRotatoeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 38362c2270dc6d00b47f067bf389156f25c973ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3366/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSRoundedRect2Shader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRoundedRect2Shader.json diff --git a/docs/_data/Help/Add-OBSRoundedRect2Shader.json b/docs/_data/Help/Add-OBSRoundedRect2Shader.json new file mode 100644 index 000000000..c73261647 --- /dev/null +++ b/docs/_data/Help/Add-OBSRoundedRect2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 958ab2de8dae1b0cb15db3c5c978c666da6b6263 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3367/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSRoundedRectPerCornerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json diff --git a/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json b/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json new file mode 100644 index 000000000..8a6fda223 --- /dev/null +++ b/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0053c71a11709f3974b19ec6cfe3a4900f795813 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3368/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSRoundedRectPerSideShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRoundedRectPerSideShader.json diff --git a/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json b/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json new file mode 100644 index 000000000..8def50b0d --- /dev/null +++ b/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bf8cef0cea8861b22baaaa7236fe2c888e179d7c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3369/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSRoundedRectShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRoundedRectShader.json diff --git a/docs/_data/Help/Add-OBSRoundedRectShader.json b/docs/_data/Help/Add-OBSRoundedRectShader.json new file mode 100644 index 000000000..b49e57e9f --- /dev/null +++ b/docs/_data/Help/Add-OBSRoundedRectShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7adb6f44b5cad33b070137bbad40960b93800e98 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3370/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Add-OBSRoundedStrokeGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json diff --git a/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json b/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json new file mode 100644 index 000000000..a651afcef --- /dev/null +++ b/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3e9b8b200ed6907423a28cb058cdc8421562dd43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3371/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSRoundedStrokeShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRoundedStrokeShader.json diff --git a/docs/_data/Help/Add-OBSRoundedStrokeShader.json b/docs/_data/Help/Add-OBSRoundedStrokeShader.json new file mode 100644 index 000000000..4e3b0befb --- /dev/null +++ b/docs/_data/Help/Add-OBSRoundedStrokeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f08b19bb752881d7f815984c21d16a789f36bd02 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3372/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSScaleFilter.json | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSScaleFilter.json diff --git a/docs/_data/Help/Add-OBSScaleFilter.json b/docs/_data/Help/Add-OBSScaleFilter.json new file mode 100644 index 000000000..e9ab1e703 --- /dev/null +++ b/docs/_data/Help/Add-OBSScaleFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Scale filter.", + "Description": "Adds or Changes a Scale Filter on an OBS Input. \nThis allows you to resize the image source.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSScaleFilter -Resolution \"16:9\"" + } + ] +} \ No newline at end of file From 53eed48796c4fb49fedd90fad560315fc6c7b036 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:55 +0000 Subject: [PATCH 3373/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSScanLineShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSScanLineShader.json diff --git a/docs/_data/Help/Add-OBSScanLineShader.json b/docs/_data/Help/Add-OBSScanLineShader.json new file mode 100644 index 000000000..0ada8f69a --- /dev/null +++ b/docs/_data/Help/Add-OBSScanLineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From dab501edc3e0af5af19f24b079c4ea1c7808a613 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3374/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSceneSource.json | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSceneSource.json diff --git a/docs/_data/Help/Add-OBSSceneSource.json b/docs/_data/Help/Add-OBSSceneSource.json new file mode 100644 index 000000000..449e42cd0 --- /dev/null +++ b/docs/_data/Help/Add-OBSSceneSource.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSceneItem : CreateSceneItem", + "Description": "Creates a new scene item using a source.\n\nScenes only\n\n\nAdd-OBSSceneItem calls the OBS WebSocket with a request of type CreateSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsceneitem" + ], + "Examples": [] +} \ No newline at end of file From 9dfd26101d0c1ac0d1910b0f9e5d4a8eb3963ae7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3375/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSeascapeShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSeascapeShader.json diff --git a/docs/_data/Help/Add-OBSSeascapeShader.json b/docs/_data/Help/Add-OBSSeascapeShader.json new file mode 100644 index 000000000..854433ab4 --- /dev/null +++ b/docs/_data/Help/Add-OBSSeascapeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8e0b7a461036c3c309a36ee45be34f52b959a018 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3376/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSeasickShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSeasickShader.json diff --git a/docs/_data/Help/Add-OBSSeasickShader.json b/docs/_data/Help/Add-OBSSeasickShader.json new file mode 100644 index 000000000..74ab7991f --- /dev/null +++ b/docs/_data/Help/Add-OBSSeasickShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9955e0254c4f10594194e3813c7778e7bfd9a154 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3377/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSSelectiveColorShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSelectiveColorShader.json diff --git a/docs/_data/Help/Add-OBSSelectiveColorShader.json b/docs/_data/Help/Add-OBSSelectiveColorShader.json new file mode 100644 index 000000000..167a52600 --- /dev/null +++ b/docs/_data/Help/Add-OBSSelectiveColorShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 52ecbb4238dfa0101180ebba3dfd2e0f7487d755 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3378/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSShaderFilter.json | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/_data/Help/Add-OBSShaderFilter.json diff --git a/docs/_data/Help/Add-OBSShaderFilter.json b/docs/_data/Help/Add-OBSShaderFilter.json new file mode 100644 index 000000000..9992e3c5c --- /dev/null +++ b/docs/_data/Help/Add-OBSShaderFilter.json @@ -0,0 +1,49 @@ +{ + "Synopsis": "Sets a Shader filter.", + "Description": "Adds or Changes a Shader Filter on an OBS Input. \nThis requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shaderfilter) is installed.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSShaderFilter -FilterName \"FisheyeShader\" -ShaderFile fisheye-xy -ShaderSetting @{ \n center_x_percent=30 \n center_y_percent=70 \n }" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSShaderFilter -FilterName \"SeasickShader\" -ShaderFile seasick -ShaderSetting @{ \n amplitude = 0.05 \n speed = 0.5 \n frequency = 12 \n opacity = 1 \n }" + }, + { + "Title": "EXAMPLE 3", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSShaderFilter -FilterName \"TwistShader\" -ShaderFile twist -ShaderSetting @{ \n center_x_percent=50 \n center_y_percent=50 \n power = 0.05 \n rotation = 80 \n }" + } + ] +} \ No newline at end of file From b656aad1cd87b6a482b24929c537c42bfc55eae7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3379/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSShakeShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSShakeShader.json diff --git a/docs/_data/Help/Add-OBSShakeShader.json b/docs/_data/Help/Add-OBSShakeShader.json new file mode 100644 index 000000000..83de5fbb8 --- /dev/null +++ b/docs/_data/Help/Add-OBSShakeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 327f0dc589cfeb0bbc929d016c9d9a34c0f64d30 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3380/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSharpnessFilter.json | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSharpnessFilter.json diff --git a/docs/_data/Help/Add-OBSSharpnessFilter.json b/docs/_data/Help/Add-OBSSharpnessFilter.json new file mode 100644 index 000000000..baa4da743 --- /dev/null +++ b/docs/_data/Help/Add-OBSSharpnessFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Sharpness filter.", + "Description": "Adds or Changes a Sharpness Filter on an OBS Input. \nThis changes the sharpness of an image.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | \n Set-OBSSharpnessFilter -Sharpness .75" + } + ] +} \ No newline at end of file From 9048ed0fae679cf0ec437896552f8b73237dd60b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:56 +0000 Subject: [PATCH 3381/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSShineShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSShineShader.json diff --git a/docs/_data/Help/Add-OBSShineShader.json b/docs/_data/Help/Add-OBSShineShader.json new file mode 100644 index 000000000..fd49a93f1 --- /dev/null +++ b/docs/_data/Help/Add-OBSShineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 512b00c12c6eb511fdefce56fde84de9cfe978be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3382/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSSimpleGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSimpleGradientShader.json diff --git a/docs/_data/Help/Add-OBSSimpleGradientShader.json b/docs/_data/Help/Add-OBSSimpleGradientShader.json new file mode 100644 index 000000000..7f86021bb --- /dev/null +++ b/docs/_data/Help/Add-OBSSimpleGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9869b1245cf6d1ab0c3f9f096086d32b7d9a63e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3383/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Add-OBSSimplexNoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSimplexNoiseShader.json diff --git a/docs/_data/Help/Add-OBSSimplexNoiseShader.json b/docs/_data/Help/Add-OBSSimplexNoiseShader.json new file mode 100644 index 000000000..d3aaa0216 --- /dev/null +++ b/docs/_data/Help/Add-OBSSimplexNoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c8e707fd7c7cf851cf27a9523d646141f60df9ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3384/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSoundCloudSource.json | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSoundCloudSource.json diff --git a/docs/_data/Help/Add-OBSSoundCloudSource.json b/docs/_data/Help/Add-OBSSoundCloudSource.json new file mode 100644 index 000000000..679cdeccc --- /dev/null +++ b/docs/_data/Help/Add-OBSSoundCloudSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Sound Cloud Source", + "Description": "Adds or changes a Sound Cloud source OBS. \nSound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth" + } + ] +} \ No newline at end of file From 0667414d7acb33dfabecd9dc8056b593cc62d559 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3385/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSpotlightShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSpotlightShader.json diff --git a/docs/_data/Help/Add-OBSSpotlightShader.json b/docs/_data/Help/Add-OBSSpotlightShader.json new file mode 100644 index 000000000..854182a18 --- /dev/null +++ b/docs/_data/Help/Add-OBSSpotlightShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 86445c35e6ea6f96e5724b0a755ececf7b606a6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3386/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSwirlShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSwirlShader.json diff --git a/docs/_data/Help/Add-OBSSwirlShader.json b/docs/_data/Help/Add-OBSSwirlShader.json new file mode 100644 index 000000000..2245a99c5 --- /dev/null +++ b/docs/_data/Help/Add-OBSSwirlShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9ab083aa813be0f97bbd86c88455fb1a23f6d6c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3387/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSSwitchSource.json | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSwitchSource.json diff --git a/docs/_data/Help/Add-OBSSwitchSource.json b/docs/_data/Help/Add-OBSSwitchSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Add-OBSSwitchSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From c7979c50aa0725ac6f00dda48012ac9c9405c1c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3388/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSThermalShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSThermalShader.json diff --git a/docs/_data/Help/Add-OBSThermalShader.json b/docs/_data/Help/Add-OBSThermalShader.json new file mode 100644 index 000000000..cb5416546 --- /dev/null +++ b/docs/_data/Help/Add-OBSThermalShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c4047e73f60e68ca353b79ebb57daeb260588c09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3389/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSTvCrtSubpixelShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSTvCrtSubpixelShader.json diff --git a/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json b/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json new file mode 100644 index 000000000..0de0bf554 --- /dev/null +++ b/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a223c335983eda7de057a78bb2b4b70a19530ad9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:57 +0000 Subject: [PATCH 3390/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSTwistShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSTwistShader.json diff --git a/docs/_data/Help/Add-OBSTwistShader.json b/docs/_data/Help/Add-OBSTwistShader.json new file mode 100644 index 000000000..a8d7fc1b4 --- /dev/null +++ b/docs/_data/Help/Add-OBSTwistShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c75b87b42f16362274e651c07eb0e608e176783b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3391/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSTwoPassDropShadowShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSTwoPassDropShadowShader.json diff --git a/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json b/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json new file mode 100644 index 000000000..2461bde27 --- /dev/null +++ b/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 776913040d2556196c8bbb7a767f817bc1d37267 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3392/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSVCRShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSVCRShader.json diff --git a/docs/_data/Help/Add-OBSVCRShader.json b/docs/_data/Help/Add-OBSVCRShader.json new file mode 100644 index 000000000..8d5c91699 --- /dev/null +++ b/docs/_data/Help/Add-OBSVCRShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 75c0c23a94b3ccac6dd89e2e1bb4e641c80fe251 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3393/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSVHSShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSVHSShader.json diff --git a/docs/_data/Help/Add-OBSVHSShader.json b/docs/_data/Help/Add-OBSVHSShader.json new file mode 100644 index 000000000..743cd0edc --- /dev/null +++ b/docs/_data/Help/Add-OBSVHSShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6ac2d8d0b3a20efb0940d4ba1ecb04bdb6f23577 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3394/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSVignettingShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSVignettingShader.json diff --git a/docs/_data/Help/Add-OBSVignettingShader.json b/docs/_data/Help/Add-OBSVignettingShader.json new file mode 100644 index 000000000..61647c987 --- /dev/null +++ b/docs/_data/Help/Add-OBSVignettingShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2c48ea1dd79f1ef91963465eca42e4450b2c6e90 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3395/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSVLCSource.json | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Add-OBSVLCSource.json diff --git a/docs/_data/Help/Add-OBSVLCSource.json b/docs/_data/Help/Add-OBSVLCSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Add-OBSVLCSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From ca9aa271c36813fd10db5b2b1467598a29ba8a6a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3396/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSVoronoiPixelationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSVoronoiPixelationShader.json diff --git a/docs/_data/Help/Add-OBSVoronoiPixelationShader.json b/docs/_data/Help/Add-OBSVoronoiPixelationShader.json new file mode 100644 index 000000000..27678a463 --- /dev/null +++ b/docs/_data/Help/Add-OBSVoronoiPixelationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 70829ad5ee7c470bdfe496e9faec27a8cbd9f894 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3397/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSWaveformSource.json | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSWaveformSource.json diff --git a/docs/_data/Help/Add-OBSWaveformSource.json b/docs/_data/Help/Add-OBSWaveformSource.json new file mode 100644 index 000000000..54d4cdd82 --- /dev/null +++ b/docs/_data/Help/Add-OBSWaveformSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "OBS Waveform Source", + "Description": "Gets, Sets, or Adds a waveform source in OBS. \nWaveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/)", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSWaveformSource -Name \"SpeakerWaveform\"" + } + ] +} \ No newline at end of file From 069e393d5db5a905398d897852f1fa5450906eb4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:58 +0000 Subject: [PATCH 3398/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Add-OBSWindowCaptureSource.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSWindowCaptureSource.json diff --git a/docs/_data/Help/Add-OBSWindowCaptureSource.json b/docs/_data/Help/Add-OBSWindowCaptureSource.json new file mode 100644 index 000000000..eff834087 --- /dev/null +++ b/docs/_data/Help/Add-OBSWindowCaptureSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Adds or sets a window capture source", + "Description": "Adds or sets a windows capture source in OBS. This captures the contents of a window.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow" + } + ] +} \ No newline at end of file From f646b96c7f7b3322291e26764ed3c2656b403769 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3399/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSWindowSource.json | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Add-OBSWindowSource.json diff --git a/docs/_data/Help/Add-OBSWindowSource.json b/docs/_data/Help/Add-OBSWindowSource.json new file mode 100644 index 000000000..eff834087 --- /dev/null +++ b/docs/_data/Help/Add-OBSWindowSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Adds or sets a window capture source", + "Description": "Adds or sets a windows capture source in OBS. This captures the contents of a window.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow" + } + ] +} \ No newline at end of file From 7e0074aaa5672961b51aa3edc40dceacd3c12282 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3400/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSZigZagShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSZigZagShader.json diff --git a/docs/_data/Help/Add-OBSZigZagShader.json b/docs/_data/Help/Add-OBSZigZagShader.json new file mode 100644 index 000000000..3d2b657a9 --- /dev/null +++ b/docs/_data/Help/Add-OBSZigZagShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f6c04017a789dec306722c1aada8e8c547355afb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3401/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSZoomBlurShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSZoomBlurShader.json diff --git a/docs/_data/Help/Add-OBSZoomBlurShader.json b/docs/_data/Help/Add-OBSZoomBlurShader.json new file mode 100644 index 000000000..aee04c70d --- /dev/null +++ b/docs/_data/Help/Add-OBSZoomBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From af63406b5292ffe9843a4cc31b41e60fe15d114f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3402/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSZoomShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSZoomShader.json diff --git a/docs/_data/Help/Add-OBSZoomShader.json b/docs/_data/Help/Add-OBSZoomShader.json new file mode 100644 index 000000000..8cf5230c1 --- /dev/null +++ b/docs/_data/Help/Add-OBSZoomShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6b1450d5dfcae235b6f0e9a38e4818f4162ef35d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3403/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Add-OBSZoomXYShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSZoomXYShader.json diff --git a/docs/_data/Help/Add-OBSZoomXYShader.json b/docs/_data/Help/Add-OBSZoomXYShader.json new file mode 100644 index 000000000..cde841cc0 --- /dev/null +++ b/docs/_data/Help/Add-OBSZoomXYShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5cf0006843f653d1196b0b496646542521f371c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3404/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSAudioOutputSource.json | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Get-OBSAudioOutputSource.json diff --git a/docs/_data/Help/Get-OBSAudioOutputSource.json b/docs/_data/Help/Get-OBSAudioOutputSource.json new file mode 100644 index 000000000..092206748 --- /dev/null +++ b/docs/_data/Help/Get-OBSAudioOutputSource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds or sets an audio output source", + "Description": "Adds or sets an audio output source in OBS. This captures the audio that is being sent to an output device.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + "This command currently only supports capturing default audio on Windows. \nTo add support for other operating systems, file an issue or open a pull request." + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSAudioOutputSource" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Set-OBSAudioOutputSource -AudioDevice Speakers" + } + ] +} \ No newline at end of file From 2e2d5975f395277df10926d09595f39e3b0760fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3405/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSBrowserSource.json | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Get-OBSBrowserSource.json diff --git a/docs/_data/Help/Get-OBSBrowserSource.json b/docs/_data/Help/Get-OBSBrowserSource.json new file mode 100644 index 000000000..3f7240c75 --- /dev/null +++ b/docs/_data/Help/Get-OBSBrowserSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a browser source", + "Description": "Adds or changes a browser source in OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSBrowserSource -Uri https://pssvg.start-automating.com/Examples/Stars.svg" + } + ] +} \ No newline at end of file From 5b2405e87ec9363a48d05d67ecb207d45cb4b62d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3406/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSColorSource.json | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/_data/Help/Get-OBSColorSource.json diff --git a/docs/_data/Help/Get-OBSColorSource.json b/docs/_data/Help/Get-OBSColorSource.json new file mode 100644 index 000000000..63681dd66 --- /dev/null +++ b/docs/_data/Help/Get-OBSColorSource.json @@ -0,0 +1,36 @@ +{ + "Synopsis": "Adds a color source", + "Description": "Adds a color source to OBS. This displays a single 32-bit color (RGBA).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [] +} \ No newline at end of file From 125147c0d09669da891db804cc7182c4323b235c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:38:59 +0000 Subject: [PATCH 3407/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSFFMpegSource.json | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFFMpegSource.json diff --git a/docs/_data/Help/Get-OBSFFMpegSource.json b/docs/_data/Help/Get-OBSFFMpegSource.json new file mode 100644 index 000000000..441822c93 --- /dev/null +++ b/docs/_data/Help/Get-OBSFFMpegSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a media source", + "Description": "Adds a media source to OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSMediaSource -FilePath My.mp4" + } + ] +} \ No newline at end of file From 5dbc55590d53524a7b4c116b740279759b7de2c3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3408/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSMarkdownSource.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSMarkdownSource.json diff --git a/docs/_data/Help/Get-OBSMarkdownSource.json b/docs/_data/Help/Get-OBSMarkdownSource.json new file mode 100644 index 000000000..ce9f33364 --- /dev/null +++ b/docs/_data/Help/Get-OBSMarkdownSource.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a markdown source", + "Description": "Adds or changes a markdown source in OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 31bc5acf592e684e137bebe338edc78a94065697 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3409/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSMediaSource.json | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Get-OBSMediaSource.json diff --git a/docs/_data/Help/Get-OBSMediaSource.json b/docs/_data/Help/Get-OBSMediaSource.json new file mode 100644 index 000000000..441822c93 --- /dev/null +++ b/docs/_data/Help/Get-OBSMediaSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a media source", + "Description": "Adds a media source to OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSMediaSource -FilePath My.mp4" + } + ] +} \ No newline at end of file From 3063551b487f79d7fea2e9500bb27f43dfcfab2b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3410/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSPlaylistSource.json | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPlaylistSource.json diff --git a/docs/_data/Help/Get-OBSPlaylistSource.json b/docs/_data/Help/Get-OBSPlaylistSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Get-OBSPlaylistSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From 9286b63c4e328fefe99d352ca237c8cd4d5daf87 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3411/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSoundCloudSource.json | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSoundCloudSource.json diff --git a/docs/_data/Help/Get-OBSSoundCloudSource.json b/docs/_data/Help/Get-OBSSoundCloudSource.json new file mode 100644 index 000000000..679cdeccc --- /dev/null +++ b/docs/_data/Help/Get-OBSSoundCloudSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a Sound Cloud Source", + "Description": "Adds or changes a Sound Cloud source OBS. \nSound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget).", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth" + } + ] +} \ No newline at end of file From be7374f0e433078eb658f537ba15cf49042b8f43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3412/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSSwitchSource.json | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSwitchSource.json diff --git a/docs/_data/Help/Get-OBSSwitchSource.json b/docs/_data/Help/Get-OBSSwitchSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Get-OBSSwitchSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From ebccff22413bd14040225ebc380fde1882a5cfac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3413/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSVLCSource.json | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Get-OBSVLCSource.json diff --git a/docs/_data/Help/Get-OBSVLCSource.json b/docs/_data/Help/Get-OBSVLCSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Get-OBSVLCSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From e30fde4bef40a6a2bb5088b82fbb50862117c231 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:00 +0000 Subject: [PATCH 3414/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSWaveformSource.json | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Get-OBSWaveformSource.json diff --git a/docs/_data/Help/Get-OBSWaveformSource.json b/docs/_data/Help/Get-OBSWaveformSource.json new file mode 100644 index 000000000..54d4cdd82 --- /dev/null +++ b/docs/_data/Help/Get-OBSWaveformSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "OBS Waveform Source", + "Description": "Gets, Sets, or Adds a waveform source in OBS. \nWaveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/)", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSWaveformSource -Name \"SpeakerWaveform\"" + } + ] +} \ No newline at end of file From 6a9ac7876c4532c348aba022f2e634138e669947 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3415/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Get-OBSWindowCaptureSource.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Get-OBSWindowCaptureSource.json diff --git a/docs/_data/Help/Get-OBSWindowCaptureSource.json b/docs/_data/Help/Get-OBSWindowCaptureSource.json new file mode 100644 index 000000000..eff834087 --- /dev/null +++ b/docs/_data/Help/Get-OBSWindowCaptureSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Adds or sets a window capture source", + "Description": "Adds or sets a windows capture source in OBS. This captures the contents of a window.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow" + } + ] +} \ No newline at end of file From cb8f02d8a1d90f3a392cb788d3ca5de135bb3339 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3416/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Get-OBSWindowSource.json | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Get-OBSWindowSource.json diff --git a/docs/_data/Help/Get-OBSWindowSource.json b/docs/_data/Help/Get-OBSWindowSource.json new file mode 100644 index 000000000..eff834087 --- /dev/null +++ b/docs/_data/Help/Get-OBSWindowSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Adds or sets a window capture source", + "Description": "Adds or sets a windows capture source in OBS. This captures the contents of a window.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow" + } + ] +} \ No newline at end of file From 5e2da391d24300d04fc670686fbf4b9b939d29b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3417/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.BroadcastCustomEvent.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.BroadcastCustomEvent.json diff --git a/docs/_data/Help/obs.powershell.websocket.BroadcastCustomEvent.json b/docs/_data/Help/obs.powershell.websocket.BroadcastCustomEvent.json new file mode 100644 index 000000000..19b946e89 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.BroadcastCustomEvent.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSCustomEvent : BroadcastCustomEvent", + "Description": "Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed.\n\n\nSend-OBSCustomEvent calls the OBS WebSocket with a request of type BroadcastCustomEvent.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#broadcastcustomevent" + ], + "Examples": [] +} \ No newline at end of file From 345d2ee8a11a03ce6905356c72e14faec29322cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3418/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.CallVendorRequest.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CallVendorRequest.json diff --git a/docs/_data/Help/obs.powershell.websocket.CallVendorRequest.json b/docs/_data/Help/obs.powershell.websocket.CallVendorRequest.json new file mode 100644 index 000000000..e3939a498 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CallVendorRequest.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSCallVendorRequest : CallVendorRequest", + "Description": "Call a request registered to a vendor.\n\nA vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket.\nIf a plugin or script implements vendor requests or events, documentation is expected to be provided with them.\n\n\nSend-OBSCallVendorRequest calls the OBS WebSocket with a request of type CallVendorRequest.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#callvendorrequest" + ], + "Examples": [] +} \ No newline at end of file From 6b3b6726476d092b016708ab328838abfdce2c6d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3419/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.CreateInput.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CreateInput.json diff --git a/docs/_data/Help/obs.powershell.websocket.CreateInput.json b/docs/_data/Help/obs.powershell.websocket.CreateInput.json new file mode 100644 index 000000000..8da924e11 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CreateInput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSInput : CreateInput", + "Description": "Creates a new input, adding it as a scene item to the specified scene.\n\n\nAdd-OBSInput calls the OBS WebSocket with a request of type CreateInput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createinput" + ], + "Examples": [] +} \ No newline at end of file From d3c2d2ea3697110208bc75abee3445bd029d684b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3420/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...bs.powershell.websocket.CreateProfile.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CreateProfile.json diff --git a/docs/_data/Help/obs.powershell.websocket.CreateProfile.json b/docs/_data/Help/obs.powershell.websocket.CreateProfile.json new file mode 100644 index 000000000..ba931c320 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CreateProfile.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSProfile : CreateProfile", + "Description": "Creates a new profile, switching to it in the process\n\n\nAdd-OBSProfile calls the OBS WebSocket with a request of type CreateProfile.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createprofile" + ], + "Examples": [] +} \ No newline at end of file From b5db1be1f3762e1a57ebfee885b39cfc402e1ecc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3421/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.CreateScene.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CreateScene.json diff --git a/docs/_data/Help/obs.powershell.websocket.CreateScene.json b/docs/_data/Help/obs.powershell.websocket.CreateScene.json new file mode 100644 index 000000000..18fd556b0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CreateScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSScene : CreateScene", + "Description": "Creates a new scene in OBS.\n\n\nAdd-OBSScene calls the OBS WebSocket with a request of type CreateScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscene" + ], + "Examples": [] +} \ No newline at end of file From e53d1503c2d68f6f65fa3cfc4a99cdc1da3a5b27 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3422/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.CreateSceneCollection.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CreateSceneCollection.json diff --git a/docs/_data/Help/obs.powershell.websocket.CreateSceneCollection.json b/docs/_data/Help/obs.powershell.websocket.CreateSceneCollection.json new file mode 100644 index 000000000..b7e0b3348 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CreateSceneCollection.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSceneCollection : CreateSceneCollection", + "Description": "Creates a new scene collection, switching to it in the process.\n\nNote: This will block until the collection has finished changing.\n\n\nAdd-OBSSceneCollection calls the OBS WebSocket with a request of type CreateSceneCollection.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscenecollection" + ], + "Examples": [] +} \ No newline at end of file From c196abb05e7bd61f8ba44fae0258249b39a297e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3423/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.CreateSceneItem.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CreateSceneItem.json diff --git a/docs/_data/Help/obs.powershell.websocket.CreateSceneItem.json b/docs/_data/Help/obs.powershell.websocket.CreateSceneItem.json new file mode 100644 index 000000000..449e42cd0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CreateSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSceneItem : CreateSceneItem", + "Description": "Creates a new scene item using a source.\n\nScenes only\n\n\nAdd-OBSSceneItem calls the OBS WebSocket with a request of type CreateSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsceneitem" + ], + "Examples": [] +} \ No newline at end of file From 501d49b211db4bbe9513feca6a0544a84839aa07 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:01 +0000 Subject: [PATCH 3424/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.CreateSourceFilter.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.CreateSourceFilter.json diff --git a/docs/_data/Help/obs.powershell.websocket.CreateSourceFilter.json b/docs/_data/Help/obs.powershell.websocket.CreateSourceFilter.json new file mode 100644 index 000000000..deb82ea07 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.CreateSourceFilter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Add-OBSSourceFilter : CreateSourceFilter", + "Description": "Creates a new filter, adding it to the specified source.\n\n\nAdd-OBSSourceFilter calls the OBS WebSocket with a request of type CreateSourceFilter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsourcefilter" + ], + "Examples": [] +} \ No newline at end of file From 3c55c61d9bf2c90e9d680684372d62d8071a0aad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3425/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.DuplicateSceneItem.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.DuplicateSceneItem.json diff --git a/docs/_data/Help/obs.powershell.websocket.DuplicateSceneItem.json b/docs/_data/Help/obs.powershell.websocket.DuplicateSceneItem.json new file mode 100644 index 000000000..f7eef3b83 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.DuplicateSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Copy-OBSSceneItem : DuplicateSceneItem", + "Description": "Duplicates a scene item, copying all transform and crop info.\n\nScenes only\n\n\nCopy-OBSSceneItem calls the OBS WebSocket with a request of type DuplicateSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#duplicatesceneitem" + ], + "Examples": [] +} \ No newline at end of file From 84d50c3d2b0ea87c9eefee9746264756ad1c8af1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3426/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.GetCurrentPreviewScene.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetCurrentPreviewScene.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetCurrentPreviewScene.json b/docs/_data/Help/obs.powershell.websocket.GetCurrentPreviewScene.json new file mode 100644 index 000000000..b43b28342 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetCurrentPreviewScene.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentPreviewScene : GetCurrentPreviewScene", + "Description": "Gets the current preview scene.\n\nOnly available when studio mode is enabled.\n\nNote: This request is slated to have the `currentPreview`-prefixed fields removed from in an upcoming RPC version.\n\n\nGet-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type GetCurrentPreviewScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentpreviewscene" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentPreviewScene" + } + ] +} \ No newline at end of file From 696741cabb8fb0c4c1087dce595fbc1d6ea96010 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3427/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.GetCurrentProgramScene.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetCurrentProgramScene.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetCurrentProgramScene.json b/docs/_data/Help/obs.powershell.websocket.GetCurrentProgramScene.json new file mode 100644 index 000000000..94add3940 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetCurrentProgramScene.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentProgramScene : GetCurrentProgramScene", + "Description": "Gets the current program scene.\n\nNote: This request is slated to have the `currentProgram`-prefixed fields removed from in an upcoming RPC version.\n\n\nGet-OBSCurrentProgramScene calls the OBS WebSocket with a request of type GetCurrentProgramScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentprogramscene" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentProgramScene" + } + ] +} \ No newline at end of file From e606588a3d7ea8177b4b344c2038f844a269b707 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3428/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...l.websocket.GetCurrentSceneTransition.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransition.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransition.json b/docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransition.json new file mode 100644 index 000000000..e48a69c6a --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransition.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentSceneTransition : GetCurrentSceneTransition", + "Description": "Gets information about the current scene transition.\n\n\nGet-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type GetCurrentSceneTransition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransition" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentSceneTransition" + } + ] +} \ No newline at end of file From 4047719dec1552132684548813b3ddda553989eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3429/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ocket.GetCurrentSceneTransitionCursor.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransitionCursor.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransitionCursor.json b/docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransitionCursor.json new file mode 100644 index 000000000..fe3160b45 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetCurrentSceneTransitionCursor.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor", + "Description": "Gets the cursor position of the current scene transition.\n\nNote: `transitionCursor` will return 1.0 when the transition is inactive.\n\n\nGet-OBSCurrentSceneTransitionCursor calls the OBS WebSocket with a request of type GetCurrentSceneTransitionCursor.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransitioncursor" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSCurrentSceneTransitionCursor" + } + ] +} \ No newline at end of file From 1453977001ec115999889e420f7537be32a344c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3430/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.GetGroupList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetGroupList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetGroupList.json b/docs/_data/Help/obs.powershell.websocket.GetGroupList.json new file mode 100644 index 000000000..da8d3ac58 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetGroupList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSGroup : GetGroupList", + "Description": "Gets an array of all groups in OBS.\n\nGroups in OBS are actually scenes, but renamed and modified. In obs-websocket, we treat them as scenes where we can.\n\n\nGet-OBSGroup calls the OBS WebSocket with a request of type GetGroupList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgrouplist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSGroup" + } + ] +} \ No newline at end of file From c9b00801225bf493b74dac901b9dd618e23738ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3431/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.GetGroupSceneItemList.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetGroupSceneItemList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetGroupSceneItemList.json b/docs/_data/Help/obs.powershell.websocket.GetGroupSceneItemList.json new file mode 100644 index 000000000..aad67fa45 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetGroupSceneItemList.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSGroupSceneItem : GetGroupSceneItemList", + "Description": "Basically GetSceneItemList, but for groups.\n\nUsing groups at all in OBS is discouraged, as they are very broken under the hood. Please use nested scenes instead.\n\nGroups only\n\n\nGet-OBSGroupSceneItem calls the OBS WebSocket with a request of type GetGroupSceneItemList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgroupsceneitemlist" + ], + "Examples": [] +} \ No newline at end of file From 7451bcd7a0bbee0f21a7c06a90b650f98bd5af36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3432/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...bs.powershell.websocket.GetHotkeyList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetHotkeyList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetHotkeyList.json b/docs/_data/Help/obs.powershell.websocket.GetHotkeyList.json new file mode 100644 index 000000000..1cfc31a8f --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetHotkeyList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSHotkey : GetHotkeyList", + "Description": "Gets an array of all hotkey names in OBS.\n\nNote: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.\n\n\nGet-OBSHotkey calls the OBS WebSocket with a request of type GetHotkeyList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gethotkeylist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSHotkey" + } + ] +} \ No newline at end of file From 8a953d7bb35c1088d4bdb8f9281878e25e7d4988 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3433/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.GetInputAudioBalance.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputAudioBalance.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputAudioBalance.json b/docs/_data/Help/obs.powershell.websocket.GetInputAudioBalance.json new file mode 100644 index 000000000..a0bf0858b --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputAudioBalance.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioBalance : GetInputAudioBalance", + "Description": "Gets the audio balance of an input.\n\n\nGet-OBSInputAudioBalance calls the OBS WebSocket with a request of type GetInputAudioBalance.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiobalance" + ], + "Examples": [] +} \ No newline at end of file From 2bea62693f600512c4fc45e8fc3ea4ee11cf131c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3434/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ll.websocket.GetInputAudioMonitorType.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputAudioMonitorType.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputAudioMonitorType.json b/docs/_data/Help/obs.powershell.websocket.GetInputAudioMonitorType.json new file mode 100644 index 000000000..a44f32cb6 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputAudioMonitorType.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioMonitorType : GetInputAudioMonitorType", + "Description": "Gets the audio monitor type of an input.\n\nThe available audio monitor types are:\n\n- `OBS_MONITORING_TYPE_NONE`\n- `OBS_MONITORING_TYPE_MONITOR_ONLY`\n- `OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT`\n\n\nGet-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type GetInputAudioMonitorType.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiomonitortype" + ], + "Examples": [] +} \ No newline at end of file From 83642369206b953b53830afb616ef9b703b05883 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:02 +0000 Subject: [PATCH 3435/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.GetInputAudioSyncOffset.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputAudioSyncOffset.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputAudioSyncOffset.json b/docs/_data/Help/obs.powershell.websocket.GetInputAudioSyncOffset.json new file mode 100644 index 000000000..4e7dddb57 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputAudioSyncOffset.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset", + "Description": "Gets the audio sync offset of an input.\n\nNote: The audio sync offset can be negative too!\n\n\nGet-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type GetInputAudioSyncOffset.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiosyncoffset" + ], + "Examples": [] +} \ No newline at end of file From 3d74686c29685253524aa15ab0a064cc5cb6d9b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3436/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetInputAudioTracks.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputAudioTracks.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputAudioTracks.json b/docs/_data/Help/obs.powershell.websocket.GetInputAudioTracks.json new file mode 100644 index 000000000..ce62e8548 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputAudioTracks.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputAudioTracks : GetInputAudioTracks", + "Description": "Gets the enable state of all audio tracks of an input.\n\n\nGet-OBSInputAudioTracks calls the OBS WebSocket with a request of type GetInputAudioTracks.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiotracks" + ], + "Examples": [] +} \ No newline at end of file From c6277463a43afe96117f313867c6aa542403e0b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3437/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.GetInputDefaultSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputDefaultSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputDefaultSettings.json b/docs/_data/Help/obs.powershell.websocket.GetInputDefaultSettings.json new file mode 100644 index 000000000..f3cf78157 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputDefaultSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputDefaultSettings : GetInputDefaultSettings", + "Description": "Gets the default settings for an input kind.\n\n\nGet-OBSInputDefaultSettings calls the OBS WebSocket with a request of type GetInputDefaultSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputdefaultsettings" + ], + "Examples": [] +} \ No newline at end of file From 6279448b39d7a723ab39ff62e842ad26c7ad617b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3438/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.GetInputKindList.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputKindList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputKindList.json b/docs/_data/Help/obs.powershell.websocket.GetInputKindList.json new file mode 100644 index 000000000..2774bd13e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputKindList.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputKind : GetInputKindList", + "Description": "Gets an array of all available input kinds in OBS.\n\n\nGet-OBSInputKind calls the OBS WebSocket with a request of type GetInputKindList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputkindlist" + ], + "Examples": [] +} \ No newline at end of file From efb79b8b48af3b422989bc0e4b65dfc5283f33ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3439/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.GetInputList.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputList.json b/docs/_data/Help/obs.powershell.websocket.GetInputList.json new file mode 100644 index 000000000..75167e000 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputList.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInput : GetInputList", + "Description": "Gets an array of all inputs in OBS.\n\n\nGet-OBSInput calls the OBS WebSocket with a request of type GetInputList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputlist" + ], + "Examples": [] +} \ No newline at end of file From 2d2aa200cb9b8f7d1d77b2062e1026f29e7ab3ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3440/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.GetInputMute.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputMute.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputMute.json b/docs/_data/Help/obs.powershell.websocket.GetInputMute.json new file mode 100644 index 000000000..4d2cf61d1 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputMute.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputMute : GetInputMute", + "Description": "Gets the audio mute state of an input.\n\n\nGet-OBSInputMute calls the OBS WebSocket with a request of type GetInputMute.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputmute" + ], + "Examples": [] +} \ No newline at end of file From 7c87b4ea389bd5f768bfa2cebc906614fb6bd94b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3441/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...t.GetInputPropertiesListPropertyItems.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputPropertiesListPropertyItems.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputPropertiesListPropertyItems.json b/docs/_data/Help/obs.powershell.websocket.GetInputPropertiesListPropertyItems.json new file mode 100644 index 000000000..a20a903a7 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputPropertiesListPropertyItems.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems", + "Description": "Gets the items of a list property from an input's properties.\n\nNote: Use this in cases where an input provides a dynamic, selectable list of items. For example, display capture, where it provides a list of available displays.\n\n\nGet-OBSInputPropertiesListPropertyItems calls the OBS WebSocket with a request of type GetInputPropertiesListPropertyItems.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputpropertieslistpropertyitems" + ], + "Examples": [] +} \ No newline at end of file From 5c0728abfb10688fa9431640788d2946cacb427b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3442/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.GetInputSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputSettings.json b/docs/_data/Help/obs.powershell.websocket.GetInputSettings.json new file mode 100644 index 000000000..49e1507d8 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputSettings : GetInputSettings", + "Description": "Gets the settings of an input.\n\nNote: Does not include defaults. To create the entire settings object, overlay `inputSettings` over the `defaultInputSettings` provided by `GetInputDefaultSettings`.\n\n\nGet-OBSInputSettings calls the OBS WebSocket with a request of type GetInputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputsettings" + ], + "Examples": [] +} \ No newline at end of file From 277e3042d8a50b4b06c40f32a974538ac4f1d037 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3443/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...s.powershell.websocket.GetInputVolume.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetInputVolume.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetInputVolume.json b/docs/_data/Help/obs.powershell.websocket.GetInputVolume.json new file mode 100644 index 000000000..c39c227db --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetInputVolume.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSInputVolume : GetInputVolume", + "Description": "Gets the current volume setting of an input.\n\n\nGet-OBSInputVolume calls the OBS WebSocket with a request of type GetInputVolume.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputvolume" + ], + "Examples": [] +} \ No newline at end of file From 3e909caaa27dceb16a3ab6663f63408bb17ed3d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3444/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...l.websocket.GetLastReplayBufferReplay.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetLastReplayBufferReplay.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetLastReplayBufferReplay.json b/docs/_data/Help/obs.powershell.websocket.GetLastReplayBufferReplay.json new file mode 100644 index 000000000..a09404aaa --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetLastReplayBufferReplay.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay", + "Description": "Gets the filename of the last replay buffer save file.\n\n\nGet-OBSLastReplayBufferReplay calls the OBS WebSocket with a request of type GetLastReplayBufferReplay.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getlastreplaybufferreplay" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSLastReplayBufferReplay" + } + ] +} \ No newline at end of file From e5069dbfdac308da5d6cecdd4d463c10f2242604 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:03 +0000 Subject: [PATCH 3445/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetMediaInputStatus.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetMediaInputStatus.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetMediaInputStatus.json b/docs/_data/Help/obs.powershell.websocket.GetMediaInputStatus.json new file mode 100644 index 000000000..68173d2d5 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetMediaInputStatus.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSMediaInputStatus : GetMediaInputStatus", + "Description": "Gets the status of a media input.\n\nMedia States:\n\n- `OBS_MEDIA_STATE_NONE`\n- `OBS_MEDIA_STATE_PLAYING`\n- `OBS_MEDIA_STATE_OPENING`\n- `OBS_MEDIA_STATE_BUFFERING`\n- `OBS_MEDIA_STATE_PAUSED`\n- `OBS_MEDIA_STATE_STOPPED`\n- `OBS_MEDIA_STATE_ENDED`\n- `OBS_MEDIA_STATE_ERROR`\n\n\nGet-OBSMediaInputStatus calls the OBS WebSocket with a request of type GetMediaInputStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmediainputstatus" + ], + "Examples": [] +} \ No newline at end of file From 55dae73d07a1afd17ebad6817c29adcdaceb658c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3446/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...s.powershell.websocket.GetMonitorList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetMonitorList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetMonitorList.json b/docs/_data/Help/obs.powershell.websocket.GetMonitorList.json new file mode 100644 index 000000000..222d79896 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetMonitorList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSMonitor : GetMonitorList", + "Description": "Gets a list of connected monitors and information about them.\n\n\nGet-OBSMonitor calls the OBS WebSocket with a request of type GetMonitorList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmonitorlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSMonitor" + } + ] +} \ No newline at end of file From 3e9b5e9ed0324ddd603ee73d00c71b05efc713da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3447/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...bs.powershell.websocket.GetOutputList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetOutputList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetOutputList.json b/docs/_data/Help/obs.powershell.websocket.GetOutputList.json new file mode 100644 index 000000000..dceabe56f --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetOutputList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSOutput : GetOutputList", + "Description": "Gets the list of available outputs.\n\n\nGet-OBSOutput calls the OBS WebSocket with a request of type GetOutputList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSOutput" + } + ] +} \ No newline at end of file From ae88b868f43986923a2b75dd5372f21341ef80ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3448/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.GetOutputSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetOutputSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetOutputSettings.json b/docs/_data/Help/obs.powershell.websocket.GetOutputSettings.json new file mode 100644 index 000000000..2045b742e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetOutputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSOutputSettings : GetOutputSettings", + "Description": "Gets the settings of an output.\n\n\nGet-OBSOutputSettings calls the OBS WebSocket with a request of type GetOutputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputsettings" + ], + "Examples": [] +} \ No newline at end of file From 89e1fa65141f1cfb974fde8057a7bae4f8ebe235 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3449/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.GetOutputStatus.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetOutputStatus.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetOutputStatus.json b/docs/_data/Help/obs.powershell.websocket.GetOutputStatus.json new file mode 100644 index 000000000..3ada79716 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetOutputStatus.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSOutputStatus : GetOutputStatus", + "Description": "Gets the status of an output.\n\n\nGet-OBSOutputStatus calls the OBS WebSocket with a request of type GetOutputStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputstatus" + ], + "Examples": [] +} \ No newline at end of file From 9f70002b232ba836ddb3ce30b25d1b9058d36358 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3450/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.GetPersistentData.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetPersistentData.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetPersistentData.json b/docs/_data/Help/obs.powershell.websocket.GetPersistentData.json new file mode 100644 index 000000000..0c4ebfef0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetPersistentData.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSPersistentData : GetPersistentData", + "Description": "Gets the value of a \"slot\" from the selected persistent data realm.\n\n\nGet-OBSPersistentData calls the OBS WebSocket with a request of type GetPersistentData.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getpersistentdata" + ], + "Examples": [] +} \ No newline at end of file From 5418dfc62f00ceb934c08b592fde75d0352f7d9d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3451/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...s.powershell.websocket.GetProfileList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetProfileList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetProfileList.json b/docs/_data/Help/obs.powershell.websocket.GetProfileList.json new file mode 100644 index 000000000..7d0cd691e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetProfileList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSProfile : GetProfileList", + "Description": "Gets an array of all profiles\n\n\nGet-OBSProfile calls the OBS WebSocket with a request of type GetProfileList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofilelist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSProfile" + } + ] +} \ No newline at end of file From 6a12e92a5f924d7abfd02b689827e76c6ae64a62 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3452/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetProfileParameter.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetProfileParameter.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetProfileParameter.json b/docs/_data/Help/obs.powershell.websocket.GetProfileParameter.json new file mode 100644 index 000000000..8ecd4fb2e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetProfileParameter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSProfileParameter : GetProfileParameter", + "Description": "Gets a parameter from the current profile's configuration.\n\n\nGet-OBSProfileParameter calls the OBS WebSocket with a request of type GetProfileParameter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofileparameter" + ], + "Examples": [] +} \ No newline at end of file From aa997fae55aae94d55ff2d890ecc899a65f57445 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3453/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.GetRecordDirectory.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetRecordDirectory.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetRecordDirectory.json b/docs/_data/Help/obs.powershell.websocket.GetRecordDirectory.json new file mode 100644 index 000000000..40bcc9246 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetRecordDirectory.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSRecordDirectory : GetRecordDirectory", + "Description": "Gets the current directory that the record output is set to.\n\n\nGet-OBSRecordDirectory calls the OBS WebSocket with a request of type GetRecordDirectory.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecorddirectory" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSRecordDirectory" + } + ] +} \ No newline at end of file From 419ce36711fd47e046eb00ad8cce724dcbfb6971 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3454/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.GetRecordStatus.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetRecordStatus.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetRecordStatus.json b/docs/_data/Help/obs.powershell.websocket.GetRecordStatus.json new file mode 100644 index 000000000..a653ce70e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetRecordStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSRecordStatus : GetRecordStatus", + "Description": "Gets the status of the record output.\n\n\nGet-OBSRecordStatus calls the OBS WebSocket with a request of type GetRecordStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecordstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSRecordStatus" + } + ] +} \ No newline at end of file From ce5207c5b9da41457b68071ebb09733529588c93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3455/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.GetReplayBufferStatus.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetReplayBufferStatus.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetReplayBufferStatus.json b/docs/_data/Help/obs.powershell.websocket.GetReplayBufferStatus.json new file mode 100644 index 000000000..01ee56f61 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetReplayBufferStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSReplayBufferStatus : GetReplayBufferStatus", + "Description": "Gets the status of the replay buffer output.\n\n\nGet-OBSReplayBufferStatus calls the OBS WebSocket with a request of type GetReplayBufferStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getreplaybufferstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSReplayBufferStatus" + } + ] +} \ No newline at end of file From 0504d18943536032d8305dbfa6ac9285651e4d06 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:04 +0000 Subject: [PATCH 3456/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.GetSceneCollectionList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneCollectionList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneCollectionList.json b/docs/_data/Help/obs.powershell.websocket.GetSceneCollectionList.json new file mode 100644 index 000000000..76e87627a --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneCollectionList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSceneCollection : GetSceneCollectionList", + "Description": "Gets an array of all scene collections\n\n\nGet-OBSSceneCollection calls the OBS WebSocket with a request of type GetSceneCollectionList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenecollectionlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSceneCollection" + } + ] +} \ No newline at end of file From 6117ee295a0f2704689ad5e7191099c2a2047115 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3457/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.GetSceneItemBlendMode.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemBlendMode.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemBlendMode.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemBlendMode.json new file mode 100644 index 000000000..4c33df294 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemBlendMode.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemBlendMode : GetSceneItemBlendMode", + "Description": "Gets the blend mode of a scene item.\n\nBlend modes:\n\n- `OBS_BLEND_NORMAL`\n- `OBS_BLEND_ADDITIVE`\n- `OBS_BLEND_SUBTRACT`\n- `OBS_BLEND_SCREEN`\n- `OBS_BLEND_MULTIPLY`\n- `OBS_BLEND_LIGHTEN`\n- `OBS_BLEND_DARKEN`\n\nScenes and Groups\n\n\nGet-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type GetSceneItemBlendMode.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemblendmode" + ], + "Examples": [] +} \ No newline at end of file From f68b3fdf4482d19046f4578b69f9f1f6fa9ae141 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3458/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetSceneItemEnabled.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemEnabled.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemEnabled.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemEnabled.json new file mode 100644 index 000000000..621b87202 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemEnabled : GetSceneItemEnabled", + "Description": "Gets the enable state of a scene item.\n\nScenes and Groups\n\n\nGet-OBSSceneItemEnabled calls the OBS WebSocket with a request of type GetSceneItemEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemenabled" + ], + "Examples": [] +} \ No newline at end of file From 52f1183d40138850510687e71a71358430ac40ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3459/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...s.powershell.websocket.GetSceneItemId.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemId.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemId.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemId.json new file mode 100644 index 000000000..e04e18bf0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemId.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemId : GetSceneItemId", + "Description": "Searches a scene for a source, and returns its id.\n\nScenes and Groups\n\n\nGet-OBSSceneItemId calls the OBS WebSocket with a request of type GetSceneItemId.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemid" + ], + "Examples": [] +} \ No newline at end of file From 12a56c39d0c985fe8d11f80cdd9ec52cbac72c1c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3460/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.GetSceneItemIndex.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemIndex.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemIndex.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemIndex.json new file mode 100644 index 000000000..6e42c172a --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemIndex.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemIndex : GetSceneItemIndex", + "Description": "Gets the index position of a scene item in a scene.\n\nAn index of 0 is at the bottom of the source list in the UI.\n\nScenes and Groups\n\n\nGet-OBSSceneItemIndex calls the OBS WebSocket with a request of type GetSceneItemIndex.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemindex" + ], + "Examples": [] +} \ No newline at end of file From e65a644a3b0179cf533541329a69c9e571f2c01f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3461/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.GetSceneItemList.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemList.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemList.json new file mode 100644 index 000000000..5e8f92cc4 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemList.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItem : GetSceneItemList", + "Description": "Gets a list of all scene items in a scene.\n\nScenes only\n\n\nGet-OBSSceneItem calls the OBS WebSocket with a request of type GetSceneItemList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlist" + ], + "Examples": [] +} \ No newline at end of file From 0c8f6bf785711f75e90097127d1b0e28fa28f2b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3462/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.GetSceneItemLocked.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemLocked.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemLocked.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemLocked.json new file mode 100644 index 000000000..56b213ea4 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemLocked.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemLocked : GetSceneItemLocked", + "Description": "Gets the lock state of a scene item.\n\nScenes and Groups\n\n\nGet-OBSSceneItemLocked calls the OBS WebSocket with a request of type GetSceneItemLocked.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlocked" + ], + "Examples": [] +} \ No newline at end of file From 2633a38b38d108efcb0f708a141e200e734609f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3463/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.GetSceneItemSource.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemSource.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemSource.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemSource.json new file mode 100644 index 000000000..64f5da3a0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemSource.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemSource : GetSceneItemSource", + "Description": "Gets the source associated with a scene item.\n\n\nGet-OBSSceneItemSource calls the OBS WebSocket with a request of type GetSceneItemSource.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemsource" + ], + "Examples": [] +} \ No newline at end of file From f2425ee4b8d23355436af359fa2dc6b8141d51fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3464/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.GetSceneItemTransform.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneItemTransform.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneItemTransform.json b/docs/_data/Help/obs.powershell.websocket.GetSceneItemTransform.json new file mode 100644 index 000000000..97e2d954e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneItemTransform.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneItemTransform : GetSceneItemTransform", + "Description": "Gets the transform and crop info of a scene item.\n\nScenes and Groups\n\n\nGet-OBSSceneItemTransform calls the OBS WebSocket with a request of type GetSceneItemTransform.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemtransform" + ], + "Examples": [] +} \ No newline at end of file From c73c82a0d67a28d4156c3e8a3aa9738754d812b8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3465/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.GetSceneList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneList.json b/docs/_data/Help/obs.powershell.websocket.GetSceneList.json new file mode 100644 index 000000000..8be5c3b01 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSScene : GetSceneList", + "Description": "Gets an array of all scenes in OBS.\n\n\nGet-OBSScene calls the OBS WebSocket with a request of type GetSceneList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenelist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSScene" + } + ] +} \ No newline at end of file From 54febe066342d0367377b4bc502a1cf97f76d53c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:05 +0000 Subject: [PATCH 3466/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ocket.GetSceneSceneTransitionOverride.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneSceneTransitionOverride.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneSceneTransitionOverride.json b/docs/_data/Help/obs.powershell.websocket.GetSceneSceneTransitionOverride.json new file mode 100644 index 000000000..4f0e8ef18 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneSceneTransitionOverride.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride", + "Description": "Gets the scene transition overridden for a scene.\n\nNote: A transition UUID response field is not currently able to be implemented as of 2024-1-18.\n\n\nGet-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type GetSceneSceneTransitionOverride.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenescenetransitionoverride" + ], + "Examples": [] +} \ No newline at end of file From 6641a245ae1a401a8a504c6bb327da228383c7dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3467/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.GetSceneTransitionList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSceneTransitionList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSceneTransitionList.json b/docs/_data/Help/obs.powershell.websocket.GetSceneTransitionList.json new file mode 100644 index 000000000..d2d6c77ea --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSceneTransitionList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSceneTransition : GetSceneTransitionList", + "Description": "Gets an array of all scene transitions in OBS.\n\n\nGet-OBSSceneTransition calls the OBS WebSocket with a request of type GetSceneTransitionList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenetransitionlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSceneTransition" + } + ] +} \ No newline at end of file From 3404197ce1df74683f41d7ccef728d591e632a6d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3468/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.GetSourceActive.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSourceActive.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSourceActive.json b/docs/_data/Help/obs.powershell.websocket.GetSourceActive.json new file mode 100644 index 000000000..a45d5096e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSourceActive.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceActive : GetSourceActive", + "Description": "Gets the active and show state of a source.\n\n**Compatible with inputs and scenes.**\n\n\nGet-OBSSourceActive calls the OBS WebSocket with a request of type GetSourceActive.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourceactive" + ], + "Examples": [] +} \ No newline at end of file From fada70fcb8cc752c76372cbfa594bdcbbef85c31 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3469/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.GetSourceFilter.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSourceFilter.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSourceFilter.json b/docs/_data/Help/obs.powershell.websocket.GetSourceFilter.json new file mode 100644 index 000000000..d8589e082 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSourceFilter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceFilter : GetSourceFilter", + "Description": "Gets the info for a specific source filter.\n\n\nGet-OBSSourceFilter calls the OBS WebSocket with a request of type GetSourceFilter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilter" + ], + "Examples": [] +} \ No newline at end of file From 9f0342698f413baa0571485d9a931804320eac14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3470/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...socket.GetSourceFilterDefaultSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSourceFilterDefaultSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSourceFilterDefaultSettings.json b/docs/_data/Help/obs.powershell.websocket.GetSourceFilterDefaultSettings.json new file mode 100644 index 000000000..a08aabdfb --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSourceFilterDefaultSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings", + "Description": "Gets the default settings for a filter kind.\n\n\nGet-OBSSourceFilterDefaultSettings calls the OBS WebSocket with a request of type GetSourceFilterDefaultSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterdefaultsettings" + ], + "Examples": [] +} \ No newline at end of file From db3eb584b76d2af879a511b1e72c2f9f5df94306 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3471/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.GetSourceFilterKindList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSourceFilterKindList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSourceFilterKindList.json b/docs/_data/Help/obs.powershell.websocket.GetSourceFilterKindList.json new file mode 100644 index 000000000..803939ba3 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSourceFilterKindList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSourceFilterKind : GetSourceFilterKindList", + "Description": "Gets an array of all available source filter kinds.\n\nSimilar to `GetInputKindList`\n\n\nGet-OBSSourceFilterKind calls the OBS WebSocket with a request of type GetSourceFilterKindList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterkindlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSourceFilterKind" + } + ] +} \ No newline at end of file From 3fbba7887c8093b4c5023717eefad6f283516e33 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3472/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetSourceFilterList.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSourceFilterList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSourceFilterList.json b/docs/_data/Help/obs.powershell.websocket.GetSourceFilterList.json new file mode 100644 index 000000000..48a148103 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSourceFilterList.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceFilterList : GetSourceFilterList", + "Description": "Gets an array of all of a source's filters.\n\n\nGet-OBSSourceFilterList calls the OBS WebSocket with a request of type GetSourceFilterList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterlist" + ], + "Examples": [] +} \ No newline at end of file From ca5b0bc80ab93d1bd0724c00e1284ea48e3abaed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3473/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetSourceScreenshot.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSourceScreenshot.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSourceScreenshot.json b/docs/_data/Help/obs.powershell.websocket.GetSourceScreenshot.json new file mode 100644 index 000000000..9e60ff7e4 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSourceScreenshot.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Get-OBSSourceScreenshot : GetSourceScreenshot", + "Description": "Gets a Base64-encoded screenshot of a source.\n\nThe `imageWidth` and `imageHeight` parameters are treated as \"scale to inner\", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept.\nIf `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source.\n\n**Compatible with inputs and scenes.**\n\n\nGet-OBSSourceScreenshot calls the OBS WebSocket with a request of type GetSourceScreenshot.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcescreenshot" + ], + "Examples": [] +} \ No newline at end of file From a25175a6d04963966f21cef6b791c4031c2b53be Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3474/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.GetSpecialInputs.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetSpecialInputs.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetSpecialInputs.json b/docs/_data/Help/obs.powershell.websocket.GetSpecialInputs.json new file mode 100644 index 000000000..831f76ca5 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetSpecialInputs.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSSpecialInputs : GetSpecialInputs", + "Description": "Gets the names of all special inputs.\n\n\nGet-OBSSpecialInputs calls the OBS WebSocket with a request of type GetSpecialInputs.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getspecialinputs" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSSpecialInputs" + } + ] +} \ No newline at end of file From 0620226effc707f659722d74b21e4bbb22e834fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3475/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.GetStats.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetStats.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetStats.json b/docs/_data/Help/obs.powershell.websocket.GetStats.json new file mode 100644 index 000000000..11e6051aa --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetStats.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStats : GetStats", + "Description": "Gets statistics about OBS, obs-websocket, and the current session.\n\n\nGet-OBSStats calls the OBS WebSocket with a request of type GetStats.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstats" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStats" + } + ] +} \ No newline at end of file From 118116d7d0c29b3d1117442953abae70636bad14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3476/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ll.websocket.GetStreamServiceSettings.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetStreamServiceSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetStreamServiceSettings.json b/docs/_data/Help/obs.powershell.websocket.GetStreamServiceSettings.json new file mode 100644 index 000000000..a23e50331 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetStreamServiceSettings.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStreamServiceSettings : GetStreamServiceSettings", + "Description": "Gets the current stream service settings (stream destination).\n\n\nGet-OBSStreamServiceSettings calls the OBS WebSocket with a request of type GetStreamServiceSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamservicesettings" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStreamServiceSettings" + } + ] +} \ No newline at end of file From c31634766b743abdccb954f70db0e351402c11a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:06 +0000 Subject: [PATCH 3477/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.GetStreamStatus.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetStreamStatus.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetStreamStatus.json b/docs/_data/Help/obs.powershell.websocket.GetStreamStatus.json new file mode 100644 index 000000000..368bf63f5 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetStreamStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStreamStatus : GetStreamStatus", + "Description": "Gets the status of the stream output.\n\n\nGet-OBSStreamStatus calls the OBS WebSocket with a request of type GetStreamStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStreamStatus" + } + ] +} \ No newline at end of file From 1834e9efe98da2b50a250180dfb780934addfc1c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3478/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.GetStudioModeEnabled.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetStudioModeEnabled.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetStudioModeEnabled.json b/docs/_data/Help/obs.powershell.websocket.GetStudioModeEnabled.json new file mode 100644 index 000000000..446caef59 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetStudioModeEnabled.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSStudioModeEnabled : GetStudioModeEnabled", + "Description": "Gets whether studio is enabled.\n\n\nGet-OBSStudioModeEnabled calls the OBS WebSocket with a request of type GetStudioModeEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstudiomodeenabled" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSStudioModeEnabled" + } + ] +} \ No newline at end of file From b69582b96f62c1c6435ab9e028769ca856b85699 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3479/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.GetTransitionKindList.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetTransitionKindList.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetTransitionKindList.json b/docs/_data/Help/obs.powershell.websocket.GetTransitionKindList.json new file mode 100644 index 000000000..6dc953c2a --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetTransitionKindList.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSTransitionKind : GetTransitionKindList", + "Description": "Gets an array of all available transition kinds.\n\nSimilar to `GetInputKindList`\n\n\nGet-OBSTransitionKind calls the OBS WebSocket with a request of type GetTransitionKindList.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gettransitionkindlist" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSTransitionKind" + } + ] +} \ No newline at end of file From cb1b9ededbdef05cc2059e85e7f385df728dd59a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3480/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.GetVersion.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetVersion.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetVersion.json b/docs/_data/Help/obs.powershell.websocket.GetVersion.json new file mode 100644 index 000000000..8dc1e4c68 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetVersion.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSVersion : GetVersion", + "Description": "Gets data about the current plugin and RPC version.\n\n\nGet-OBSVersion calls the OBS WebSocket with a request of type GetVersion.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getversion" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSVersion" + } + ] +} \ No newline at end of file From efbd49cc1a6132f1d56732d5fec1ce11f175d69c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3481/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.GetVideoSettings.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetVideoSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetVideoSettings.json b/docs/_data/Help/obs.powershell.websocket.GetVideoSettings.json new file mode 100644 index 000000000..4bcd61a83 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetVideoSettings.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSVideoSettings : GetVideoSettings", + "Description": "Gets the current video settings.\n\nNote: To get the true FPS value, divide the FPS numerator by the FPS denominator. Example: `60000/1001`\n\n\nGet-OBSVideoSettings calls the OBS WebSocket with a request of type GetVideoSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvideosettings" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSVideoSettings" + } + ] +} \ No newline at end of file From b124c4d3e5c64698715d34f4edbb90197651731b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3482/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.GetVirtualCamStatus.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.GetVirtualCamStatus.json diff --git a/docs/_data/Help/obs.powershell.websocket.GetVirtualCamStatus.json b/docs/_data/Help/obs.powershell.websocket.GetVirtualCamStatus.json new file mode 100644 index 000000000..0591fdfa8 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.GetVirtualCamStatus.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Get-OBSVirtualCamStatus : GetVirtualCamStatus", + "Description": "Gets the status of the virtualcam output.\n\n\nGet-OBSVirtualCamStatus calls the OBS WebSocket with a request of type GetVirtualCamStatus.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvirtualcamstatus" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-OBSVirtualCamStatus" + } + ] +} \ No newline at end of file From 1a928335775f27e5778f819547c4ad2788b90c00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3483/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.OffsetMediaInputCursor.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.OffsetMediaInputCursor.json diff --git a/docs/_data/Help/obs.powershell.websocket.OffsetMediaInputCursor.json b/docs/_data/Help/obs.powershell.websocket.OffsetMediaInputCursor.json new file mode 100644 index 000000000..ad3ebe5ab --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.OffsetMediaInputCursor.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor", + "Description": "Offsets the current cursor position of a media input by the specified value.\n\nThis request does not perform bounds checking of the cursor position.\n\n\nSend-OBSOffsetMediaInputCursor calls the OBS WebSocket with a request of type OffsetMediaInputCursor.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#offsetmediainputcursor" + ], + "Examples": [] +} \ No newline at end of file From 69e6aa30cfb6addb42d27509feca01fbda5382a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3484/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.OpenInputFiltersDialog.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.OpenInputFiltersDialog.json diff --git a/docs/_data/Help/obs.powershell.websocket.OpenInputFiltersDialog.json b/docs/_data/Help/obs.powershell.websocket.OpenInputFiltersDialog.json new file mode 100644 index 000000000..5aefb71c1 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.OpenInputFiltersDialog.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSInputFiltersDialog : OpenInputFiltersDialog", + "Description": "Opens the filters dialog of an input.\n\n\nOpen-OBSInputFiltersDialog calls the OBS WebSocket with a request of type OpenInputFiltersDialog.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputfiltersdialog" + ], + "Examples": [] +} \ No newline at end of file From a91e907d394315fc1ce826f31eb576c7d3f27cbe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3485/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.OpenInputInteractDialog.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.OpenInputInteractDialog.json diff --git a/docs/_data/Help/obs.powershell.websocket.OpenInputInteractDialog.json b/docs/_data/Help/obs.powershell.websocket.OpenInputInteractDialog.json new file mode 100644 index 000000000..7f7176f4b --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.OpenInputInteractDialog.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSInputInteractDialog : OpenInputInteractDialog", + "Description": "Opens the interact dialog of an input.\n\n\nOpen-OBSInputInteractDialog calls the OBS WebSocket with a request of type OpenInputInteractDialog.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputinteractdialog" + ], + "Examples": [] +} \ No newline at end of file From f7a394b9e6ec867b5b435a395b5edd7f9fd4ee6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3486/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...l.websocket.OpenInputPropertiesDialog.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.OpenInputPropertiesDialog.json diff --git a/docs/_data/Help/obs.powershell.websocket.OpenInputPropertiesDialog.json b/docs/_data/Help/obs.powershell.websocket.OpenInputPropertiesDialog.json new file mode 100644 index 000000000..63667431c --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.OpenInputPropertiesDialog.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog", + "Description": "Opens the properties dialog of an input.\n\n\nOpen-OBSInputPropertiesDialog calls the OBS WebSocket with a request of type OpenInputPropertiesDialog.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputpropertiesdialog" + ], + "Examples": [] +} \ No newline at end of file From c96afbeef66251acaecc220c65e0237d4325f3de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3487/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.OpenSourceProjector.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.OpenSourceProjector.json diff --git a/docs/_data/Help/obs.powershell.websocket.OpenSourceProjector.json b/docs/_data/Help/obs.powershell.websocket.OpenSourceProjector.json new file mode 100644 index 000000000..e36288136 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.OpenSourceProjector.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSSourceProjector : OpenSourceProjector", + "Description": "Opens a projector for a source.\n\nNote: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.\n\n\nOpen-OBSSourceProjector calls the OBS WebSocket with a request of type OpenSourceProjector.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#opensourceprojector" + ], + "Examples": [] +} \ No newline at end of file From 974ca37d31bdee22b5281c3a166bc739451500b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:07 +0000 Subject: [PATCH 3488/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.OpenVideoMixProjector.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.OpenVideoMixProjector.json diff --git a/docs/_data/Help/obs.powershell.websocket.OpenVideoMixProjector.json b/docs/_data/Help/obs.powershell.websocket.OpenVideoMixProjector.json new file mode 100644 index 000000000..e70e977db --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.OpenVideoMixProjector.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Open-OBSVideoMixProjector : OpenVideoMixProjector", + "Description": "Opens a projector for a specific output video mix.\n\nMix types:\n\n- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PREVIEW`\n- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PROGRAM`\n- `OBS_WEBSOCKET_VIDEO_MIX_TYPE_MULTIVIEW`\n\nNote: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.\n\n\nOpen-OBSVideoMixProjector calls the OBS WebSocket with a request of type OpenVideoMixProjector.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openvideomixprojector" + ], + "Examples": [] +} \ No newline at end of file From f7c4cb46b62dd9bb0831436639292d8e9f7a9256 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3489/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.PauseRecord.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.PauseRecord.json diff --git a/docs/_data/Help/obs.powershell.websocket.PauseRecord.json b/docs/_data/Help/obs.powershell.websocket.PauseRecord.json new file mode 100644 index 000000000..491a063d4 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.PauseRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Send-OBSPauseRecord : PauseRecord", + "Description": "Pauses the record output.\n\n\nSend-OBSPauseRecord calls the OBS WebSocket with a request of type PauseRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pauserecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Send-OBSPauseRecord" + } + ] +} \ No newline at end of file From 793c0588aa2f95b0bb7995d526f06eb58bfb350f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3490/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....websocket.PressInputPropertiesButton.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.PressInputPropertiesButton.json diff --git a/docs/_data/Help/obs.powershell.websocket.PressInputPropertiesButton.json b/docs/_data/Help/obs.powershell.websocket.PressInputPropertiesButton.json new file mode 100644 index 000000000..9083e5aea --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.PressInputPropertiesButton.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSPressInputPropertiesButton : PressInputPropertiesButton", + "Description": "Presses a button in the properties of an input.\n\nSome known `propertyName` values are:\n\n- `refreshnocache` - Browser source reload button\n\nNote: Use this in cases where there is a button in the properties of an input that cannot be accessed in any other way. For example, browser sources, where there is a refresh button.\n\n\nSend-OBSPressInputPropertiesButton calls the OBS WebSocket with a request of type PressInputPropertiesButton.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pressinputpropertiesbutton" + ], + "Examples": [] +} \ No newline at end of file From 90322dac23b8a631d19eea21869e7d1cc668a975 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3491/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.RemoveInput.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.RemoveInput.json diff --git a/docs/_data/Help/obs.powershell.websocket.RemoveInput.json b/docs/_data/Help/obs.powershell.websocket.RemoveInput.json new file mode 100644 index 000000000..50e5dd762 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.RemoveInput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSInput : RemoveInput", + "Description": "Removes an existing input.\n\nNote: Will immediately remove all associated scene items.\n\n\nRemove-OBSInput calls the OBS WebSocket with a request of type RemoveInput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeinput" + ], + "Examples": [] +} \ No newline at end of file From 153429032fa90ca0d8a1cb5214ffce411dd20fea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3492/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...bs.powershell.websocket.RemoveProfile.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.RemoveProfile.json diff --git a/docs/_data/Help/obs.powershell.websocket.RemoveProfile.json b/docs/_data/Help/obs.powershell.websocket.RemoveProfile.json new file mode 100644 index 000000000..67206fcbe --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.RemoveProfile.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSProfile : RemoveProfile", + "Description": "Removes a profile. If the current profile is chosen, it will change to a different profile first.\n\n\nRemove-OBSProfile calls the OBS WebSocket with a request of type RemoveProfile.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeprofile" + ], + "Examples": [] +} \ No newline at end of file From 835128fdd4e503804df3172b76b1e959904201f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3493/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.RemoveScene.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.RemoveScene.json diff --git a/docs/_data/Help/obs.powershell.websocket.RemoveScene.json b/docs/_data/Help/obs.powershell.websocket.RemoveScene.json new file mode 100644 index 000000000..65abc9777 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.RemoveScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSScene : RemoveScene", + "Description": "Removes a scene from OBS.\n\n\nRemove-OBSScene calls the OBS WebSocket with a request of type RemoveScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removescene" + ], + "Examples": [] +} \ No newline at end of file From 048149059b538b077deab3b6aa55eb673e0b2e76 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3494/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.RemoveSceneItem.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.RemoveSceneItem.json diff --git a/docs/_data/Help/obs.powershell.websocket.RemoveSceneItem.json b/docs/_data/Help/obs.powershell.websocket.RemoveSceneItem.json new file mode 100644 index 000000000..9389206ea --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.RemoveSceneItem.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSSceneItem : RemoveSceneItem", + "Description": "Removes a scene item from a scene.\n\nScenes only\n\n\nRemove-OBSSceneItem calls the OBS WebSocket with a request of type RemoveSceneItem.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesceneitem" + ], + "Examples": [] +} \ No newline at end of file From 1ec58a0f818ae32dc5c491a43fb7acd70fa12b09 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3495/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.RemoveSourceFilter.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.RemoveSourceFilter.json diff --git a/docs/_data/Help/obs.powershell.websocket.RemoveSourceFilter.json b/docs/_data/Help/obs.powershell.websocket.RemoveSourceFilter.json new file mode 100644 index 000000000..616566669 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.RemoveSourceFilter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Remove-OBSSourceFilter : RemoveSourceFilter", + "Description": "Removes a filter from a source.\n\n\nRemove-OBSSourceFilter calls the OBS WebSocket with a request of type RemoveSourceFilter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesourcefilter" + ], + "Examples": [] +} \ No newline at end of file From f0b10c67014231c477de79ceab024cc78feb5d3a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3496/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.ResumeRecord.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ResumeRecord.json diff --git a/docs/_data/Help/obs.powershell.websocket.ResumeRecord.json b/docs/_data/Help/obs.powershell.websocket.ResumeRecord.json new file mode 100644 index 000000000..69558d735 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ResumeRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Resume-OBSRecord : ResumeRecord", + "Description": "Resumes the record output.\n\n\nResume-OBSRecord calls the OBS WebSocket with a request of type ResumeRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#resumerecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Resume-OBSRecord" + } + ] +} \ No newline at end of file From 5a614b2f7c3cf53bb04effdb2f2165665af5826d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3497/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.SaveReplayBuffer.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SaveReplayBuffer.json diff --git a/docs/_data/Help/obs.powershell.websocket.SaveReplayBuffer.json b/docs/_data/Help/obs.powershell.websocket.SaveReplayBuffer.json new file mode 100644 index 000000000..ab364b8f0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SaveReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Save-OBSReplayBuffer : SaveReplayBuffer", + "Description": "Saves the contents of the replay buffer output.\n\n\nSave-OBSReplayBuffer calls the OBS WebSocket with a request of type SaveReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savereplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Save-OBSReplayBuffer" + } + ] +} \ No newline at end of file From 2b24285da8c37403062f6e0eab26011e8c33336a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:08 +0000 Subject: [PATCH 3498/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.SaveSourceScreenshot.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SaveSourceScreenshot.json diff --git a/docs/_data/Help/obs.powershell.websocket.SaveSourceScreenshot.json b/docs/_data/Help/obs.powershell.websocket.SaveSourceScreenshot.json new file mode 100644 index 000000000..c5cdd47fd --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SaveSourceScreenshot.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Save-OBSSourceScreenshot : SaveSourceScreenshot", + "Description": "Saves a screenshot of a source to the filesystem.\n\nThe `imageWidth` and `imageHeight` parameters are treated as \"scale to inner\", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept.\nIf `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source.\n\n**Compatible with inputs and scenes.**\n\n\nSave-OBSSourceScreenshot calls the OBS WebSocket with a request of type SaveSourceScreenshot.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savesourcescreenshot" + ], + "Examples": [] +} \ No newline at end of file From 994f098287d75a7668d4b613dbbd25b8dbd6f183 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3499/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.SendStreamCaption.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SendStreamCaption.json diff --git a/docs/_data/Help/obs.powershell.websocket.SendStreamCaption.json b/docs/_data/Help/obs.powershell.websocket.SendStreamCaption.json new file mode 100644 index 000000000..9553cca0d --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SendStreamCaption.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSStreamCaption : SendStreamCaption", + "Description": "Sends CEA-608 caption text over the stream output.\n\n\nSend-OBSStreamCaption calls the OBS WebSocket with a request of type SendStreamCaption.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sendstreamcaption" + ], + "Examples": [] +} \ No newline at end of file From 014cd24e11a0a022e2714b032e8efb1c8c2df904 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3500/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.SetCurrentPreviewScene.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentPreviewScene.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentPreviewScene.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentPreviewScene.json new file mode 100644 index 000000000..eb2470d69 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentPreviewScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentPreviewScene : SetCurrentPreviewScene", + "Description": "Sets the current preview scene.\n\nOnly available when studio mode is enabled.\n\n\nSet-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type SetCurrentPreviewScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentpreviewscene" + ], + "Examples": [] +} \ No newline at end of file From 98900e864864f857123128816c54b99ebbcefe18 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3501/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.SetCurrentProfile.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentProfile.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentProfile.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentProfile.json new file mode 100644 index 000000000..31e8a9800 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentProfile.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentProfile : SetCurrentProfile", + "Description": "Switches to a profile.\n\n\nSet-OBSCurrentProfile calls the OBS WebSocket with a request of type SetCurrentProfile.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprofile" + ], + "Examples": [] +} \ No newline at end of file From fda842f1ee0be4d374ec61c4bf37598955d331bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3502/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.SetCurrentProgramScene.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentProgramScene.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentProgramScene.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentProgramScene.json new file mode 100644 index 000000000..dfd7b5e17 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentProgramScene.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentProgramScene : SetCurrentProgramScene", + "Description": "Sets the current program scene.\n\n\nSet-OBSCurrentProgramScene calls the OBS WebSocket with a request of type SetCurrentProgramScene.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprogramscene" + ], + "Examples": [] +} \ No newline at end of file From a2595ed7794a139818d48ee257c58e56159c5272 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3503/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...l.websocket.SetCurrentSceneCollection.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentSceneCollection.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneCollection.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneCollection.json new file mode 100644 index 000000000..393ea8d12 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneCollection.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneCollection : SetCurrentSceneCollection", + "Description": "Switches to a scene collection.\n\nNote: This will block until the collection has finished changing.\n\n\nSet-OBSCurrentSceneCollection calls the OBS WebSocket with a request of type SetCurrentSceneCollection.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenecollection" + ], + "Examples": [] +} \ No newline at end of file From e0085552ffe2f0162e3b06bf6cdda16921bbecc9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3504/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...l.websocket.SetCurrentSceneTransition.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransition.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransition.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransition.json new file mode 100644 index 000000000..a51a09284 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransition.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneTransition : SetCurrentSceneTransition", + "Description": "Sets the current scene transition.\n\nSmall note: While the namespace of scene transitions is generally unique, that uniqueness is not a guarantee as it is with other resources like inputs.\n\n\nSet-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type SetCurrentSceneTransition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransition" + ], + "Examples": [] +} \ No newline at end of file From df5114bc055ff16c5f96bc663f30151dcaea38a3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3505/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ket.SetCurrentSceneTransitionDuration.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionDuration.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionDuration.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionDuration.json new file mode 100644 index 000000000..8fcf5a67d --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionDuration.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration", + "Description": "Sets the duration of the current scene transition, if it is not fixed.\n\n\nSet-OBSCurrentSceneTransitionDuration calls the OBS WebSocket with a request of type SetCurrentSceneTransitionDuration.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionduration" + ], + "Examples": [] +} \ No newline at end of file From 009ad8b5359996cc6af8714e0d79e2b6eb410d88 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3506/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ket.SetCurrentSceneTransitionSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionSettings.json b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionSettings.json new file mode 100644 index 000000000..91b05df62 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetCurrentSceneTransitionSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings", + "Description": "Sets the settings of the current scene transition.\n\n\nSet-OBSCurrentSceneTransitionSettings calls the OBS WebSocket with a request of type SetCurrentSceneTransitionSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionsettings" + ], + "Examples": [] +} \ No newline at end of file From ed58b647c15d880885b0f852ec48fb323d589761 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3507/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.SetInputAudioBalance.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputAudioBalance.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputAudioBalance.json b/docs/_data/Help/obs.powershell.websocket.SetInputAudioBalance.json new file mode 100644 index 000000000..98dac717e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputAudioBalance.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioBalance : SetInputAudioBalance", + "Description": "Sets the audio balance of an input.\n\n\nSet-OBSInputAudioBalance calls the OBS WebSocket with a request of type SetInputAudioBalance.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiobalance" + ], + "Examples": [] +} \ No newline at end of file From 50b9b4fc165484f09558ef453b32c4f399622d14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3508/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ll.websocket.SetInputAudioMonitorType.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputAudioMonitorType.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputAudioMonitorType.json b/docs/_data/Help/obs.powershell.websocket.SetInputAudioMonitorType.json new file mode 100644 index 000000000..b284d6da0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputAudioMonitorType.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioMonitorType : SetInputAudioMonitorType", + "Description": "Sets the audio monitor type of an input.\n\n\nSet-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type SetInputAudioMonitorType.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiomonitortype" + ], + "Examples": [] +} \ No newline at end of file From c9bc54069297f8c9ef179dcc40351adcdadaba50 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:09 +0000 Subject: [PATCH 3509/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.SetInputAudioSyncOffset.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputAudioSyncOffset.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputAudioSyncOffset.json b/docs/_data/Help/obs.powershell.websocket.SetInputAudioSyncOffset.json new file mode 100644 index 000000000..55ad570d0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputAudioSyncOffset.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset", + "Description": "Sets the audio sync offset of an input.\n\n\nSet-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type SetInputAudioSyncOffset.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiosyncoffset" + ], + "Examples": [] +} \ No newline at end of file From 1555788b56b0f132d63b98e725886afeca5d469b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3510/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.SetInputAudioTracks.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputAudioTracks.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputAudioTracks.json b/docs/_data/Help/obs.powershell.websocket.SetInputAudioTracks.json new file mode 100644 index 000000000..973b1e245 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputAudioTracks.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputAudioTracks : SetInputAudioTracks", + "Description": "Sets the enable state of audio tracks of an input.\n\n\nSet-OBSInputAudioTracks calls the OBS WebSocket with a request of type SetInputAudioTracks.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiotracks" + ], + "Examples": [] +} \ No newline at end of file From efb6379fd6d29a0534d69aa6fda812e8bc23cf53 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3511/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.SetInputMute.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputMute.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputMute.json b/docs/_data/Help/obs.powershell.websocket.SetInputMute.json new file mode 100644 index 000000000..06b2e281b --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputMute.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputMute : SetInputMute", + "Description": "Sets the audio mute state of an input.\n\n\nSet-OBSInputMute calls the OBS WebSocket with a request of type SetInputMute.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputmute" + ], + "Examples": [] +} \ No newline at end of file From 029d9ed46cb706e4be6e0e01b476ed2d6d7cfbdf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3512/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.SetInputName.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputName.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputName.json b/docs/_data/Help/obs.powershell.websocket.SetInputName.json new file mode 100644 index 000000000..746ffead7 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputName : SetInputName", + "Description": "Sets the name of an input (rename).\n\n\nSet-OBSInputName calls the OBS WebSocket with a request of type SetInputName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputname" + ], + "Examples": [] +} \ No newline at end of file From 3a1c599ddf88f0ecaf7d9dbe182184089e1e0958 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3513/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.SetInputSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputSettings.json b/docs/_data/Help/obs.powershell.websocket.SetInputSettings.json new file mode 100644 index 000000000..2ef9f5a6d --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputSettings : SetInputSettings", + "Description": "Sets the settings of an input.\n\n\nSet-OBSInputSettings calls the OBS WebSocket with a request of type SetInputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputsettings" + ], + "Examples": [] +} \ No newline at end of file From 641eaba9409f042578637e74a3dc351c96ecc6bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3514/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...s.powershell.websocket.SetInputVolume.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetInputVolume.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetInputVolume.json b/docs/_data/Help/obs.powershell.websocket.SetInputVolume.json new file mode 100644 index 000000000..d8be904e6 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetInputVolume.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSInputVolume : SetInputVolume", + "Description": "Sets the volume setting of an input.\n\n\nSet-OBSInputVolume calls the OBS WebSocket with a request of type SetInputVolume.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputvolume" + ], + "Examples": [] +} \ No newline at end of file From 6aac899fe9badb77341a13e3c41eace86bcb3af2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3515/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.SetMediaInputCursor.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetMediaInputCursor.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetMediaInputCursor.json b/docs/_data/Help/obs.powershell.websocket.SetMediaInputCursor.json new file mode 100644 index 000000000..035416dd2 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetMediaInputCursor.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSMediaInputCursor : SetMediaInputCursor", + "Description": "Sets the cursor position of a media input.\n\nThis request does not perform bounds checking of the cursor position.\n\n\nSet-OBSMediaInputCursor calls the OBS WebSocket with a request of type SetMediaInputCursor.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setmediainputcursor" + ], + "Examples": [] +} \ No newline at end of file From 5ae5f90cd081babec4303acf231e6c90323108e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3516/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.SetOutputSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetOutputSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetOutputSettings.json b/docs/_data/Help/obs.powershell.websocket.SetOutputSettings.json new file mode 100644 index 000000000..a6b9683fc --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetOutputSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSOutputSettings : SetOutputSettings", + "Description": "Sets the settings of an output.\n\n\nSet-OBSOutputSettings calls the OBS WebSocket with a request of type SetOutputSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setoutputsettings" + ], + "Examples": [] +} \ No newline at end of file From 1b79d15e3bc059931441984c581f78653c4591c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3517/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.SetPersistentData.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetPersistentData.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetPersistentData.json b/docs/_data/Help/obs.powershell.websocket.SetPersistentData.json new file mode 100644 index 000000000..3aa2b426a --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetPersistentData.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSPersistentData : SetPersistentData", + "Description": "Sets the value of a \"slot\" from the selected persistent data realm.\n\n\nSet-OBSPersistentData calls the OBS WebSocket with a request of type SetPersistentData.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setpersistentdata" + ], + "Examples": [] +} \ No newline at end of file From 07eb70591f70614960fb6633f7c891ab100c4945 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3518/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.SetProfileParameter.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetProfileParameter.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetProfileParameter.json b/docs/_data/Help/obs.powershell.websocket.SetProfileParameter.json new file mode 100644 index 000000000..56f05cb3b --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetProfileParameter.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSProfileParameter : SetProfileParameter", + "Description": "Sets the value of a parameter in the current profile's configuration.\n\n\nSet-OBSProfileParameter calls the OBS WebSocket with a request of type SetProfileParameter.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setprofileparameter" + ], + "Examples": [] +} \ No newline at end of file From 9d88c2725ab91dba71796ed1767610222284387f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:10 +0000 Subject: [PATCH 3519/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.SetRecordDirectory.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetRecordDirectory.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetRecordDirectory.json b/docs/_data/Help/obs.powershell.websocket.SetRecordDirectory.json new file mode 100644 index 000000000..955d00e55 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetRecordDirectory.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSRecordDirectory : SetRecordDirectory", + "Description": "Sets the current directory that the record output writes files to.\n\n\nSet-OBSRecordDirectory calls the OBS WebSocket with a request of type SetRecordDirectory.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setrecorddirectory" + ], + "Examples": [] +} \ No newline at end of file From f22b646485dffdbd112215d64dd8b4de707d7078 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3520/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.SetSceneItemBlendMode.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneItemBlendMode.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneItemBlendMode.json b/docs/_data/Help/obs.powershell.websocket.SetSceneItemBlendMode.json new file mode 100644 index 000000000..64d3bfba2 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneItemBlendMode.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemBlendMode : SetSceneItemBlendMode", + "Description": "Sets the blend mode of a scene item.\n\nScenes and Groups\n\n\nSet-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type SetSceneItemBlendMode.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemblendmode" + ], + "Examples": [] +} \ No newline at end of file From 23fe2f8f15e0c7c1cebd86fe856ae949cc1c3062 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3521/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.SetSceneItemEnabled.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneItemEnabled.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneItemEnabled.json b/docs/_data/Help/obs.powershell.websocket.SetSceneItemEnabled.json new file mode 100644 index 000000000..cd9119b44 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneItemEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemEnabled : SetSceneItemEnabled", + "Description": "Sets the enable state of a scene item.\n\nScenes and Groups\n\n\nSet-OBSSceneItemEnabled calls the OBS WebSocket with a request of type SetSceneItemEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemenabled" + ], + "Examples": [] +} \ No newline at end of file From 2666ac3ee0c29bf3f24252b333c7e61bd5b9655c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3522/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.SetSceneItemIndex.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneItemIndex.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneItemIndex.json b/docs/_data/Help/obs.powershell.websocket.SetSceneItemIndex.json new file mode 100644 index 000000000..d09f124e4 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneItemIndex.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemIndex : SetSceneItemIndex", + "Description": "Sets the index position of a scene item in a scene.\n\nScenes and Groups\n\n\nSet-OBSSceneItemIndex calls the OBS WebSocket with a request of type SetSceneItemIndex.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemindex" + ], + "Examples": [] +} \ No newline at end of file From 1b917458b192c9a3d02f18a43e6a351a8180f138 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3523/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.SetSceneItemLocked.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneItemLocked.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneItemLocked.json b/docs/_data/Help/obs.powershell.websocket.SetSceneItemLocked.json new file mode 100644 index 000000000..ee6666a41 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneItemLocked.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemLocked : SetSceneItemLocked", + "Description": "Sets the lock state of a scene item.\n\nScenes and Group\n\n\nSet-OBSSceneItemLocked calls the OBS WebSocket with a request of type SetSceneItemLocked.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemlocked" + ], + "Examples": [] +} \ No newline at end of file From a14ff94280d5458a8b5d262219577d48d3f5538a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3524/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...shell.websocket.SetSceneItemTransform.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneItemTransform.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneItemTransform.json b/docs/_data/Help/obs.powershell.websocket.SetSceneItemTransform.json new file mode 100644 index 000000000..732cc1c9e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneItemTransform.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneItemTransform : SetSceneItemTransform", + "Description": "Sets the transform and crop info of a scene item.\n\n\nSet-OBSSceneItemTransform calls the OBS WebSocket with a request of type SetSceneItemTransform.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemtransform" + ], + "Examples": [] +} \ No newline at end of file From 0233ed187890f0fbd4621bbc3ce9c2df41f07cca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3525/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.SetSceneName.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneName.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneName.json b/docs/_data/Help/obs.powershell.websocket.SetSceneName.json new file mode 100644 index 000000000..235975402 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneName : SetSceneName", + "Description": "Sets the name of a scene (rename).\n\n\nSet-OBSSceneName calls the OBS WebSocket with a request of type SetSceneName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenename" + ], + "Examples": [] +} \ No newline at end of file From a2a6abfb0b7327b35aadd79d66cae21a2b79b27b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3526/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ocket.SetSceneSceneTransitionOverride.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSceneSceneTransitionOverride.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSceneSceneTransitionOverride.json b/docs/_data/Help/obs.powershell.websocket.SetSceneSceneTransitionOverride.json new file mode 100644 index 000000000..b2d6b4ae0 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSceneSceneTransitionOverride.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride", + "Description": "Sets the scene transition overridden for a scene.\n\n\nSet-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenescenetransitionoverride" + ], + "Examples": [] +} \ No newline at end of file From 8540300cd885067eb0da13e67da0b23d1b9607c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3527/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...hell.websocket.SetSourceFilterEnabled.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSourceFilterEnabled.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSourceFilterEnabled.json b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterEnabled.json new file mode 100644 index 000000000..278d25116 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterEnabled : SetSourceFilterEnabled", + "Description": "Sets the enable state of a source filter.\n\n\nSet-OBSSourceFilterEnabled calls the OBS WebSocket with a request of type SetSourceFilterEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterenabled" + ], + "Examples": [] +} \ No newline at end of file From 75dd1fb64cf794c5b128693610277fd1c1ca5ae5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3528/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.SetSourceFilterIndex.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSourceFilterIndex.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSourceFilterIndex.json b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterIndex.json new file mode 100644 index 000000000..05405a53d --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterIndex.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterIndex : SetSourceFilterIndex", + "Description": "Sets the index position of a filter on a source.\n\n\nSet-OBSSourceFilterIndex calls the OBS WebSocket with a request of type SetSourceFilterIndex.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterindex" + ], + "Examples": [] +} \ No newline at end of file From 6bd34372e4d5f756ffff5bc92826971842a4a6ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3529/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.SetSourceFilterName.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSourceFilterName.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSourceFilterName.json b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterName.json new file mode 100644 index 000000000..50f75d34e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterName : SetSourceFilterName", + "Description": "Sets the name of a source filter (rename).\n\n\nSet-OBSSourceFilterName calls the OBS WebSocket with a request of type SetSourceFilterName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltername" + ], + "Examples": [] +} \ No newline at end of file From 80bde1d175c1353614eb8faa7fa95edcd2dc17e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:11 +0000 Subject: [PATCH 3530/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.SetSourceFilterSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetSourceFilterSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetSourceFilterSettings.json b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterSettings.json new file mode 100644 index 000000000..c89b80784 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetSourceFilterSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSSourceFilterSettings : SetSourceFilterSettings", + "Description": "Sets the settings of a source filter.\n\n\nSet-OBSSourceFilterSettings calls the OBS WebSocket with a request of type SetSourceFilterSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltersettings" + ], + "Examples": [] +} \ No newline at end of file From 2d01b4ce6fbd8ec71fd3c628e2da3c7f53ffb098 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3531/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ll.websocket.SetStreamServiceSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetStreamServiceSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetStreamServiceSettings.json b/docs/_data/Help/obs.powershell.websocket.SetStreamServiceSettings.json new file mode 100644 index 000000000..ab8ce9f3f --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetStreamServiceSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSStreamServiceSettings : SetStreamServiceSettings", + "Description": "Sets the current stream service settings (stream destination).\n\nNote: Simple RTMP settings can be set with type `rtmp_custom` and the settings fields `server` and `key`.\n\n\nSet-OBSStreamServiceSettings calls the OBS WebSocket with a request of type SetStreamServiceSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstreamservicesettings" + ], + "Examples": [] +} \ No newline at end of file From 603f622e5c8a2e1a9cd6b0b1d93bd7cd10d33043 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3532/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...rshell.websocket.SetStudioModeEnabled.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetStudioModeEnabled.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetStudioModeEnabled.json b/docs/_data/Help/obs.powershell.websocket.SetStudioModeEnabled.json new file mode 100644 index 000000000..7344b392f --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetStudioModeEnabled.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSStudioModeEnabled : SetStudioModeEnabled", + "Description": "Enables or disables studio mode\n\n\nSet-OBSStudioModeEnabled calls the OBS WebSocket with a request of type SetStudioModeEnabled.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstudiomodeenabled" + ], + "Examples": [] +} \ No newline at end of file From efc853508a9592125f2096ac979ac5b4cc67b80e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3533/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.SetTBarPosition.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetTBarPosition.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetTBarPosition.json b/docs/_data/Help/obs.powershell.websocket.SetTBarPosition.json new file mode 100644 index 000000000..6fa044b78 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetTBarPosition.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSTBarPosition : SetTBarPosition", + "Description": "Sets the position of the TBar.\n\n**Very important note**: This will be deprecated and replaced in a future version of obs-websocket.\n\n\nSet-OBSTBarPosition calls the OBS WebSocket with a request of type SetTBarPosition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#settbarposition" + ], + "Examples": [] +} \ No newline at end of file From f844c60988b0721c99823dbdb822713101c420b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3534/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.SetVideoSettings.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.SetVideoSettings.json diff --git a/docs/_data/Help/obs.powershell.websocket.SetVideoSettings.json b/docs/_data/Help/obs.powershell.websocket.SetVideoSettings.json new file mode 100644 index 000000000..859a96c38 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.SetVideoSettings.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Set-OBSVideoSettings : SetVideoSettings", + "Description": "Sets the current video settings.\n\nNote: Fields must be specified in pairs. For example, you cannot set only `baseWidth` without needing to specify `baseHeight`.\n\n\nSet-OBSVideoSettings calls the OBS WebSocket with a request of type SetVideoSettings.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setvideosettings" + ], + "Examples": [] +} \ No newline at end of file From 79d27bd0b673de806ba12e14b56e46664f695cfd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3535/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/obs.powershell.websocket.Sleep.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.Sleep.json diff --git a/docs/_data/Help/obs.powershell.websocket.Sleep.json b/docs/_data/Help/obs.powershell.websocket.Sleep.json new file mode 100644 index 000000000..2d5957186 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.Sleep.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSSleep : Sleep", + "Description": "Sleeps for a time duration or number of frames. Only available in request batches with types `SERIAL_REALTIME` or `SERIAL_FRAME`.\n\n\nSend-OBSSleep calls the OBS WebSocket with a request of type Sleep.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sleep" + ], + "Examples": [] +} \ No newline at end of file From e19d1fa7a935a70c4368f4baa941b00a43039990 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3536/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.StartOutput.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StartOutput.json diff --git a/docs/_data/Help/obs.powershell.websocket.StartOutput.json b/docs/_data/Help/obs.powershell.websocket.StartOutput.json new file mode 100644 index 000000000..f7f06d0e3 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StartOutput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Start-OBSOutput : StartOutput", + "Description": "Starts an output.\n\n\nStart-OBSOutput calls the OBS WebSocket with a request of type StartOutput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startoutput" + ], + "Examples": [] +} \ No newline at end of file From 7387d7020802181ec0d385c5f7a20b004fb2f506 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3537/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.StartRecord.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StartRecord.json diff --git a/docs/_data/Help/obs.powershell.websocket.StartRecord.json b/docs/_data/Help/obs.powershell.websocket.StartRecord.json new file mode 100644 index 000000000..9ca1bfe4d --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StartRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSRecord : StartRecord", + "Description": "Starts the record output.\n\n\nStart-OBSRecord calls the OBS WebSocket with a request of type StartRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startrecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSRecord" + } + ] +} \ No newline at end of file From 080fdba56016ad65089bb13730c01cb5a443c8a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3538/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.StartReplayBuffer.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StartReplayBuffer.json diff --git a/docs/_data/Help/obs.powershell.websocket.StartReplayBuffer.json b/docs/_data/Help/obs.powershell.websocket.StartReplayBuffer.json new file mode 100644 index 000000000..85287399e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StartReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSReplayBuffer : StartReplayBuffer", + "Description": "Starts the replay buffer output.\n\n\nStart-OBSReplayBuffer calls the OBS WebSocket with a request of type StartReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startreplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSReplayBuffer" + } + ] +} \ No newline at end of file From 9f8a0967fefbc70e2c0cebfe601959ba327322e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3539/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.StartStream.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StartStream.json diff --git a/docs/_data/Help/obs.powershell.websocket.StartStream.json b/docs/_data/Help/obs.powershell.websocket.StartStream.json new file mode 100644 index 000000000..d03070ec3 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StartStream.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSStream : StartStream", + "Description": "Starts the stream output.\n\n\nStart-OBSStream calls the OBS WebSocket with a request of type StartStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startstream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSStream" + } + ] +} \ No newline at end of file From 6580a626d7e9ba7b2ba21c522a8ed991a7531496 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3540/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.StartVirtualCam.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StartVirtualCam.json diff --git a/docs/_data/Help/obs.powershell.websocket.StartVirtualCam.json b/docs/_data/Help/obs.powershell.websocket.StartVirtualCam.json new file mode 100644 index 000000000..a4fb618e8 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StartVirtualCam.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSVirtualCam : StartVirtualCam", + "Description": "Starts the virtualcam output.\n\n\nStart-OBSVirtualCam calls the OBS WebSocket with a request of type StartVirtualCam.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startvirtualcam" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSVirtualCam" + } + ] +} \ No newline at end of file From a82f172f449fbf9f0f6f2a6447bc7778c940eb04 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:12 +0000 Subject: [PATCH 3541/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.StopOutput.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StopOutput.json diff --git a/docs/_data/Help/obs.powershell.websocket.StopOutput.json b/docs/_data/Help/obs.powershell.websocket.StopOutput.json new file mode 100644 index 000000000..df889ba83 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StopOutput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Stop-OBSOutput : StopOutput", + "Description": "Stops an output.\n\n\nStop-OBSOutput calls the OBS WebSocket with a request of type StopOutput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopoutput" + ], + "Examples": [] +} \ No newline at end of file From c0fcca718a94f3db5de62103f9479c3487b9ea36 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3542/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.StopRecord.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StopRecord.json diff --git a/docs/_data/Help/obs.powershell.websocket.StopRecord.json b/docs/_data/Help/obs.powershell.websocket.StopRecord.json new file mode 100644 index 000000000..b6b49dcdb --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StopRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSRecord : StopRecord", + "Description": "Stops the record output.\n\n\nStop-OBSRecord calls the OBS WebSocket with a request of type StopRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stoprecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSRecord" + } + ] +} \ No newline at end of file From 49ebbeef8918f6eceee19d32ba926991b40bd9b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3543/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.StopReplayBuffer.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StopReplayBuffer.json diff --git a/docs/_data/Help/obs.powershell.websocket.StopReplayBuffer.json b/docs/_data/Help/obs.powershell.websocket.StopReplayBuffer.json new file mode 100644 index 000000000..c3bea5f30 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StopReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSReplayBuffer : StopReplayBuffer", + "Description": "Stops the replay buffer output.\n\n\nStop-OBSReplayBuffer calls the OBS WebSocket with a request of type StopReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopreplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSReplayBuffer" + } + ] +} \ No newline at end of file From f87bc40f57839cf28c04e08608a41229d80f67e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3544/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../obs.powershell.websocket.StopStream.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StopStream.json diff --git a/docs/_data/Help/obs.powershell.websocket.StopStream.json b/docs/_data/Help/obs.powershell.websocket.StopStream.json new file mode 100644 index 000000000..509847921 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StopStream.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSStream : StopStream", + "Description": "Stops the stream output.\n\n\nStop-OBSStream calls the OBS WebSocket with a request of type StopStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopstream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSStream" + } + ] +} \ No newline at end of file From 4c3fcf945f90a6b89d7f39f6c6b6bfbd851ce832 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3545/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...s.powershell.websocket.StopVirtualCam.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.StopVirtualCam.json diff --git a/docs/_data/Help/obs.powershell.websocket.StopVirtualCam.json b/docs/_data/Help/obs.powershell.websocket.StopVirtualCam.json new file mode 100644 index 000000000..22ae9bb40 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.StopVirtualCam.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSVirtualCam : StopVirtualCam", + "Description": "Stops the virtualcam output.\n\n\nStop-OBSVirtualCam calls the OBS WebSocket with a request of type StopVirtualCam.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopvirtualcam" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSVirtualCam" + } + ] +} \ No newline at end of file From 4f9a689ae83169d6e91cc7ce5a9ec44a8a78ecbf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3546/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....powershell.websocket.ToggleInputMute.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleInputMute.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleInputMute.json b/docs/_data/Help/obs.powershell.websocket.ToggleInputMute.json new file mode 100644 index 000000000..d2d732cbd --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleInputMute.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Switch-OBSInputMute : ToggleInputMute", + "Description": "Toggles the audio mute state of an input.\n\n\nSwitch-OBSInputMute calls the OBS WebSocket with a request of type ToggleInputMute.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleinputmute" + ], + "Examples": [] +} \ No newline at end of file From bfc620dc73c88fd6eeb1773cc19cf1cee919af35 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3547/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.ToggleOutput.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleOutput.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleOutput.json b/docs/_data/Help/obs.powershell.websocket.ToggleOutput.json new file mode 100644 index 000000000..b5a71b5e8 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleOutput.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Switch-OBSOutput : ToggleOutput", + "Description": "Toggles the status of an output.\n\n\nSwitch-OBSOutput calls the OBS WebSocket with a request of type ToggleOutput.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleoutput" + ], + "Examples": [] +} \ No newline at end of file From d0fc752f1053cd6ad33a54051fb9662579740a8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3548/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.ToggleRecord.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleRecord.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleRecord.json b/docs/_data/Help/obs.powershell.websocket.ToggleRecord.json new file mode 100644 index 000000000..5d4ad4d8e --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleRecord.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSRecord : ToggleRecord", + "Description": "Toggles the status of the record output.\n\n\nSwitch-OBSRecord calls the OBS WebSocket with a request of type ToggleRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSRecord" + } + ] +} \ No newline at end of file From 3fc3abe07fcd46b2e8e4cdf008687bbef7c80b1a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3549/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...owershell.websocket.ToggleRecordPause.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleRecordPause.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleRecordPause.json b/docs/_data/Help/obs.powershell.websocket.ToggleRecordPause.json new file mode 100644 index 000000000..bdcc0e9b9 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleRecordPause.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSRecordPause : ToggleRecordPause", + "Description": "Toggles pause on the record output.\n\n\nSwitch-OBSRecordPause calls the OBS WebSocket with a request of type ToggleRecordPause.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecordpause" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSRecordPause" + } + ] +} \ No newline at end of file From bf457ca791d236a10bad1fef442af19bfdb0a331 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3550/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...wershell.websocket.ToggleReplayBuffer.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleReplayBuffer.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleReplayBuffer.json b/docs/_data/Help/obs.powershell.websocket.ToggleReplayBuffer.json new file mode 100644 index 000000000..391e546dc --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleReplayBuffer.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSReplayBuffer : ToggleReplayBuffer", + "Description": "Toggles the state of the replay buffer output.\n\n\nSwitch-OBSReplayBuffer calls the OBS WebSocket with a request of type ToggleReplayBuffer.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglereplaybuffer" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSReplayBuffer" + } + ] +} \ No newline at end of file From baef30af47fb8b092739942c6bb6f550713ecaaf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:13 +0000 Subject: [PATCH 3551/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...obs.powershell.websocket.ToggleStream.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleStream.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleStream.json b/docs/_data/Help/obs.powershell.websocket.ToggleStream.json new file mode 100644 index 000000000..3764dc799 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleStream.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSStream : ToggleStream", + "Description": "Toggles the status of the stream output.\n\n\nSwitch-OBSStream calls the OBS WebSocket with a request of type ToggleStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglestream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSStream" + } + ] +} \ No newline at end of file From f946d57a9da5f61a53567c5803b01d6e3effa265 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3552/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...powershell.websocket.ToggleVirtualCam.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.ToggleVirtualCam.json diff --git a/docs/_data/Help/obs.powershell.websocket.ToggleVirtualCam.json b/docs/_data/Help/obs.powershell.websocket.ToggleVirtualCam.json new file mode 100644 index 000000000..9b7ce61cb --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.ToggleVirtualCam.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Switch-OBSVirtualCam : ToggleVirtualCam", + "Description": "Toggles the state of the virtualcam output.\n\n\nSwitch-OBSVirtualCam calls the OBS WebSocket with a request of type ToggleVirtualCam.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglevirtualcam" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Switch-OBSVirtualCam" + } + ] +} \ No newline at end of file From 1c65b2ce06f733ffd210c73cff41cdb5e4747ee1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3553/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ....websocket.TriggerHotkeyByKeySequence.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByKeySequence.json diff --git a/docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByKeySequence.json b/docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByKeySequence.json new file mode 100644 index 000000000..5069579d8 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByKeySequence.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence", + "Description": "Triggers a hotkey using a sequence of keys.\n\nNote: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.\n\n\nSend-OBSTriggerHotkeyByKeySequence calls the OBS WebSocket with a request of type TriggerHotkeyByKeySequence.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybykeysequence" + ], + "Examples": [] +} \ No newline at end of file From 4909920597d3034eaedfd808f2617a724ae3551e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3554/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ershell.websocket.TriggerHotkeyByName.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByName.json diff --git a/docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByName.json b/docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByName.json new file mode 100644 index 000000000..f3749977f --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.TriggerHotkeyByName.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSTriggerHotkeyByName : TriggerHotkeyByName", + "Description": "Triggers a hotkey using its name. See `GetHotkeyList`.\n\nNote: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.\n\n\nSend-OBSTriggerHotkeyByName calls the OBS WebSocket with a request of type TriggerHotkeyByName.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybyname" + ], + "Examples": [] +} \ No newline at end of file From 9ec8eca1fa4e036e6b9c81d7198709a66d8e442d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3555/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...ell.websocket.TriggerMediaInputAction.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.TriggerMediaInputAction.json diff --git a/docs/_data/Help/obs.powershell.websocket.TriggerMediaInputAction.json b/docs/_data/Help/obs.powershell.websocket.TriggerMediaInputAction.json new file mode 100644 index 000000000..eb40f4bfb --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.TriggerMediaInputAction.json @@ -0,0 +1,35 @@ +{ + "Synopsis": "Send-OBSTriggerMediaInputAction : TriggerMediaInputAction", + "Description": "Triggers an action on a media input.\n\n\nSend-OBSTriggerMediaInputAction calls the OBS WebSocket with a request of type TriggerMediaInputAction.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggermediainputaction" + ], + "Examples": [] +} \ No newline at end of file From da2e1c5e89be3a170ff0c7ac3adb59fce1ebd64d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3556/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...websocket.TriggerStudioModeTransition.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/obs.powershell.websocket.TriggerStudioModeTransition.json diff --git a/docs/_data/Help/obs.powershell.websocket.TriggerStudioModeTransition.json b/docs/_data/Help/obs.powershell.websocket.TriggerStudioModeTransition.json new file mode 100644 index 000000000..69a7c95f7 --- /dev/null +++ b/docs/_data/Help/obs.powershell.websocket.TriggerStudioModeTransition.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition", + "Description": "Triggers the current scene transition. Same functionality as the `Transition` button in studio mode.\n\n\nSend-OBSTriggerStudioModeTransition calls the OBS WebSocket with a request of type TriggerStudioModeTransition.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerstudiomodetransition" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Send-OBSTriggerStudioModeTransition" + } + ] +} \ No newline at end of file From 1f4c215ae6cb34841054992feb146d50bde6e6a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3557/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBS3BandEqualizerFilter.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBS3BandEqualizerFilter.json diff --git a/docs/_data/Help/Set-OBS3BandEqualizerFilter.json b/docs/_data/Help/Set-OBS3BandEqualizerFilter.json new file mode 100644 index 000000000..29c3a8a85 --- /dev/null +++ b/docs/_data/Help/Set-OBS3BandEqualizerFilter.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "Sets a Equalizer filter.", + "Description": "Adds or Changes a 3-band Equalizer Filter on an OBS Input.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8c6decada849c3261b65302e71f3f4115f8d430d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3558/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSAddShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAddShader.json diff --git a/docs/_data/Help/Set-OBSAddShader.json b/docs/_data/Help/Set-OBSAddShader.json new file mode 100644 index 000000000..705b8a877 --- /dev/null +++ b/docs/_data/Help/Set-OBSAddShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d5091c35066034c78d1b0a97c385cf8a6b068035 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3559/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSAlphaBorderShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAlphaBorderShader.json diff --git a/docs/_data/Help/Set-OBSAlphaBorderShader.json b/docs/_data/Help/Set-OBSAlphaBorderShader.json new file mode 100644 index 000000000..a1a1e027f --- /dev/null +++ b/docs/_data/Help/Set-OBSAlphaBorderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7480030296e31438eacd8d555dd399bff9069ca1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3560/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSAlphaGamingBentCameraShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json diff --git a/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json b/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json new file mode 100644 index 000000000..d0540bf7b --- /dev/null +++ b/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bb8c88a2e6ba46ea1e01d631c181e382f0a287da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:14 +0000 Subject: [PATCH 3561/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSAnimatedPathShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAnimatedPathShader.json diff --git a/docs/_data/Help/Set-OBSAnimatedPathShader.json b/docs/_data/Help/Set-OBSAnimatedPathShader.json new file mode 100644 index 000000000..e880f077f --- /dev/null +++ b/docs/_data/Help/Set-OBSAnimatedPathShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6c12810da610008dbea3a6ff6ef25756c9818e4c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3562/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSAnimatedTextureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAnimatedTextureShader.json diff --git a/docs/_data/Help/Set-OBSAnimatedTextureShader.json b/docs/_data/Help/Set-OBSAnimatedTextureShader.json new file mode 100644 index 000000000..b0e5f975f --- /dev/null +++ b/docs/_data/Help/Set-OBSAnimatedTextureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 922a1880df94ab94522d10d5359133aa26bc87c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3563/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSAsciiShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAsciiShader.json diff --git a/docs/_data/Help/Set-OBSAsciiShader.json b/docs/_data/Help/Set-OBSAsciiShader.json new file mode 100644 index 000000000..4d6d14224 --- /dev/null +++ b/docs/_data/Help/Set-OBSAsciiShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From dccd4c1f3e0dae409ebe5d756da79c3e2b21e06a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3564/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSAspectRatioShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSAspectRatioShader.json diff --git a/docs/_data/Help/Set-OBSAspectRatioShader.json b/docs/_data/Help/Set-OBSAspectRatioShader.json new file mode 100644 index 000000000..fd3cf291f --- /dev/null +++ b/docs/_data/Help/Set-OBSAspectRatioShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2c5bfb9b4ce99f7e62cca91b0fa869e65206343f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3565/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSBackgroundRemovalShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBackgroundRemovalShader.json diff --git a/docs/_data/Help/Set-OBSBackgroundRemovalShader.json b/docs/_data/Help/Set-OBSBackgroundRemovalShader.json new file mode 100644 index 000000000..205be77d5 --- /dev/null +++ b/docs/_data/Help/Set-OBSBackgroundRemovalShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From cd67ec520add38585dd7ce22c25051b8ee287d9c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3566/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSBlendOpacityShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBlendOpacityShader.json diff --git a/docs/_data/Help/Set-OBSBlendOpacityShader.json b/docs/_data/Help/Set-OBSBlendOpacityShader.json new file mode 100644 index 000000000..7bbf047ed --- /dev/null +++ b/docs/_data/Help/Set-OBSBlendOpacityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4e6ede9d14721c8d267cd176e926ca01b05b065e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3567/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBlinkShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBlinkShader.json diff --git a/docs/_data/Help/Set-OBSBlinkShader.json b/docs/_data/Help/Set-OBSBlinkShader.json new file mode 100644 index 000000000..2973e5079 --- /dev/null +++ b/docs/_data/Help/Set-OBSBlinkShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 61d076f7b08e8f56b5fcc9d69ff7e4c51575f39d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3568/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBloomShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBloomShader.json diff --git a/docs/_data/Help/Set-OBSBloomShader.json b/docs/_data/Help/Set-OBSBloomShader.json new file mode 100644 index 000000000..b705909c3 --- /dev/null +++ b/docs/_data/Help/Set-OBSBloomShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6078b7a956a233bb5b529e6104cf515728bf3cdc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3569/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBorderShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBorderShader.json diff --git a/docs/_data/Help/Set-OBSBorderShader.json b/docs/_data/Help/Set-OBSBorderShader.json new file mode 100644 index 000000000..868dca86d --- /dev/null +++ b/docs/_data/Help/Set-OBSBorderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2bb9749d43d704c5755a139ed2006a4ec260575d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:15 +0000 Subject: [PATCH 3570/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBoxBlurShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBoxBlurShader.json diff --git a/docs/_data/Help/Set-OBSBoxBlurShader.json b/docs/_data/Help/Set-OBSBoxBlurShader.json new file mode 100644 index 000000000..e4f7d736f --- /dev/null +++ b/docs/_data/Help/Set-OBSBoxBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5f507120bad9c1b3e049a9b3d481866788a689ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3571/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBulgePinchShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBulgePinchShader.json diff --git a/docs/_data/Help/Set-OBSBulgePinchShader.json b/docs/_data/Help/Set-OBSBulgePinchShader.json new file mode 100644 index 000000000..7ee877a41 --- /dev/null +++ b/docs/_data/Help/Set-OBSBulgePinchShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1c42479005393e8461de13e46f9d990f7d151f5b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3572/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSBurnShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSBurnShader.json diff --git a/docs/_data/Help/Set-OBSBurnShader.json b/docs/_data/Help/Set-OBSBurnShader.json new file mode 100644 index 000000000..0e5ad04b6 --- /dev/null +++ b/docs/_data/Help/Set-OBSBurnShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 17034510ba300268597d1779bbd19413aa85c4cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3573/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSCartoonShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCartoonShader.json diff --git a/docs/_data/Help/Set-OBSCartoonShader.json b/docs/_data/Help/Set-OBSCartoonShader.json new file mode 100644 index 000000000..38965ebad --- /dev/null +++ b/docs/_data/Help/Set-OBSCartoonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6d083975a8415cc575aaef6d174c33cb84a90cfd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3574/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSCellShadedShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCellShadedShader.json diff --git a/docs/_data/Help/Set-OBSCellShadedShader.json b/docs/_data/Help/Set-OBSCellShadedShader.json new file mode 100644 index 000000000..3d50c192f --- /dev/null +++ b/docs/_data/Help/Set-OBSCellShadedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4cce8a464ad5654d93ffc2db1001a298b1617df4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3575/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSChromaticAberrationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSChromaticAberrationShader.json diff --git a/docs/_data/Help/Set-OBSChromaticAberrationShader.json b/docs/_data/Help/Set-OBSChromaticAberrationShader.json new file mode 100644 index 000000000..daa15776e --- /dev/null +++ b/docs/_data/Help/Set-OBSChromaticAberrationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d5b860969db438588ba32d87f712635b8a57e47b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3576/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSChromaUVDistortionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSChromaUVDistortionShader.json diff --git a/docs/_data/Help/Set-OBSChromaUVDistortionShader.json b/docs/_data/Help/Set-OBSChromaUVDistortionShader.json new file mode 100644 index 000000000..66e162085 --- /dev/null +++ b/docs/_data/Help/Set-OBSChromaUVDistortionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3c12a725ac6cb80506b04d87150b542ce197e7fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3577/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSCircleMaskFilterShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCircleMaskFilterShader.json diff --git a/docs/_data/Help/Set-OBSCircleMaskFilterShader.json b/docs/_data/Help/Set-OBSCircleMaskFilterShader.json new file mode 100644 index 000000000..50ea58fd9 --- /dev/null +++ b/docs/_data/Help/Set-OBSCircleMaskFilterShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From db237c1f93de7f5440b4ca8706b0a85265c8daf2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3578/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSColorCorrectionFilter.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSColorCorrectionFilter.json diff --git a/docs/_data/Help/Set-OBSColorCorrectionFilter.json b/docs/_data/Help/Set-OBSColorCorrectionFilter.json new file mode 100644 index 000000000..8acc546da --- /dev/null +++ b/docs/_data/Help/Set-OBSColorCorrectionFilter.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Sets a color filter", + "Description": "Adds or Changes a Color Correction Filter on an OBS Input. \nThis allows you to: \n* Change Opacity on any source \n* Correct gamma \n* Spin the hue \n* Saturate or Desaturate an image \n* Change the contrast \n* Brighten the image \n* Multiply pixels by a color \n* Add a color to all pixels", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Show-OBS -Uri .\\Assets\\obs-powershell-animated-icon.svg | \n Set-OBSColorFilter -Opacity .5" + } + ] +} \ No newline at end of file From fa8156d9d35303cda4e69ad85007d62311da4398 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:16 +0000 Subject: [PATCH 3579/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSColorDepthShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSColorDepthShader.json diff --git a/docs/_data/Help/Set-OBSColorDepthShader.json b/docs/_data/Help/Set-OBSColorDepthShader.json new file mode 100644 index 000000000..571d37737 --- /dev/null +++ b/docs/_data/Help/Set-OBSColorDepthShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1fa0f57038c656c060173a5bb26aa2ce480aee93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3580/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSColorGradeFilterShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSColorGradeFilterShader.json diff --git a/docs/_data/Help/Set-OBSColorGradeFilterShader.json b/docs/_data/Help/Set-OBSColorGradeFilterShader.json new file mode 100644 index 000000000..12b6a9177 --- /dev/null +++ b/docs/_data/Help/Set-OBSColorGradeFilterShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 61df836cbdcd6e80b94fd3f8082982dd1967740c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3581/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSCornerPinShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCornerPinShader.json diff --git a/docs/_data/Help/Set-OBSCornerPinShader.json b/docs/_data/Help/Set-OBSCornerPinShader.json new file mode 100644 index 000000000..d5d734e67 --- /dev/null +++ b/docs/_data/Help/Set-OBSCornerPinShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 936e8a2121f0115e253507f0e7536c8884e8de75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3582/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSCrtCurvatureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCrtCurvatureShader.json diff --git a/docs/_data/Help/Set-OBSCrtCurvatureShader.json b/docs/_data/Help/Set-OBSCrtCurvatureShader.json new file mode 100644 index 000000000..727f5e96c --- /dev/null +++ b/docs/_data/Help/Set-OBSCrtCurvatureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bd0d3486420cf50bb06ce48f2507fec6b71a964d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3583/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSCutRectPerCornerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCutRectPerCornerShader.json diff --git a/docs/_data/Help/Set-OBSCutRectPerCornerShader.json b/docs/_data/Help/Set-OBSCutRectPerCornerShader.json new file mode 100644 index 000000000..38453760e --- /dev/null +++ b/docs/_data/Help/Set-OBSCutRectPerCornerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From cb900f28dba45c27ebd4f8aeba6695ef213f34e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3584/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSCylinderShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCylinderShader.json diff --git a/docs/_data/Help/Set-OBSCylinderShader.json b/docs/_data/Help/Set-OBSCylinderShader.json new file mode 100644 index 000000000..6f6a0f013 --- /dev/null +++ b/docs/_data/Help/Set-OBSCylinderShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e4485dedc7b170bafcbbb9918cddb436c5d493a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3585/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDarkenShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDarkenShader.json diff --git a/docs/_data/Help/Set-OBSDarkenShader.json b/docs/_data/Help/Set-OBSDarkenShader.json new file mode 100644 index 000000000..73897b41b --- /dev/null +++ b/docs/_data/Help/Set-OBSDarkenShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From fdcd4084dab71a4d4b8b16da4459dfe738253965 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3586/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSDeadPixelFixerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDeadPixelFixerShader.json diff --git a/docs/_data/Help/Set-OBSDeadPixelFixerShader.json b/docs/_data/Help/Set-OBSDeadPixelFixerShader.json new file mode 100644 index 000000000..aa2307b6c --- /dev/null +++ b/docs/_data/Help/Set-OBSDeadPixelFixerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 090da89cbc39d65032caede5e20534940834a96c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3587/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSDivideRotateShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDivideRotateShader.json diff --git a/docs/_data/Help/Set-OBSDivideRotateShader.json b/docs/_data/Help/Set-OBSDivideRotateShader.json new file mode 100644 index 000000000..9f95b286b --- /dev/null +++ b/docs/_data/Help/Set-OBSDivideRotateShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4980bff77c2caa5115e893e43c14b3d52e98ce34 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3588/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDoodleShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDoodleShader.json diff --git a/docs/_data/Help/Set-OBSDoodleShader.json b/docs/_data/Help/Set-OBSDoodleShader.json new file mode 100644 index 000000000..769adca77 --- /dev/null +++ b/docs/_data/Help/Set-OBSDoodleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c3c6eb7ce5b00ebe5e591a16b97cd5cf01a2a6d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:17 +0000 Subject: [PATCH 3589/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDrawingsShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDrawingsShader.json diff --git a/docs/_data/Help/Set-OBSDrawingsShader.json b/docs/_data/Help/Set-OBSDrawingsShader.json new file mode 100644 index 000000000..48d75446d --- /dev/null +++ b/docs/_data/Help/Set-OBSDrawingsShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ede8a1828a98e51325098c4eab6fcd9db3f01654 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3590/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDropShadowShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDropShadowShader.json diff --git a/docs/_data/Help/Set-OBSDropShadowShader.json b/docs/_data/Help/Set-OBSDropShadowShader.json new file mode 100644 index 000000000..2cdff2899 --- /dev/null +++ b/docs/_data/Help/Set-OBSDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From dda5a87c6b37fe3d1e289995a4abf61934cd47d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3591/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDrunkShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDrunkShader.json diff --git a/docs/_data/Help/Set-OBSDrunkShader.json b/docs/_data/Help/Set-OBSDrunkShader.json new file mode 100644 index 000000000..3188fb20b --- /dev/null +++ b/docs/_data/Help/Set-OBSDrunkShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a97ab9182e119086cd5a0ab44f452a6970f38f9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3592/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSDynamicMaskShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDynamicMaskShader.json diff --git a/docs/_data/Help/Set-OBSDynamicMaskShader.json b/docs/_data/Help/Set-OBSDynamicMaskShader.json new file mode 100644 index 000000000..e9ad5017c --- /dev/null +++ b/docs/_data/Help/Set-OBSDynamicMaskShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e2908a28a237985926bf336a26a4345409229ac5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3593/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSEdgeDetectionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSEdgeDetectionShader.json diff --git a/docs/_data/Help/Set-OBSEdgeDetectionShader.json b/docs/_data/Help/Set-OBSEdgeDetectionShader.json new file mode 100644 index 000000000..9b494b357 --- /dev/null +++ b/docs/_data/Help/Set-OBSEdgeDetectionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e6f22ea5124ee4d5a6055f43b4e3e035b08ab9a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3594/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSEmbersShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSEmbersShader.json diff --git a/docs/_data/Help/Set-OBSEmbersShader.json b/docs/_data/Help/Set-OBSEmbersShader.json new file mode 100644 index 000000000..38e75a1fe --- /dev/null +++ b/docs/_data/Help/Set-OBSEmbersShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 56e5d873c227d2d202d4c49e39058634a464a899 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3595/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSEmbossColorShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSEmbossColorShader.json diff --git a/docs/_data/Help/Set-OBSEmbossColorShader.json b/docs/_data/Help/Set-OBSEmbossColorShader.json new file mode 100644 index 000000000..88e8cc70a --- /dev/null +++ b/docs/_data/Help/Set-OBSEmbossColorShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7109a8efcbf6ed6d521c218449bc8cffd4b63fff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3596/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSEmbossShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSEmbossShader.json diff --git a/docs/_data/Help/Set-OBSEmbossShader.json b/docs/_data/Help/Set-OBSEmbossShader.json new file mode 100644 index 000000000..1a159dbbb --- /dev/null +++ b/docs/_data/Help/Set-OBSEmbossShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5114ff19391044a2e16100a91822823191817039 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:18 +0000 Subject: [PATCH 3597/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSExeldroBentCameraShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSExeldroBentCameraShader.json diff --git a/docs/_data/Help/Set-OBSExeldroBentCameraShader.json b/docs/_data/Help/Set-OBSExeldroBentCameraShader.json new file mode 100644 index 000000000..f7017ef5b --- /dev/null +++ b/docs/_data/Help/Set-OBSExeldroBentCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 111e4122e9cea1c6663d2fe1e7ef7c3cbb9371f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3598/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSFadeTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFadeTransitionShader.json diff --git a/docs/_data/Help/Set-OBSFadeTransitionShader.json b/docs/_data/Help/Set-OBSFadeTransitionShader.json new file mode 100644 index 000000000..d14e4ca63 --- /dev/null +++ b/docs/_data/Help/Set-OBSFadeTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 56f81b9b8d8f7cc28d3e67cb9e05a0f0a9b8b540 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3599/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFFMpegSource.json | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFFMpegSource.json diff --git a/docs/_data/Help/Set-OBSFFMpegSource.json b/docs/_data/Help/Set-OBSFFMpegSource.json new file mode 100644 index 000000000..441822c93 --- /dev/null +++ b/docs/_data/Help/Set-OBSFFMpegSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a media source", + "Description": "Adds a media source to OBS.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSMediaSource -FilePath My.mp4" + } + ] +} \ No newline at end of file From e41974a2d0bdeeb4451658996016b618bfd12bca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3600/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSFillColorGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFillColorGradientShader.json diff --git a/docs/_data/Help/Set-OBSFillColorGradientShader.json b/docs/_data/Help/Set-OBSFillColorGradientShader.json new file mode 100644 index 000000000..4123ff909 --- /dev/null +++ b/docs/_data/Help/Set-OBSFillColorGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From faff78b4b944da26282c8e9709cfdefa812e3f84 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3601/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSFillColorLinearShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFillColorLinearShader.json diff --git a/docs/_data/Help/Set-OBSFillColorLinearShader.json b/docs/_data/Help/Set-OBSFillColorLinearShader.json new file mode 100644 index 000000000..6f3e71ec6 --- /dev/null +++ b/docs/_data/Help/Set-OBSFillColorLinearShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ba2877ac68322fbfa9435e635420f746596ba92b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3602/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSFillColorRadialDegreesShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json diff --git a/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json b/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json new file mode 100644 index 000000000..81a001404 --- /dev/null +++ b/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8cc80cfd05c239acc8f5a2df4c868d75833a726e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3603/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- ...et-OBSFillColorRadialPercentageShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json diff --git a/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json b/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json new file mode 100644 index 000000000..fd3c3342c --- /dev/null +++ b/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 19f643cc350958ac42d1c118d7648ea02b6edfea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3604/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSFilterTemplateShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFilterTemplateShader.json diff --git a/docs/_data/Help/Set-OBSFilterTemplateShader.json b/docs/_data/Help/Set-OBSFilterTemplateShader.json new file mode 100644 index 000000000..3a0c96520 --- /dev/null +++ b/docs/_data/Help/Set-OBSFilterTemplateShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3beb9693c83ab102c423c49610f95b4b738e710f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3605/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFire3Shader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFire3Shader.json diff --git a/docs/_data/Help/Set-OBSFire3Shader.json b/docs/_data/Help/Set-OBSFire3Shader.json new file mode 100644 index 000000000..c29623591 --- /dev/null +++ b/docs/_data/Help/Set-OBSFire3Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2391b6a4f01c466bc216d6244312f67c3cf4ef81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:19 +0000 Subject: [PATCH 3606/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFireShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFireShader.json diff --git a/docs/_data/Help/Set-OBSFireShader.json b/docs/_data/Help/Set-OBSFireShader.json new file mode 100644 index 000000000..a06399abd --- /dev/null +++ b/docs/_data/Help/Set-OBSFireShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f212f0eeaa0884cca3389e1362342d4f6c39eafe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3607/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFireworksShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFireworksShader.json diff --git a/docs/_data/Help/Set-OBSFireworksShader.json b/docs/_data/Help/Set-OBSFireworksShader.json new file mode 100644 index 000000000..d70cab7ad --- /dev/null +++ b/docs/_data/Help/Set-OBSFireworksShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 287a47bb1e6744e1a03c4812b787233466d491c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3608/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFisheyeShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFisheyeShader.json diff --git a/docs/_data/Help/Set-OBSFisheyeShader.json b/docs/_data/Help/Set-OBSFisheyeShader.json new file mode 100644 index 000000000..88ef68395 --- /dev/null +++ b/docs/_data/Help/Set-OBSFisheyeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d4e2b41165f3b3c52dffcb4e2213d0698d3d5675 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3609/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFisheyeXyShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFisheyeXyShader.json diff --git a/docs/_data/Help/Set-OBSFisheyeXyShader.json b/docs/_data/Help/Set-OBSFisheyeXyShader.json new file mode 100644 index 000000000..5386532d5 --- /dev/null +++ b/docs/_data/Help/Set-OBSFisheyeXyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5b993e752ecc4095ce7a6faaec69162a0865cfce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3610/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSFlipShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFlipShader.json diff --git a/docs/_data/Help/Set-OBSFlipShader.json b/docs/_data/Help/Set-OBSFlipShader.json new file mode 100644 index 000000000..3da225f21 --- /dev/null +++ b/docs/_data/Help/Set-OBSFlipShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c12a1ec60ae0ffd3e9bf705c587b0b7ed78bd263 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3611/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSFrostedGlassShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFrostedGlassShader.json diff --git a/docs/_data/Help/Set-OBSFrostedGlassShader.json b/docs/_data/Help/Set-OBSFrostedGlassShader.json new file mode 100644 index 000000000..3076f6094 --- /dev/null +++ b/docs/_data/Help/Set-OBSFrostedGlassShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 215700a9c7459652a20b5711dd10d144aaa00d6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3612/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSGammaCorrectionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGammaCorrectionShader.json diff --git a/docs/_data/Help/Set-OBSGammaCorrectionShader.json b/docs/_data/Help/Set-OBSGammaCorrectionShader.json new file mode 100644 index 000000000..be6f57eb7 --- /dev/null +++ b/docs/_data/Help/Set-OBSGammaCorrectionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From fcc54eda111ab4c8a9fe7f838a1408e794caa14c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3613/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSGaussianBlurAdvancedShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json diff --git a/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json b/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json new file mode 100644 index 000000000..56bccb351 --- /dev/null +++ b/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 418d1d8e1914fefb909db0cab6b9d263525c3ca2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3614/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSGaussianBlurShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGaussianBlurShader.json diff --git a/docs/_data/Help/Set-OBSGaussianBlurShader.json b/docs/_data/Help/Set-OBSGaussianBlurShader.json new file mode 100644 index 000000000..4a6d210db --- /dev/null +++ b/docs/_data/Help/Set-OBSGaussianBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 541a2b6a4667fcdba2e9817ec747be424a3d68c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:20 +0000 Subject: [PATCH 3615/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSGaussianBlurSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json diff --git a/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json b/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json new file mode 100644 index 000000000..994a9e4b8 --- /dev/null +++ b/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7f7e8c407feb68a1b4bbc6dc4770770c35dcb23a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3616/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSGaussianExampleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGaussianExampleShader.json diff --git a/docs/_data/Help/Set-OBSGaussianExampleShader.json b/docs/_data/Help/Set-OBSGaussianExampleShader.json new file mode 100644 index 000000000..e2a0de96e --- /dev/null +++ b/docs/_data/Help/Set-OBSGaussianExampleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1d2da8d32d048e89c9217188cc8b1d14b7733e1a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3617/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSGaussianSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGaussianSimpleShader.json diff --git a/docs/_data/Help/Set-OBSGaussianSimpleShader.json b/docs/_data/Help/Set-OBSGaussianSimpleShader.json new file mode 100644 index 000000000..b81e0bb7d --- /dev/null +++ b/docs/_data/Help/Set-OBSGaussianSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 352e9b527c858dba3ef4f8374363546c107b309e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3618/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSGbCameraShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGbCameraShader.json diff --git a/docs/_data/Help/Set-OBSGbCameraShader.json b/docs/_data/Help/Set-OBSGbCameraShader.json new file mode 100644 index 000000000..dafdd12f4 --- /dev/null +++ b/docs/_data/Help/Set-OBSGbCameraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a47314619597bc1400adae1dbc9467a880abf384 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3619/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSGlassShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGlassShader.json diff --git a/docs/_data/Help/Set-OBSGlassShader.json b/docs/_data/Help/Set-OBSGlassShader.json new file mode 100644 index 000000000..3895d11fe --- /dev/null +++ b/docs/_data/Help/Set-OBSGlassShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From fd8bdc6719b423cbaa4110a57bbaa692336d5002 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3620/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSGlitchAnalogShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGlitchAnalogShader.json diff --git a/docs/_data/Help/Set-OBSGlitchAnalogShader.json b/docs/_data/Help/Set-OBSGlitchAnalogShader.json new file mode 100644 index 000000000..5872cd9b9 --- /dev/null +++ b/docs/_data/Help/Set-OBSGlitchAnalogShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 64e4bd0826bc7a4d0bf99f1866fac700020bc719 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3621/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSGlitchShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGlitchShader.json diff --git a/docs/_data/Help/Set-OBSGlitchShader.json b/docs/_data/Help/Set-OBSGlitchShader.json new file mode 100644 index 000000000..8a54d1bac --- /dev/null +++ b/docs/_data/Help/Set-OBSGlitchShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From eaa35f90b52345438c75d7481d6d8a35d8951b99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3622/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSGlowShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGlowShader.json diff --git a/docs/_data/Help/Set-OBSGlowShader.json b/docs/_data/Help/Set-OBSGlowShader.json new file mode 100644 index 000000000..17b954e3b --- /dev/null +++ b/docs/_data/Help/Set-OBSGlowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ca761d8585c8e867032a268097905fd270ee1c0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3623/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSGradientShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSGradientShader.json diff --git a/docs/_data/Help/Set-OBSGradientShader.json b/docs/_data/Help/Set-OBSGradientShader.json new file mode 100644 index 000000000..da25a5b56 --- /dev/null +++ b/docs/_data/Help/Set-OBSGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a1c3fa405b0b14e9627880378f994c502959ddd2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:21 +0000 Subject: [PATCH 3624/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSHalftoneShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSHalftoneShader.json diff --git a/docs/_data/Help/Set-OBSHalftoneShader.json b/docs/_data/Help/Set-OBSHalftoneShader.json new file mode 100644 index 000000000..5169bdc1a --- /dev/null +++ b/docs/_data/Help/Set-OBSHalftoneShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a93bacfbf7dcdfed27df3b81a235ba97298631b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3625/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSHeatWaveSimpleShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSHeatWaveSimpleShader.json diff --git a/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json b/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json new file mode 100644 index 000000000..867dcd3de --- /dev/null +++ b/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a5d4664f97c5745d0c4de7e11da0df23971dff4c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3626/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSHexagonShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSHexagonShader.json diff --git a/docs/_data/Help/Set-OBSHexagonShader.json b/docs/_data/Help/Set-OBSHexagonShader.json new file mode 100644 index 000000000..eaacec57e --- /dev/null +++ b/docs/_data/Help/Set-OBSHexagonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8eda4d70ee76d62212e03276b45cca9ca87e63b3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3627/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSHslHsvSaturationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSHslHsvSaturationShader.json diff --git a/docs/_data/Help/Set-OBSHslHsvSaturationShader.json b/docs/_data/Help/Set-OBSHslHsvSaturationShader.json new file mode 100644 index 000000000..1f5b300a3 --- /dev/null +++ b/docs/_data/Help/Set-OBSHslHsvSaturationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bd4a8bd14b16aa5ee10df1d5394d701dede55e94 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3628/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSHueRotatonShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSHueRotatonShader.json diff --git a/docs/_data/Help/Set-OBSHueRotatonShader.json b/docs/_data/Help/Set-OBSHueRotatonShader.json new file mode 100644 index 000000000..bfe2409ff --- /dev/null +++ b/docs/_data/Help/Set-OBSHueRotatonShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b3912ed44b79e1da1b0597b65f1e8074909f3528 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3629/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSIntensityScopeShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSIntensityScopeShader.json diff --git a/docs/_data/Help/Set-OBSIntensityScopeShader.json b/docs/_data/Help/Set-OBSIntensityScopeShader.json new file mode 100644 index 000000000..fea527830 --- /dev/null +++ b/docs/_data/Help/Set-OBSIntensityScopeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 416b8fb755f98f7d0659dc0b70a11e5e05867952 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3630/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSInvertLumaShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSInvertLumaShader.json diff --git a/docs/_data/Help/Set-OBSInvertLumaShader.json b/docs/_data/Help/Set-OBSInvertLumaShader.json new file mode 100644 index 000000000..5b6e144c7 --- /dev/null +++ b/docs/_data/Help/Set-OBSInvertLumaShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 131853dd41553dcc46dab62b10ca0f41325a31ef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3631/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSLuminance2Shader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSLuminance2Shader.json diff --git a/docs/_data/Help/Set-OBSLuminance2Shader.json b/docs/_data/Help/Set-OBSLuminance2Shader.json new file mode 100644 index 000000000..210290dee --- /dev/null +++ b/docs/_data/Help/Set-OBSLuminance2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c9788d4e32c4818a7b60665a849aa89829aaa891 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3632/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSLuminanceAlphaShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSLuminanceAlphaShader.json diff --git a/docs/_data/Help/Set-OBSLuminanceAlphaShader.json b/docs/_data/Help/Set-OBSLuminanceAlphaShader.json new file mode 100644 index 000000000..77530e77b --- /dev/null +++ b/docs/_data/Help/Set-OBSLuminanceAlphaShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4709254ac0aeb54f7a8f7946724e766af546187e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:22 +0000 Subject: [PATCH 3633/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSLuminanceShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSLuminanceShader.json diff --git a/docs/_data/Help/Set-OBSLuminanceShader.json b/docs/_data/Help/Set-OBSLuminanceShader.json new file mode 100644 index 000000000..d5142f1d2 --- /dev/null +++ b/docs/_data/Help/Set-OBSLuminanceShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 450ebc34736c46547f307a95fe99533bf901a28d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3634/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSMatrixShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSMatrixShader.json diff --git a/docs/_data/Help/Set-OBSMatrixShader.json b/docs/_data/Help/Set-OBSMatrixShader.json new file mode 100644 index 000000000..81fb6d551 --- /dev/null +++ b/docs/_data/Help/Set-OBSMatrixShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 28a8703a1b64a911c49dcef6ab31aacb659341d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3635/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSMonitorSource.json | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/_data/Help/Set-OBSMonitorSource.json diff --git a/docs/_data/Help/Set-OBSMonitorSource.json b/docs/_data/Help/Set-OBSMonitorSource.json new file mode 100644 index 000000000..e4c134f1a --- /dev/null +++ b/docs/_data/Help/Set-OBSMonitorSource.json @@ -0,0 +1,44 @@ +{ + "Synopsis": "Adds a display source", + "Description": "Adds a display source to OBS. This captures the contents of the display.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Add-OBSDisplaySource # Adds a display source of the primary monitor" + }, + { + "Title": "EXAMPLE 2", + "Markdown": "", + "Code": "Add-OBSDisplaySource -Display 2 # Adds a display source of the second monitor" + } + ] +} \ No newline at end of file From 987dbfbba821c5ec16cdb6a57817ed84d0a54df5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3636/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSMultiplyShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSMultiplyShader.json diff --git a/docs/_data/Help/Set-OBSMultiplyShader.json b/docs/_data/Help/Set-OBSMultiplyShader.json new file mode 100644 index 000000000..c41d7067f --- /dev/null +++ b/docs/_data/Help/Set-OBSMultiplyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 374936cc8164b0bb97b331565e9357adb8367b26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3637/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSNightSkyShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSNightSkyShader.json diff --git a/docs/_data/Help/Set-OBSNightSkyShader.json b/docs/_data/Help/Set-OBSNightSkyShader.json new file mode 100644 index 000000000..5e8e788ec --- /dev/null +++ b/docs/_data/Help/Set-OBSNightSkyShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9c4334828c534f4efa22ed021b85da63d4b18daf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3638/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSOpacityShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSOpacityShader.json diff --git a/docs/_data/Help/Set-OBSOpacityShader.json b/docs/_data/Help/Set-OBSOpacityShader.json new file mode 100644 index 000000000..0b7145c2b --- /dev/null +++ b/docs/_data/Help/Set-OBSOpacityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ec2787e1c5ae55dba81277546404bedd5cee6371 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3639/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPagePeelShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPagePeelShader.json diff --git a/docs/_data/Help/Set-OBSPagePeelShader.json b/docs/_data/Help/Set-OBSPagePeelShader.json new file mode 100644 index 000000000..afad989ec --- /dev/null +++ b/docs/_data/Help/Set-OBSPagePeelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 032a4ceba5068479f0c016d433eb60984571c688 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3640/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSPagePeelTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPagePeelTransitionShader.json diff --git a/docs/_data/Help/Set-OBSPagePeelTransitionShader.json b/docs/_data/Help/Set-OBSPagePeelTransitionShader.json new file mode 100644 index 000000000..8dc3b44f8 --- /dev/null +++ b/docs/_data/Help/Set-OBSPagePeelTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2e41528b9576f49af5eed598dc8e56159f1dac9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:23 +0000 Subject: [PATCH 3641/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPerlinNoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPerlinNoiseShader.json diff --git a/docs/_data/Help/Set-OBSPerlinNoiseShader.json b/docs/_data/Help/Set-OBSPerlinNoiseShader.json new file mode 100644 index 000000000..f1c26be33 --- /dev/null +++ b/docs/_data/Help/Set-OBSPerlinNoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d1baad105ff34d5da3306328260b27025e50735f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3642/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPieChartShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPieChartShader.json diff --git a/docs/_data/Help/Set-OBSPieChartShader.json b/docs/_data/Help/Set-OBSPieChartShader.json new file mode 100644 index 000000000..535375e5a --- /dev/null +++ b/docs/_data/Help/Set-OBSPieChartShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9f6d5ac2f5fa3df65179009640979623b1daedce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3643/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPixelationShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPixelationShader.json diff --git a/docs/_data/Help/Set-OBSPixelationShader.json b/docs/_data/Help/Set-OBSPixelationShader.json new file mode 100644 index 000000000..b2d891902 --- /dev/null +++ b/docs/_data/Help/Set-OBSPixelationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7aac919af610921981468da339d6daa5676101da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3644/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSPixelationTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPixelationTransitionShader.json diff --git a/docs/_data/Help/Set-OBSPixelationTransitionShader.json b/docs/_data/Help/Set-OBSPixelationTransitionShader.json new file mode 100644 index 000000000..6f03e9326 --- /dev/null +++ b/docs/_data/Help/Set-OBSPixelationTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a78fcd0d94c35847609f2c3e9c3ddf925f28ed7c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3645/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPlaylistSource.json | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPlaylistSource.json diff --git a/docs/_data/Help/Set-OBSPlaylistSource.json b/docs/_data/Help/Set-OBSPlaylistSource.json new file mode 100644 index 000000000..9a526c96c --- /dev/null +++ b/docs/_data/Help/Set-OBSPlaylistSource.json @@ -0,0 +1,42 @@ +{ + "Synopsis": "Adds a VLC playlist source", + "Description": "Adds or sets VLC playlist sources to OBS. \nVLC must be installed for this to work.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + null, + null + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Set-OBSVLCSource -FilePath .\\*.mp3 # Creates a playlist of all MP3s in the current directory" + } + ] +} \ No newline at end of file From abb2f2e42daf6efd3d0d807c1a9f2c7325175a0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3646/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSPulseShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPulseShader.json diff --git a/docs/_data/Help/Set-OBSPulseShader.json b/docs/_data/Help/Set-OBSPulseShader.json new file mode 100644 index 000000000..1b7dcf056 --- /dev/null +++ b/docs/_data/Help/Set-OBSPulseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 73ff99b3dc8adb3247310f8c7a62abf3e501e69e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3647/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRainbowShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRainbowShader.json diff --git a/docs/_data/Help/Set-OBSRainbowShader.json b/docs/_data/Help/Set-OBSRainbowShader.json new file mode 100644 index 000000000..3bb4556a6 --- /dev/null +++ b/docs/_data/Help/Set-OBSRainbowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2b1a66d710097237216f42da2001024e88f568b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3648/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRainWindowShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRainWindowShader.json diff --git a/docs/_data/Help/Set-OBSRainWindowShader.json b/docs/_data/Help/Set-OBSRainWindowShader.json new file mode 100644 index 000000000..41316a192 --- /dev/null +++ b/docs/_data/Help/Set-OBSRainWindowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6918124e242edc7a8733877dbe580cceb5f0fd4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3649/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSRectangularDropShadowShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRectangularDropShadowShader.json diff --git a/docs/_data/Help/Set-OBSRectangularDropShadowShader.json b/docs/_data/Help/Set-OBSRectangularDropShadowShader.json new file mode 100644 index 000000000..650a53285 --- /dev/null +++ b/docs/_data/Help/Set-OBSRectangularDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b48f0009f57da1f26eff892093f2ffb2ab8773c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:24 +0000 Subject: [PATCH 3650/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSReflectShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSReflectShader.json diff --git a/docs/_data/Help/Set-OBSReflectShader.json b/docs/_data/Help/Set-OBSReflectShader.json new file mode 100644 index 000000000..219e772c8 --- /dev/null +++ b/docs/_data/Help/Set-OBSReflectShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9d404382193cdbf0f027a74022021f378e1ddc10 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3651/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSRemovePartialPixelsShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRemovePartialPixelsShader.json diff --git a/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json b/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json new file mode 100644 index 000000000..54b30405e --- /dev/null +++ b/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3e3ff0ae73728f6c92f17b41f8df79493f9de2c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3652/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRepeatShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRepeatShader.json diff --git a/docs/_data/Help/Set-OBSRepeatShader.json b/docs/_data/Help/Set-OBSRepeatShader.json new file mode 100644 index 000000000..6c4a86a74 --- /dev/null +++ b/docs/_data/Help/Set-OBSRepeatShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ae5bdbdea2e37c5d380240a3fde9cb17b0a9e039 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3653/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSRepeatTextureShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRepeatTextureShader.json diff --git a/docs/_data/Help/Set-OBSRepeatTextureShader.json b/docs/_data/Help/Set-OBSRepeatTextureShader.json new file mode 100644 index 000000000..d382ca992 --- /dev/null +++ b/docs/_data/Help/Set-OBSRepeatTextureShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 102682e9cbb592a6ffe3de531ec4c5decae0c297 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3654/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRGBAPercentShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRGBAPercentShader.json diff --git a/docs/_data/Help/Set-OBSRGBAPercentShader.json b/docs/_data/Help/Set-OBSRGBAPercentShader.json new file mode 100644 index 000000000..5d6cb64aa --- /dev/null +++ b/docs/_data/Help/Set-OBSRGBAPercentShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c2c74f9c74e79807b6e22661bfad6a83bbab9222 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3655/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSRgbColorWheelShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRgbColorWheelShader.json diff --git a/docs/_data/Help/Set-OBSRgbColorWheelShader.json b/docs/_data/Help/Set-OBSRgbColorWheelShader.json new file mode 100644 index 000000000..965e571d3 --- /dev/null +++ b/docs/_data/Help/Set-OBSRgbColorWheelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 382411cfc4fdb1f959126ed36d46de173ca47e7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3656/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRgbSplitShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRgbSplitShader.json diff --git a/docs/_data/Help/Set-OBSRgbSplitShader.json b/docs/_data/Help/Set-OBSRgbSplitShader.json new file mode 100644 index 000000000..6b97f7549 --- /dev/null +++ b/docs/_data/Help/Set-OBSRgbSplitShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8d686dd7289e35285b1a6f7a352a1a1cd2afcdd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3657/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSRgbvisibilityShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRgbvisibilityShader.json diff --git a/docs/_data/Help/Set-OBSRgbvisibilityShader.json b/docs/_data/Help/Set-OBSRgbvisibilityShader.json new file mode 100644 index 000000000..1675c70aa --- /dev/null +++ b/docs/_data/Help/Set-OBSRgbvisibilityShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d532354c1d20f97a7703138a2320046d205ba969 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3658/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRippleShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRippleShader.json diff --git a/docs/_data/Help/Set-OBSRippleShader.json b/docs/_data/Help/Set-OBSRippleShader.json new file mode 100644 index 000000000..35583c3ec --- /dev/null +++ b/docs/_data/Help/Set-OBSRippleShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9dcff86bf28caeb261e3ff24d96280b721b5dbd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:25 +0000 Subject: [PATCH 3659/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSRotatingSourceShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRotatingSourceShader.json diff --git a/docs/_data/Help/Set-OBSRotatingSourceShader.json b/docs/_data/Help/Set-OBSRotatingSourceShader.json new file mode 100644 index 000000000..81ca32462 --- /dev/null +++ b/docs/_data/Help/Set-OBSRotatingSourceShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 69c29fd096abf55d47d0cc16f7e2ee9a5d62817c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3660/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRotatoeShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRotatoeShader.json diff --git a/docs/_data/Help/Set-OBSRotatoeShader.json b/docs/_data/Help/Set-OBSRotatoeShader.json new file mode 100644 index 000000000..2e073a20f --- /dev/null +++ b/docs/_data/Help/Set-OBSRotatoeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f35ae0bee506cc99584ff814da5efa3e1f104d54 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3661/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSRoundedRect2Shader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRoundedRect2Shader.json diff --git a/docs/_data/Help/Set-OBSRoundedRect2Shader.json b/docs/_data/Help/Set-OBSRoundedRect2Shader.json new file mode 100644 index 000000000..c73261647 --- /dev/null +++ b/docs/_data/Help/Set-OBSRoundedRect2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9d6f8eb0c576eab970074fcfe014ac06260ebb63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3662/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSRoundedRectPerCornerShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json diff --git a/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json b/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json new file mode 100644 index 000000000..8a6fda223 --- /dev/null +++ b/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c1ad759c79f0a0633ded8064571b24e9be624fbb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3663/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSRoundedRectPerSideShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRoundedRectPerSideShader.json diff --git a/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json b/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json new file mode 100644 index 000000000..8def50b0d --- /dev/null +++ b/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a4be3232070279734897f1470902a7269637a48e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3664/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSRoundedRectShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRoundedRectShader.json diff --git a/docs/_data/Help/Set-OBSRoundedRectShader.json b/docs/_data/Help/Set-OBSRoundedRectShader.json new file mode 100644 index 000000000..b49e57e9f --- /dev/null +++ b/docs/_data/Help/Set-OBSRoundedRectShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 03a62c81a3e3ca4ebd03268ee097c989971573a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3665/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Set-OBSRoundedStrokeGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json diff --git a/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json b/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json new file mode 100644 index 000000000..a651afcef --- /dev/null +++ b/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 96ce0cecd331fd9291a75622db3569ff05c3e230 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3666/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSRoundedStrokeShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRoundedStrokeShader.json diff --git a/docs/_data/Help/Set-OBSRoundedStrokeShader.json b/docs/_data/Help/Set-OBSRoundedStrokeShader.json new file mode 100644 index 000000000..4e3b0befb --- /dev/null +++ b/docs/_data/Help/Set-OBSRoundedStrokeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ab3d69125afbd9c284a143db8f89d710f39366d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3667/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSScanLineShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSScanLineShader.json diff --git a/docs/_data/Help/Set-OBSScanLineShader.json b/docs/_data/Help/Set-OBSScanLineShader.json new file mode 100644 index 000000000..0ada8f69a --- /dev/null +++ b/docs/_data/Help/Set-OBSScanLineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 72f89ae3618ee89f4a74d163959197e5852b8740 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:26 +0000 Subject: [PATCH 3668/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSeascapeShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSeascapeShader.json diff --git a/docs/_data/Help/Set-OBSSeascapeShader.json b/docs/_data/Help/Set-OBSSeascapeShader.json new file mode 100644 index 000000000..854433ab4 --- /dev/null +++ b/docs/_data/Help/Set-OBSSeascapeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f320bf5d40af54c52e2f84edb68a7aa2bb233ed8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3669/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSeasickShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSeasickShader.json diff --git a/docs/_data/Help/Set-OBSSeasickShader.json b/docs/_data/Help/Set-OBSSeasickShader.json new file mode 100644 index 000000000..74ab7991f --- /dev/null +++ b/docs/_data/Help/Set-OBSSeasickShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 843168e83c5bf6a963ee9abf272e034b6cbd090d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3670/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSSelectiveColorShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSelectiveColorShader.json diff --git a/docs/_data/Help/Set-OBSSelectiveColorShader.json b/docs/_data/Help/Set-OBSSelectiveColorShader.json new file mode 100644 index 000000000..167a52600 --- /dev/null +++ b/docs/_data/Help/Set-OBSSelectiveColorShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b76742b7bba046437fb8709a0f5380f82cd10b5c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3671/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSShakeShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSShakeShader.json diff --git a/docs/_data/Help/Set-OBSShakeShader.json b/docs/_data/Help/Set-OBSShakeShader.json new file mode 100644 index 000000000..83de5fbb8 --- /dev/null +++ b/docs/_data/Help/Set-OBSShakeShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a73a9ea9b76ee10e74dfb7e21665bbf86a66aa6b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3672/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSShineShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSShineShader.json diff --git a/docs/_data/Help/Set-OBSShineShader.json b/docs/_data/Help/Set-OBSShineShader.json new file mode 100644 index 000000000..fd49a93f1 --- /dev/null +++ b/docs/_data/Help/Set-OBSShineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e5c30ed42fc28f98d6c3f1b02a7fae1f4cdc67d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3673/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSSimpleGradientShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSimpleGradientShader.json diff --git a/docs/_data/Help/Set-OBSSimpleGradientShader.json b/docs/_data/Help/Set-OBSSimpleGradientShader.json new file mode 100644 index 000000000..7f86021bb --- /dev/null +++ b/docs/_data/Help/Set-OBSSimpleGradientShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From eca0041f22bf24d78e00082cc74ffec0f797afe1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3674/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../_data/Help/Set-OBSSimplexNoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSimplexNoiseShader.json diff --git a/docs/_data/Help/Set-OBSSimplexNoiseShader.json b/docs/_data/Help/Set-OBSSimplexNoiseShader.json new file mode 100644 index 000000000..d3aaa0216 --- /dev/null +++ b/docs/_data/Help/Set-OBSSimplexNoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9742decaca7f9c0b9c8b20f84a3f46312a1e659b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3675/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSpotlightShader.json | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSpotlightShader.json diff --git a/docs/_data/Help/Set-OBSSpotlightShader.json b/docs/_data/Help/Set-OBSSpotlightShader.json new file mode 100644 index 000000000..854182a18 --- /dev/null +++ b/docs/_data/Help/Set-OBSSpotlightShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 05dec9bb3779dc1cdbfbcc167162a85e96778b0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:27 +0000 Subject: [PATCH 3676/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSSwirlShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSwirlShader.json diff --git a/docs/_data/Help/Set-OBSSwirlShader.json b/docs/_data/Help/Set-OBSSwirlShader.json new file mode 100644 index 000000000..2245a99c5 --- /dev/null +++ b/docs/_data/Help/Set-OBSSwirlShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ac015f9a9334875744d448a561ad4b17081bdcd5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3677/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSThermalShader.json | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSThermalShader.json diff --git a/docs/_data/Help/Set-OBSThermalShader.json b/docs/_data/Help/Set-OBSThermalShader.json new file mode 100644 index 000000000..cb5416546 --- /dev/null +++ b/docs/_data/Help/Set-OBSThermalShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f7f3135b7fb487db31c6e4cf9653126baf1a1a94 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3678/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSTvCrtSubpixelShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSTvCrtSubpixelShader.json diff --git a/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json b/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json new file mode 100644 index 000000000..0de0bf554 --- /dev/null +++ b/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5565c5b9296db71861874f07ab72fbaebc3653a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3679/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSTwistShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSTwistShader.json diff --git a/docs/_data/Help/Set-OBSTwistShader.json b/docs/_data/Help/Set-OBSTwistShader.json new file mode 100644 index 000000000..a8d7fc1b4 --- /dev/null +++ b/docs/_data/Help/Set-OBSTwistShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3767a0bd4e5f3ba453f6e51d562d0dc14cbbee20 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3680/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSTwoPassDropShadowShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSTwoPassDropShadowShader.json diff --git a/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json b/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json new file mode 100644 index 000000000..2461bde27 --- /dev/null +++ b/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 12675096201de8f5ed9d187c6589c67df170c86e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3681/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSVCRShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSVCRShader.json diff --git a/docs/_data/Help/Set-OBSVCRShader.json b/docs/_data/Help/Set-OBSVCRShader.json new file mode 100644 index 000000000..8d5c91699 --- /dev/null +++ b/docs/_data/Help/Set-OBSVCRShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 781e2f8558fcf2e2c9a57534b3c1d9a8d024a118 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3682/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSVHSShader.json | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSVHSShader.json diff --git a/docs/_data/Help/Set-OBSVHSShader.json b/docs/_data/Help/Set-OBSVHSShader.json new file mode 100644 index 000000000..743cd0edc --- /dev/null +++ b/docs/_data/Help/Set-OBSVHSShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From b28c62f9a5e59307445ba631c75af6c670628eca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3683/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSVignettingShader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSVignettingShader.json diff --git a/docs/_data/Help/Set-OBSVignettingShader.json b/docs/_data/Help/Set-OBSVignettingShader.json new file mode 100644 index 000000000..61647c987 --- /dev/null +++ b/docs/_data/Help/Set-OBSVignettingShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8b186666236227f26d61aa95ad2bf964f563915a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3684/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSVoronoiPixelationShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSVoronoiPixelationShader.json diff --git a/docs/_data/Help/Set-OBSVoronoiPixelationShader.json b/docs/_data/Help/Set-OBSVoronoiPixelationShader.json new file mode 100644 index 000000000..27678a463 --- /dev/null +++ b/docs/_data/Help/Set-OBSVoronoiPixelationShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f660addc7aded956efde30eb4c71e676997b7291 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:28 +0000 Subject: [PATCH 3685/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- .../Help/Set-OBSWindowCaptureSource.json | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/_data/Help/Set-OBSWindowCaptureSource.json diff --git a/docs/_data/Help/Set-OBSWindowCaptureSource.json b/docs/_data/Help/Set-OBSWindowCaptureSource.json new file mode 100644 index 000000000..eff834087 --- /dev/null +++ b/docs/_data/Help/Set-OBSWindowCaptureSource.json @@ -0,0 +1,39 @@ +{ + "Synopsis": "Adds or sets a window capture source", + "Description": "Adds or sets a windows capture source in OBS. This captures the contents of a window.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow" + } + ] +} \ No newline at end of file From 8fb44fb40acaef205ed938961995b24da10fb1d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3686/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSZigZagShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSZigZagShader.json diff --git a/docs/_data/Help/Set-OBSZigZagShader.json b/docs/_data/Help/Set-OBSZigZagShader.json new file mode 100644 index 000000000..3d2b657a9 --- /dev/null +++ b/docs/_data/Help/Set-OBSZigZagShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 93163a14ee99452f66ffbcc78f3160dd5d3058e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3687/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSZoomBlurShader.json | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSZoomBlurShader.json diff --git a/docs/_data/Help/Set-OBSZoomBlurShader.json b/docs/_data/Help/Set-OBSZoomBlurShader.json new file mode 100644 index 000000000..aee04c70d --- /dev/null +++ b/docs/_data/Help/Set-OBSZoomBlurShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c79728d66e40d3defaf82d7dbf3d8b90daa9f1b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3688/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSZoomShader.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSZoomShader.json diff --git a/docs/_data/Help/Set-OBSZoomShader.json b/docs/_data/Help/Set-OBSZoomShader.json new file mode 100644 index 000000000..8cf5230c1 --- /dev/null +++ b/docs/_data/Help/Set-OBSZoomShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f2c0379fb3e492a70ab68d35ec7dab40587fcf70 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3689/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Set-OBSZoomXYShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSZoomXYShader.json diff --git a/docs/_data/Help/Set-OBSZoomXYShader.json b/docs/_data/Help/Set-OBSZoomXYShader.json new file mode 100644 index 000000000..cde841cc0 --- /dev/null +++ b/docs/_data/Help/Set-OBSZoomXYShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bf59e3ab09d1d6588c9cafb700cbc3ebd6363ca1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3690/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-Recording.json | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Start-Recording.json diff --git a/docs/_data/Help/Start-Recording.json b/docs/_data/Help/Start-Recording.json new file mode 100644 index 000000000..9ca1bfe4d --- /dev/null +++ b/docs/_data/Help/Start-Recording.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSRecord : StartRecord", + "Description": "Starts the record output.\n\n\nStart-OBSRecord calls the OBS WebSocket with a request of type StartRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startrecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSRecord" + } + ] +} \ No newline at end of file From f1a67bce74f5178cd8d20447eb508e3925cf3cef Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3691/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Start-Streaming.json | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Start-Streaming.json diff --git a/docs/_data/Help/Start-Streaming.json b/docs/_data/Help/Start-Streaming.json new file mode 100644 index 000000000..d03070ec3 --- /dev/null +++ b/docs/_data/Help/Start-Streaming.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Start-OBSStream : StartStream", + "Description": "Starts the stream output.\n\n\nStart-OBSStream calls the OBS WebSocket with a request of type StartStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startstream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Start-OBSStream" + } + ] +} \ No newline at end of file From cfb5924d3a23196da03ca053865375baf8e76ca3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3692/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-Recording.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Stop-Recording.json diff --git a/docs/_data/Help/Stop-Recording.json b/docs/_data/Help/Stop-Recording.json new file mode 100644 index 000000000..b6b49dcdb --- /dev/null +++ b/docs/_data/Help/Stop-Recording.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSRecord : StopRecord", + "Description": "Stops the record output.\n\n\nStop-OBSRecord calls the OBS WebSocket with a request of type StopRecord.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stoprecord" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSRecord" + } + ] +} \ No newline at end of file From cd08f9150a0bddfffc61b5db78a5643e9bd78d4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:29 +0000 Subject: [PATCH 3693/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/_data/Help/Stop-Streaming.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/_data/Help/Stop-Streaming.json diff --git a/docs/_data/Help/Stop-Streaming.json b/docs/_data/Help/Stop-Streaming.json new file mode 100644 index 000000000..509847921 --- /dev/null +++ b/docs/_data/Help/Stop-Streaming.json @@ -0,0 +1,41 @@ +{ + "Synopsis": "Stop-OBSStream : StopStream", + "Description": "Stops the stream output.\n\n\nStop-OBSStream calls the OBS WebSocket with a request of type StopStream.", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + null + ], + "Outputs": [ + null + ], + "Links": [ + "https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopstream" + ], + "Examples": [ + { + "Title": "EXAMPLE 1", + "Markdown": "", + "Code": "Stop-OBSStream" + } + ] +} \ No newline at end of file From a37075aabbbdfb5ede9fd726a71a1debbe52ffcd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3694/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/obs-powershell-commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 06ac471f0..fbdddd25a 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 742 commands -(301 functions and 441 aliases) +obs-powershell exports 745 commands +(302 functions and 443 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -80,6 +80,7 @@ Functions |[Get-OBSFireworksShader](Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](Get-OBSFisheyeXyShader.md) | +|[Get-OBSFlipShader](Get-OBSFlipShader.md) | |[Get-OBSFrostedGlassShader](Get-OBSFrostedGlassShader.md) | |[Get-OBSGammaCorrectionShader](Get-OBSGammaCorrectionShader.md) | |[Get-OBSGaussianBlurAdvancedShader](Get-OBSGaussianBlurAdvancedShader.md) | @@ -390,6 +391,7 @@ Aliases |[Get-OBSFireworksShader](Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](Get-OBSFisheyeXyShader.md) | +|[Get-OBSFlipShader](Get-OBSFlipShader.md) | |[Get-OBSFrostedGlassShader](Get-OBSFrostedGlassShader.md) | |[Get-OBSGammaCorrectionShader](Get-OBSGammaCorrectionShader.md) | |[Get-OBSGaussianBlurAdvancedShader](Get-OBSGaussianBlurAdvancedShader.md) | From 8602234e4b562d571357392c84bacf885d25ae44 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3695/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/README.md b/docs/OBS/Beat/README.md index 355137de1..1980c6dcc 100644 --- a/docs/OBS/Beat/README.md +++ b/docs/OBS/Beat/README.md @@ -1,10 +1,9 @@ ## OBS.Beat -### Script Methods +### Script Properties -* [TapBPM](TapBPM.md) * [get_Angle](get_Angle.md) * [get_BeatCount](get_BeatCount.md) * [get_BeatStart](get_BeatStart.md) @@ -17,3 +16,9 @@ * [get_Sine](get_Sine.md) * [get_Timer](get_Timer.md) * [set_Timer](set_Timer.md) + + +### Script Methods + + +* [TapBPM()](TapBPM.md) From ca773b8872cd65ceae43a0572babfac9d5b96485 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3696/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_Angle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_Angle.md b/docs/OBS/Beat/get_Angle.md index 4f22e89ea..29b93d9e1 100644 --- a/docs/OBS/Beat/get_Angle.md +++ b/docs/OBS/Beat/get_Angle.md @@ -1,5 +1,5 @@ -OBS.Beat.get_Angle() --------------------- +get_Angle +--------- ### Synopsis Gets the Beat Angle From 67259ba2722e23f5d1a25a21592a000193178466 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3697/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_BeatCount.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_BeatCount.md b/docs/OBS/Beat/get_BeatCount.md index 074580f38..e950a85e3 100644 --- a/docs/OBS/Beat/get_BeatCount.md +++ b/docs/OBS/Beat/get_BeatCount.md @@ -1,5 +1,5 @@ -OBS.Beat.get_BeatCount() ------------------------- +get_BeatCount +------------- ### Synopsis Gets the Beat Count From 71575e5e232b97c0ff79d01713981926864c4134 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3698/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_BeatStart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_BeatStart.md b/docs/OBS/Beat/get_BeatStart.md index 1edf77449..51f793ed4 100644 --- a/docs/OBS/Beat/get_BeatStart.md +++ b/docs/OBS/Beat/get_BeatStart.md @@ -1,5 +1,5 @@ -OBS.Beat.get_BeatStart() ------------------------- +get_BeatStart +------------- ### Synopsis Gets the Beat Start Time From bf2aa44063ee4b354106f222521c5e5aa5dda5d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3699/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/set_BeatStart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/set_BeatStart.md b/docs/OBS/Beat/set_BeatStart.md index 9f3a1a095..fd76055e3 100644 --- a/docs/OBS/Beat/set_BeatStart.md +++ b/docs/OBS/Beat/set_BeatStart.md @@ -1,5 +1,5 @@ -OBS.Beat.set_BeatStart() ------------------------- +set_BeatStart +------------- ### Synopsis Sets the Beat Start Time From 1a8b14ed86a7bcae3e661788036a921c7dd81c22 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3700/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_BPM.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_BPM.md b/docs/OBS/Beat/get_BPM.md index 81c67997c..4d4a38bd1 100644 --- a/docs/OBS/Beat/get_BPM.md +++ b/docs/OBS/Beat/get_BPM.md @@ -1,5 +1,5 @@ -OBS.Beat.get_BPM() ------------------- +get_BPM +------- ### Synopsis Gets the BPM From 0e818266b5a14032b776f715d1ad445a6b8c7fe5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3701/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/set_BPM.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/set_BPM.md b/docs/OBS/Beat/set_BPM.md index b611c3690..196b20787 100644 --- a/docs/OBS/Beat/set_BPM.md +++ b/docs/OBS/Beat/set_BPM.md @@ -1,5 +1,5 @@ -OBS.Beat.set_BPM() ------------------- +set_BPM +------- ### Synopsis Sets the BPM From 616719fa74d3b54b2d5a9e98a177bb3ece3afc21 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:57 +0000 Subject: [PATCH 3702/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_Cosine.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_Cosine.md b/docs/OBS/Beat/get_Cosine.md index e9174dc33..c9253e74f 100644 --- a/docs/OBS/Beat/get_Cosine.md +++ b/docs/OBS/Beat/get_Cosine.md @@ -1,5 +1,5 @@ -OBS.Beat.get_Cosine() ---------------------- +get_Cosine +---------- ### Synopsis Gets the Beat Cosine From ffda869c6fd604c8ea76622c8ab6f20a696ad043 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3703/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_Duration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_Duration.md b/docs/OBS/Beat/get_Duration.md index 8d2ab9b1e..c7282e209 100644 --- a/docs/OBS/Beat/get_Duration.md +++ b/docs/OBS/Beat/get_Duration.md @@ -1,5 +1,5 @@ -OBS.Beat.get_Duration() ------------------------ +get_Duration +------------ ### Synopsis Gets the Duration From b2d8345b6facb7cff5ad15bcc72e8d3c83a68647 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3704/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/set_Duration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/set_Duration.md b/docs/OBS/Beat/set_Duration.md index fe87bd830..e6d1664b2 100644 --- a/docs/OBS/Beat/set_Duration.md +++ b/docs/OBS/Beat/set_Duration.md @@ -1,5 +1,5 @@ -OBS.Beat.set_Duration() ------------------------ +set_Duration +------------ ### Synopsis Gets the Duration From 705df9a90e21181704d8c6668f6541540766b31b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3705/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_Sine.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_Sine.md b/docs/OBS/Beat/get_Sine.md index aba4c876a..30978ce56 100644 --- a/docs/OBS/Beat/get_Sine.md +++ b/docs/OBS/Beat/get_Sine.md @@ -1,5 +1,5 @@ -OBS.Beat.get_Sine() -------------------- +get_Sine +-------- ### Synopsis Gets the Beat Sine From 3ff8f50b2a4247644cc2eec959e4ebe0f309fcbc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3706/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/get_Timer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/get_Timer.md b/docs/OBS/Beat/get_Timer.md index 590c78a18..f1fe91858 100644 --- a/docs/OBS/Beat/get_Timer.md +++ b/docs/OBS/Beat/get_Timer.md @@ -1,5 +1,5 @@ -OBS.Beat.get_Timer() --------------------- +get_Timer +--------- ### Synopsis Gets the Beat Timer From 378579781fe642df490ce129dcabb1f1ba27fb92 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3707/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Beat/set_Timer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Beat/set_Timer.md b/docs/OBS/Beat/set_Timer.md index 82f21e657..6a482ff0b 100644 --- a/docs/OBS/Beat/set_Timer.md +++ b/docs/OBS/Beat/set_Timer.md @@ -1,5 +1,5 @@ -OBS.Beat.set_Timer() --------------------- +set_Timer +--------- ### Synopsis Sets the Beat Timer From 850172ccd3ed43332e399885ec8565032a4903e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3708/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSourceFilterList/Response/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/OBS/GetSourceFilterList/Response/README.md b/docs/OBS/GetSourceFilterList/Response/README.md index 0ef92611a..7127af596 100644 --- a/docs/OBS/GetSourceFilterList/Response/README.md +++ b/docs/OBS/GetSourceFilterList/Response/README.md @@ -4,7 +4,7 @@ ### Script Methods -* [Disable](Disable.md) -* [Enable](Enable.md) -* [Remove](Remove.md) -* [Set](Set.md) +* [Disable()](Disable.md) +* [Enable()](Enable.md) +* [Remove()](Remove.md) +* [Set()](Set.md) From 091781ddbf77c59208993eb6bd1221fe5d05d364 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3709/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSourceFilter/Response/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/OBS/GetSourceFilter/Response/README.md b/docs/OBS/GetSourceFilter/Response/README.md index 448d0f422..ae568d7fb 100644 --- a/docs/OBS/GetSourceFilter/Response/README.md +++ b/docs/OBS/GetSourceFilter/Response/README.md @@ -4,7 +4,7 @@ ### Script Methods -* [Disable](Disable.md) -* [Enable](Enable.md) -* [Remove](Remove.md) -* [Set](Set.md) +* [Disable()](Disable.md) +* [Enable()](Enable.md) +* [Remove()](Remove.md) +* [Set()](Set.md) From 958d8510886a76bf0b7bef17da5e9fff2f588672 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3710/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Filter/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/OBS/Filter/README.md b/docs/OBS/Filter/README.md index 1e87383dd..a671b528d 100644 --- a/docs/OBS/Filter/README.md +++ b/docs/OBS/Filter/README.md @@ -4,7 +4,7 @@ ### Script Methods -* [Disable](Disable.md) -* [Enable](Enable.md) -* [Remove](Remove.md) -* [Set](Set.md) +* [Disable()](Disable.md) +* [Enable()](Enable.md) +* [Remove()](Remove.md) +* [Set()](Set.md) From c39921e0efedd6b765259a5982858b578e602cd2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3711/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/README.md | 29 ++++++++++++++---------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/docs/OBS/GetInputList/Response/README.md b/docs/OBS/GetInputList/Response/README.md index 2e84d4fca..aeff5005f 100644 --- a/docs/OBS/GetInputList/Response/README.md +++ b/docs/OBS/GetInputList/Response/README.md @@ -1,20 +1,9 @@ ## OBS.GetInputList.Response -### Script Methods +### Script Properties -* [DisableAllFilter](DisableAllFilter.md) -* [EnableAllFilter](EnableAllFilter.md) -* [Mute](Mute.md) -* [Next](Next.md) -* [Pause](Pause.md) -* [Play](Play.md) -* [Previous](Previous.md) -* [Remove](Remove.md) -* [Restart](Restart.md) -* [Stop](Stop.md) -* [Unmute](Unmute.md) * [get_CurrentTime](get_CurrentTime.md) * [set_CurrentTime](set_CurrentTime.md) * [get_Filters](get_Filters.md) @@ -24,3 +13,19 @@ * [get_Status](get_Status.md) * [get_Volume](get_Volume.md) * [set_Volume](set_Volume.md) + + +### Script Methods + + +* [DisableAllFilter()](DisableAllFilter.md) +* [EnableAllFilter()](EnableAllFilter.md) +* [Mute()](Mute.md) +* [Next()](Next.md) +* [Pause()](Pause.md) +* [Play()](Play.md) +* [Previous()](Previous.md) +* [Remove()](Remove.md) +* [Restart()](Restart.md) +* [Stop()](Stop.md) +* [Unmute()](Unmute.md) From b6b3e05932136ecbdc3d7b51621ffee6f2f4d2ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3712/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/get_CurrentTime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/get_CurrentTime.md b/docs/OBS/GetInputList/Response/get_CurrentTime.md index 4082d5699..88f5f8df1 100644 --- a/docs/OBS/GetInputList/Response/get_CurrentTime.md +++ b/docs/OBS/GetInputList/Response/get_CurrentTime.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.get_CurrentTime() -------------------------------------------- +get_CurrentTime +--------------- ### Synopsis Gets an input's current time From 2f14f920624ca387a52c38df5b3fde5f6bb23df2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3713/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/set_CurrentTime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/set_CurrentTime.md b/docs/OBS/GetInputList/Response/set_CurrentTime.md index 023917e13..067d623a3 100644 --- a/docs/OBS/GetInputList/Response/set_CurrentTime.md +++ b/docs/OBS/GetInputList/Response/set_CurrentTime.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.set_CurrentTime() -------------------------------------------- +set_CurrentTime +--------------- ### Synopsis Sets an input's current time From 48c1a520b46472e0953ac030e82919a60002a395 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3714/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/get_Filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/get_Filters.md b/docs/OBS/GetInputList/Response/get_Filters.md index 43043df20..3ed2e0328 100644 --- a/docs/OBS/GetInputList/Response/get_Filters.md +++ b/docs/OBS/GetInputList/Response/get_Filters.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.get_Filters() ---------------------------------------- +get_Filters +----------- ### Synopsis Gets an input's filters From 395a4781b0a12af8d817841b8130077cee769bfb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:58 +0000 Subject: [PATCH 3715/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/get_SceneItem.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/get_SceneItem.md b/docs/OBS/GetInputList/Response/get_SceneItem.md index 187e37a5b..0e1270053 100644 --- a/docs/OBS/GetInputList/Response/get_SceneItem.md +++ b/docs/OBS/GetInputList/Response/get_SceneItem.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.get_SceneItem() ------------------------------------------ +get_SceneItem +------------- ### Synopsis Gets an input's scene items From 37d066ddde38ac8e658217621ff2fee5e91bbca6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3716/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/get_Settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/get_Settings.md b/docs/OBS/GetInputList/Response/get_Settings.md index ba39a3d26..fe7d97b15 100644 --- a/docs/OBS/GetInputList/Response/get_Settings.md +++ b/docs/OBS/GetInputList/Response/get_Settings.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.get_Settings() ----------------------------------------- +get_Settings +------------ ### Synopsis Gets an input's settings From d56706c68bc30b323c2da1264d72144eec4f6319 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3717/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/set_Settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/set_Settings.md b/docs/OBS/GetInputList/Response/set_Settings.md index bf9410b62..47b54ed62 100644 --- a/docs/OBS/GetInputList/Response/set_Settings.md +++ b/docs/OBS/GetInputList/Response/set_Settings.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.set_Settings() ----------------------------------------- +set_Settings +------------ ### Synopsis Sets an input's settings From 44baebe227a419d44b08f2e88142ff8a20cefe5f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3718/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/get_Status.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/get_Status.md b/docs/OBS/GetInputList/Response/get_Status.md index cfa4daabb..e0f428717 100644 --- a/docs/OBS/GetInputList/Response/get_Status.md +++ b/docs/OBS/GetInputList/Response/get_Status.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.get_Status() --------------------------------------- +get_Status +---------- ### Synopsis Gets an input's status From 47ebd66da1615a8435b932cea9eec075b3f54456 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3719/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/get_Volume.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/get_Volume.md b/docs/OBS/GetInputList/Response/get_Volume.md index acbdcca08..1e42fbf37 100644 --- a/docs/OBS/GetInputList/Response/get_Volume.md +++ b/docs/OBS/GetInputList/Response/get_Volume.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.get_Volume() --------------------------------------- +get_Volume +---------- ### Synopsis Gets an input's volume From 5c1e5e781734743d87de5621d2f63c77888b8377 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3720/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetInputList/Response/set_Volume.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetInputList/Response/set_Volume.md b/docs/OBS/GetInputList/Response/set_Volume.md index 2c5286f9d..c2027d683 100644 --- a/docs/OBS/GetInputList/Response/set_Volume.md +++ b/docs/OBS/GetInputList/Response/set_Volume.md @@ -1,5 +1,5 @@ -OBS.GetInputList.Response.set_Volume() --------------------------------------- +set_Volume +---------- ### Synopsis Sets an input's volume From 4372af9ea18f26a575b7d4504522cba3fb456b49 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3721/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/README.md | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/docs/OBS/Input/README.md b/docs/OBS/Input/README.md index f4f699cd0..b4d2550b3 100644 --- a/docs/OBS/Input/README.md +++ b/docs/OBS/Input/README.md @@ -1,20 +1,9 @@ ## OBS.Input -### Script Methods +### Script Properties -* [DisableAllFilter](DisableAllFilter.md) -* [EnableAllFilter](EnableAllFilter.md) -* [Mute](Mute.md) -* [Next](Next.md) -* [Pause](Pause.md) -* [Play](Play.md) -* [Previous](Previous.md) -* [Remove](Remove.md) -* [Restart](Restart.md) -* [Stop](Stop.md) -* [Unmute](Unmute.md) * [get_CurrentTime](get_CurrentTime.md) * [set_CurrentTime](set_CurrentTime.md) * [get_Filters](get_Filters.md) @@ -24,3 +13,19 @@ * [get_Status](get_Status.md) * [get_Volume](get_Volume.md) * [set_Volume](set_Volume.md) + + +### Script Methods + + +* [DisableAllFilter()](DisableAllFilter.md) +* [EnableAllFilter()](EnableAllFilter.md) +* [Mute()](Mute.md) +* [Next()](Next.md) +* [Pause()](Pause.md) +* [Play()](Play.md) +* [Previous()](Previous.md) +* [Remove()](Remove.md) +* [Restart()](Restart.md) +* [Stop()](Stop.md) +* [Unmute()](Unmute.md) From ec39f3893ee7dfd118fdcd14326b500b68fc0a7d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3722/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/get_CurrentTime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/get_CurrentTime.md b/docs/OBS/Input/get_CurrentTime.md index 6ba463bf0..88f5f8df1 100644 --- a/docs/OBS/Input/get_CurrentTime.md +++ b/docs/OBS/Input/get_CurrentTime.md @@ -1,5 +1,5 @@ -OBS.Input.get_CurrentTime() ---------------------------- +get_CurrentTime +--------------- ### Synopsis Gets an input's current time From 3c7e96553f8abdb44b49d00da465f02af28be861 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3723/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/set_CurrentTime.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/set_CurrentTime.md b/docs/OBS/Input/set_CurrentTime.md index 70cca6c2f..067d623a3 100644 --- a/docs/OBS/Input/set_CurrentTime.md +++ b/docs/OBS/Input/set_CurrentTime.md @@ -1,5 +1,5 @@ -OBS.Input.set_CurrentTime() ---------------------------- +set_CurrentTime +--------------- ### Synopsis Sets an input's current time From c0973ccfedf0cbb7da0e30c90bd674a298011557 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3724/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/get_Filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/get_Filters.md b/docs/OBS/Input/get_Filters.md index 8e51dd31a..3ed2e0328 100644 --- a/docs/OBS/Input/get_Filters.md +++ b/docs/OBS/Input/get_Filters.md @@ -1,5 +1,5 @@ -OBS.Input.get_Filters() ------------------------ +get_Filters +----------- ### Synopsis Gets an input's filters From 451b0abf93e0b8df3a9309fc0194a6c39c593515 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3725/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/get_SceneItem.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/get_SceneItem.md b/docs/OBS/Input/get_SceneItem.md index b96eea832..0e1270053 100644 --- a/docs/OBS/Input/get_SceneItem.md +++ b/docs/OBS/Input/get_SceneItem.md @@ -1,5 +1,5 @@ -OBS.Input.get_SceneItem() -------------------------- +get_SceneItem +------------- ### Synopsis Gets an input's scene items From ec90f75bd72cf81dd2aeee5eb7e6562541047aa1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3726/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/get_Settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/get_Settings.md b/docs/OBS/Input/get_Settings.md index 1447ace4d..fe7d97b15 100644 --- a/docs/OBS/Input/get_Settings.md +++ b/docs/OBS/Input/get_Settings.md @@ -1,5 +1,5 @@ -OBS.Input.get_Settings() ------------------------- +get_Settings +------------ ### Synopsis Gets an input's settings From 0e722eec3354f5b4329c9d75181da832a19cb3f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3727/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/set_Settings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/set_Settings.md b/docs/OBS/Input/set_Settings.md index f581add74..47b54ed62 100644 --- a/docs/OBS/Input/set_Settings.md +++ b/docs/OBS/Input/set_Settings.md @@ -1,5 +1,5 @@ -OBS.Input.set_Settings() ------------------------- +set_Settings +------------ ### Synopsis Sets an input's settings From a81cea2d37a0894e026b19b8c489890de552d1a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3728/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/get_Status.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/get_Status.md b/docs/OBS/Input/get_Status.md index 9fc8474cb..e0f428717 100644 --- a/docs/OBS/Input/get_Status.md +++ b/docs/OBS/Input/get_Status.md @@ -1,5 +1,5 @@ -OBS.Input.get_Status() ----------------------- +get_Status +---------- ### Synopsis Gets an input's status From ccf62319758c5c2ff11961d19efbaa81062894af Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3729/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/get_Volume.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/get_Volume.md b/docs/OBS/Input/get_Volume.md index 403adc070..1e42fbf37 100644 --- a/docs/OBS/Input/get_Volume.md +++ b/docs/OBS/Input/get_Volume.md @@ -1,5 +1,5 @@ -OBS.Input.get_Volume() ----------------------- +get_Volume +---------- ### Synopsis Gets an input's volume From 795667e7ceb844b90cd345f5d0906fe39b90b581 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3730/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/set_Volume.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Input/set_Volume.md b/docs/OBS/Input/set_Volume.md index 2d1e35927..c2027d683 100644 --- a/docs/OBS/Input/set_Volume.md +++ b/docs/OBS/Input/set_Volume.md @@ -1,5 +1,5 @@ -OBS.Input.set_Volume() ----------------------- +set_Volume +---------- ### Synopsis Sets an input's volume From e89d097b87118d4d66b2ee6e01b9f3da118151e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:39:59 +0000 Subject: [PATCH 3731/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Input/Color/Source/V3/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OBS/Input/Color/Source/V3/README.md b/docs/OBS/Input/Color/Source/V3/README.md index 702f4108e..79e07d3f4 100644 --- a/docs/OBS/Input/Color/Source/V3/README.md +++ b/docs/OBS/Input/Color/Source/V3/README.md @@ -4,4 +4,4 @@ ### Script Methods -* [SetColor](SetColor.md) +* [SetColor()](SetColor.md) From 886c78cbb99132b59d05940ed68dbefccc47bc60 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3732/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OBS/PowerShell/README.md b/docs/OBS/PowerShell/README.md index c06be0388..5646615e7 100644 --- a/docs/OBS/PowerShell/README.md +++ b/docs/OBS/PowerShell/README.md @@ -1,7 +1,7 @@ ## OBS.PowerShell -### Script Methods +### Script Properties * [get_Beat](get_Beat.md) From f3a8bd78699babc9315112c7ffd251b6a5524a7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3733/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_Beat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_Beat.md b/docs/OBS/PowerShell/get_Beat.md index b901de09a..0eb6eb3d2 100644 --- a/docs/OBS/PowerShell/get_Beat.md +++ b/docs/OBS/PowerShell/get_Beat.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_Beat() -------------------------- +get_Beat +-------- ### Synopsis Gets the Beat From d8f8a68be232547e8c64dc66be8f1c4b58a93350 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3734/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_Commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_Commands.md b/docs/OBS/PowerShell/get_Commands.md index 155486b7b..22747c7d2 100644 --- a/docs/OBS/PowerShell/get_Commands.md +++ b/docs/OBS/PowerShell/get_Commands.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_Commands() ------------------------------ +get_Commands +------------ ### Synopsis Gets obs-powershell commands From f5e33676a8b0de7cf02d6e0016883d53c5fc56d0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3735/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_CurrentScene.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_CurrentScene.md b/docs/OBS/PowerShell/get_CurrentScene.md index 8588bfac7..c4f79fec9 100644 --- a/docs/OBS/PowerShell/get_CurrentScene.md +++ b/docs/OBS/PowerShell/get_CurrentScene.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_CurrentScene() ---------------------------------- +get_CurrentScene +---------------- ### Synopsis Gets the current scene From 0071d3718c47499188f5529e3dffbc26761a7b80 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3736/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_Inputs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_Inputs.md b/docs/OBS/PowerShell/get_Inputs.md index 475310f80..24a4257fd 100644 --- a/docs/OBS/PowerShell/get_Inputs.md +++ b/docs/OBS/PowerShell/get_Inputs.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_Inputs() ---------------------------- +get_Inputs +---------- ### Synopsis Gets the loaded OBS inputs. From 1488560c3840b1517018ed0f08b63c1cae16acdd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3737/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_OBSPowerShellVersion.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_OBSPowerShellVersion.md b/docs/OBS/PowerShell/get_OBSPowerShellVersion.md index 32d4db9b8..21ae8588d 100644 --- a/docs/OBS/PowerShell/get_OBSPowerShellVersion.md +++ b/docs/OBS/PowerShell/get_OBSPowerShellVersion.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_OBSPowerShellVersion() ------------------------------------------ +get_OBSPowerShellVersion +------------------------ ### Synopsis Gets the obs-powershell version. From 9a1b0d91cfa02fab52dbaecf57796d5736306053 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3738/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_OBSVersion.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_OBSVersion.md b/docs/OBS/PowerShell/get_OBSVersion.md index 10023642c..55fa59403 100644 --- a/docs/OBS/PowerShell/get_OBSVersion.md +++ b/docs/OBS/PowerShell/get_OBSVersion.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_OBSVersion() -------------------------------- +get_OBSVersion +-------------- ### Synopsis Gets the obs version. From f78724ac7b8c5c555df919345b3ec70e95063c91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3739/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_OBSWebSocketVersion.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_OBSWebSocketVersion.md b/docs/OBS/PowerShell/get_OBSWebSocketVersion.md index 47fa47481..9f8bfb753 100644 --- a/docs/OBS/PowerShell/get_OBSWebSocketVersion.md +++ b/docs/OBS/PowerShell/get_OBSWebSocketVersion.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_OBSWebSocketVersion() ----------------------------------------- +get_OBSWebSocketVersion +----------------------- ### Synopsis Gets the obs version. From 53dd3591b17b145484e2c7ff5a58bd3679cd9d5f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3740/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_Outputs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_Outputs.md b/docs/OBS/PowerShell/get_Outputs.md index 06b6315d3..549c53cbe 100644 --- a/docs/OBS/PowerShell/get_Outputs.md +++ b/docs/OBS/PowerShell/get_Outputs.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_Outputs() ----------------------------- +get_Outputs +----------- ### Synopsis Gets the loaded OBS outputs. From 8a408f94e150fde754629aa4b74164ae7cbb8626 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3741/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_RandomExample.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_RandomExample.md b/docs/OBS/PowerShell/get_RandomExample.md index 10a529a20..53bc183d2 100644 --- a/docs/OBS/PowerShell/get_RandomExample.md +++ b/docs/OBS/PowerShell/get_RandomExample.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_RandomExample() ----------------------------------- +get_RandomExample +----------------- ### Synopsis From ded13a8e789b79f21da230aac509d012e3330a05 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3742/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_RecordStatus.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_RecordStatus.md b/docs/OBS/PowerShell/get_RecordStatus.md index 44b02bc96..e4297f6fb 100644 --- a/docs/OBS/PowerShell/get_RecordStatus.md +++ b/docs/OBS/PowerShell/get_RecordStatus.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_RecordStatus() ---------------------------------- +get_RecordStatus +---------------- ### Synopsis Gets OBS record status. From 02919199dd9137e41689c364b093be97683e60dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3743/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_SceneItems.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_SceneItems.md b/docs/OBS/PowerShell/get_SceneItems.md index c290a66d3..20e656672 100644 --- a/docs/OBS/PowerShell/get_SceneItems.md +++ b/docs/OBS/PowerShell/get_SceneItems.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_SceneItems() -------------------------------- +get_SceneItems +-------------- ### Synopsis Gets all obs scene items. From bee0aca69396d37a2f26e377f850635d432b39e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3744/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_Scenes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_Scenes.md b/docs/OBS/PowerShell/get_Scenes.md index ad754d7bc..0a8e13134 100644 --- a/docs/OBS/PowerShell/get_Scenes.md +++ b/docs/OBS/PowerShell/get_Scenes.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_Scenes() ---------------------------- +get_Scenes +---------- ### Synopsis Gets the loaded OBS scenes. From c6627b47063b9a56186851b812033f1f77ff43e1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3745/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_Statistics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_Statistics.md b/docs/OBS/PowerShell/get_Statistics.md index a59387abb..4007daafa 100644 --- a/docs/OBS/PowerShell/get_Statistics.md +++ b/docs/OBS/PowerShell/get_Statistics.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_Statistics() -------------------------------- +get_Statistics +-------------- ### Synopsis Gets OBS stats. From 4f4ea4632e869d40d2527b0a86a02acb5ac6af4b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3746/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/get_StreamStatus.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/get_StreamStatus.md b/docs/OBS/PowerShell/get_StreamStatus.md index 5aa19a6f4..b1c571d30 100644 --- a/docs/OBS/PowerShell/get_StreamStatus.md +++ b/docs/OBS/PowerShell/get_StreamStatus.md @@ -1,5 +1,5 @@ -OBS.PowerShell.get_StreamStatus() ---------------------------------- +get_StreamStatus +---------------- ### Synopsis Gets OBS stream status. From 187994712c3d2f83ef639213dec266a2f1198116 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3747/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/README.md b/docs/OBS/PowerShell/Effect/README.md index f5acf5685..458846a69 100644 --- a/docs/OBS/PowerShell/Effect/README.md +++ b/docs/OBS/PowerShell/Effect/README.md @@ -1,13 +1,9 @@ ## OBS.PowerShell.Effect -### Script Methods +### Script Properties -* [Reverse](Reverse.md) -* [Start](Start.md) -* [Step](Step.md) -* [Stop](Stop.md) * [get_Changes](get_Changes.md) * [get_Duration](get_Duration.md) * [get_EffectType](get_EffectType.md) @@ -15,3 +11,12 @@ * [set_Index](set_Index.md) * [get_Reversed](get_Reversed.md) * [set_Reversed](set_Reversed.md) + + +### Script Methods + + +* [Reverse()](Reverse.md) +* [Start()](Start.md) +* [Step()](Step.md) +* [Stop()](Stop.md) From 334038e49c7f97c5aa7968af0f028a97c8d44dc2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3748/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/get_Changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/get_Changes.md b/docs/OBS/PowerShell/Effect/get_Changes.md index 946149eee..468d6bb38 100644 --- a/docs/OBS/PowerShell/Effect/get_Changes.md +++ b/docs/OBS/PowerShell/Effect/get_Changes.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.get_Changes() ------------------------------------ +get_Changes +----------- ### Synopsis Gets the Effect's Changes From b6ea6de3bc2c701acf6c239355a5c8654a692f25 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:00 +0000 Subject: [PATCH 3749/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/get_Duration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/get_Duration.md b/docs/OBS/PowerShell/Effect/get_Duration.md index 2ba5ba550..66e2bf67d 100644 --- a/docs/OBS/PowerShell/Effect/get_Duration.md +++ b/docs/OBS/PowerShell/Effect/get_Duration.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.get_Duration() ------------------------------------- +get_Duration +------------ ### Synopsis Gets an Effect's Duration From 71f8328d353e97d01c51878f65ec558941c916ab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3750/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/get_EffectType.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/get_EffectType.md b/docs/OBS/PowerShell/Effect/get_EffectType.md index c3faf0614..a2f23b835 100644 --- a/docs/OBS/PowerShell/Effect/get_EffectType.md +++ b/docs/OBS/PowerShell/Effect/get_EffectType.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.get_EffectType() --------------------------------------- +get_EffectType +-------------- ### Synopsis Gets an obs-powershell effect's type From b7f610594c0997502fdbb79f06543440dae8427f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3751/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/get_Index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/get_Index.md b/docs/OBS/PowerShell/Effect/get_Index.md index 4f320b097..a73eaec65 100644 --- a/docs/OBS/PowerShell/Effect/get_Index.md +++ b/docs/OBS/PowerShell/Effect/get_Index.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.get_Index() ---------------------------------- +get_Index +--------- ### Synopsis Gets the index of the effect From ca1922db683ec1d9b618bd46a9aa70907a831902 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3752/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/set_Index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/set_Index.md b/docs/OBS/PowerShell/Effect/set_Index.md index d22339d14..ddc7f29a8 100644 --- a/docs/OBS/PowerShell/Effect/set_Index.md +++ b/docs/OBS/PowerShell/Effect/set_Index.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.set_Index() ---------------------------------- +set_Index +--------- ### Synopsis Updates the Effect's Index From f67ccb9090c956b520d20179e6aec3e6aedca4cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3753/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/get_Reversed.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/get_Reversed.md b/docs/OBS/PowerShell/Effect/get_Reversed.md index a79d5380d..ca73805b2 100644 --- a/docs/OBS/PowerShell/Effect/get_Reversed.md +++ b/docs/OBS/PowerShell/Effect/get_Reversed.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.get_Reversed() ------------------------------------- +get_Reversed +------------ ### Synopsis Gets if an effect is reversed. From 22f2d22790087f633060e01b3e21d01aea0cab2b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3754/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/PowerShell/Effect/set_Reversed.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/PowerShell/Effect/set_Reversed.md b/docs/OBS/PowerShell/Effect/set_Reversed.md index 2655592db..40b5bca7c 100644 --- a/docs/OBS/PowerShell/Effect/set_Reversed.md +++ b/docs/OBS/PowerShell/Effect/set_Reversed.md @@ -1,5 +1,5 @@ -OBS.PowerShell.Effect.set_Reversed() ------------------------------------- +set_Reversed +------------ ### Synopsis Sets if an effect should be reversed. From b8da3e645cb5f75899ee8b4b28624dbb571c570f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3755/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Powershell/Effect/Command/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OBS/Powershell/Effect/Command/README.md b/docs/OBS/Powershell/Effect/Command/README.md index 4994394b2..843e5b032 100644 --- a/docs/OBS/Powershell/Effect/Command/README.md +++ b/docs/OBS/Powershell/Effect/Command/README.md @@ -1,7 +1,7 @@ ## OBS.Powershell.Effect.Command -### Script Methods +### Script Properties * [get_EffectName](get_EffectName.md) From 4d73652eda081e80d32e6db98f53b1e664745d4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3756/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/Powershell/Effect/Command/get_EffectName.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/Powershell/Effect/Command/get_EffectName.md b/docs/OBS/Powershell/Effect/Command/get_EffectName.md index d2280bcfa..e38aa3dab 100644 --- a/docs/OBS/Powershell/Effect/Command/get_EffectName.md +++ b/docs/OBS/Powershell/Effect/Command/get_EffectName.md @@ -1,5 +1,5 @@ -OBS.Powershell.Effect.Command.get_EffectName() ----------------------------------------------- +get_EffectName +-------------- ### Synopsis Gets the Effect Name From 4b3656ea537390b5d36babd9913eb035dc08c535 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3757/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSceneItemList/Response/README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/OBS/GetSceneItemList/Response/README.md b/docs/OBS/GetSceneItemList/Response/README.md index b2318e44c..b42be21a3 100644 --- a/docs/OBS/GetSceneItemList/Response/README.md +++ b/docs/OBS/GetSceneItemList/Response/README.md @@ -1,13 +1,18 @@ ## OBS.GetSceneItemList.Response -### Script Methods +### Script Properties -* [Animate](Animate.md) -* [Center](Center.md) -* [FitToScreen](FitToScreen.md) -* [Move](Move.md) -* [Stretch](Stretch.md) * [get_Filters](get_Filters.md) * [get_Input](get_Input.md) + + +### Script Methods + + +* [Animate()](Animate.md) +* [Center()](Center.md) +* [FitToScreen()](FitToScreen.md) +* [Move()](Move.md) +* [Stretch()](Stretch.md) From f80c66ea6a08c69a5450433900d59f0311a4b780 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3758/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSceneItemList/Response/get_Filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetSceneItemList/Response/get_Filters.md b/docs/OBS/GetSceneItemList/Response/get_Filters.md index 0880a535b..f8586f2e1 100644 --- a/docs/OBS/GetSceneItemList/Response/get_Filters.md +++ b/docs/OBS/GetSceneItemList/Response/get_Filters.md @@ -1,5 +1,5 @@ -OBS.GetSceneItemList.Response.get_Filters() -------------------------------------------- +get_Filters +----------- ### Synopsis Gets a Scene Item's filters From 24eba0af3dc5530f3f385f95f679c3eefeca1b75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3759/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSceneItemList/Response/get_Input.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetSceneItemList/Response/get_Input.md b/docs/OBS/GetSceneItemList/Response/get_Input.md index 4c1ee55e0..181446b79 100644 --- a/docs/OBS/GetSceneItemList/Response/get_Input.md +++ b/docs/OBS/GetSceneItemList/Response/get_Input.md @@ -1,5 +1,5 @@ -OBS.GetSceneItemList.Response.get_Input() ------------------------------------------ +get_Input +--------- ### Synopsis Gets a Scene Item's Input From 66e1ce4d595d549bb5b7a9bd874462a930883b8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3760/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSceneItemId/Response/README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/OBS/GetSceneItemId/Response/README.md b/docs/OBS/GetSceneItemId/Response/README.md index dbd606267..185e76903 100644 --- a/docs/OBS/GetSceneItemId/Response/README.md +++ b/docs/OBS/GetSceneItemId/Response/README.md @@ -1,13 +1,18 @@ ## OBS.GetSceneItemId.Response -### Script Methods +### Script Properties -* [Animate](Animate.md) -* [Center](Center.md) -* [FitToScreen](FitToScreen.md) -* [Move](Move.md) -* [Stretch](Stretch.md) * [get_Filters](get_Filters.md) * [get_Input](get_Input.md) + + +### Script Methods + + +* [Animate()](Animate.md) +* [Center()](Center.md) +* [FitToScreen()](FitToScreen.md) +* [Move()](Move.md) +* [Stretch()](Stretch.md) From 422332f94f01baf829ccd601ebb41c7c64536897 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3761/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSceneItemId/Response/get_Filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetSceneItemId/Response/get_Filters.md b/docs/OBS/GetSceneItemId/Response/get_Filters.md index 18512d59b..f8586f2e1 100644 --- a/docs/OBS/GetSceneItemId/Response/get_Filters.md +++ b/docs/OBS/GetSceneItemId/Response/get_Filters.md @@ -1,5 +1,5 @@ -OBS.GetSceneItemId.Response.get_Filters() ------------------------------------------ +get_Filters +----------- ### Synopsis Gets a Scene Item's filters From 6fada2d61902c0fc710c09b823ae6081b572f7cc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3762/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/GetSceneItemId/Response/get_Input.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/GetSceneItemId/Response/get_Input.md b/docs/OBS/GetSceneItemId/Response/get_Input.md index 1b0f3bb56..181446b79 100644 --- a/docs/OBS/GetSceneItemId/Response/get_Input.md +++ b/docs/OBS/GetSceneItemId/Response/get_Input.md @@ -1,5 +1,5 @@ -OBS.GetSceneItemId.Response.get_Input() ---------------------------------------- +get_Input +--------- ### Synopsis Gets a Scene Item's Input From e42cb25c56c1f49845d2d5738e08124ec94ee3a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3763/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/SceneItem/README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/OBS/SceneItem/README.md b/docs/OBS/SceneItem/README.md index 4dddd75da..e041f9b4c 100644 --- a/docs/OBS/SceneItem/README.md +++ b/docs/OBS/SceneItem/README.md @@ -1,13 +1,18 @@ ## OBS.SceneItem -### Script Methods +### Script Properties -* [Animate](Animate.md) -* [Center](Center.md) -* [FitToScreen](FitToScreen.md) -* [Move](Move.md) -* [Stretch](Stretch.md) * [get_Filters](get_Filters.md) * [get_Input](get_Input.md) + + +### Script Methods + + +* [Animate()](Animate.md) +* [Center()](Center.md) +* [FitToScreen()](FitToScreen.md) +* [Move()](Move.md) +* [Stretch()](Stretch.md) From a9fb30af6c0b324f8afdfdba28e0eec09df86ae8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3764/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/SceneItem/get_Filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/SceneItem/get_Filters.md b/docs/OBS/SceneItem/get_Filters.md index 0406d1d90..f8586f2e1 100644 --- a/docs/OBS/SceneItem/get_Filters.md +++ b/docs/OBS/SceneItem/get_Filters.md @@ -1,5 +1,5 @@ -OBS.SceneItem.get_Filters() ---------------------------- +get_Filters +----------- ### Synopsis Gets a Scene Item's filters From c6cd34339152777f43b6dcef4f089aac677be3d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 06:40:01 +0000 Subject: [PATCH 3765/4768] feat: GetCurrentProgramScene.ToString() and regenerating ( Fixes #202, Fixes #166 ) --- docs/OBS/SceneItem/get_Input.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/OBS/SceneItem/get_Input.md b/docs/OBS/SceneItem/get_Input.md index 3875a5265..181446b79 100644 --- a/docs/OBS/SceneItem/get_Input.md +++ b/docs/OBS/SceneItem/get_Input.md @@ -1,5 +1,5 @@ -OBS.SceneItem.get_Input() -------------------------- +get_Input +--------- ### Synopsis Gets a Scene Item's Input From d6426da651248df214a9e13303be49846f845089 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Sat, 19 Oct 2024 11:24:13 -0700 Subject: [PATCH 3766/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Build/obs--shaders.build.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Build/obs--shaders.build.ps1 b/Build/obs--shaders.build.ps1 index b99394924..a2bc962f2 100644 --- a/Build/obs--shaders.build.ps1 +++ b/Build/obs--shaders.build.ps1 @@ -429,6 +429,13 @@ if (Test-Path "obs-shaderfilter") { Remove-Item -Recurse -Force -Path "obs-shaderfilter" } +$shaderReadme = Join-Path $ShaderCommandsPath "README.md" +New-Item -Path $shaderReadme -Value @' +## obs-powershell Shader Commands + +This folder contains the generated commands for the shaders in the [obs-shaderfilter plugin](https://github.com/exeldro/obs-shaderfilter/). +'@ -Force + trap [Exception] { if ($env:GITHUB_STEP_SUMMARY) { From 79ebf48adcf2cf5b817a7a74db493652d65ff4f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:30 +0000 Subject: [PATCH 3767/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Commands/Shaders/Get-OBSCurveShader.ps1 | 187 ++++++++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 Commands/Shaders/Get-OBSCurveShader.ps1 diff --git a/Commands/Shaders/Get-OBSCurveShader.ps1 b/Commands/Shaders/Get-OBSCurveShader.ps1 new file mode 100644 index 000000000..2fd375f28 --- /dev/null +++ b/Commands/Shaders/Get-OBSCurveShader.ps1 @@ -0,0 +1,187 @@ +function Get-OBSCurveShader { + +[Alias('Set-OBSCurveShader','Add-OBSCurveShader')] +param( +# Set the strength of OBSCurveShader +[ComponentModel.DefaultBindingProperty('strength')] +[Single] +$Strength, +# Set the scale of OBSCurveShader +[ComponentModel.DefaultBindingProperty('scale')] +[Single] +$Scale, +# Set the curve_color of OBSCurveShader +[Alias('curve_color')] +[ComponentModel.DefaultBindingProperty('curve_color')] +[String] +$CurveColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'curve' +$ShaderNoun = 'OBSCurveShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.14159265359 + +uniform float strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +uniform float scale< + string label = "Scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 1.0; + +uniform float4 curve_color = {0,0,0,0}; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + const float ydiff = 1.0; + uv -= float2(0.5,ydiff); + uv.x *= ( uv_size.x / uv_size.y); + uv /= scale; + if(strength > 0.0){ + float d = tan((1.0-strength)*PI/2.0); + float r = length(float2(0.5*(uv_size.x / uv_size.y), d)); + float2 center = float2(0.0,(1.0-ydiff)+d); + float pd = distance(uv, center); + if(pd < r) + return curve_color; + float angle = atan2(center.x-uv.x,center.y-uv.y); + uv = float2(uv.x + sin(angle)*(pd-r),(1.0-ydiff)-(pd-r)); + } + uv.x /= ( uv_size.x / uv_size.y); + uv += float2(0.5,ydiff); + return image.Sample(textureSampler,uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 1b0abd0752e05fe976c5468ea5d617a4d790a809 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:30 +0000 Subject: [PATCH 3768/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Commands/Shaders/Get-OBSDigitalRainShader.ps1 | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 Commands/Shaders/Get-OBSDigitalRainShader.ps1 diff --git a/Commands/Shaders/Get-OBSDigitalRainShader.ps1 b/Commands/Shaders/Get-OBSDigitalRainShader.ps1 new file mode 100644 index 000000000..b6cc14c34 --- /dev/null +++ b/Commands/Shaders/Get-OBSDigitalRainShader.ps1 @@ -0,0 +1,232 @@ +function Get-OBSDigitalRainShader { + +[Alias('Set-OBSDigitalRainShader','Add-OBSDigitalRainShader')] +param( +# Set the font of OBSDigitalRainShader +[ComponentModel.DefaultBindingProperty('font')] +[String] +$Font, +# Set the noise of OBSDigitalRainShader +[ComponentModel.DefaultBindingProperty('noise')] +[String] +$Noise, +# Set the base_color of OBSDigitalRainShader +[Alias('base_color')] +[ComponentModel.DefaultBindingProperty('base_color')] +[String] +$BaseColor, +# Set the rain_speed of OBSDigitalRainShader +[Alias('rain_speed')] +[ComponentModel.DefaultBindingProperty('rain_speed')] +[Single] +$RainSpeed, +# Set the char_speed of OBSDigitalRainShader +[Alias('char_speed')] +[ComponentModel.DefaultBindingProperty('char_speed')] +[Single] +$CharSpeed, +# Set the glow_contrast of OBSDigitalRainShader +[Alias('glow_contrast')] +[ComponentModel.DefaultBindingProperty('glow_contrast')] +[Single] +$GlowContrast, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'digital-rain' +$ShaderNoun = 'OBSDigitalRainShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// based on https://www.shadertoy.com/view/ldccW4 by WillKirkby + + +#ifndef OPENGL +#define fract frac +#define mix lerp +#endif + +uniform texture2d font = "font.png"; +uniform texture2d noise = "noise.png"; +uniform float4 base_color = {.1, 1.0, .35, 1.0}; +uniform float rain_speed< + string label = "Rain Speed"; + string widget_type = "slider"; + float minimum = 0.001; + float maximum = 2.0; + float step = .001; +> = 1.0; + +uniform float char_speed< + string label = "Character Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = .001; +> = 1.0; + +uniform float glow_contrast< + string label = "Glow contrast"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.5; + float step = .001; +> = 1.0; + + +float mod(float x, float y) +{ + return x - y * floor(x/y); +} + +float2 mod2(float2 x, float2 y) +{ + return x - y * floor(x/y); +} + +float text(float2 fragCoord) +{ + float2 uv = mod2(fragCoord, float2(16.0, 16.0) )/16.0; + float2 block = (fragCoord*.0625 - uv)/uv_size*16.0; + uv = uv*.8+.1; // scale the letters up a bit + block += elapsed_time*.002*char_speed; + uv += floor(noise.Sample(textureSampler, fract(block)).xy * 16.); // randomize letters + uv *= .0625; // bring back into 0-1 range + return font.Sample(textureSampler, uv).r; +} + +float3 rain(float2 fragCoord) +{ + fragCoord.x -= mod(fragCoord.x, 16.); + float offset=sin(fragCoord.x*15.); + float speed=(cos(fragCoord.x*3.)*.3+.7)*rain_speed; + + float y = fract(fragCoord.y/uv_size.y + elapsed_time*speed + offset); + return base_color.rgb / pow(y*20.0, glow_contrast); +} + +float4 mainImage(VertData v_in) : TARGET +{ + return mix(image.Sample(textureSampler, v_in.uv),float4(rain(float2(v_in.uv.x,1.0-v_in.uv.y)*uv_size),1.0), text(v_in.uv*uv_size)); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 0108a5d7955c7e7c0678fae61e3c9680e3473d67 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:30 +0000 Subject: [PATCH 3769/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Commands/Shaders/Get-OBSFireworks2Shader.ps1 | 256 +++++++++++++++++++ 1 file changed, 256 insertions(+) create mode 100644 Commands/Shaders/Get-OBSFireworks2Shader.ps1 diff --git a/Commands/Shaders/Get-OBSFireworks2Shader.ps1 b/Commands/Shaders/Get-OBSFireworks2Shader.ps1 new file mode 100644 index 000000000..edd1a3a7a --- /dev/null +++ b/Commands/Shaders/Get-OBSFireworks2Shader.ps1 @@ -0,0 +1,256 @@ +function Get-OBSFireworks2Shader { + +[Alias('Set-OBSFireworks2Shader','Add-OBSFireworks2Shader')] +param( +# Set the Speed of OBSFireworks2Shader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fireworks2' +$ShaderNoun = 'OBSFireworks2Shader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// based on https://www.shadertoy.com/view/4dBGRw + +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 1.0; +> = 100.0; + +#ifndef OPENGL +#define mat2 float2x2 +#define mix lerp +float mod(float x, float y) +{ + return x - y * floor(x / y); +} +#endif +//Creates a diagonal red-and-white striped pattern. +float3 barberpole(float2 pos, float2 rocketpos){ + float d = (pos.x-rocketpos.x)+(pos.y-rocketpos.y); + float3 col=float3(1.0,1.0,1.0); + + d = mod(d*20.,2.0); + if(d>1.0){ + col=float3(1.0,0.0,0.0); + } + return col; +} + +float4 rocket(float2 pos, float2 rocketpos){ + float4 col = float4(0.0,0.0,0.0,0.0); + float f = 0.; + float absx= abs(rocketpos.x - pos.x); + float absy = abs(rocketpos.y-pos.y); + //wooden stick + if(absx<0.01&&absy<0.22){ + col=float4(1.0,0.5,0.5,1.0); + } + + //Barberpole + + if(absx<0.05&&absy<0.15){ + col=float4(barberpole(pos, rocketpos),1.0); + } + //Rocket Point + float pointw=(rocketpos.y-pos.y-0.25)*-0.7; + if((rocketpos.y-pos.y)>0.1){ + f=smoothstep(pointw-0.001,pointw+0.001,absx); + + col=mix(float4(1.0,0.0,0.0,1.0),col, f); + } + //Shadow + + f =-.5 + smoothstep(-0.05, 0.05, (rocketpos.x-pos.x)); + col.rgb *= 0.7+f; + + return col; +} + + + +float rand(float val, float seed){ + return cos(val*sin(val*seed)*seed); +} + +float distance2( in float2 a, in float2 b ) { return dot(a-b,a-b); } + + + +float4 drawParticles(float2 pos, float3 particolor, float time, float2 cpos, float gravity, float seed, float timelength){ + float4 col= float4(0.0,0.0,0.0,0.0); + float2 pp = float2(1.0,0.0); + mat2 rr = mat2( cos(1.0), -sin(1.0), sin(1.0), cos(1.0) ); + for(float i=1.0;i<=128.0;i++){ + float d=rand(i, seed); + float fade=(i/128.0)*time; + float2 particpos = cpos + time*pp*d; + pp = mul(rr,pp); + col.rgb = mix(particolor/fade, col, smoothstep(0.0, 0.0001, distance2(particpos, pos))); + } + col.rgb*=smoothstep(0.0,1.0,(timelength-time)/timelength); + col.a = col.r+col.g+col.b; + return col; +} +float4 drawFireworks(float time, float2 uv, float3 particolor, float seed){ + + float timeoffset = 2.0; + float4 col=float4(0.0,0.0,0.0,0.0); + if(time<=0.){ + return col; + } + time *= Speed /100.0; + if(mod(time, 6.0)>timeoffset){ + col= drawParticles(uv, particolor, mod(time, 6.0)-timeoffset, float2(rand(ceil(time/6.0),seed),-0.5), 0.5, ceil(time/6.0), seed); + }else{ + + col= rocket(uv*3., float2(3.*rand(ceil(time/6.0),seed),3.*(-0.5+(timeoffset-mod(time, 6.0))))); + } + return col; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv =float2(1.0,1.0) - 2.0* v_in.uv; + uv.y = -uv.y; + uv.x *= uv_size.x/uv_size.y; + float4 col = image.Sample(textureSampler, v_in.uv); + //col.rgb += 0.1*uv.y; + float4 c; + c = drawFireworks(elapsed_time , uv,float3(1.0,0.1,0.1), 1.); + col = mix(col, c, c.a); + c = drawFireworks(elapsed_time-2.0, uv,float3(0.0,1.0,0.5), 2.); + col = mix(col, c, c.a); + c = drawFireworks(elapsed_time-4.0, uv,float3(1.0,1.0,0.1), 3.); + col = mix(col, c, c.a); + + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From d31fd7411efd93e9729d828ecfca5027c8f5ac82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:31 +0000 Subject: [PATCH 3770/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- .../Shaders/Get-OBSHslHsvSaturationShader.ps1 | 63 +++++++++++++------ 1 file changed, 44 insertions(+), 19 deletions(-) diff --git a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 index 3aab75d61..540c8f428 100644 --- a/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 +++ b/Commands/Shaders/Get-OBSHslHsvSaturationShader.ps1 @@ -6,18 +6,22 @@ param( [ComponentModel.DefaultBindingProperty('hslSaturationFactor')] [Single] $HslSaturationFactor, +# Set the hslGamma of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hslGamma')] +[Single] +$HslGamma, # Set the hsvSaturationFactor of OBSHslHsvSaturationShader [ComponentModel.DefaultBindingProperty('hsvSaturationFactor')] [Single] $HsvSaturationFactor, +# Set the hsvGamma of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hsvGamma')] +[Single] +$HsvGamma, # Set the adjustmentOrder of OBSHslHsvSaturationShader [ComponentModel.DefaultBindingProperty('adjustmentOrder')] -[Single] +[Int32] $AdjustmentOrder, -# Set the notes of OBSHslHsvSaturationShader -[ComponentModel.DefaultBindingProperty('notes')] -[String] -$Notes, # The name of the source. This must be provided when adding an item for the first time [Parameter(ValueFromPipelineByPropertyName)] [Alias('SceneItemName')] @@ -56,33 +60,48 @@ if (-not $psBoundParameters['ShaderText']) { // Adjusted Saturation Shader for obs-shaderfilter using HLSL conventions uniform float hslSaturationFactor< - string label = "HSL Saturation"; + string label = "HSL Sat Gain"; string widget_type = "slider"; float minimum = 0.0; float maximum = 5.0; float step = 0.01; > = 1.0; +uniform float hslGamma< + string label = "HSL Sat Gamma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 1.0; + uniform float hsvSaturationFactor< - string label = "HSV Saturation"; + string label = "HSV Sat Gain"; string widget_type = "slider"; float minimum = 0.0; float maximum = 5.0; float step = 0.01; > = 1.0; -uniform float adjustmentOrder< +uniform float hsvGamma< + string label = "HSV Sat Gamma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 1.0; + +uniform int adjustmentOrder< string label = "Order"; - float minimum = 1; - float maximum = 3; - float step = 1; + string widget_type = "select"; + int option_0_value = 1; + string option_0_label = "Parallel adjustment (both HSL and HSV operate on the original image and then blend)"; + int option_1_value = 2; + string option_1_label = "HSL first, then HSV"; + int option_2_value = 3; + string option_2_label = "HSV first, then HSL"; > = 1; -uniform string notes< - string widget_type = "info"; -> = "Order:\n1 = Blended average result of HSL/HSV\n2 = HSL first\n3 = HSV first"; - - // HSV conversion float3 rgb2hsv(float3 c) { @@ -151,34 +170,40 @@ float3 hsl2rgb(float3 c) { } float3 adjustColorWithOrder(float3 originalColor) { - if (adjustmentOrder == 1.0) { + if (adjustmentOrder == 1) { // Parallel adjustment (both HSL and HSV operate on the original image and then blend) float3 hslAdjusted = rgb2hsl(originalColor); + hslAdjusted.y = pow(hslAdjusted.y, (1/hslGamma)); hslAdjusted.y *= hslSaturationFactor; float3 hslAdjustedColor = hsl2rgb(hslAdjusted); float3 hsvAdjusted = rgb2hsv(originalColor); + hsvAdjusted.y = pow(hsvAdjusted.y, (1/hsvGamma)); hsvAdjusted.y *= hsvSaturationFactor; float3 hsvAdjustedColor = hsv2rgb(hsvAdjusted); float3 finalColor = (hslAdjustedColor + hsvAdjustedColor) * 0.5; return finalColor; } - else if (adjustmentOrder == 2.0) { + else if (adjustmentOrder == 2) { // HSL first, then HSV float3 hslAdjusted = rgb2hsl(originalColor); + hslAdjusted.y = pow(hslAdjusted.y, (1/hslGamma)); hslAdjusted.y *= hslSaturationFactor; float3 afterHSL = hsl2rgb(hslAdjusted); float3 hsvAdjusted = rgb2hsv(afterHSL); + hsvAdjusted.y = pow(hsvAdjusted.y, (1/hsvGamma)); hsvAdjusted.y *= hsvSaturationFactor; return hsv2rgb(hsvAdjusted); } - else if (adjustmentOrder == 3.0) { + else if (adjustmentOrder == 3) { // HSV first, then HSL float3 hsvAdjusted = rgb2hsv(originalColor); + hsvAdjusted.y = pow(hsvAdjusted.y, (1/hsvGamma)); hsvAdjusted.y *= hsvSaturationFactor; float3 afterHSV = hsv2rgb(hsvAdjusted); float3 hslAdjusted = rgb2hsl(afterHSV); + hslAdjusted.y = pow(hslAdjusted.y, (1/hslGamma)); hslAdjusted.y *= hslSaturationFactor; return hsl2rgb(hslAdjusted); } From e8f25dffea35dab268a01a8503531f594522d62f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:31 +0000 Subject: [PATCH 3771/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Commands/Shaders/Get-OBSPolarShader.ps1 | 238 ++++++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 Commands/Shaders/Get-OBSPolarShader.ps1 diff --git a/Commands/Shaders/Get-OBSPolarShader.ps1 b/Commands/Shaders/Get-OBSPolarShader.ps1 new file mode 100644 index 000000000..e9d001945 --- /dev/null +++ b/Commands/Shaders/Get-OBSPolarShader.ps1 @@ -0,0 +1,238 @@ +function Get-OBSPolarShader { + +[Alias('Set-OBSPolarShader','Add-OBSPolarShader')] +param( +# Set the center_x of OBSPolarShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSPolarShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the point_y of OBSPolarShader +[Alias('point_y')] +[ComponentModel.DefaultBindingProperty('point_y')] +[Single] +$PointY, +# Set the flip of OBSPolarShader +[ComponentModel.DefaultBindingProperty('flip')] +[Management.Automation.SwitchParameter] +$Flip, +# Set the rotate of OBSPolarShader +[ComponentModel.DefaultBindingProperty('rotate')] +[Single] +$Rotate, +# Set the repeat of OBSPolarShader +[ComponentModel.DefaultBindingProperty('repeat')] +[Single] +$Repeat, +# Set the scale of OBSPolarShader +[ComponentModel.DefaultBindingProperty('scale')] +[Single] +$Scale, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'polar' +$ShaderNoun = 'OBSPolarShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.14159265359 +#define PI_2 6.2831 +#define mod(x,y) (x - y * floor(x / y)) + +uniform float center_x< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform float center_y< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +uniform float point_y< + string label = "Point y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform bool flip; + +uniform float rotate< + string label = "Rotate"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float repeat< + string label = "Repeat"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 20.0; + float step = 0.001; +> = 1.0; + +uniform float scale< + string label = "Scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv.x -= center_x ; + uv.y -= center_y ; + uv.x = uv.x * ( uv_size.x / uv_size.y); + float pixel_angle = atan2(uv.x,uv.y)/PI_2+0.5; + if(repeat < 1.0){ + pixel_angle = mod(pixel_angle+rotate,1.0); + if(pixel_angle > repeat) + return float4(0,0,0,0); + pixel_angle = mod(pixel_angle/repeat,1.0); + } else { + pixel_angle = mod(pixel_angle*repeat+rotate, 1.0); + } + float pixel_distance = length(uv)/ scale - point_y; + float2 uv2 = float2(pixel_angle , pixel_distance); + if(flip) + uv2 = float2(1.0,1.0) - uv2; + return image.Sample(textureSampler,uv2); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 11e30d46ac42cf5d261434a12bdc68eb2919febc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:31 +0000 Subject: [PATCH 3772/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Commands/Shaders/Get-OBSVHSShader.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Commands/Shaders/Get-OBSVHSShader.ps1 b/Commands/Shaders/Get-OBSVHSShader.ps1 index fc44956b4..26408a066 100644 --- a/Commands/Shaders/Get-OBSVHSShader.ps1 +++ b/Commands/Shaders/Get-OBSVHSShader.ps1 @@ -12,7 +12,7 @@ $Range, $OffsetIntensity, # Set the noiseQuality of OBSVHSShader [ComponentModel.DefaultBindingProperty('noiseQuality')] -[Int32] +[Single] $NoiseQuality, # Set the noiseIntensity of OBSVHSShader [ComponentModel.DefaultBindingProperty('noiseIntensity')] @@ -99,10 +99,10 @@ uniform float offsetIntensity< float maximum = 0.20; float step = 0.01; > = 0.02; -uniform int noiseQuality< +uniform float noiseQuality< string label = "Noise number of lines (250)"; string widget_type = "slider"; - int minimum = 1.0; + float minimum = 1.0; float maximum = 1000.0; float step = 10.0; > = 250.0; From 318f48271cc61f345f009ba97bec6163dac23555 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:32 +0000 Subject: [PATCH 3773/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- Commands/Shaders/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Commands/Shaders/README.md diff --git a/Commands/Shaders/README.md b/Commands/Shaders/README.md new file mode 100644 index 000000000..71a3fb344 --- /dev/null +++ b/Commands/Shaders/README.md @@ -0,0 +1,3 @@ +## obs-powershell Shader Commands + +This folder contains the generated commands for the shaders in the [obs-shaderfilter plugin](https://github.com/exeldro/obs-shaderfilter/). \ No newline at end of file From e76da6ed81d28c4745efb522bc1625cc8a2e3446 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:32 +0000 Subject: [PATCH 3774/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- obs-powershell.psd1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 77d8ea619..ad3dd4c3c 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -339,10 +339,12 @@ Initial Release of obs-powershell 'Get-OBSColorGradeFilterShader', 'Get-OBSCornerPinShader', 'Get-OBSCrtCurvatureShader', +'Get-OBSCurveShader', 'Get-OBSCutRectPerCornerShader', 'Get-OBSCylinderShader', 'Get-OBSDarkenShader', 'Get-OBSDeadPixelFixerShader', +'Get-OBSDigitalRainShader', 'Get-OBSDivideRotateShader', 'Get-OBSDoodleShader', 'Get-OBSDrawingsShader', @@ -362,6 +364,7 @@ Initial Release of obs-powershell 'Get-OBSFilterTemplateShader', 'Get-OBSFire3Shader', 'Get-OBSFireShader', +'Get-OBSFireworks2Shader', 'Get-OBSFireworksShader', 'Get-OBSFisheyeShader', 'Get-OBSFisheyeXyShader', @@ -399,6 +402,7 @@ Initial Release of obs-powershell 'Get-OBSPieChartShader', 'Get-OBSPixelationShader', 'Get-OBSPixelationTransitionShader', +'Get-OBSPolarShader', 'Get-OBSPulseShader', 'Get-OBSRainbowShader', 'Get-OBSRainWindowShader', From 42bc726a5ae0ee991c3afb6cff2adfa3300a8370 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:52 +0000 Subject: [PATCH 3775/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Get-OBSCurveShader.md | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSCurveShader.md diff --git a/docs/Get-OBSCurveShader.md b/docs/Get-OBSCurveShader.md new file mode 100644 index 000000000..e164f1b6e --- /dev/null +++ b/docs/Get-OBSCurveShader.md @@ -0,0 +1,96 @@ +Get-OBSCurveShader +------------------ + +### Synopsis + +Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CurveColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |2 |false |curve_color| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCurveShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3d19706a76a395b98e358c7092bd7e04763ceb59 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:52 +0000 Subject: [PATCH 3776/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Get-OBSCurveShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSCurveShader.json diff --git a/docs/_data/Help/Get-OBSCurveShader.json b/docs/_data/Help/Get-OBSCurveShader.json new file mode 100644 index 000000000..0a2b63e17 --- /dev/null +++ b/docs/_data/Help/Get-OBSCurveShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e02e97d11ea71e07acd542733f65a2fe091ef6bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:53 +0000 Subject: [PATCH 3777/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Get-OBSDigitalRainShader.md | 114 +++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Get-OBSDigitalRainShader.md diff --git a/docs/Get-OBSDigitalRainShader.md b/docs/Get-OBSDigitalRainShader.md new file mode 100644 index 000000000..2cf2d3177 --- /dev/null +++ b/docs/Get-OBSDigitalRainShader.md @@ -0,0 +1,114 @@ +Get-OBSDigitalRainShader +------------------------ + +### Synopsis + +Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BaseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |2 |false |base_color| + +#### **CharSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |4 |false |char_speed| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Font** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlowContrast** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |glow_contrast| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Noise** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RainSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |3 |false |rain_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDigitalRainShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2192a38e5fc3139c55d1a366c8810be892920d33 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:53 +0000 Subject: [PATCH 3778/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Get-OBSDigitalRainShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDigitalRainShader.json diff --git a/docs/_data/Help/Get-OBSDigitalRainShader.json b/docs/_data/Help/Get-OBSDigitalRainShader.json new file mode 100644 index 000000000..9f8c5f9b2 --- /dev/null +++ b/docs/_data/Help/Get-OBSDigitalRainShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1e2f8f71b67db17fb803eacc9ac3ad5a83c175b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:56 +0000 Subject: [PATCH 3779/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Get-OBSFireworks2Shader.md | 84 +++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Get-OBSFireworks2Shader.md diff --git a/docs/Get-OBSFireworks2Shader.md b/docs/Get-OBSFireworks2Shader.md new file mode 100644 index 000000000..dcb059676 --- /dev/null +++ b/docs/Get-OBSFireworks2Shader.md @@ -0,0 +1,84 @@ +Get-OBSFireworks2Shader +----------------------- + +### Synopsis + +Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireworks2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 1c3b2a81ac0d9c5835809db94f0415ff1a99cd11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:56 +0000 Subject: [PATCH 3780/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Get-OBSFireworks2Shader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSFireworks2Shader.json diff --git a/docs/_data/Help/Get-OBSFireworks2Shader.json b/docs/_data/Help/Get-OBSFireworks2Shader.json new file mode 100644 index 000000000..7f012b906 --- /dev/null +++ b/docs/_data/Help/Get-OBSFireworks2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2c909ef18eee0c1dfdc3641760b8e60c23d9ff08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:59 +0000 Subject: [PATCH 3781/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Get-OBSHslHsvSaturationShader.md | 34 ++++++++++++++++----------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/Get-OBSHslHsvSaturationShader.md b/docs/Get-OBSHslHsvSaturationShader.md index 62965bc33..cb3fb0050 100644 --- a/docs/Get-OBSHslHsvSaturationShader.md +++ b/docs/Get-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,15 +14,15 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF ### Parameters #### **AdjustmentOrder** -|Type |Required|Position|PipelineInput| -|---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |4 |false | #### **FilterName** |Type |Required|Position|PipelineInput | |----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|`[string]`|false |6 |true (ByPropertyName)| #### **Force** @@ -30,17 +30,29 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|-------------| |`[switch]`|false |Named |false | +#### **HslGamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + #### **HslSaturationFactor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **HsvGamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + #### **HsvSaturationFactor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[float]`|false |2 |false | #### **NoResponse** @@ -48,12 +60,6 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|-------------| |`[switch]`|false |Named |false | -#### **Notes** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[string]`|false |3 |false | - #### **PassThru** |Type |Required|Position|PipelineInput| @@ -64,13 +70,13 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[string]`|false |7 |false |ShaderContent| #### **SourceName** |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| #### **UseShaderTime** From c989e4c56f026fbb3ff38c42212ae56eb2746d0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:30:59 +0000 Subject: [PATCH 3782/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Get-OBSHslHsvSaturationShader.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/Help/Get-OBSHslHsvSaturationShader.json b/docs/_data/Help/Get-OBSHslHsvSaturationShader.json index 1f5b300a3..0cd6171c5 100644 --- a/docs/_data/Help/Get-OBSHslHsvSaturationShader.json +++ b/docs/_data/Help/Get-OBSHslHsvSaturationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", "Description": "", "Parameters": [ { From 6378398d9dbaefeec08fb3743cbac58847fe99ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:03 +0000 Subject: [PATCH 3783/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Get-OBSPolarShader.md | 120 +++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Get-OBSPolarShader.md diff --git a/docs/Get-OBSPolarShader.md b/docs/Get-OBSPolarShader.md new file mode 100644 index 000000000..68dd8d7f1 --- /dev/null +++ b/docs/Get-OBSPolarShader.md @@ -0,0 +1,120 @@ +Get-OBSPolarShader +------------------ + +### Synopsis + +Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |0 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |1 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Flip** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PointY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |point_y| + +#### **Repeat** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Rotate** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPolarShader; CommonParameters=True; parameter=System.Object[]}} +``` From 39c36823d39b5a5c1eb32c7e792068c26293afce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:03 +0000 Subject: [PATCH 3784/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Get-OBSPolarShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSPolarShader.json diff --git a/docs/_data/Help/Get-OBSPolarShader.json b/docs/_data/Help/Get-OBSPolarShader.json new file mode 100644 index 000000000..1894d8c24 --- /dev/null +++ b/docs/_data/Help/Get-OBSPolarShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 013d3a8b45fb17861644450343c22156d6a91d12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:09 +0000 Subject: [PATCH 3785/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Get-OBSVHSShader.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Get-OBSVHSShader.md b/docs/Get-OBSVHSShader.md index c341f1b7f..3cde48cc4 100644 --- a/docs/Get-OBSVHSShader.md +++ b/docs/Get-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -68,9 +68,9 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality #### **NoiseQuality** -|Type |Required|Position|PipelineInput| -|-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | #### **OffsetIntensity** From 475c9ff75b8401cf97e52969d92c639316a23021 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:09 +0000 Subject: [PATCH 3786/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Get-OBSVHSShader.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/Help/Get-OBSVHSShader.json b/docs/_data/Help/Get-OBSVHSShader.json index 743cd0edc..6e4960fd1 100644 --- a/docs/_data/Help/Get-OBSVHSShader.json +++ b/docs/_data/Help/Get-OBSVHSShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", "Description": "", "Parameters": [ { From 187dc2388690c8ea1759e478ed39eae189086bcb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:21 +0000 Subject: [PATCH 3787/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Add-OBSCurveShader.md | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSCurveShader.md diff --git a/docs/Add-OBSCurveShader.md b/docs/Add-OBSCurveShader.md new file mode 100644 index 000000000..e164f1b6e --- /dev/null +++ b/docs/Add-OBSCurveShader.md @@ -0,0 +1,96 @@ +Get-OBSCurveShader +------------------ + +### Synopsis + +Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CurveColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |2 |false |curve_color| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCurveShader; CommonParameters=True; parameter=System.Object[]}} +``` From c1ca3f45453c54c222e4814e17eb603103936cb8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:21 +0000 Subject: [PATCH 3788/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Add-OBSCurveShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSCurveShader.json diff --git a/docs/_data/Help/Add-OBSCurveShader.json b/docs/_data/Help/Add-OBSCurveShader.json new file mode 100644 index 000000000..0a2b63e17 --- /dev/null +++ b/docs/_data/Help/Add-OBSCurveShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 1736d2770f523876b11f399d9b5bb2573e86066a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:21 +0000 Subject: [PATCH 3789/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Add-OBSDigitalRainShader.md | 114 +++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Add-OBSDigitalRainShader.md diff --git a/docs/Add-OBSDigitalRainShader.md b/docs/Add-OBSDigitalRainShader.md new file mode 100644 index 000000000..2cf2d3177 --- /dev/null +++ b/docs/Add-OBSDigitalRainShader.md @@ -0,0 +1,114 @@ +Get-OBSDigitalRainShader +------------------------ + +### Synopsis + +Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BaseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |2 |false |base_color| + +#### **CharSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |4 |false |char_speed| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Font** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlowContrast** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |glow_contrast| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Noise** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RainSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |3 |false |rain_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDigitalRainShader; CommonParameters=True; parameter=System.Object[]}} +``` From 5a58089c3bc3e8776ade1be48f13e625e50f6438 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:21 +0000 Subject: [PATCH 3790/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Add-OBSDigitalRainShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDigitalRainShader.json diff --git a/docs/_data/Help/Add-OBSDigitalRainShader.json b/docs/_data/Help/Add-OBSDigitalRainShader.json new file mode 100644 index 000000000..9f8c5f9b2 --- /dev/null +++ b/docs/_data/Help/Add-OBSDigitalRainShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 4bf087deed15d8b8d039d89a35652d999c922d35 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:23 +0000 Subject: [PATCH 3791/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Add-OBSFireworks2Shader.md | 84 +++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Add-OBSFireworks2Shader.md diff --git a/docs/Add-OBSFireworks2Shader.md b/docs/Add-OBSFireworks2Shader.md new file mode 100644 index 000000000..dcb059676 --- /dev/null +++ b/docs/Add-OBSFireworks2Shader.md @@ -0,0 +1,84 @@ +Get-OBSFireworks2Shader +----------------------- + +### Synopsis + +Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireworks2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 1e6eea8df20a8d1b6a08da71ab277b5edc984e33 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:23 +0000 Subject: [PATCH 3792/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Add-OBSFireworks2Shader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSFireworks2Shader.json diff --git a/docs/_data/Help/Add-OBSFireworks2Shader.json b/docs/_data/Help/Add-OBSFireworks2Shader.json new file mode 100644 index 000000000..7f012b906 --- /dev/null +++ b/docs/_data/Help/Add-OBSFireworks2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 9d5df5f39d8e96a3262886cfa63141ce0b59b616 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:25 +0000 Subject: [PATCH 3793/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Add-OBSHslHsvSaturationShader.md | 34 ++++++++++++++++----------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/Add-OBSHslHsvSaturationShader.md b/docs/Add-OBSHslHsvSaturationShader.md index 62965bc33..cb3fb0050 100644 --- a/docs/Add-OBSHslHsvSaturationShader.md +++ b/docs/Add-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,15 +14,15 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF ### Parameters #### **AdjustmentOrder** -|Type |Required|Position|PipelineInput| -|---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |4 |false | #### **FilterName** |Type |Required|Position|PipelineInput | |----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|`[string]`|false |6 |true (ByPropertyName)| #### **Force** @@ -30,17 +30,29 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|-------------| |`[switch]`|false |Named |false | +#### **HslGamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + #### **HslSaturationFactor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **HsvGamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + #### **HsvSaturationFactor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[float]`|false |2 |false | #### **NoResponse** @@ -48,12 +60,6 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|-------------| |`[switch]`|false |Named |false | -#### **Notes** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[string]`|false |3 |false | - #### **PassThru** |Type |Required|Position|PipelineInput| @@ -64,13 +70,13 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[string]`|false |7 |false |ShaderContent| #### **SourceName** |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| #### **UseShaderTime** From a996454ab1b6db2a662d21cc1e77e7bd5783990b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:25 +0000 Subject: [PATCH 3794/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Add-OBSHslHsvSaturationShader.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/Help/Add-OBSHslHsvSaturationShader.json b/docs/_data/Help/Add-OBSHslHsvSaturationShader.json index 1f5b300a3..0cd6171c5 100644 --- a/docs/_data/Help/Add-OBSHslHsvSaturationShader.json +++ b/docs/_data/Help/Add-OBSHslHsvSaturationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", "Description": "", "Parameters": [ { From 52423285a26aa255b6c75a48113ff29985c65c83 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:26 +0000 Subject: [PATCH 3795/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Add-OBSPolarShader.md | 120 +++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Add-OBSPolarShader.md diff --git a/docs/Add-OBSPolarShader.md b/docs/Add-OBSPolarShader.md new file mode 100644 index 000000000..68dd8d7f1 --- /dev/null +++ b/docs/Add-OBSPolarShader.md @@ -0,0 +1,120 @@ +Get-OBSPolarShader +------------------ + +### Synopsis + +Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |0 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |1 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Flip** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PointY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |point_y| + +#### **Repeat** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Rotate** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPolarShader; CommonParameters=True; parameter=System.Object[]}} +``` From e696a8762bd07edabd14b4f5101bf9124a04adcc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:27 +0000 Subject: [PATCH 3796/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Add-OBSPolarShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSPolarShader.json diff --git a/docs/_data/Help/Add-OBSPolarShader.json b/docs/_data/Help/Add-OBSPolarShader.json new file mode 100644 index 000000000..1894d8c24 --- /dev/null +++ b/docs/_data/Help/Add-OBSPolarShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d6bd1d911e9eb4b6f7ac4937a7bc45dbc7770fc8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:30 +0000 Subject: [PATCH 3797/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Add-OBSVHSShader.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Add-OBSVHSShader.md b/docs/Add-OBSVHSShader.md index c341f1b7f..3cde48cc4 100644 --- a/docs/Add-OBSVHSShader.md +++ b/docs/Add-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -68,9 +68,9 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality #### **NoiseQuality** -|Type |Required|Position|PipelineInput| -|-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | #### **OffsetIntensity** From a21735fce0646c4b31d673b2e6fa30a80d596b59 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:30 +0000 Subject: [PATCH 3798/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Add-OBSVHSShader.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/Help/Add-OBSVHSShader.json b/docs/_data/Help/Add-OBSVHSShader.json index 743cd0edc..6e4960fd1 100644 --- a/docs/_data/Help/Add-OBSVHSShader.json +++ b/docs/_data/Help/Add-OBSVHSShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", "Description": "", "Parameters": [ { From 835dd9183714bf31de0fa537ec4e8322f3b152c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:41 +0000 Subject: [PATCH 3799/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Set-OBSCurveShader.md | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSCurveShader.md diff --git a/docs/Set-OBSCurveShader.md b/docs/Set-OBSCurveShader.md new file mode 100644 index 000000000..e164f1b6e --- /dev/null +++ b/docs/Set-OBSCurveShader.md @@ -0,0 +1,96 @@ +Get-OBSCurveShader +------------------ + +### Synopsis + +Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CurveColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-----------| +|`[string]`|false |2 |false |curve_color| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **Strength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSCurveShader; CommonParameters=True; parameter=System.Object[]}} +``` From 962924522c15ba83696e90e06978ec25222382da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:41 +0000 Subject: [PATCH 3800/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Set-OBSCurveShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSCurveShader.json diff --git a/docs/_data/Help/Set-OBSCurveShader.json b/docs/_data/Help/Set-OBSCurveShader.json new file mode 100644 index 000000000..0a2b63e17 --- /dev/null +++ b/docs/_data/Help/Set-OBSCurveShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 733f314f23ba41ee1d508ec12714bcc2d7bb0017 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:41 +0000 Subject: [PATCH 3801/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Set-OBSDigitalRainShader.md | 114 +++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 docs/Set-OBSDigitalRainShader.md diff --git a/docs/Set-OBSDigitalRainShader.md b/docs/Set-OBSDigitalRainShader.md new file mode 100644 index 000000000..2cf2d3177 --- /dev/null +++ b/docs/Set-OBSDigitalRainShader.md @@ -0,0 +1,114 @@ +Get-OBSDigitalRainShader +------------------------ + +### Synopsis + +Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BaseColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[string]`|false |2 |false |base_color| + +#### **CharSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |4 |false |char_speed| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Font** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlowContrast** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-------------| +|`[float]`|false |5 |false |glow_contrast| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Noise** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |1 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RainSpeed** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |3 |false |rain_speed| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDigitalRainShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8604e0232716d5824e9f7d05aba3e2e74b3f2a59 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:41 +0000 Subject: [PATCH 3802/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Set-OBSDigitalRainShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDigitalRainShader.json diff --git a/docs/_data/Help/Set-OBSDigitalRainShader.json b/docs/_data/Help/Set-OBSDigitalRainShader.json new file mode 100644 index 000000000..9f8c5f9b2 --- /dev/null +++ b/docs/_data/Help/Set-OBSDigitalRainShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 870d974ad8b6ebf47bd1fa52ee1751cef825c79b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:43 +0000 Subject: [PATCH 3803/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Set-OBSFireworks2Shader.md | 84 +++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 docs/Set-OBSFireworks2Shader.md diff --git a/docs/Set-OBSFireworks2Shader.md b/docs/Set-OBSFireworks2Shader.md new file mode 100644 index 000000000..dcb059676 --- /dev/null +++ b/docs/Set-OBSFireworks2Shader.md @@ -0,0 +1,84 @@ +Get-OBSFireworks2Shader +----------------------- + +### Synopsis + +Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |2 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |3 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| + +#### **Speed** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSFireworks2Shader; CommonParameters=True; parameter=System.Object[]}} +``` From 40ead47e14af3965ee737e3ee1fba5d94bef8d57 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:43 +0000 Subject: [PATCH 3804/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Set-OBSFireworks2Shader.json | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSFireworks2Shader.json diff --git a/docs/_data/Help/Set-OBSFireworks2Shader.json b/docs/_data/Help/Set-OBSFireworks2Shader.json new file mode 100644 index 000000000..7f012b906 --- /dev/null +++ b/docs/_data/Help/Set-OBSFireworks2Shader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 2922466a7d103e70292cbcd2da7f3a9b0e7a038e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:45 +0000 Subject: [PATCH 3805/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Set-OBSHslHsvSaturationShader.md | 34 ++++++++++++++++----------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/Set-OBSHslHsvSaturationShader.md b/docs/Set-OBSHslHsvSaturationShader.md index 62965bc33..cb3fb0050 100644 --- a/docs/Set-OBSHslHsvSaturationShader.md +++ b/docs/Set-OBSHslHsvSaturationShader.md @@ -3,7 +3,7 @@ Get-OBSHslHsvSaturationShader ### Synopsis -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,15 +14,15 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF ### Parameters #### **AdjustmentOrder** -|Type |Required|Position|PipelineInput| -|---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |4 |false | #### **FilterName** |Type |Required|Position|PipelineInput | |----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|`[string]`|false |6 |true (ByPropertyName)| #### **Force** @@ -30,17 +30,29 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|-------------| |`[switch]`|false |Named |false | +#### **HslGamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + #### **HslSaturationFactor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| |`[float]`|false |0 |false | +#### **HsvGamma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + #### **HsvSaturationFactor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[float]`|false |2 |false | #### **NoResponse** @@ -48,12 +60,6 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |----------|--------|--------|-------------| |`[switch]`|false |Named |false | -#### **Notes** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[string]`|false |3 |false | - #### **PassThru** |Type |Required|Position|PipelineInput| @@ -64,13 +70,13 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationF |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[string]`|false |7 |false |ShaderContent| #### **SourceName** |Type |Required|Position|PipelineInput |Aliases | |----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| #### **UseShaderTime** From f39cd7a30b4a4347b9531c4f8967a4dd7f8afd54 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:45 +0000 Subject: [PATCH 3806/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Set-OBSHslHsvSaturationShader.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/Help/Set-OBSHslHsvSaturationShader.json b/docs/_data/Help/Set-OBSHslHsvSaturationShader.json index 1f5b300a3..0cd6171c5 100644 --- a/docs/_data/Help/Set-OBSHslHsvSaturationShader.json +++ b/docs/_data/Help/Set-OBSHslHsvSaturationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HsvSaturationFactor] ] [[-AdjustmentOrder] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", "Description": "", "Parameters": [ { From f307776f459eb72d49ccdb1205eb0402fe7394c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:46 +0000 Subject: [PATCH 3807/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Set-OBSPolarShader.md | 120 +++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/Set-OBSPolarShader.md diff --git a/docs/Set-OBSPolarShader.md b/docs/Set-OBSPolarShader.md new file mode 100644 index 000000000..68dd8d7f1 --- /dev/null +++ b/docs/Set-OBSPolarShader.md @@ -0,0 +1,120 @@ +Get-OBSPolarShader +------------------ + +### Synopsis + +Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **CenterX** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |0 |false |center_x| + +#### **CenterY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------| +|`[float]`|false |1 |false |center_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |7 |true (ByPropertyName)| + +#### **Flip** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PointY** + +|Type |Required|Position|PipelineInput|Aliases| +|---------|--------|--------|-------------|-------| +|`[float]`|false |2 |false |point_y| + +#### **Repeat** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Rotate** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **Scale** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |8 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSPolarShader; CommonParameters=True; parameter=System.Object[]}} +``` From 21d6b84beb2fe46102a8508b0f7daf1a373394cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:46 +0000 Subject: [PATCH 3808/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Set-OBSPolarShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSPolarShader.json diff --git a/docs/_data/Help/Set-OBSPolarShader.json b/docs/_data/Help/Set-OBSPolarShader.json new file mode 100644 index 000000000..1894d8c24 --- /dev/null +++ b/docs/_data/Help/Set-OBSPolarShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7eb3dd9e2727897690ae00bba7e9eb279b400215 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:49 +0000 Subject: [PATCH 3809/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/Set-OBSVHSShader.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Set-OBSVHSShader.md b/docs/Set-OBSVHSShader.md index c341f1b7f..3cde48cc4 100644 --- a/docs/Set-OBSVHSShader.md +++ b/docs/Set-OBSVHSShader.md @@ -3,7 +3,7 @@ Get-OBSVHSShader ### Synopsis -Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -68,9 +68,9 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality #### **NoiseQuality** -|Type |Required|Position|PipelineInput| -|-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | #### **OffsetIntensity** From 1862c7f0fdb888291573bab76deed882ec870db3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Sat, 19 Oct 2024 18:31:49 +0000 Subject: [PATCH 3810/4768] feat: Adding README to shader commands directory and regenerating shaders ( Fixes #163 ) --- docs/_data/Help/Set-OBSVHSShader.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_data/Help/Set-OBSVHSShader.json b/docs/_data/Help/Set-OBSVHSShader.json index 743cd0edc..6e4960fd1 100644 --- a/docs/_data/Help/Set-OBSVHSShader.json +++ b/docs/_data/Help/Set-OBSVHSShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", "Description": "", "Parameters": [ { From 489451b73c2f873fb1c423ec03fb99dd4831c306 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Tue, 3 Dec 2024 16:38:23 -0800 Subject: [PATCH 3811/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSBrowserSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSColorSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSDisplaySource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSMarkdownSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSMediaSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSSwitchSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSVLCSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSWaveformSource.ps.ps1 | 3 ++- Commands/Sources/Set-OBSWindowSource.ps.ps1 | 3 ++- 11 files changed, 22 insertions(+), 11 deletions(-) diff --git a/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 b/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 index e7c6b89f9..478c55ce8 100644 --- a/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 +++ b/Commands/Sources/Set-OBSAudioOutputSource.ps.ps1 @@ -95,7 +95,8 @@ function Set-OBSAudioOutputSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } diff --git a/Commands/Sources/Set-OBSBrowserSource.ps.ps1 b/Commands/Sources/Set-OBSBrowserSource.ps.ps1 index 2115d7a30..8ebfefc46 100644 --- a/Commands/Sources/Set-OBSBrowserSource.ps.ps1 +++ b/Commands/Sources/Set-OBSBrowserSource.ps.ps1 @@ -146,7 +146,8 @@ function Set-OBSBrowserSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSColorSource.ps.ps1 b/Commands/Sources/Set-OBSColorSource.ps.ps1 index c41737a3d..013b71f1f 100644 --- a/Commands/Sources/Set-OBSColorSource.ps.ps1 +++ b/Commands/Sources/Set-OBSColorSource.ps.ps1 @@ -87,7 +87,8 @@ function Set-OBSColorSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $hexChar = [Regex]::new('[0-9a-f]') diff --git a/Commands/Sources/Set-OBSDisplaySource.ps.ps1 b/Commands/Sources/Set-OBSDisplaySource.ps.ps1 index a615ff177..8cb1685be 100644 --- a/Commands/Sources/Set-OBSDisplaySource.ps.ps1 +++ b/Commands/Sources/Set-OBSDisplaySource.ps.ps1 @@ -54,7 +54,8 @@ function Set-OBSDisplaySource $myParameters = [Ordered]@{} + $PSBoundParameters if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 b/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 index 27c0f68bd..b10722885 100644 --- a/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 +++ b/Commands/Sources/Set-OBSMarkdownSource.ps.ps1 @@ -91,7 +91,8 @@ function Set-OBSMarkdownSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSMediaSource.ps.ps1 b/Commands/Sources/Set-OBSMediaSource.ps.ps1 index bcdb53789..cdcdd199f 100644 --- a/Commands/Sources/Set-OBSMediaSource.ps.ps1 +++ b/Commands/Sources/Set-OBSMediaSource.ps.ps1 @@ -138,7 +138,8 @@ function Set-OBSMediaSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 b/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 index 1fac05c1a..08929a125 100644 --- a/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 +++ b/Commands/Sources/Set-OBSSoundCloudSource.ps.ps1 @@ -206,7 +206,8 @@ function Set-OBSSoundCloudSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSSwitchSource.ps.ps1 b/Commands/Sources/Set-OBSSwitchSource.ps.ps1 index 2a2a941c8..ec5cc4a43 100644 --- a/Commands/Sources/Set-OBSSwitchSource.ps.ps1 +++ b/Commands/Sources/Set-OBSSwitchSource.ps.ps1 @@ -247,7 +247,8 @@ function Set-OBSSwitchSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSVLCSource.ps.ps1 b/Commands/Sources/Set-OBSVLCSource.ps.ps1 index 713085244..ab7e423a0 100644 --- a/Commands/Sources/Set-OBSVLCSource.ps.ps1 +++ b/Commands/Sources/Set-OBSVLCSource.ps.ps1 @@ -142,7 +142,8 @@ function Set-OBSVLCSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSWaveformSource.ps.ps1 b/Commands/Sources/Set-OBSWaveformSource.ps.ps1 index 3a2a74a29..6e47105ee 100644 --- a/Commands/Sources/Set-OBSWaveformSource.ps.ps1 +++ b/Commands/Sources/Set-OBSWaveformSource.ps.ps1 @@ -290,7 +290,8 @@ function Set-OBSWaveformSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} diff --git a/Commands/Sources/Set-OBSWindowSource.ps.ps1 b/Commands/Sources/Set-OBSWindowSource.ps.ps1 index f89415935..aa0fa0dac 100644 --- a/Commands/Sources/Set-OBSWindowSource.ps.ps1 +++ b/Commands/Sources/Set-OBSWindowSource.ps.ps1 @@ -120,7 +120,8 @@ function Set-OBSWindowSource } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } From c22cc18d4d1d2c869559900754c45d957312626c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3812/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSAudioOutputSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSAudioOutputSource.ps1 b/Commands/Sources/Set-OBSAudioOutputSource.ps1 index 8ab7889a5..10dfc9bf4 100644 --- a/Commands/Sources/Set-OBSAudioOutputSource.ps1 +++ b/Commands/Sources/Set-OBSAudioOutputSource.ps1 @@ -131,7 +131,8 @@ function Set-OBSAudioOutputSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } From 672a76cce8027b375f46921da438196976a0f54c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3813/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSBrowserSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSBrowserSource.ps1 b/Commands/Sources/Set-OBSBrowserSource.ps1 index 7668ecf2b..64f8419ca 100644 --- a/Commands/Sources/Set-OBSBrowserSource.ps1 +++ b/Commands/Sources/Set-OBSBrowserSource.ps1 @@ -180,7 +180,8 @@ function Set-OBSBrowserSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 97bf3ff29d4dabb27e06a52d3fda3c27ac7e5c05 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3814/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSColorSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSColorSource.ps1 b/Commands/Sources/Set-OBSColorSource.ps1 index 8fd72825d..8fd13bd18 100644 --- a/Commands/Sources/Set-OBSColorSource.ps1 +++ b/Commands/Sources/Set-OBSColorSource.ps1 @@ -124,7 +124,8 @@ function Set-OBSColorSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $hexChar = [Regex]::new('[0-9a-f]') From 5d82cb7f256c347d78900a3c35af4429dbd4708e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3815/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSDisplaySource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSDisplaySource.ps1 b/Commands/Sources/Set-OBSDisplaySource.ps1 index 9c098ec7c..c98fc4abd 100644 --- a/Commands/Sources/Set-OBSDisplaySource.ps1 +++ b/Commands/Sources/Set-OBSDisplaySource.ps1 @@ -91,7 +91,8 @@ function Set-OBSDisplaySource { $myParameters = [Ordered]@{} + $PSBoundParameters if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 5b95bc24a719fb090c6a4aefaea074b9639b9061 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3816/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSMarkdownSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSMarkdownSource.ps1 b/Commands/Sources/Set-OBSMarkdownSource.ps1 index d2adb0566..4fba5de9c 100644 --- a/Commands/Sources/Set-OBSMarkdownSource.ps1 +++ b/Commands/Sources/Set-OBSMarkdownSource.ps1 @@ -126,7 +126,8 @@ function Set-OBSMarkdownSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 372b5e1d1e277c689200850a6faa83fa0ae420c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3817/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSMediaSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSMediaSource.ps1 b/Commands/Sources/Set-OBSMediaSource.ps1 index 91c6c86eb..0ec974c98 100644 --- a/Commands/Sources/Set-OBSMediaSource.ps1 +++ b/Commands/Sources/Set-OBSMediaSource.ps1 @@ -177,7 +177,8 @@ function Set-OBSMediaSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 853a1cba3ea732bd7a508af6274135880955a5f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3818/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSSoundCloudSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSSoundCloudSource.ps1 b/Commands/Sources/Set-OBSSoundCloudSource.ps1 index 5538eb478..f5bcfdd48 100644 --- a/Commands/Sources/Set-OBSSoundCloudSource.ps1 +++ b/Commands/Sources/Set-OBSSoundCloudSource.ps1 @@ -239,7 +239,8 @@ function Set-OBSSoundCloudSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From fc7832c0f751b717d7d9e7bd01cc17df329e52f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3819/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSSwitchSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSSwitchSource.ps1 b/Commands/Sources/Set-OBSSwitchSource.ps1 index ea7ffb318..2d0cc098f 100644 --- a/Commands/Sources/Set-OBSSwitchSource.ps1 +++ b/Commands/Sources/Set-OBSSwitchSource.ps1 @@ -300,7 +300,8 @@ function Set-OBSSwitchSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 1d7fad93bfca0c29aba26d7508bdcd1fc8e016c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3820/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSVLCSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSVLCSource.ps1 b/Commands/Sources/Set-OBSVLCSource.ps1 index f4e04ffaa..4f6c29eab 100644 --- a/Commands/Sources/Set-OBSVLCSource.ps1 +++ b/Commands/Sources/Set-OBSVLCSource.ps1 @@ -196,7 +196,8 @@ function Set-OBSVLCSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 588bdb4331cbd680386ea94fa9e2566c7b636189 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3821/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSWaveformSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSWaveformSource.ps1 b/Commands/Sources/Set-OBSWaveformSource.ps1 index 45d677252..0988554b7 100644 --- a/Commands/Sources/Set-OBSWaveformSource.ps1 +++ b/Commands/Sources/Set-OBSWaveformSource.ps1 @@ -325,7 +325,8 @@ function Set-OBSWaveformSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } $myParameterData = [Ordered]@{} From 10c1592f9c95bd7a63a07277e3a82842c7df5aad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3822/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- Commands/Sources/Set-OBSWindowSource.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/Sources/Set-OBSWindowSource.ps1 b/Commands/Sources/Set-OBSWindowSource.ps1 index 473ab135c..be329b8aa 100644 --- a/Commands/Sources/Set-OBSWindowSource.ps1 +++ b/Commands/Sources/Set-OBSWindowSource.ps1 @@ -157,7 +157,8 @@ function Set-OBSWindowSource { } if (-not $myParameters["Scene"]) { - $myParameters["Scene"] = Get-OBSCurrentProgramScene + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName } From f05c5fa3ccfbb048a6521ce04cd8fb99c43145dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:42:09 +0000 Subject: [PATCH 3823/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- en-us/obs-powershell-commands.help.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 27587517a..3a8b62a3f 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 745 commands -(302 functions and 443 aliases) +obs-powershell exports 757 commands +(306 functions and 451 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -53,10 +53,12 @@ Functions |[Get-OBSCurrentProgramScene](docs/Get-OBSCurrentProgramScene.md) |Get-OBSCurrentProgramScene : GetCurrentProgramScene | |[Get-OBSCurrentSceneTransition](docs/Get-OBSCurrentSceneTransition.md) |Get-OBSCurrentSceneTransition : GetCurrentSceneTransition | |[Get-OBSCurrentSceneTransitionCursor](docs/Get-OBSCurrentSceneTransitionCursor.md) |Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor | +|[Get-OBSCurveShader](docs/Get-OBSCurveShader.md) | |[Get-OBSCutRectPerCornerShader](docs/Get-OBSCutRectPerCornerShader.md) | |[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](docs/Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](docs/Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDigitalRainShader](docs/Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](docs/Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](docs/Get-OBSDoodleShader.md) | |[Get-OBSDrawingsShader](docs/Get-OBSDrawingsShader.md) | @@ -77,6 +79,7 @@ Functions |[Get-OBSFilterTemplateShader](docs/Get-OBSFilterTemplateShader.md) | |[Get-OBSFire3Shader](docs/Get-OBSFire3Shader.md) | |[Get-OBSFireShader](docs/Get-OBSFireShader.md) | +|[Get-OBSFireworks2Shader](docs/Get-OBSFireworks2Shader.md) | |[Get-OBSFireworksShader](docs/Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](docs/Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](docs/Get-OBSFisheyeXyShader.md) | @@ -135,6 +138,7 @@ Functions |[Get-OBSPieChartShader](docs/Get-OBSPieChartShader.md) | |[Get-OBSPixelationShader](docs/Get-OBSPixelationShader.md) | |[Get-OBSPixelationTransitionShader](docs/Get-OBSPixelationTransitionShader.md) | +|[Get-OBSPolarShader](docs/Get-OBSPolarShader.md) | |[Get-OBSProfile](docs/Get-OBSProfile.md) |Get-OBSProfile : GetProfileList | |[Get-OBSProfileParameter](docs/Get-OBSProfileParameter.md) |Get-OBSProfileParameter : GetProfileParameter | |[Get-OBSPulseShader](docs/Get-OBSPulseShader.md) | @@ -364,10 +368,12 @@ Aliases |[Get-OBSCurrentProgramScene](docs/Get-OBSCurrentProgramScene.md) | |[Get-OBSCurrentSceneTransition](docs/Get-OBSCurrentSceneTransition.md) | |[Get-OBSCurrentSceneTransitionCursor](docs/Get-OBSCurrentSceneTransitionCursor.md) | +|[Get-OBSCurveShader](docs/Get-OBSCurveShader.md) | |[Get-OBSCutRectPerCornerShader](docs/Get-OBSCutRectPerCornerShader.md) | |[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](docs/Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](docs/Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDigitalRainShader](docs/Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](docs/Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](docs/Get-OBSDoodleShader.md) | |[Get-OBSDrawingsShader](docs/Get-OBSDrawingsShader.md) | @@ -388,6 +394,7 @@ Aliases |[Get-OBSFilterTemplateShader](docs/Get-OBSFilterTemplateShader.md) | |[Get-OBSFire3Shader](docs/Get-OBSFire3Shader.md) | |[Get-OBSFireShader](docs/Get-OBSFireShader.md) | +|[Get-OBSFireworks2Shader](docs/Get-OBSFireworks2Shader.md) | |[Get-OBSFireworksShader](docs/Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](docs/Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](docs/Get-OBSFisheyeXyShader.md) | @@ -446,6 +453,7 @@ Aliases |[Get-OBSPieChartShader](docs/Get-OBSPieChartShader.md) | |[Get-OBSPixelationShader](docs/Get-OBSPixelationShader.md) | |[Get-OBSPixelationTransitionShader](docs/Get-OBSPixelationTransitionShader.md) | +|[Get-OBSPolarShader](docs/Get-OBSPolarShader.md) | |[Get-OBSProfile](docs/Get-OBSProfile.md) | |[Get-OBSProfileParameter](docs/Get-OBSProfileParameter.md) | |[Get-OBSPulseShader](docs/Get-OBSPulseShader.md) | From c4f5c7e6d09165b6e39542bb9f84d3eefcb4c012 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 4 Dec 2024 00:43:50 +0000 Subject: [PATCH 3824/4768] fix: -Scene parameter defaults ( Fixes #210 ) --- docs/obs-powershell-commands.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index fbdddd25a..349a9d31a 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 745 commands -(302 functions and 443 aliases) +obs-powershell exports 757 commands +(306 functions and 451 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -53,10 +53,12 @@ Functions |[Get-OBSCurrentProgramScene](Get-OBSCurrentProgramScene.md) |Get-OBSCurrentProgramScene : GetCurrentProgramScene | |[Get-OBSCurrentSceneTransition](Get-OBSCurrentSceneTransition.md) |Get-OBSCurrentSceneTransition : GetCurrentSceneTransition | |[Get-OBSCurrentSceneTransitionCursor](Get-OBSCurrentSceneTransitionCursor.md) |Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor | +|[Get-OBSCurveShader](Get-OBSCurveShader.md) | |[Get-OBSCutRectPerCornerShader](Get-OBSCutRectPerCornerShader.md) | |[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDigitalRainShader](Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](Get-OBSDoodleShader.md) | |[Get-OBSDrawingsShader](Get-OBSDrawingsShader.md) | @@ -77,6 +79,7 @@ Functions |[Get-OBSFilterTemplateShader](Get-OBSFilterTemplateShader.md) | |[Get-OBSFire3Shader](Get-OBSFire3Shader.md) | |[Get-OBSFireShader](Get-OBSFireShader.md) | +|[Get-OBSFireworks2Shader](Get-OBSFireworks2Shader.md) | |[Get-OBSFireworksShader](Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](Get-OBSFisheyeXyShader.md) | @@ -135,6 +138,7 @@ Functions |[Get-OBSPieChartShader](Get-OBSPieChartShader.md) | |[Get-OBSPixelationShader](Get-OBSPixelationShader.md) | |[Get-OBSPixelationTransitionShader](Get-OBSPixelationTransitionShader.md) | +|[Get-OBSPolarShader](Get-OBSPolarShader.md) | |[Get-OBSProfile](Get-OBSProfile.md) |Get-OBSProfile : GetProfileList | |[Get-OBSProfileParameter](Get-OBSProfileParameter.md) |Get-OBSProfileParameter : GetProfileParameter | |[Get-OBSPulseShader](Get-OBSPulseShader.md) | @@ -364,10 +368,12 @@ Aliases |[Get-OBSCurrentProgramScene](Get-OBSCurrentProgramScene.md) | |[Get-OBSCurrentSceneTransition](Get-OBSCurrentSceneTransition.md) | |[Get-OBSCurrentSceneTransitionCursor](Get-OBSCurrentSceneTransitionCursor.md) | +|[Get-OBSCurveShader](Get-OBSCurveShader.md) | |[Get-OBSCutRectPerCornerShader](Get-OBSCutRectPerCornerShader.md) | |[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDigitalRainShader](Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](Get-OBSDoodleShader.md) | |[Get-OBSDrawingsShader](Get-OBSDrawingsShader.md) | @@ -388,6 +394,7 @@ Aliases |[Get-OBSFilterTemplateShader](Get-OBSFilterTemplateShader.md) | |[Get-OBSFire3Shader](Get-OBSFire3Shader.md) | |[Get-OBSFireShader](Get-OBSFireShader.md) | +|[Get-OBSFireworks2Shader](Get-OBSFireworks2Shader.md) | |[Get-OBSFireworksShader](Get-OBSFireworksShader.md) | |[Get-OBSFisheyeShader](Get-OBSFisheyeShader.md) | |[Get-OBSFisheyeXyShader](Get-OBSFisheyeXyShader.md) | @@ -446,6 +453,7 @@ Aliases |[Get-OBSPieChartShader](Get-OBSPieChartShader.md) | |[Get-OBSPixelationShader](Get-OBSPixelationShader.md) | |[Get-OBSPixelationTransitionShader](Get-OBSPixelationTransitionShader.md) | +|[Get-OBSPolarShader](Get-OBSPolarShader.md) | |[Get-OBSProfile](Get-OBSProfile.md) | |[Get-OBSProfileParameter](Get-OBSProfileParameter.md) | |[Get-OBSPulseShader](Get-OBSPulseShader.md) | From f234452bd8e41aa472123c571846b7dd4304ba47 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Wed, 1 Jan 2025 16:22:05 -0800 Subject: [PATCH 3825/4768] feat: Watch-OBS -BufferSize ( Fixes #212, Fixes #213 ) Defaulting to 64kb --- Commands/Watch-OBS.ps1 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Commands/Watch-OBS.ps1 b/Commands/Watch-OBS.ps1 index e8032cc2b..5f8f7e5b8 100644 --- a/Commands/Watch-OBS.ps1 +++ b/Commands/Watch-OBS.ps1 @@ -26,7 +26,13 @@ function Watch-OBS [Parameter(ValueFromPipelineByPropertyName)] [Alias('WebSocketPassword')] [string] - $WebSocketToken + $WebSocketToken, + + # The size of the buffer to use when receiving messages from the websocket. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(1,1mb)] + [int] + $BufferSize = 64kb ) begin { @@ -35,7 +41,10 @@ function Watch-OBS [uri]$webSocketUri, [Alias('WebSocketPassword')] - $WebSocketToken + $WebSocketToken, + + [int] + $BufferSize = 64kb ) }.ToString() + " @@ -56,7 +65,7 @@ $($ExecutionContext.SessionState.InvokeCommand.GetCommand('Send-OBS', 'Function' $obsPwd = $WebSocketToken $WaitInterval = [Timespan]::FromMilliseconds(7) - $BufferSize = 16kb + $BufferSize = 64kb $maxWaitTime = [DateTime]::Now + $WaitFor while (!$ConnectTask.IsCompleted -and [DateTime]::Now -lt $maxWaitTime) { @@ -126,7 +135,7 @@ $($ExecutionContext.SessionState.InvokeCommand.GetCommand('Send-OBS', 'Function' $obsWatcher = - Start-ThreadJob -ScriptBlock $obsWatcherJobDefinition -Name "OBS.Connection.$($Credential.UserName)" -ArgumentList $WebSocketURI, $WebSocketToken + Start-ThreadJob -ScriptBlock $obsWatcherJobDefinition -Name "OBS.Connection.$($Credential.UserName)" -ArgumentList $WebSocketURI, $WebSocketToken, $BufferSize $whenOutputAddedHandler = Register-ObjectEvent -InputObject $obsWatcher.Output -EventName DataAdded -Action { From 7ca074b2fc82499ba581b81d609ccb2e0f0de932 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Jan 2025 00:25:16 +0000 Subject: [PATCH 3826/4768] feat: Watch-OBS -BufferSize ( Fixes #212, Fixes #213 ) Defaulting to 64kb --- obs-powershell.psd1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index ad3dd4c3c..e04a6478e 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -446,6 +446,15 @@ Initial Release of obs-powershell 'Get-OBSZoomBlurShader', 'Get-OBSZoomShader', 'Get-OBSZoomXYShader', +'Set-OBS3DFilter', +'Set-OBSColorFilter', +'Set-OBSEqualizerFilter', +'Set-OBSGainFilter', +'Set-OBSRenderDelayFilter', +'Set-OBSScaleFilter', +'Set-OBSScrollFilter', +'Set-OBSShaderFilter', +'Set-OBSSharpnessFilter', 'Set-OBSAudioOutputSource', 'Set-OBSBrowserSource', 'Set-OBSColorSource', @@ -461,15 +470,6 @@ Initial Release of obs-powershell 'Import-OBSEffect', 'Remove-OBSEffect', 'Start-OBSEffect', -'Stop-OBSEffect', -'Set-OBS3DFilter', -'Set-OBSColorFilter', -'Set-OBSEqualizerFilter', -'Set-OBSGainFilter', -'Set-OBSRenderDelayFilter', -'Set-OBSScaleFilter', -'Set-OBSScrollFilter', -'Set-OBSShaderFilter', -'Set-OBSSharpnessFilter' +'Stop-OBSEffect' } From a0ff40ae4a5640a8d6da6ef451db982f8032a270 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 2 Jan 2025 00:26:00 +0000 Subject: [PATCH 3827/4768] feat: Watch-OBS -BufferSize ( Fixes #212, Fixes #213 ) Defaulting to 64kb --- docs/Watch-OBS.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Watch-OBS.md b/docs/Watch-OBS.md index 5dfa28767..5b98f7d2e 100644 --- a/docs/Watch-OBS.md +++ b/docs/Watch-OBS.md @@ -49,9 +49,16 @@ You can see the websocket password in Tools -> obs-websocket settings -> show co |----------|--------|--------|---------------------|-----------------| |`[String]`|false |2 |true (ByPropertyName)|WebSocketPassword| +#### **BufferSize** +The size of the buffer to use when receiving messages from the websocket. + +|Type |Required|Position|PipelineInput | +|---------|--------|--------|---------------------| +|`[Int32]`|false |3 |true (ByPropertyName)| + --- ### Syntax ```PowerShell -Watch-OBS [[-WebSocketURI] ] [[-WebSocketToken] ] [] +Watch-OBS [[-WebSocketURI] ] [[-WebSocketToken] ] [[-BufferSize] ] [] ``` From 595bb08c8dc624439b61304234d53aa46b60a3f5 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Tue, 18 Mar 2025 18:58:47 -0700 Subject: [PATCH 3828/4768] feat: Watch-OBS - Updating thread job creation --- Commands/Watch-OBS.ps1 | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/Commands/Watch-OBS.ps1 b/Commands/Watch-OBS.ps1 index 5f8f7e5b8..de7c53a0e 100644 --- a/Commands/Watch-OBS.ps1 +++ b/Commands/Watch-OBS.ps1 @@ -38,14 +38,12 @@ function Watch-OBS begin { $obsWatcherJobDefinition = '' + { param( - [uri]$webSocketUri, - - [Alias('WebSocketPassword')] - $WebSocketToken, - - [int] - $BufferSize = 64kb + [Collections.IDictionary]$Variable ) + + foreach ($keyValue in $Variable.GetEnumerator()) { + $ExecutionContext.SessionState.PSVariable.Set($keyValue.Name, $keyValue.Value) + } }.ToString() + " function Receive-OBS { @@ -76,6 +74,7 @@ $($ExecutionContext.SessionState.InvokeCommand.GetCommand('Send-OBS', 'Function' $script:ObsConnections = @{} } $script:ObsConnections[$webSocketUri] = $Websocket + $Variable['WebSocket'] = $Websocket [PSCustomObject][Ordered]@{ PSTypename = 'obs.websocket' @@ -101,11 +100,21 @@ $($ExecutionContext.SessionState.InvokeCommand.GetCommand('Send-OBS', 'Function' if ($msg) { $messageData = try { ConvertFrom-Json $msg -ErrorAction Ignore} catch { $_ } - if ($messageData -isnot [Management.Automation.ErrorRecord]) { - $messageData | Receive-OBS -WebSocketToken $WebSocketToken -WebSocketUri $webSocketUri -SendEvent + $received = if ($messageData -isnot [Management.Automation.ErrorRecord]) { + $messageData | Receive-OBS -WebSocketToken $WebSocketToken -WebSocketUri $webSocketUri -SendEvent -Subscription $Subscription } else { $messageData } + if ($MainRunspace) { + foreach ($receivedItem in $received) { + if ($receivedItem -is [Management.Automation.PSEvent]) { + $MainRunspace.Events.GenerateEvent($receivedItem.SourceIdentifier, $receivedItem.Sender, $receivedItem.SourceArgs, $receivedItem.MessageData) + } else { + $MainRunspace.Events.GenerateEvent('obs://', $Websocket, $received, $null) + } + } + } + $received } $buffer.Clear() @@ -133,9 +142,14 @@ $($ExecutionContext.SessionState.InvokeCommand.GetCommand('Send-OBS', 'Function' process { - + $MainRunspace = [Runspace]::DefaultRunspace $obsWatcher = - Start-ThreadJob -ScriptBlock $obsWatcherJobDefinition -Name "OBS.Connection.$($Credential.UserName)" -ArgumentList $WebSocketURI, $WebSocketToken, $BufferSize + Start-ThreadJob -ScriptBlock $obsWatcherJobDefinition -Name "OBS.Connection.$($Credential.UserName)" -ArgumentList ([Ordered]@{ + WebSocketURI = $WebSocketURI + WebSocketToken = $WebSocketToken + BufferSize = $BufferSize + MainRunspace = $MainRunspace + }) $whenOutputAddedHandler = Register-ObjectEvent -InputObject $obsWatcher.Output -EventName DataAdded -Action { From e439ae58255ad410903055976fc494936cd3ed58 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Tue, 18 Mar 2025 19:01:22 -0700 Subject: [PATCH 3829/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- obs-powershell.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index e04a6478e..cdc84bd10 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -8,7 +8,7 @@ Copyright = '2022-2023 Start-Automating' FormatsToProcess = 'obs-powershell.format.ps1xml' TypesToProcess = 'obs-powershell.types.ps1xml' - RequiredModules = 'ThreadJob' + RequiredModules = '' PowerShellVersion = '7.0' PrivateData = @{ PSData = @{ From 1cf48377795baaaa8fea4822692406adb95c0fa7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:04 +0000 Subject: [PATCH 3830/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Shaders/Get-OBS3dSwapTransitionShader.ps1 | 269 ++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 Commands/Shaders/Get-OBS3dSwapTransitionShader.ps1 diff --git a/Commands/Shaders/Get-OBS3dSwapTransitionShader.ps1 b/Commands/Shaders/Get-OBS3dSwapTransitionShader.ps1 new file mode 100644 index 000000000..ad6dbac95 --- /dev/null +++ b/Commands/Shaders/Get-OBS3dSwapTransitionShader.ps1 @@ -0,0 +1,269 @@ +function Get-OBS3dSwapTransitionShader { + +[Alias('Set-OBS3dSwapTransitionShader','Add-OBS3dSwapTransitionShader')] +param( +# Set the image_a of OBS3dSwapTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBS3dSwapTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBS3dSwapTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBS3dSwapTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the reflection of OBS3dSwapTransitionShader +[ComponentModel.DefaultBindingProperty('reflection')] +[Single] +$Reflection, +# Set the perspective of OBS3dSwapTransitionShader +[ComponentModel.DefaultBindingProperty('perspective')] +[Single] +$Perspective, +# Set the depth of OBS3dSwapTransitionShader +[ComponentModel.DefaultBindingProperty('depth')] +[Single] +$Depth, +# Set the background_color of OBS3dSwapTransitionShader +[Alias('background_color')] +[ComponentModel.DefaultBindingProperty('background_color')] +[String] +$BackgroundColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = '3d_swap_transition' +$ShaderNoun = 'OBS3dSwapTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/MlXGzf + +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time = 0.5; +uniform bool convert_linear = true; + +uniform float reflection< + string label = "Reflection (0.4)"; + string widget_type = "slider"; + float minimum = 0.00; + float maximum = 1.00; + float step = 0.01; +> = 0.4; +uniform float perspective< + string label = "Perspective (0.2)"; + string widget_type = "slider"; + float minimum = 0.00; + float maximum = 1.00; + float step = 0.01; +> = .2; +uniform float depth< + string label = "Depth (3.0)"; + string widget_type = "slider"; + float minimum = 1.00; + float maximum = 10.00; + float step = 0.1; +> = 3.; + +#ifndef OPENGL +#define lessThan(a,b) (a < b) +#endif + + +uniform float4 background_color = {0.0, 0.0, 0.0, 1.0}; + +bool inBounds (float2 p) { + return all(lessThan(float2(0.0,0.0), p)) && all(lessThan(p, float2(1.0,1.0))); +} + +float2 project (float2 p) { + return p * float2(1.0, -1.2) + float2(0.0, 2.22); +} + +float4 bgColor (float2 p, float2 pfr, float2 pto) { + float4 c = background_color; + pfr = project(pfr); + if (inBounds(pfr)) { + c += lerp(background_color, image_a.Sample(textureSampler, pfr), reflection * lerp(0.0, 1.0, pfr.y)); + } + pto = project(pto); + if (inBounds(pto)) { + c += lerp(background_color, image_b.Sample(textureSampler, pto), reflection * lerp(0.0, 1.0, pto.y)); + } + return c; +} + +float4 mainImage(VertData v_in) : TARGET { + float2 p = v_in.uv; + float2 pfr = float2(-1.,-1.); + float2 pto = float2(-1.,-1.); + + float progress = transition_time; + float size = lerp(1.0, depth, progress); + float persp = perspective * progress; + pfr = (p + float2(-0.0, -0.5)) * float2(size/(1.0-perspective*progress), size/(1.0-size*persp*p.x)) + float2(0.0, 0.5); + + size = lerp(1.0, depth, 1.-progress); + persp = perspective * (1.-progress); + pto = (p + float2(-1.0, -0.5)) * float2(size/(1.0-perspective*(1.0-progress)), size/(1.0-size*persp*(0.5-p.x))) + float2(1.0, 0.5); + + bool fromOver = progress < 0.5; + float4 rgba = background_color; + if (fromOver) { + if (inBounds(pfr)) { + rgba = image_a.Sample(textureSampler, pfr); + } + else if (inBounds(pto)) { + rgba = image_b.Sample(textureSampler, pto); + } + else { + rgba = bgColor(p, pfr, pto); + } + } + else { + if (inBounds(pto)) { + rgba = image_b.Sample(textureSampler, pto); + } + else if (inBounds(pfr)) { + rgba = image_a.Sample(textureSampler, pfr); + } + else { + rgba = bgColor(p, pfr, pto); + } + } + if (convert_linear) + rgba.rgb = srgb_nonlinear_to_linear(rgba.rgb); + return rgba; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From f671e9f29330765b1394ee4fcefbc3c530975c4a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3831/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSClockAnalogShader.ps1 | 346 ++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 Commands/Shaders/Get-OBSClockAnalogShader.ps1 diff --git a/Commands/Shaders/Get-OBSClockAnalogShader.ps1 b/Commands/Shaders/Get-OBSClockAnalogShader.ps1 new file mode 100644 index 000000000..135318e79 --- /dev/null +++ b/Commands/Shaders/Get-OBSClockAnalogShader.ps1 @@ -0,0 +1,346 @@ +function Get-OBSClockAnalogShader { + +[Alias('Set-OBSClockAnalogShader','Add-OBSClockAnalogShader')] +param( +# Set the current_time_ms of OBSClockAnalogShader +[Alias('current_time_ms')] +[ComponentModel.DefaultBindingProperty('current_time_ms')] +[Int32] +$CurrentTimeMs, +# Set the current_time_sec of OBSClockAnalogShader +[Alias('current_time_sec')] +[ComponentModel.DefaultBindingProperty('current_time_sec')] +[Int32] +$CurrentTimeSec, +# Set the current_time_min of OBSClockAnalogShader +[Alias('current_time_min')] +[ComponentModel.DefaultBindingProperty('current_time_min')] +[Int32] +$CurrentTimeMin, +# Set the current_time_hour of OBSClockAnalogShader +[Alias('current_time_hour')] +[ComponentModel.DefaultBindingProperty('current_time_hour')] +[Int32] +$CurrentTimeHour, +# Set the hour_handle_color of OBSClockAnalogShader +[Alias('hour_handle_color')] +[ComponentModel.DefaultBindingProperty('hour_handle_color')] +[Single[]] +$HourHandleColor, +# Set the minute_handle_color of OBSClockAnalogShader +[Alias('minute_handle_color')] +[ComponentModel.DefaultBindingProperty('minute_handle_color')] +[Single[]] +$MinuteHandleColor, +# Set the second_handle_color of OBSClockAnalogShader +[Alias('second_handle_color')] +[ComponentModel.DefaultBindingProperty('second_handle_color')] +[Single[]] +$SecondHandleColor, +# Set the outline_color of OBSClockAnalogShader +[Alias('outline_color')] +[ComponentModel.DefaultBindingProperty('outline_color')] +[Single[]] +$OutlineColor, +# Set the top_line_color of OBSClockAnalogShader +[Alias('top_line_color')] +[ComponentModel.DefaultBindingProperty('top_line_color')] +[Single[]] +$TopLineColor, +# Set the background_color of OBSClockAnalogShader +[Alias('background_color')] +[ComponentModel.DefaultBindingProperty('background_color')] +[Single[]] +$BackgroundColor, +# Set the time_offset_hours of OBSClockAnalogShader +[Alias('time_offset_hours')] +[ComponentModel.DefaultBindingProperty('time_offset_hours')] +[Int32] +$TimeOffsetHours, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'clock_analog' +$ShaderNoun = 'OBSClockAnalogShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Based on https://www.shadertoy.com/view/XdKXzy +uniform int current_time_ms; +uniform int current_time_sec; +uniform int current_time_min; +uniform int current_time_hour; +uniform float3 hour_handle_color = {1.0,1.0,1.0}; +uniform float3 minute_handle_color = {1.0,1.0,1.0}; +uniform float3 second_handle_color = {1.0,0.0,0.0}; +uniform float3 outline_color = {1.0,1.0,1.0}; +uniform float3 top_line_color = {1.0,0.0,0.0}; +uniform float3 background_color = {.5,.5,.5}; +uniform int time_offset_hours = 0; + +#ifndef OPENGL +#define mod(x,y) (x - y * floor(x / y)) +#endif +// this is my first try to actually use glsl almost from scratch +// so far all i''ve done is learning by doing / reading glsl docs. +// this is inspired by my non glsl „elapsed_time“ projects +// especially this one: https://www.gottz.de/analoguhr.htm + +// i will most likely use a buffer in future to calculate the elapsed_time +// aswell as to draw the background of the clock only once. +// tell me if thats a bad idea. + +// update: +// screenshot: http://i.imgur.com/dF0nHDk.png +// as soon as i think its in a usefull state i''ll release the source +// of that particular c++ application on github. +// i hope sommeone might find it usefull :D + +#define PI 3.141592653589793238462643383 + +// from https://www.shadertoy.com/view/4s3XDn <3 +float ln(float2 p, float2 a, float2 b) +{ + float2 pa = p - a; + float2 ba = b - a; + float h = clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0); + return length(pa - ba * h); +} + +// i think i should spend some elapsed_time reading docs in order to minimize this. +// hints apreciated +// (Rotated LiNe) +float rln(float2 uv, float start, float end, float perc) { + float inp = perc * PI * 2.0; + float2 coord = float2(sin(inp), cos(inp)); + return ln(uv, coord * start, coord * end); +} + +// i need this to have an alphachannel in the output +// i intend to use an optimized version of this shader for a transparent desktop widget experiment +float4 mixer(float4 c1, float4 c2) { + // please tell me if you think this would boost performance. + // the elapsed_time i implemented mix myself it sure did reduce + // the amount of operations but i''m not sure now + // if (c2.a <= 0.0) return c1; + // if (c2.a >= 1.0) return c2; + return float4(lerp(c1.rgb, c2.rgb, c2.a), c1.a + c2.a); + // in case you are curious how you could implement mix yourself: + // return float4(c2.rgb * c2.a + c1.rgb * (1.0-c2.a), c1.a+c2.a); +} + +float4 styleHandle(float4 color, float px, float dist, float3 handleColor, float width, float shadow) { + if (dist <= width + shadow) { + // lets draw the shadow + color = mixer(color, float4(0.0, 0.0, 0.0, + (1.0-pow(smoothstep(width, width + shadow, dist),0.2))*0.2)); + // now lets draw the antialiased handle + color = mixer(color, float4(handleColor, smoothstep(width, max(width - 3.0 * px, 0.0), dist))); + } + return color; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 R = uv_size; + // calculate the size of a pixel + float px = 1.0 / R.y; + // create percentages of the coordinate system + float2 p = (v_in.uv * uv_size).xy / R; + // center the scene and add perspective + float2 uv = (2.0 * (float2(v_in.uv.x,1.0-v_in.uv.y) * uv_size) - R) / min(R.x, R.y); + + /*float2 uv = -1.0 + 2.0 * p.xy; + // lets add perspective for mobile device support + if (uv_size.x > uv_size.y) + uv.x *= uv_size.x / uv_size.y; + else + uv.y *= uv_size.y / uv_size.x;*/ + + // lets scale the scene a bit down: + uv *= 1.1; + px *= 0.9; + + float width = 0.015; + float dist = 1.0; + float centerdist = length(uv); + + float4 color = image.Sample(textureSampler, v_in.uv); + + // background of the clock + if (centerdist < 1.0 - width) color = mixer(color, float4(background_color, 0.4*(1.8-length(uv)))); + + float isRed = 1.0; + + if (centerdist > 1.0 - 12.0 * width && centerdist <= 1.1) { + // minute bars + for (float i = 0.0; i <= 15.0; i += 1.0) { + if (mod(i, 5.0) == 0.0) { + dist = min(dist, rln(abs(uv), 1.0 - 10.0 * width, 1.0 - 2.0 * width, i / 60.0)); + // draw first bar red + if (i == 0.0 && uv.y > 0.0) { + isRed = dist; + dist = smoothstep(width, max(width - 3.0 * px, 0.0), dist); + color = mixer(color, float4(top_line_color, dist)); + dist = 1.0; + } + } + else { + dist = min(dist, rln(abs(uv), 1.0 - 10.0 * width, 1.0 - 7.0 * width, i / 60.0)); + } + } + + // outline circle + dist = min(dist, abs(1.0-width-length(uv))); + // draw clock shadow + if (centerdist > 1.0) + color = mixer(color, float4(0.0,0.0,0.0, 0.3*smoothstep(1.0 + width*2.0, 1.0, centerdist))); + + // draw outline + minute bars in white + color = mixer(color, float4(0.0, 0.0, 0.0, + (1.0 - pow(smoothstep(width, width + 0.02, min(isRed, dist)), 0.4))*0.2)); + color = mixer(color, float4(outline_color, smoothstep(width, max(width - 3.0 * px, 0.0), dist))); + } + + if (centerdist < 1.0) { + float elapsed_time = float((time_offset_hours+current_time_hour)*3600+current_time_min*60+current_time_sec) + pow(float(current_time_ms)/1000.0,16.0); + // hour + color = styleHandle(color, px, + rln(uv, -0.05, 0.5, elapsed_time / 3600.0 / 12.0), + hour_handle_color, 0.03, 0.02); + + // minute + color = styleHandle(color, px, + rln(uv, -0.075, 0.7, elapsed_time / 3600.0), + minute_handle_color, 0.02, 0.02); + + // second + color = styleHandle(color, px, + min(rln(uv, -0.1, 0.9, elapsed_time / 60.0), length(uv)-0.01), + second_handle_color, 0.01, 0.02); + } + + + return color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 572f62e93772136f42f4c80a268ed52ffd575d26 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3832/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Shaders/Get-OBSClockDigitalLedShader.ps1 | 381 ++++++++++++++++++ 1 file changed, 381 insertions(+) create mode 100644 Commands/Shaders/Get-OBSClockDigitalLedShader.ps1 diff --git a/Commands/Shaders/Get-OBSClockDigitalLedShader.ps1 b/Commands/Shaders/Get-OBSClockDigitalLedShader.ps1 new file mode 100644 index 000000000..53a8981ef --- /dev/null +++ b/Commands/Shaders/Get-OBSClockDigitalLedShader.ps1 @@ -0,0 +1,381 @@ +function Get-OBSClockDigitalLedShader { + +[Alias('Set-OBSClockDigitalLedShader','Add-OBSClockDigitalLedShader')] +param( +# Set the current_time_sec of OBSClockDigitalLedShader +[Alias('current_time_sec')] +[ComponentModel.DefaultBindingProperty('current_time_sec')] +[Int32] +$CurrentTimeSec, +# Set the current_time_min of OBSClockDigitalLedShader +[Alias('current_time_min')] +[ComponentModel.DefaultBindingProperty('current_time_min')] +[Int32] +$CurrentTimeMin, +# Set the current_time_hour of OBSClockDigitalLedShader +[Alias('current_time_hour')] +[ComponentModel.DefaultBindingProperty('current_time_hour')] +[Int32] +$CurrentTimeHour, +# Set the timeMode of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('timeMode')] +[Int32] +$TimeMode, +# Set the showMatrix of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('showMatrix')] +[Management.Automation.SwitchParameter] +$ShowMatrix, +# Set the showOff of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('showOff')] +[Management.Automation.SwitchParameter] +$ShowOff, +# Set the ampm of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('ampm')] +[Management.Automation.SwitchParameter] +$Ampm, +# Set the ledColor of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('ledColor')] +[String] +$LedColor, +# Set the offsetHours of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('offsetHours')] +[Int32] +$OffsetHours, +# Set the offsetSeconds of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('offsetSeconds')] +[Int32] +$OffsetSeconds, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'clock_digital_led' +$ShaderNoun = 'OBSClockDigitalLedShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// based on https://www.shadertoy.com/view/MdfGzf +// cmarangu has linked all 7 segments in his comments +// https://www.shadertoy.com/view/3dtSRj + +#ifndef OPENGL +#define mod(x,y) (x - y * floor(x / y)) +#endif + +uniform int current_time_sec; +uniform int current_time_min; +uniform int current_time_hour; + +uniform int timeMode< + string label = "Time mode"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Time"; + int option_1_value = 1; + string option_1_label = "Enable duration"; + int option_2_value = 2; + string option_2_label = "Active duration"; + int option_3_value = 3; + string option_3_label = "Show duration"; + int option_4_value = 4; + string option_4_label = "Load duration"; +> = 0; + +uniform bool showMatrix = false; +uniform bool showOff = false; +uniform bool ampm = false; +uniform float4 ledColor = {1.0,0,0,1.0}; +uniform int offsetHours = 0; +uniform int offsetSeconds = 0; + +float segment(float2 uv, bool On) +{ + if (!On && !showOff) + return 0.0; + + float seg = (1.0-smoothstep(0.08,0.09+float(On)*0.02,abs(uv.x)))* + (1.0-smoothstep(0.46,0.47+float(On)*0.02,abs(uv.y)+abs(uv.x))); + + //Fiddle with lights and matrix + //uv.x += sin(elapsed_time*60.0*6.26)/14.0; + //uv.y += cos(elapsed_time*60.0*6.26)/14.0; + + //led like brightness + if (On){ + seg *= (1.0-length(uv*float2(3.8,0.9)));//-sin(elapsed_time*25.0*6.26)*0.04; + } else { + seg *= -(0.05+length(uv*float2(0.2,0.1))); + } + return seg; +} + +float sevenSegment(float2 uv,int num) +{ + float seg= 0.0; + seg += segment(uv.yx+float2(-1.0, 0.0),num!=-1 && num!=1 && num!=4 ); + seg += segment(uv.xy+float2(-0.5,-0.5),num!=-1 && num!=1 && num!=2 && num!=3 && num!=7); + seg += segment(uv.xy+float2( 0.5,-0.5),num!=-1 && num!=5 && num!=6 ); + seg += segment(uv.yx+float2( 0.0, 0.0),num!=-1 && num!=0 && num!=1 && num!=7 ); + seg += segment(uv.xy+float2(-0.5, 0.5),num==0 || num==2 || num==6 || num==8 ); + seg += segment(uv.xy+float2( 0.5, 0.5),num!=-1 && num!=2 ); + seg += segment(uv.yx+float2( 1.0, 0.0),num!=-1 && num!=1 && num!=4 && num!=7 ); + + return seg; +} + +float showNum(float2 uv,int nr, bool zeroTrim) +{ + //Speed optimization, leave if pixel is not in segment + if (abs(uv.x)>1.5 || abs(uv.y)>1.2) + return 0.0; + + float seg= 0.0; + if (uv.x>0.0) + { + nr /= 10; + if (nr==0 && zeroTrim) + nr = -1; + seg += sevenSegment(uv+float2(-0.75,0.0),nr); + } else { + seg += sevenSegment(uv+float2( 0.75,0.0),int(mod(float(nr),10.0))); + } + + return seg; +} + +float dots(float2 uv) +{ + float seg = 0.0; + uv.y -= 0.5; + seg += (1.0-smoothstep(0.11,0.13,length(uv))) * (1.0-length(uv)*2.0); + uv.y += 1.0; + seg += (1.0-smoothstep(0.11,0.13,length(uv))) * (1.0-length(uv)*2.0); + return seg; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = ((float2(v_in.uv.x, 1.0-v_in.uv.y) * uv_size).xy-0.5*uv_size) / + min(uv_size.x,uv_size.y); + + if (uv_size.x>uv_size.y) + { + uv *= 6.0; + } + else + { + uv *= 12.0; + } + + uv.x *= -1.0; + uv.x += uv.y/12.0; + //wobble + //uv.x += sin(uv.y*3.0+elapsed_time*14.0)/25.0; + //uv.y += cos(uv.x*3.0+elapsed_time*14.0)/25.0; + uv.x += 3.5; + float seg = 0.0; + + if(timeMode == 0){ + seg += showNum(uv,current_time_sec,false); + uv.x -= 1.75; + seg += dots(uv); + uv.x -= 1.75; + seg += showNum(uv,current_time_min,false); + uv.x -= 1.75; + seg += dots(uv); + uv.x -= 1.75; + if (ampm) { + if(current_time_hour == 0){ + seg += showNum(uv,12,true); + }else if(current_time_hour > 12){ + seg += showNum(uv,current_time_hour-12,true); + }else{ + seg += showNum(uv,current_time_hour,true); + } + } else { + seg += showNum(uv,current_time_hour,true); + } + }else{ + float timeSecs = 0.0; + if(timeMode == 1){ + timeSecs = elapsed_time_enable; + }else if(timeMode == 2){ + timeSecs = elapsed_time_active; + }else if(timeMode == 3){ + timeSecs = elapsed_time_show; + }else if(timeMode == 4){ + timeSecs = elapsed_time_start; + } + + timeSecs += offsetSeconds + offsetHours*3600; + if(timeSecs < 0) + timeSecs = 0.9999-timeSecs; + seg += showNum(uv,int(mod(timeSecs,60.0)),false); + + timeSecs = floor(timeSecs/60.0); + + uv.x -= 1.75; + + seg += dots(uv); + + uv.x -= 1.75; + + seg += showNum(uv,int(mod(timeSecs,60.0)),false); + + timeSecs = floor(timeSecs/60.0); + if (ampm) + { + if(timeSecs == 0.0){ + timeSecs = 12.0; + }else if (timeSecs > 12.0){ + timeSecs = mod(timeSecs,12.0); + } + }else if (timeSecs > 24.0) { + timeSecs = mod(timeSecs,24.0); + } + + uv.x -= 1.75; + + seg += dots(uv); + + uv.x -= 1.75; + seg += showNum(uv,int(mod(timeSecs,60.0)),true); + } + + + if (seg==0.0){ + return image.Sample(textureSampler, v_in.uv); + } + // matrix over segment + if (showMatrix) + { + seg *= 0.8+0.2*smoothstep(0.02,0.04,mod(uv.y+uv.x,0.06025)); + //seg *= 0.8+0.2*smoothstep(0.02,0.04,mod(uv.y-uv.x,0.06025)); + } + if (seg<0.0) + { + seg = -seg;; + return float4(seg,seg,seg,1.0); + } + return float4(ledColor.rgb * seg, ledColor.a); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From f27363a0586dbd9215ed352bfb5de55a00243ea8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3833/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Get-OBSClockDigitalNixieShader.ps1 | 658 ++++++++++++++++++ 1 file changed, 658 insertions(+) create mode 100644 Commands/Shaders/Get-OBSClockDigitalNixieShader.ps1 diff --git a/Commands/Shaders/Get-OBSClockDigitalNixieShader.ps1 b/Commands/Shaders/Get-OBSClockDigitalNixieShader.ps1 new file mode 100644 index 000000000..b44a44bec --- /dev/null +++ b/Commands/Shaders/Get-OBSClockDigitalNixieShader.ps1 @@ -0,0 +1,658 @@ +function Get-OBSClockDigitalNixieShader { + +[Alias('Set-OBSClockDigitalNixieShader','Add-OBSClockDigitalNixieShader')] +param( +# Set the current_time_ms of OBSClockDigitalNixieShader +[Alias('current_time_ms')] +[ComponentModel.DefaultBindingProperty('current_time_ms')] +[Int32] +$CurrentTimeMs, +# Set the current_time_sec of OBSClockDigitalNixieShader +[Alias('current_time_sec')] +[ComponentModel.DefaultBindingProperty('current_time_sec')] +[Int32] +$CurrentTimeSec, +# Set the current_time_min of OBSClockDigitalNixieShader +[Alias('current_time_min')] +[ComponentModel.DefaultBindingProperty('current_time_min')] +[Int32] +$CurrentTimeMin, +# Set the current_time_hour of OBSClockDigitalNixieShader +[Alias('current_time_hour')] +[ComponentModel.DefaultBindingProperty('current_time_hour')] +[Int32] +$CurrentTimeHour, +# Set the timeMode of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('timeMode')] +[Int32] +$TimeMode, +# Set the offsetHours of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('offsetHours')] +[Int32] +$OffsetHours, +# Set the offsetSeconds of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('offsetSeconds')] +[Int32] +$OffsetSeconds, +# Set the corecolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('corecolor')] +[Single[]] +$Corecolor, +# Set the halocolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('halocolor')] +[Single[]] +$Halocolor, +# Set the flarecolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('flarecolor')] +[Single[]] +$Flarecolor, +# Set the anodecolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('anodecolor')] +[Single[]] +$Anodecolor, +# Set the anodehighlightscolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('anodehighlightscolor')] +[Single[]] +$Anodehighlightscolor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'clock_digital_nixie' +$ShaderNoun = 'OBSClockDigitalNixieShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/fsBcRm +uniform int current_time_ms; +uniform int current_time_sec; +uniform int current_time_min; +uniform int current_time_hour; +uniform int timeMode< + string label = "Time mode"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Time"; + int option_1_value = 1; + string option_1_label = "Enable duration"; + int option_2_value = 2; + string option_2_label = "Active duration"; + int option_3_value = 3; + string option_3_label = "Show duration"; + int option_4_value = 4; + string option_4_label = "Load duration"; +> = 0; + +uniform int offsetHours = 0; +uniform int offsetSeconds = 0; + +// Colors as named variables, if you want to tweak them +uniform float3 corecolor = {1.0,0.7,0.0}; +uniform float3 halocolor = {1.0,0.5,0.0}; +uniform float3 flarecolor = {1.0,0.3,0.0}; +uniform float3 anodecolor = {0.2,0.1,0.1}; +uniform float3 anodehighlightscolor = {1.0,0.5,0.0}; + +#ifndef OPENGL +#define mod(x,y) (x - y * floor(x / y)) +#define lessThan(a,b) (a < b) +#define greaterThan(a,b) (a > b) +#endif + +// psrdnoise (c) Stefan Gustavson and Ian McEwan, +// ver. 2021-12-02, published under the MIT license: +// https://github.com/stegu/psrdnoise/ +float psrdnoise(float2 x, float2 period, float alpha, out float2 gradient) +{ + float2 uv = float2(x.x+x.y*0.5, x.y); + float2 i0 = floor(uv), f0 = frac(uv); + float cmp = step(f0.y, f0.x); + float2 o1 = float2(cmp, 1.0-cmp); + float2 i1 = i0 + o1, i2 = i0 + 1.0; + float2 v0 = float2(i0.x - i0.y*0.5, i0.y); + float2 v1 = float2(v0.x + o1.x - o1.y*0.5, v0.y + o1.y); + float2 v2 = float2(v0.x + 0.5, v0.y + 1.0); + float2 x0 = x - v0, x1 = x - v1, x2 = x - v2; + float3 iu, iv, xw, yw; + if(any(greaterThan(period, float2(0.0,0.0)))) { + xw = float3(v0.x, v1.x, v2.x); + yw = float3(v0.y, v1.y, v2.y); + if(period.x > 0.0) + xw = mod(float3(v0.x, v1.x, v2.x), period.x); + if(period.y > 0.0) + yw = mod(float3(v0.y, v1.y, v2.y), period.y); + iu = floor(xw + 0.5*yw + 0.5); iv = floor(yw + 0.5); + } else { + iu = float3(i0.x, i1.x, i2.x); iv = float3(i0.y, i1.y, i2.y); + } + float3 hash = mod(iu, 289.0); + hash = mod((hash*51.0 + 2.0)*hash + iv, 289.0); + hash = mod((hash*34.0 + 10.0)*hash, 289.0); + float3 psi = hash*0.07482 + alpha; + float3 gx = cos(psi); float3 gy = sin(psi); + float2 g0 = float2(gx.x, gy.x); + float2 g1 = float2(gx.y, gy.y); + float2 g2 = float2(gx.z, gy.z); + float3 w = 0.8 - float3(dot(x0, x0), dot(x1, x1), dot(x2, x2)); + w = max(w, 0.0); float3 w2 = w*w; float3 w4 = w2*w2; + float3 gdotx = float3(dot(g0, x0), dot(g1, x1), dot(g2, x2)); + float n = dot(w4, gdotx); + float3 w3 = w2*w; float3 dw = -8.0*w3*gdotx; + float2 dn0 = w4.x*g0 + dw.x*x0; + float2 dn1 = w4.y*g1 + dw.y*x1; + float2 dn2 = w4.z*g2 + dw.z*x2; + gradient = 10.9*(dn0 + dn1 + dn2); + return 10.9*n; +} + +// Compute the shortest distance from p +// to a line segment from p1 to p2. +float lined(float2 p1, float2 p2, float2 p) { + float2 p1p2 = p2 - p1; + float2 v = normalize(p1p2); + float2 s = p - p1; + float t = dot(v, s); + if (t<0.0) return length(s); + if (t>length(p1p2)) return length(p - p2); + return length(s - t*v); +} + +// Compute the shortest distance from p to a circle +// with center at c and radius r. (Extremely simple.) +float circled(float2 c, float r, float2 p) { + return abs(length(p - c) - r); +} + +// Compute the shortest distance from p to a +// circular arc with center c from p1 to p2. +// p1, p2 are in the +angle direction (ccw), +// to resolve the major/minor arc ambiguity, so +// specifying p1, p2 in the wrong order will +// yield the complement to the arc you wanted. +// If p1 = p2, the entire circle is drawn, but +// you don''t want to use this function to draw +// a circle. Use the simple circled() instead. +// If p1 and p2 have different distances to c, +// the end of the arc will not look right. If +// this is inconvenient, uncomment the 3rd line. +float arcd(float2 c, float2 p1, float2 p2, float2 p) { + + float2 v1 = p1 - c; + float2 v2 = p2 - c; + // Optional: make sure p1, p2 are both on the circle + // v2 = normalize(v2)*length(v1); + float2 v = p - c; + + float2 w = float2(dot(v, -float2(-v1.y, v1.x)), dot(v, float2(-v2.y, v2.x))); + + if(dot(v1, float2(-v2.y, v2.x)) >= 0.0) { // Arc angle <= pi + if(all(lessThan(float2(0.0,0.0), w))) { + return min(length(p1-p), length(p2-p)); // nearest end + } else { + return abs(length(v) - length(v1)); // dist to arc + } + } else { // Arc angle > pi + if(any(lessThan(float2(0.0,0.0), w))) { + return min(length(p1-p), length(p2-p)); + } else { + return abs(length(v) - length(v1)); + } + } +} + +// A convenient anti-aliased step() using auto derivatives +float aastep(float threshold, float value) { + float afwidth = 0.7 * length(float2(ddx(value), ddy(value))); + return smoothstep(threshold-afwidth, threshold+afwidth, value); +} + +// A smoothstep() that blends to an aastep() under minification +float aasmoothstep(float t1, float t2, float v) { + float aw = 0.7 * length(float2(ddx(v), ddy(v))); + float sw = max(0.5*(t2-t1), aw); + float st = 0.5*(t1+t2); + return smoothstep(st-sw, st+sw, v); +} + +// Distance field of a hexagonal (simplex) grid +// The return vector contains the distances to the +// three closest points, sorted by magnitude. +float3 hexgrid(float2 p) { + + const float stretch = 1.0/0.8660; + + // v.y = v.y + 0.0001; // needed if no stretching (rounding errors) + p.y = p.y * stretch; + // Transform to grid space (axis-aligned "simplex" grid) + float2 uv = float2(p.x + p.y*0.5, p.y); + // Determine which simplex we''re in, with i0 being the "base" + float2 i0 = floor(uv); + float2 f0 = frac(uv); + // o1 is the offset in simplex space to the second corner + float cmp = step(f0.y, f0.x); + float2 o1 = float2(cmp, 1.0-cmp); + // Enumerate the remaining simplex corners + float2 i1 = i0 + o1; + float2 i2 = i0 + float2(1.0, 1.0); + // Transform corners back to texture space + float2 p0 = float2(i0.x - i0.y * 0.5, i0.y); + float2 p1 = float2(p0.x + o1.x - o1.y * 0.5, p0.y + o1.y); + float2 p2 = float2(p0.x + 0.5, p0.y + 1.0); + float3 d = float3(length(p-p0), length(p-p1), length(p-p2)); + // Only three values - bubble sort is just fine. + d.yz = (d.y < d.z) ? d.yz : d.zy; + d.xy = (d.x < d.y) ? d.xy : d.yx; + d.yz = (d.y < d.z) ? d.yz : d.zy; + return d; +} + +// The digits. Simple functions, only a lot of them. + +// These glyphs and their implementation as distance fields +// are the original work of me (stefan.gustavson@gmail.com), +// and the code below is released under the MIT license: +// https://opensource.org/licenses/MIT +// (If that is inconvenient for you, let me know. I''m reasonable.) +// +// Experts say mortals should not attempt to design character shapes. +// "It''s just ten simple digits", I thought, "How hard can it be?" +// A week later, after countless little tweaks to proportions and +// curvature, and with a notepad full of sketches and pen-and-paper +// math, some of it horribly wrong because it was decades since I +// solved this kind of equations by hand, I know the answer: +// It can be *really* hard. But also loads of fun! +// +float nixie0(float2 p) { + // Special hack instead of pasting together arcs and lines + float d = lined(float2(2.0,2.0), float2(2.0, 6.0), p); + return abs(d - 2.0); +} + +float nixie1(float2 p) { + float d1 = lined(float2(2.0, 0.0), float2(2.0, 8.0), p); + float d2 = lined(float2(2.0, 8.0), float2(1.0, 6.0), p); + return min(d1, d2); +} + +float nixie1alt(float2 p) { // Straight line + return lined(float2(2.0, 0.0), float2(2.0, 8.0), p); +} + +float nixie2(float2 p) { + const float x = 3.2368345; // Icky coordinates, + const float y = 4.4283002; // used twice below + float d1 = lined(float2(4.25, 0.0), float2(-0.25, 0.0), p); + float d2 = arcd(float2(10.657842, -5.001899), // Also icky + float2(x, y), float2(-0.25, 0.0), p); + float d3 = arcd(float2(2.0, 6.0), float2(x, y), float2(0.0, 6.0), p); + return min(min(d1, d2), d3); +} + +float nixie2alt(float2 p) { // Straight neck + float d1 = lined(float2(4.0, 0.0), float2(0.0,0.0), p); + float d2 = lined(float2(0.0,0.0), float2(3.6, 4.8), p); + float d3 = arcd(float2(2.0, 6.0), float2(3.6, 4.8), float2(0.0, 6.0), p); + return min(min(d1, d2), d3); +} + +float nixie3(float2 p) { + // Two round parts: + // float d1 = arcd(float2(2.0, 2.1), float2(-0.1, 2.1), float2(2.0, 4.2), p); + // float d2 = arcd(float2(2.0, 6.1), float2(2.0, 4.2), float2(0.1, 6.1), p); + // Angled top, more like classic Nixie tube digits: + float d1 = arcd(float2(2.0, 2.25), float2(-0.25, 2.25), float2(2.0, 4.5), p); + float d2 = lined(float2(2.0, 4.5), float2(4.0, 7.75), p); + float d3 = lined(float2(4.0, 7.75), float2(0.0, 7.75), p); + return min(min(d1, d2), d3); +} + +float nixie3alt(float2 p) { // Two round parts of the same size + float d1 = arcd(float2(2.0,2.0), float2(0.0, 2.0), float2(2.0, 4.0), p); + float d2 = arcd(float2(2.0, 6.0), float2(2.0, 4.0), float2(0.0, 6.0), p); + return min(d1, d2); +} + +float nixie4(float2 p) { + // This digit is 5.0 units wide, most others are 4.0 or 4.5 + float d1 = lined(float2(4.0, 0.0), float2(4.0, 8.0), p); + float d2 = lined(float2(4.0, 8.0), float2(0.0, 2.0), p); + float d3 = lined(float2(0.0, 2.0), float2(5.0, 2.0), p); + return min(min(d1, d2), d3); +} + +float nixie4alt(float2 p) { + // This digit is 4.0 units wide, but looks cropped + float d1 = lined(float2(4.0, 0.0), float2(4.0, 8.0), p); + float d2 = lined(float2(4.0, 8.0), float2(0.0, 2.0), p); + float d3 = lined(float2(0.0, 2.0), float2(4.0, 2.0), p); + return min(min(d1, d2), d3); +} + +float nixie5(float2 p) { + float d1 = lined(float2(4.0, 7.75), float2(0.5, 7.75), p); + float d2 = lined(float2(0.5, 7.75), float2(0.0, 4.5), p); + float d3 = lined(float2(0.0, 4.5), float2(2.0, 4.5), p); + float d4 = arcd(float2(2.0, 2.25), float2(-0.25, 2.25), float2(2.0, 4.5), p); + return min(min(d1, d2), min(d3, d4)); +} + +float nixie5alt(float2 p) { + float d1 = lined(float2(4.0, 8.0), float2(0.0, 8.0), p); + float d2 = lined(float2(0.0, 8.0), float2(0.0, 5.0), p); + float d3 = lined(float2(0.0, 5.0), float2(2.0, 5.0), p); + float d4 = arcd(float2(2.0, 3.0), float2(4.0, 3.0), float2(2.0, 5.0), p); + float d5 = lined(float2(4.0, 3.0), float2(4.0, 2.0), p); + float d6 = arcd(float2(2.0,2.0), float2(0.0, 2.0), float2(4.0, 2.0), p); + return min(min(min(d1, d2), min(d3, d4)), min(d5, d6)); +} + +float nixie6(float2 p) { + float d1 = arcd(float2(84.0/13.0, 2.25), float2(3.0, 8.0), float2(-0.25, 2.25), p); + float d2 = circled(float2(2.0, 2.25), 2.25, p); + return min(d1, d2); +} + +float nixie6alt(float2 p) { // Straight neck + float d1 = lined(float2(0.4, 3.2), float2(3.0, 8.0), p); + float d2 = circled(float2(2.0,2.0), 2.0, p); + return min(d1, d2); +} + +float nixie7(float2 p) { // Ugly coordinates, but these expressions are exact + float d1 = lined(float2(0.0, 7.75), float2(0.25*sqrt(2259.0)-8.0, 7.75), p); + float d2 = arcd(float2(-8.0, 12.0), float2(2.5, 5.0), float2(0.25*sqrt(2259.0)-8.0, 7.75), p); + float d3 = arcd(float2(10.0, 0.0), float2(2.5, 5.0), float2(10.0-2.5*sqrt(13.0), 0.0), p); + return min(min(d1, d2), d3); +} + +float nixie7alt(float2 p) { // Straight neck + float d1 = lined(float2(0.0, 8.0), float2(4.0, 8.0), p); + float d2 = lined(float2(4.0, 8.0), float2(1.0, 0.0), p); + return min(d1, d2); +} + +float nixie8(float2 p) { + float d1 = circled(float2(2.0, 2.2), 2.2, p); + float d2 = circled(float2(2.0, 6.2), 1.8, p); + return min(d1, d2); +} + +float nixie8alt(float2 p) { // Same size loops + float d1 = circled(float2(2.0,2.0), 2.0, p); + float d2 = circled(float2(2.0, 6.0), 2.0, p); + return min(d1, d2); +} + +float nixie9(float2 p) { + float d1 = arcd(float2(-32.0/13.0, 5.75), float2(1.0, 0.0), float2(4.25, 5.75), p); + float d2 = circled(float2(2.0, 5.75), 2.25, p); + return min(d1, d2); +} + +float nixie9alt(float2 p) { // Straight neck + float d1 = lined(float2(3.6, 4.8), float2(1.0, 0.0), p); + float d2 = circled(float2(2.0, 6.0), 2.0, p); + return min(d1, d2); +} + +float nixieminus(float2 p) { + return lined(float2(0.5, 4.0), float2(3.5, 4.0), p); +} + +float nixieequals(float2 p) { + float d1 = lined(float2(0.5, 3.0), float2(3.5, 3.0), p); + float d2 = lined(float2(0.5, 5.0), float2(3.5, 5.0), p); + return min(d1, d2); +} + +float nixieplus(float2 p) { + float d1 = lined(float2(0.0, 4.0), float2(4.0, 4.0), p); + float d2 = lined(float2(2.0, 2.0), float2(2.0, 6.0), p); + return min(d1, d2); +} + +float nixiedot(float2 p) { + // circled with r=0 yields a point, but with more work + return length(p - float2(2.0, 0.0)); +} + +float nixiecolon(float2 p) { + float d1 = length(p - float2(2.0,2.0)); + float d2 = length(p - float2(2.0, 5.0)); + return min(d1, d2); +} + +// End of MIT-licensed code + +float number(int n, float2 p) { + switch(n) { + case 0: return nixie0(p); + case 1: return nixie1(p); + case 2: return nixie2(p); + case 3: return nixie3(p); + case 4: return nixie4(p); + case 5: return nixie5(p); + case 6: return nixie6(p); + case 7: return nixie7(p); + case 8: return nixie8(p); + case 9: return nixie9(p); + default: return 1e10; + } +} +// Display the current time with a retro Nixie-tube look +// Stefan Gustavson (stegu on shadertoy.com) 2022-01-26 +// All code in the "Image" tab is public domain. +// Functions in the "Common" tab are also public domain, +// except where a separate license is specified. +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = ((float2(v_in.uv.x,1.0-v_in.uv.y) * uv_size)/uv_size.x); + float time = 0.0; + if(timeMode == 0){ + time = float(current_time_hour*3600+current_time_min*60+current_time_sec) + float(current_time_ms)/1000.0; + }else if(timeMode == 1){ + time = elapsed_time_enable; + }else if(timeMode == 2){ + time = elapsed_time_active; + }else if(timeMode == 3){ + time = elapsed_time_show; + }else if(timeMode == 4){ + time = elapsed_time_start; + } + time += offsetSeconds + offsetHours * 3600; + if(time < 0) + time = 0.9999-time; + float2 p = -3.0+uv*50.0 - float2(0.0,9.0); + + float bbox = 1.0-max(max(1.0-aastep(-3.0, p.x), aastep(47.0, p.x)), + max(1.0-aastep(-3.0, p.y), aastep(11.0, p.y))); + + // Some relief for the GPU: exit early if we''re in the black margins + if(bbox == 0.0) { + return float4(float3(0.0,0.0,0.0),1.0); + } + + // If not, well, let''s put that GPU to good use! + float secs = floor(mod(time, 60.0)); + float mins = floor(mod(time, 3600.0)/60.0); + float hrs = floor(time/3600.0); + int h10 = int(floor(hrs/10.0)); + int h1 = int(floor(mod(hrs, 10.0))); + int m10 = int(floor(mins/10.0)); + int m1 = int(floor(mod(mins, 10.0))); + int s10 = int(floor(secs/10.0)); + int s1 = int(floor(mod(secs, 10.0))); + + float2 wspace = float2(6.5, 0.0); + float2 nspace = float2(3.5, 0.0); + float d = 1e10; + d = min(d, number(h10, p)); + d = min(d, number(h1, p-wspace)); + d = min(d, nixiecolon(p-wspace-1.45*nspace)-0.2); + d = min(d, number(m10, p-2.0*wspace-nspace)); + d = min(d, number(m1, p-3.0*wspace-nspace)); + d = min(d, nixiecolon(p-3.0*wspace-2.4*nspace)-0.2); + d = min(d, number(s10, p-4.0*wspace-2.0*nspace)); + d = min(d, number(s1, p-5.0*wspace-2.0*nspace)); + + float2 g; // For gradients returned from psrdnoise() + + // Digit outlines + float core = 1.0-aastep(0.2, d); + // "flare" is a wide blurry region around the characters, and + // "flarenoise" is a spatio-temporal modulation of its extents + // (slight flickering, but not all characters at the same time) + float flarenoise = psrdnoise(float2(p.x*0.1,5.0*elapsed_time), float2(0.0,0.0), 0.0, g); + float flare = 1.0-smoothstep(0.0, 2.5, d + 0.05*flarenoise); + flare *= flare; // A more rapid decline towards the edge + // "glow" is a variation in the intensity of the glowy cathode (core) + float glow = 0.8+0.2*psrdnoise(p - float2(0.0, 2.0*elapsed_time), float2(0.0,0.0), 4.0*time, g); + // Now we mess up the distance field a little for the "halo" effect + d += 0.1*psrdnoise(p - float2(0.0, 2.0*elapsed_time), float2(0.0,0.0), 8.0*time, g); + d += 0.05*psrdnoise(2.0*p - float2(0.0, 4.0*elapsed_time) + 0.15*g, float2(0.0,0.0), -16.0*time, g); + // "halo" is a kind of flame/plasma cloud near the core. A real Nixie tube + // doesn''t have this, but it adds some appealing visual detail. + // Looks more like hot filaments than "cold cathodes", but... oh, well. + float halo = 1.0-smoothstep(-0.3, 0.3, d); + + // Brittle parameters! This scale/shift of p has a strong impact + // on the pattern at the edges of the grid through "anodefade". + float3 anodedists = hexgrid(1.7*p+float2(0.1,0.23)); + float anodedist = anodedists.y - anodedists.x; // Voronoi cell borders + // Fade the hexagonal holes in the anode towards the edges + float anodefade = max(max(1.0-aasmoothstep(-2.2, -1.5, p.x), aasmoothstep(45.5, 46.2, p.x)), + max(1.0-aasmoothstep(-2.0, -1.6, p.y), aasmoothstep(9.4, 10.0, p.y))); + float anode = 1.0 - aastep(0.1, anodedist - anodefade); + + float anodecolornoise = 0.02*psrdnoise(p*float2(0.2,2.0), float2(0.0,0.0), 0.0, g); + float3 anodecolorresult = anodecolor+ anodecolornoise*anodehighlightscolor; // Long variable names, I know + + float3 mixcolor = float3(0.0,0.0,0.0); // Mix additively from black + mixcolor = lerp(mixcolor, flarecolor, 0.5*flare); + mixcolor = lerp(mixcolor, halocolor, 0.9*halo); + mixcolor = lerp(mixcolor, corecolor, core*glow); + mixcolor = lerp(mixcolor, anodecolorresult, anode); + mixcolor *= bbox; // AA-mask to black at the very edge of the bounding box + return float4(mixcolor,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From b5d14e395ab87d8a610ec5f56f9d991e32d2e506 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3834/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Shaders/Get-OBSDensitySatHueShader.ps1 | 488 ++++++++++++++++++ 1 file changed, 488 insertions(+) create mode 100644 Commands/Shaders/Get-OBSDensitySatHueShader.ps1 diff --git a/Commands/Shaders/Get-OBSDensitySatHueShader.ps1 b/Commands/Shaders/Get-OBSDensitySatHueShader.ps1 new file mode 100644 index 000000000..7921eeb64 --- /dev/null +++ b/Commands/Shaders/Get-OBSDensitySatHueShader.ps1 @@ -0,0 +1,488 @@ +function Get-OBSDensitySatHueShader { + +[Alias('Set-OBSDensitySatHueShader','Add-OBSDensitySatHueShader')] +param( +# Set the notes of OBSDensitySatHueShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the density_r of OBSDensitySatHueShader +[Alias('density_r')] +[ComponentModel.DefaultBindingProperty('density_r')] +[Single] +$DensityR, +# Set the saturation_r of OBSDensitySatHueShader +[Alias('saturation_r')] +[ComponentModel.DefaultBindingProperty('saturation_r')] +[Single] +$SaturationR, +# Set the hueShift_r of OBSDensitySatHueShader +[Alias('hueShift_r')] +[ComponentModel.DefaultBindingProperty('hueShift_r')] +[Single] +$HueShiftR, +# Set the density_y of OBSDensitySatHueShader +[Alias('density_y')] +[ComponentModel.DefaultBindingProperty('density_y')] +[Single] +$DensityY, +# Set the saturation_y of OBSDensitySatHueShader +[Alias('saturation_y')] +[ComponentModel.DefaultBindingProperty('saturation_y')] +[Single] +$SaturationY, +# Set the hueShift_y of OBSDensitySatHueShader +[Alias('hueShift_y')] +[ComponentModel.DefaultBindingProperty('hueShift_y')] +[Single] +$HueShiftY, +# Set the density_g of OBSDensitySatHueShader +[Alias('density_g')] +[ComponentModel.DefaultBindingProperty('density_g')] +[Single] +$DensityG, +# Set the saturation_g of OBSDensitySatHueShader +[Alias('saturation_g')] +[ComponentModel.DefaultBindingProperty('saturation_g')] +[Single] +$SaturationG, +# Set the hueShift_g of OBSDensitySatHueShader +[Alias('hueShift_g')] +[ComponentModel.DefaultBindingProperty('hueShift_g')] +[Single] +$HueShiftG, +# Set the density_c of OBSDensitySatHueShader +[Alias('density_c')] +[ComponentModel.DefaultBindingProperty('density_c')] +[Single] +$DensityC, +# Set the saturation_c of OBSDensitySatHueShader +[Alias('saturation_c')] +[ComponentModel.DefaultBindingProperty('saturation_c')] +[Single] +$SaturationC, +# Set the hueShift_c of OBSDensitySatHueShader +[Alias('hueShift_c')] +[ComponentModel.DefaultBindingProperty('hueShift_c')] +[Single] +$HueShiftC, +# Set the density_b of OBSDensitySatHueShader +[Alias('density_b')] +[ComponentModel.DefaultBindingProperty('density_b')] +[Single] +$DensityB, +# Set the saturation_b of OBSDensitySatHueShader +[Alias('saturation_b')] +[ComponentModel.DefaultBindingProperty('saturation_b')] +[Single] +$SaturationB, +# Set the hueShift_b of OBSDensitySatHueShader +[Alias('hueShift_b')] +[ComponentModel.DefaultBindingProperty('hueShift_b')] +[Single] +$HueShiftB, +# Set the density_m of OBSDensitySatHueShader +[Alias('density_m')] +[ComponentModel.DefaultBindingProperty('density_m')] +[Single] +$DensityM, +# Set the saturation_m of OBSDensitySatHueShader +[Alias('saturation_m')] +[ComponentModel.DefaultBindingProperty('saturation_m')] +[Single] +$SaturationM, +# Set the hueShift_m of OBSDensitySatHueShader +[Alias('hueShift_m')] +[ComponentModel.DefaultBindingProperty('hueShift_m')] +[Single] +$HueShiftM, +# Set the global_density of OBSDensitySatHueShader +[Alias('global_density')] +[ComponentModel.DefaultBindingProperty('global_density')] +[Single] +$GlobalDensity, +# Set the global_saturation of OBSDensitySatHueShader +[Alias('global_saturation')] +[ComponentModel.DefaultBindingProperty('global_saturation')] +[Single] +$GlobalSaturation, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'density_sat_hue' +$ShaderNoun = 'OBSDensitySatHueShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Density-Saturation-Hue Shader for OBS Shaderfilter +// Modified by CameraTim for use with obs-shaderfilter 12/2024 v.12 + +uniform string notes< + string widget_type = "info"; +> = "Density adjustment shader: Density reduces luminance, while saturation is subtractively increased to avoid greyish colors."; + +uniform float density_r < + string label = "Red Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_r < + string label = "Red Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_r < + string label = "Red Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_y < + string label = "Yellow Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_y < + string label = "Yellow Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_y < + string label = "Yellow Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_g < + string label = "Green Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_g < + string label = "Green Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_g < + string label = "Green Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_c < + string label = "Cyan Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_c < + string label = "Cyan Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_c < + string label = "Cyan Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_b < + string label = "Blue Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_b < + string label = "Blue Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_b < + string label = "Blue Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_m < + string label = "Magenta Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_m < + string label = "Magenta Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_m < + string label = "Magenta Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float global_density < + string label = "Global Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float global_saturation < + string label = "Global Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +// Tetrahedral interpolation based on the ordering of the input color channels +float3 applyAdjustments(float3 p) { + // Pre-calculate the flipped density values for each channel: + float d_r = -(density_r + global_density); + float d_y = -(density_y + global_density); + float d_g = -(density_g + global_density); + float d_c = -(density_c + global_density); + float d_b = -(density_b + global_density); + float d_m = -(density_m + global_density); + + // Compute the color vectors for each hue region using the flipped densities: + float3 red = float3( + 1.0 + d_r, + d_r - (saturation_r + global_saturation), + d_r + hueShift_r - (saturation_r + global_saturation) + ); + + float3 yellow = float3( + 1.0 + hueShift_y + d_y, + 1.0 + d_y, + d_y - (saturation_y + global_saturation) + ); + + float3 green = float3( + d_g - (saturation_g + global_saturation), + 1.0 + d_g, + d_g + hueShift_g - (saturation_g + global_saturation) + ); + + float3 cyan = float3( + d_c - (saturation_c + global_saturation), + 1.0 + hueShift_c + d_c, + 1.0 + d_c + ); + + float3 blue = float3( + d_b + hueShift_b - (saturation_b + global_saturation), + d_b - (saturation_b + global_saturation), + 1.0 + d_b + ); + + float3 magenta = float3( + 1.0 + d_m, + d_m - (saturation_m + global_saturation), + 1.0 + hueShift_m + d_m + ); + + // Define the black and white endpoints: + float3 blk = float3(0.0, 0.0, 0.0); + float3 wht = float3(1.0, 1.0, 1.0); + + float3 rgb; + if (p.r > p.g) { + if (p.g > p.b) { + // p.r >= p.g >= p.b + rgb = p.r * (red - blk) + blk + p.g * (yellow - red) + p.b * (wht - yellow); + } else if (p.r > p.b) { + // p.r >= p.b > p.g + rgb = p.r * (red - blk) + blk + p.g * (wht - magenta) + p.b * (magenta - red); + } else { + // p.b >= p.r > p.g + rgb = p.r * (magenta - blue) + p.g * (wht - magenta) + p.b * (blue - blk) + blk; + } + } else { + if (p.b > p.g) { + // p.b >= p.g >= p.r + rgb = p.r * (wht - cyan) + p.g * (cyan - blue) + p.b * (blue - blk) + blk; + } else if (p.b > p.r) { + // p.g >= p.r and p.b > p.r + rgb = p.r * (wht - cyan) + p.g * (green - blk) + blk + p.b * (cyan - green); + } else { + // p.g >= p.b >= p.r + rgb = p.r * (yellow - green) + p.g * (green - blk) + blk + p.b * (wht - yellow); + } + } + return clamp(rgb, 0.0, 1.0); +} + +float4 mainImage(VertData v_in) : TARGET { + float4 inputColor = image.Sample(textureSampler, v_in.uv); + float3 adjustedColor = applyAdjustments(inputColor.rgb); + return float4(adjustedColor, inputColor.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 3a9a3a2a4095f1c7b2a36cb3261a1c549e8ea99b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3835/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Get-OBSDiffuseTransitionShader.ps1 | 242 ++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 Commands/Shaders/Get-OBSDiffuseTransitionShader.ps1 diff --git a/Commands/Shaders/Get-OBSDiffuseTransitionShader.ps1 b/Commands/Shaders/Get-OBSDiffuseTransitionShader.ps1 new file mode 100644 index 000000000..e7d93e56e --- /dev/null +++ b/Commands/Shaders/Get-OBSDiffuseTransitionShader.ps1 @@ -0,0 +1,242 @@ +function Get-OBSDiffuseTransitionShader { + +[Alias('Set-OBSDiffuseTransitionShader','Add-OBSDiffuseTransitionShader')] +param( +# Set the image_a of OBSDiffuseTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBSDiffuseTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBSDiffuseTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSDiffuseTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the num_samples of OBSDiffuseTransitionShader +[Alias('num_samples')] +[ComponentModel.DefaultBindingProperty('num_samples')] +[Int32] +$NumSamples, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'diffuse_transition' +$ShaderNoun = 'OBSDiffuseTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/4cK3z1 +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time = 0.5; +uniform bool convert_linear = true; + +// Diffuse (move pixels) between two 2D images +// Demo inspired by Iterative-(de)Blending (see Figure 9 in https://arxiv.org/pdf/2305.03486.pdf) +// Note: the approach in this demo is different - rather than randomising paths we use means + +// increase for greater precision - this is O(n^2) :( +uniform int num_samples< + string label = "Number of samples (10)"; + string widget_type = "slider"; + int minimum = 2; + int maximum = 100; + int step = 1; +> = 10; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + + if (transition_time < 0.00001) { + return image_a.Sample(textureSampler, uv); + } + + // we need to normalise the distributions so just sum the samples for a division later + // note: could calculate this once per image in a buffer or something + float3 from_total = float3(0.0,0.0,0.0); + float3 to_total = float3(0.0,0.0,0.0); + + for (int i=0; iAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From a8a6c4962c66b7bf961c4dc2abcbf1edda18a502 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3836/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSFisheyeXyShader.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 index 712df4f50..aa61eaea8 100644 --- a/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeXyShader.ps1 @@ -64,7 +64,7 @@ uniform float center_x_percent< float step = 0.01; > = 50.0; uniform float center_y_percent< - string label = "Center x percent"; + string label = "Center y percent"; string widget_type = "slider"; float minimum = 0.0; float maximum = 100.0; From edb1ccc6f386b01d60411b5895397f0747dc0e03 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:05 +0000 Subject: [PATCH 3837/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSFisheyeShader.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSFisheyeShader.ps1 b/Commands/Shaders/Get-OBSFisheyeShader.ps1 index cc8876109..e06f2e573 100644 --- a/Commands/Shaders/Get-OBSFisheyeShader.ps1 +++ b/Commands/Shaders/Get-OBSFisheyeShader.ps1 @@ -58,7 +58,7 @@ uniform float center_x_percent< float step = 0.01; > = 50.0; uniform float center_y_percent< - string label = "Center x percent"; + string label = "Center y percent"; string widget_type = "slider"; float minimum = 0.0; float maximum = 100.0; From ab59aa5082bac8fdfd8eef3fd127dd7706b59c4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:06 +0000 Subject: [PATCH 3838/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSHexagonShader.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSHexagonShader.ps1 b/Commands/Shaders/Get-OBSHexagonShader.ps1 index f9f8f5a4c..229b5d808 100644 --- a/Commands/Shaders/Get-OBSHexagonShader.ps1 +++ b/Commands/Shaders/Get-OBSHexagonShader.ps1 @@ -106,7 +106,7 @@ if (-not $psBoundParameters['ShaderText']) { //Converted to OpenGL by Q-mii & Exeldro February 25, 2022 uniform float4 Hex_Color; uniform int Alpha_Percent< - string label = "Aplha percent"; + string label = "Alpha percent"; string widget_type = "slider"; int minimum = 0; int maximum = 100; From 383a6bc9a72585f12fb3a2712cfda13f536fda15 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:06 +0000 Subject: [PATCH 3839/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSRGSSAAShader.ps1 | 291 +++++++++++++++++++++++ 1 file changed, 291 insertions(+) create mode 100644 Commands/Shaders/Get-OBSRGSSAAShader.ps1 diff --git a/Commands/Shaders/Get-OBSRGSSAAShader.ps1 b/Commands/Shaders/Get-OBSRGSSAAShader.ps1 new file mode 100644 index 000000000..fe73fe24e --- /dev/null +++ b/Commands/Shaders/Get-OBSRGSSAAShader.ps1 @@ -0,0 +1,291 @@ +function Get-OBSRGSSAAShader { + +[Alias('Set-OBSRGSSAAShader','Add-OBSRGSSAAShader')] +param( +# Set the ColorSigma of OBSRGSSAAShader +[ComponentModel.DefaultBindingProperty('ColorSigma')] +[Single] +$ColorSigma, +# Set the SpatialSigma of OBSRGSSAAShader +[ComponentModel.DefaultBindingProperty('SpatialSigma')] +[Single] +$SpatialSigma, +# Set the notes of OBSRGSSAAShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'RGSSAA' +$ShaderNoun = 'OBSRGSSAAShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// RGSSAA shader by Eliseu Amaro for obs-shaderfilter plugin 2/2024 +// https://github.com/exeldro/obs-shaderfilter/tree/master +// Using edge detection shader as a base, created by Hallatore +// https://forums.unrealengine.com/t/sharper-image-without-the-edge-artifacts/108461 + +uniform float ColorSigma< + string label = "Color Sigma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 1.0; + float step = 0.1; +> = 1.0; + +uniform float SpatialSigma< + string label = "Spatial Sigma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 1.0; + float step = 0.1; +> = 1.0; + +uniform string notes< + string widget_type = "info"; +> = "Performs RGSSAA, a form of anti-aliasing. Implementation roughly follows the original with color and spatial sigma (or strengths) parameters. Useful to apply before a sharpen pass (e.g on a webcam feed)." + +float Luminance(float3 rgb) +{ + return rgb.r * 0.299 + rgb.g * 0.587 + rgb.b * 0.114; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float3 SceneColor = image.Sample(textureSampler, v_in.uv).rgb; + float2 SceneUV = v_in.uv; + float2 TexelScale = 1.0f/uv_size; + + const float SQRT2 = 1.4142135624; + const float PI = 3.141592654; + const float angle = PI / 8.0; + const float cs = cos(angle); + const float sn = sin(angle); + + // Rotated grid samples + float3 C1 = + image.Sample(textureSampler, SceneUV + float2(cs, -sn) * TexelScale).rgb; + float3 C2 = + image.Sample(textureSampler, SceneUV + float2(-cs, -sn) * TexelScale).rgb; + float3 C3 = + image.Sample(textureSampler, SceneUV + float2(-sn, cs) * TexelScale).rgb; + float3 C4 = + image.Sample(textureSampler, SceneUV + float2(sn, cs) * TexelScale).rgb; + float3 C5 = + image.Sample(textureSampler, SceneUV + float2(cs * SQRT2, 0) * TexelScale).rgb; + float3 C6 = + image.Sample(textureSampler, SceneUV + float2(0, sn *SQRT2) * TexelScale).rgb; + float3 C7 = + image.Sample(textureSampler, SceneUV + float2(-cs * SQRT2, 0) * TexelScale).rgb; + float3 C8 = + image.Sample(textureSampler, SceneUV + float2(0, -sn *SQRT2) * TexelScale).rgb; + + // Luminance edge detection + float A0 = Luminance(SceneColor); + float CL1 = Luminance(C1); + float L1 = ((max(CL1, A0)) / (min(CL1, A0) + 0.001) - 1); + float CL2 = Luminance(C2); + float L2 = ((max(CL2, A0)) / (min(CL2, A0) + 0.001) - 1); + float CL3 = Luminance(C3); + float L3 = ((max(CL3, A0)) / (min(CL3, A0) + 0.001) - 1); + float CL4 = Luminance(C4); + float L4 = ((max(CL4, A0)) / (min(CL4, A0) + 0.001) - 1); + float CL5 = Luminance(C5); + float L5 = ((max(CL5, A0)) / (min(CL5, A0) + 0.001) - 1); + float CL6 = Luminance(C6); + float L6 = ((max(CL6, A0)) / (min(CL6, A0) + 0.001) - 1); + float CL7 = Luminance(C7); + float L7 = ((max(CL7, A0)) / (min(CL7, A0) + 0.001) - 1); + float CL8 = Luminance(C8); + float L8 = ((max(CL8, A0)) / (min(CL8, A0) + 0.001) - 1); + float NeighborDifference = max(max(max(L1, L2), max(L3, L4)), max(max(L5, L6), max(L7, L8))); + + // Calculate distance-based weights + float2 Dist1 = float2(cs, -sn); + float2 Dist2 = float2(-cs, -sn); + float2 Dist3 = float2(-sn, cs); + float2 Dist4 = float2(sn, cs); + float2 Dist5 = float2(cs * SQRT2, 0); + float2 Dist6 = float2(0, sn * SQRT2); + float2 Dist7 = float2(-cs * SQRT2, 0); + float2 Dist8 = float2(0, -sn * SQRT2); + float SW1 = exp(-dot(Dist1, Dist1) / (2.0 * SpatialSigma * SpatialSigma)); + float SW2 = exp(-dot(Dist2, Dist2) / (2.0 * SpatialSigma * SpatialSigma)); + float SW3 = exp(-dot(Dist3, Dist3) / (2.0 * SpatialSigma * SpatialSigma)); + float SW4 = exp(-dot(Dist4, Dist4) / (2.0 * SpatialSigma * SpatialSigma)); + float SW5 = exp(-dot(Dist5, Dist5) / (2.0 * SpatialSigma * SpatialSigma)); + float SW6 = exp(-dot(Dist6, Dist6) / (2.0 * SpatialSigma * SpatialSigma)); + float SW7 = exp(-dot(Dist7, Dist7) / (2.0 * SpatialSigma * SpatialSigma)); + float SW8 = exp(-dot(Dist8, Dist8) / (2.0 * SpatialSigma * SpatialSigma)); + + // Color weights + float3 ColorDiff1 = SceneColor.rgb - C1; + float3 ColorDiff2 = SceneColor.rgb - C2; + float3 ColorDiff3 = SceneColor.rgb - C3; + float3 ColorDiff4 = SceneColor.rgb - C4; + float3 ColorDiff5 = SceneColor.rgb - C5; + float3 ColorDiff6 = SceneColor.rgb - C6; + float3 ColorDiff7 = SceneColor.rgb - C7; + float3 ColorDiff8 = SceneColor.rgb - C8; + + float CW1 = exp(-dot(ColorDiff1, ColorDiff1) / (2.0 * ColorSigma * ColorSigma)); + float CW2 = exp(-dot(ColorDiff2, ColorDiff2) / (2.0 * ColorSigma * ColorSigma)); + float CW3 = exp(-dot(ColorDiff3, ColorDiff3) / (2.0 * ColorSigma * ColorSigma)); + float CW4 = exp(-dot(ColorDiff4, ColorDiff4) / (2.0 * ColorSigma * ColorSigma)); + float CW5 = exp(-dot(ColorDiff5, ColorDiff5) / (2.0 * ColorSigma * ColorSigma)); + float CW6 = exp(-dot(ColorDiff6, ColorDiff6) / (2.0 * ColorSigma * ColorSigma)); + float CW7 = exp(-dot(ColorDiff7, ColorDiff7) / (2.0 * ColorSigma * ColorSigma)); + float CW8 = exp(-dot(ColorDiff8, ColorDiff8) / (2.0 * ColorSigma * ColorSigma)); + + // Mixing weights + float W1 = SW1 * CW1; + float W2 = SW2 * CW2; + float W3 = SW3 * CW3; + float W4 = SW4 * CW4; + float W5 = SW5 * CW5; + float W6 = SW6 * CW6; + float W7 = SW7 * CW7; + float W8 = SW8 * CW8; + float TotalWeight = W1 + W2 + W3 + W4 + W5 + W6 + W7 + W8; + + // Weighted color + float3 AAResult = (C1 * W1 + C2 * W2 + C3 * W3 + C4 * W4 + C5 * W5 + C6 * W6 + + C7 * W7 + C8 * W8) / + max(TotalWeight, 0.0001); + + // Blend it + float4 LuminanceNeightbors = float4(CL1, CL2, CL3, CL4); + float4 LuminanceNeightbors2 = float4(CL5, CL6, CL7, CL8); + float4 A0LuminanceNeightbors = abs(A0 - LuminanceNeightbors); + float4 A0LuminanceNeightbors2 = abs(A0 - LuminanceNeightbors2); + float A0Max = max(max(A0LuminanceNeightbors.r, A0LuminanceNeightbors.g), max(A0LuminanceNeightbors.b, A0LuminanceNeightbors.a)); + float A0Max2 = max(max(A0LuminanceNeightbors2.r, A0LuminanceNeightbors2.g), max(A0LuminanceNeightbors2.b, A0LuminanceNeightbors2.a)); + float HDREdge = max(A0Max, A0Max2); + float EdgeMask = saturate(1.0f - HDREdge); + + return float4(lerp(SceneColor.rgb, AAResult, EdgeMask), 1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 56332fbd119b200da498781e29fa193be55fb577 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:07 +0000 Subject: [PATCH 3840/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSShineShader.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Shaders/Get-OBSShineShader.ps1 b/Commands/Shaders/Get-OBSShineShader.ps1 index 4c71c84d1..02114aa35 100644 --- a/Commands/Shaders/Get-OBSShineShader.ps1 +++ b/Commands/Shaders/Get-OBSShineShader.ps1 @@ -122,7 +122,7 @@ uniform int gradient_percent< int step = 1; > = 20; uniform int delay_percent< - string label = "gradient percent"; + string label = "delay percent"; string widget_type = "slider"; int minimum = 0; int maximum = 100; From 1ed9c0445a5ac9938441d376994163bdf3bfc792 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:07 +0000 Subject: [PATCH 3841/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Shaders/Get-OBSSmartDenoiseShader.ps1 | 222 ++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 Commands/Shaders/Get-OBSSmartDenoiseShader.ps1 diff --git a/Commands/Shaders/Get-OBSSmartDenoiseShader.ps1 b/Commands/Shaders/Get-OBSSmartDenoiseShader.ps1 new file mode 100644 index 000000000..6c51efaa1 --- /dev/null +++ b/Commands/Shaders/Get-OBSSmartDenoiseShader.ps1 @@ -0,0 +1,222 @@ +function Get-OBSSmartDenoiseShader { + +[Alias('Set-OBSSmartDenoiseShader','Add-OBSSmartDenoiseShader')] +param( +# Set the uSigma of OBSSmartDenoiseShader +[ComponentModel.DefaultBindingProperty('uSigma')] +[Single] +$USigma, +# Set the uKSigma of OBSSmartDenoiseShader +[ComponentModel.DefaultBindingProperty('uKSigma')] +[Single] +$UKSigma, +# Set the uThreshold of OBSSmartDenoiseShader +[ComponentModel.DefaultBindingProperty('uThreshold')] +[Single] +$UThreshold, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'smart_denoise' +$ShaderNoun = 'OBSSmartDenoiseShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Smart DeNoise By Michele Morrone (https://github.com/BrutPitt/glslSmartDeNoise) +// Converted to OBS version of HLSL by Euiko on February 10, 2025 + +#define INV_SQRT_OF_2PI 0.39894228040143267793994605993439 // 1.0/SQRT_OF_2PI +#define INV_PI 0.31830988618379067153776752674503 + +uniform float uSigma< + string label = "Sigma"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 3; // max based on the webgl sample, which is 3 + float step = 0.01; +> = 5.0; // default value based on shadertoy +uniform float uKSigma< + string label = "K-Sigma"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 24; // max based on the webgl sample, which is 24 + float step = 0.01; +> = 7.0; // the default value is based on the webgl sample +uniform float uThreshold< + string label = "Edge Threshold"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 2; // max based on the webgl sample, which is 2 + float step = 0.01; +> = 0.190; // the default value is based on the webgl sample + +// smartDeNoise - parameters +//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// float2 uv - actual fragment coord +// float2 size - window size +// float sigma > 0 - sigma Standard Deviation +// float kSigma >= 0 - sigma coefficient +// kSigma * sigma --> radius of the circular kernel +// float threshold - edge sharpening threshold +//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// NOTE: image''s texture2d data will be supplied by the OBS shaderfilter by default +float4 smartDeNoise(float2 uv, float2 size, float sigma, float kSigma, float threshold) +{ + float radius = round(kSigma * sigma); + float radQ = radius * radius; + + float invSigmaQx2 = 0.5 / (sigma * sigma); // 1.0 / (sigma^2 * 2.0) + float invSigmaQx2PI = INV_PI * invSigmaQx2; // 1/(2 * PI * sigma^2) + + float invThresholdSqx2 = 0.5 / (threshold * threshold); // 1.0 / (sigma^2 * 2.0) + float invThresholdSqrt2PI = INV_SQRT_OF_2PI / threshold; // 1.0 / (sqrt(2*PI) * sigma^2) + + float4 centrPx = image.Sample(textureSampler, uv); + + float zBuff = 0.0; + float4 aBuff = float4(0.0, 0.0, 0.0, 0.0); + + float2 d; + for (d.x = -radius; d.x <= radius; d.x += 1.0) + { + float pt = sqrt(radQ - (d.x * d.x)); // pt = yRadius: have circular trend + d.y = -pt; + for (; d.y <= pt; d.y += 1.0) + { + float blurFactor = exp((-dot(d, d)) * invSigmaQx2) * invSigmaQx2PI; + float4 walkPx = image.Sample(textureSampler, uv + (d / size)); + float4 dC = walkPx - centrPx; + float deltaFactor = (exp((-dot(dC.xyz, dC.xyz)) * invThresholdSqx2) * invThresholdSqrt2PI) * blurFactor; + zBuff += deltaFactor; + aBuff += (walkPx * deltaFactor); + } + } + return aBuff / float4(zBuff, zBuff, zBuff, zBuff); +} + +float4 mainImage(VertData v_in) : TARGET +{ + return smartDeNoise(v_in.uv, uv_size, uSigma, uKSigma, uThreshold); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 084ddcfb0c5f67429fb6ae333b08e4fd253479d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:07 +0000 Subject: [PATCH 3842/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Shaders/Get-OBSSpecularShineShader.ps1 | 270 ++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 Commands/Shaders/Get-OBSSpecularShineShader.ps1 diff --git a/Commands/Shaders/Get-OBSSpecularShineShader.ps1 b/Commands/Shaders/Get-OBSSpecularShineShader.ps1 new file mode 100644 index 000000000..40a91f529 --- /dev/null +++ b/Commands/Shaders/Get-OBSSpecularShineShader.ps1 @@ -0,0 +1,270 @@ +function Get-OBSSpecularShineShader { + +[Alias('Set-OBSSpecularShineShader','Add-OBSSpecularShineShader')] +param( +# Set the Hint of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('Hint')] +[String] +$Hint, +# Set the roughness of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('roughness')] +[Single] +$Roughness, +# Set the lightStrength of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('lightStrength')] +[Single] +$LightStrength, +# Set the LightPositionX of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('LightPositionX')] +[Single] +$LightPositionX, +# Set the LightPositionY of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('LightPositionY')] +[Single] +$LightPositionY, +# Set the flattenNormal of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('flattenNormal')] +[Single] +$FlattenNormal, +# Set the stretchNormalX of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('stretchNormalX')] +[Single] +$StretchNormalX, +# Set the stretchNormalY of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('stretchNormalY')] +[Single] +$StretchNormalY, +# Set the Light_Color of OBSSpecularShineShader +[Alias('Light_Color')] +[ComponentModel.DefaultBindingProperty('Light_Color')] +[Single[]] +$LightColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'specular-shine' +$ShaderNoun = 'OBSSpecularShineShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Specular Shine shader by Andicraft / Andrea Jörgensen - https://github.com/Andicraft + +uniform string Hint< + string widget_type = "info"; +> = "Try using a black color source with the additive blend mode!"; + +uniform float roughness< + string label = "Roughness"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.25; + +uniform float lightStrength< + string label = "lightStrength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.001; +> = 0.5; + +uniform float LightPositionX< + string label = "Light Position X"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float LightPositionY< + string label = "Light Position Y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float flattenNormal< + string label = "Flatten Normal"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; + +uniform float stretchNormalX< + string label = "Stretch Normal X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 4.0; + float step = 0.01; +> = 1; + +uniform float stretchNormalY< + string label = "Stretch Normal Y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 4.0; + float step = 0.01; +> = 1; + +uniform float3 Light_Color = {1,1,1}; + +float Square(float a) { return a * a; } + +float CookTorrance(float3 lightDir, float3 normal, float roughness) { + float3 h = normalize(lightDir + float3(0,0,1)); + float nh2 = Square(saturate(dot(normal, h))); + float lh2 = Square(saturate(dot(lightDir, h))); + float r2 = Square(roughness); + float d2 = Square(nh2 * (r2 - 1.0) + 1.00001); + float normalization = roughness * 4.0 + 2.0; + return r2 / (d2 * max(0.1, lh2) * normalization); +} + +#define PI 3.14159265 + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 c0 = image.Sample(textureSampler, v_in.uv); + + float3 lightDir = normalize(float3(-LightPositionX*5, -LightPositionY*5, 1)); + + float2 normalUV = v_in.uv - 0.5; + normalUV.x /= stretchNormalX; + normalUV.y /= stretchNormalY; + normalUV += 0.5; + + float3 normal = normalize(float3(normalUV.x * 2 - 1,normalUV.y * 2 - 1,-1)); + normal.z *= -1; + + normal = lerp(normal, float3(0,0,-1), flattenNormal); + + float3 light = CookTorrance(lightDir, normal, roughness)*float3(1,1,1)*lightStrength*Light_Color; + + return float4(c0 + light,c0.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 45f3f3614bce1cc30538da46db8b5cd8e0948449 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:07 +0000 Subject: [PATCH 3843/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- Commands/Shaders/Get-OBSTetraShader.ps1 | 400 ++++++++++++++++++++++++ 1 file changed, 400 insertions(+) create mode 100644 Commands/Shaders/Get-OBSTetraShader.ps1 diff --git a/Commands/Shaders/Get-OBSTetraShader.ps1 b/Commands/Shaders/Get-OBSTetraShader.ps1 new file mode 100644 index 000000000..8daddeb9e --- /dev/null +++ b/Commands/Shaders/Get-OBSTetraShader.ps1 @@ -0,0 +1,400 @@ +function Get-OBSTetraShader { + +[Alias('Set-OBSTetraShader','Add-OBSTetraShader')] +param( +# Set the redR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('redR')] +[Single] +$RedR, +# Set the redG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('redG')] +[Single] +$RedG, +# Set the redB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('redB')] +[Single] +$RedB, +# Set the yelR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('yelR')] +[Single] +$YelR, +# Set the yelG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('yelG')] +[Single] +$YelG, +# Set the yelB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('yelB')] +[Single] +$YelB, +# Set the grnR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('grnR')] +[Single] +$GrnR, +# Set the grnG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('grnG')] +[Single] +$GrnG, +# Set the grnB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('grnB')] +[Single] +$GrnB, +# Set the cynR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('cynR')] +[Single] +$CynR, +# Set the cynG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('cynG')] +[Single] +$CynG, +# Set the cynB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('cynB')] +[Single] +$CynB, +# Set the bluR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('bluR')] +[Single] +$BluR, +# Set the bluG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('bluG')] +[Single] +$BluG, +# Set the bluB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('bluB')] +[Single] +$BluB, +# Set the magR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('magR')] +[Single] +$MagR, +# Set the magG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('magG')] +[Single] +$MagG, +# Set the magB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('magB')] +[Single] +$MagB, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'tetra' +$ShaderNoun = 'OBSTetraShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Tetrahedral Interpolation Shader for OBS + +uniform float redR< + string label = "Red in Red"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float redG< + string label = "Green in Red"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float redB< + string label = "Blue in Red"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float yelR< + string label = "Red in Yellow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float yelG< + string label = "Green in Yellow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float yelB< + string label = "Blue in Yellow"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float grnR< + string label = "Red in Green"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float grnG< + string label = "Green in Green"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float grnB< + string label = "Blue in Green"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float cynR< + string label = "Red in Cyan"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float cynG< + string label = "Green in Cyan"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float cynB< + string label = "Blue in Cyan"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float bluR< + string label = "Red in Blue"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float bluG< + string label = "Green in Blue"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float bluB< + string label = "Blue in Blue"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float magR< + string label = "Red in Magenta"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float magG< + string label = "Green in Magenta"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float magB< + string label = "Blue in Magenta"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + + +float3 tetra(float3 RGBimage, float3 red, float3 yel, float3 grn, float3 cyn, float3 blu, float3 mag) { + float r = RGBimage.x; + float g = RGBimage.y; + float b = RGBimage.z; + + float3 wht = float3(1.0, 1.0, 1.0); + + if (r > g) { + if (g > b) { + // r > g > b + return r * red + g * (yel - red) + b * (wht - yel); + } else if (r > b) { + // r > b > g + return r * red + g * (wht - mag) + b * (mag - red); + } else { + // b > r > g + return r * (mag - blu) + g * (wht - mag) + b * blu; + } + } else { + if (b > g) { + // b > g > r + return r * (wht - cyn) + g * (cyn - blu) + b * blu; + } else if (b > r) { + // g > b > r + return r * (wht - cyn) + g * grn + b * (cyn - grn); + } else { + // g > r > b + return r * (yel - grn) + g * grn + b * (wht - yel); + } + } +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 inputColor = image.Sample(textureSampler, v_in.uv); + float alpha = inputColor.a; + + float3 red = float3(redR, redG, redB); + float3 yel = float3(yelR, yelG, yelB); + float3 grn = float3(grnR, grnG, grnB); + float3 cyn = float3(cynR, cynG, cynB); + float3 blu = float3(bluR, bluG, bluB); + float3 mag = float3(magR, magG, magB); + + float3 outputColor = tetra(inputColor.rgb, red, yel, grn, cyn, blu, mag); + return float4(outputColor, alpha); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + From 4aa0d022a4236ad99d88bdc75fa239bd22cef530 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:07 +0000 Subject: [PATCH 3844/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- obs-powershell.psd1 | 314 +++++++++++++++++++++++--------------------- 1 file changed, 162 insertions(+), 152 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index cdc84bd10..72c09e1f4 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -8,7 +8,7 @@ Copyright = '2022-2023 Start-Automating' FormatsToProcess = 'obs-powershell.format.ps1xml' TypesToProcess = 'obs-powershell.types.ps1xml' - RequiredModules = '' + RequiredModules = 'ThreadJob' PowerShellVersion = '7.0' PrivateData = @{ PSData = @{ @@ -175,146 +175,18 @@ Initial Release of obs-powershell 'Send-OBS', 'Show-OBS', 'Watch-OBS', -'Add-OBSInput', -'Add-OBSProfile', -'Add-OBSScene', -'Add-OBSSceneCollection', -'Add-OBSSceneItem', -'Add-OBSSourceFilter', -'Copy-OBSSceneItem', -'Get-OBSCurrentPreviewScene', -'Get-OBSCurrentProgramScene', -'Get-OBSCurrentSceneTransition', -'Get-OBSCurrentSceneTransitionCursor', -'Get-OBSGroup', -'Get-OBSGroupSceneItem', -'Get-OBSHotkey', -'Get-OBSInput', -'Get-OBSInputAudioBalance', -'Get-OBSInputAudioMonitorType', -'Get-OBSInputAudioSyncOffset', -'Get-OBSInputAudioTracks', -'Get-OBSInputDefaultSettings', -'Get-OBSInputKind', -'Get-OBSInputMute', -'Get-OBSInputPropertiesListPropertyItems', -'Get-OBSInputSettings', -'Get-OBSInputVolume', -'Get-OBSLastReplayBufferReplay', -'Get-OBSMediaInputStatus', -'Get-OBSMonitor', -'Get-OBSOutput', -'Get-OBSOutputSettings', -'Get-OBSOutputStatus', -'Get-OBSPersistentData', -'Get-OBSProfile', -'Get-OBSProfileParameter', -'Get-OBSRecordDirectory', -'Get-OBSRecordStatus', -'Get-OBSReplayBufferStatus', -'Get-OBSScene', -'Get-OBSSceneCollection', -'Get-OBSSceneItem', -'Get-OBSSceneItemBlendMode', -'Get-OBSSceneItemEnabled', -'Get-OBSSceneItemId', -'Get-OBSSceneItemIndex', -'Get-OBSSceneItemLocked', -'Get-OBSSceneItemSource', -'Get-OBSSceneItemTransform', -'Get-OBSSceneSceneTransitionOverride', -'Get-OBSSceneTransition', -'Get-OBSSourceActive', -'Get-OBSSourceFilter', -'Get-OBSSourceFilterDefaultSettings', -'Get-OBSSourceFilterKind', -'Get-OBSSourceFilterList', -'Get-OBSSourceScreenshot', -'Get-OBSSpecialInputs', -'Get-OBSStats', -'Get-OBSStreamServiceSettings', -'Get-OBSStreamStatus', -'Get-OBSStudioModeEnabled', -'Get-OBSTransitionKind', -'Get-OBSVersion', -'Get-OBSVideoSettings', -'Get-OBSVirtualCamStatus', -'Open-OBSInputFiltersDialog', -'Open-OBSInputInteractDialog', -'Open-OBSInputPropertiesDialog', -'Open-OBSSourceProjector', -'Open-OBSVideoMixProjector', -'Remove-OBSInput', -'Remove-OBSProfile', -'Remove-OBSScene', -'Remove-OBSSceneItem', -'Remove-OBSSourceFilter', -'Resume-OBSRecord', -'Save-OBSReplayBuffer', -'Save-OBSSourceScreenshot', -'Send-OBSCallVendorRequest', -'Send-OBSCustomEvent', -'Send-OBSOffsetMediaInputCursor', -'Send-OBSPauseRecord', -'Send-OBSPressInputPropertiesButton', -'Send-OBSSleep', -'Send-OBSStreamCaption', -'Send-OBSTriggerHotkeyByKeySequence', -'Send-OBSTriggerHotkeyByName', -'Send-OBSTriggerMediaInputAction', -'Send-OBSTriggerStudioModeTransition', -'Set-OBSCurrentPreviewScene', -'Set-OBSCurrentProfile', -'Set-OBSCurrentProgramScene', -'Set-OBSCurrentSceneCollection', -'Set-OBSCurrentSceneTransition', -'Set-OBSCurrentSceneTransitionDuration', -'Set-OBSCurrentSceneTransitionSettings', -'Set-OBSInputAudioBalance', -'Set-OBSInputAudioMonitorType', -'Set-OBSInputAudioSyncOffset', -'Set-OBSInputAudioTracks', -'Set-OBSInputMute', -'Set-OBSInputName', -'Set-OBSInputSettings', -'Set-OBSInputVolume', -'Set-OBSMediaInputCursor', -'Set-OBSOutputSettings', -'Set-OBSPersistentData', -'Set-OBSProfileParameter', -'Set-OBSRecordDirectory', -'Set-OBSSceneItemBlendMode', -'Set-OBSSceneItemEnabled', -'Set-OBSSceneItemIndex', -'Set-OBSSceneItemLocked', -'Set-OBSSceneItemTransform', -'Set-OBSSceneName', -'Set-OBSSceneSceneTransitionOverride', -'Set-OBSSourceFilterEnabled', -'Set-OBSSourceFilterIndex', -'Set-OBSSourceFilterName', -'Set-OBSSourceFilterSettings', -'Set-OBSStreamServiceSettings', -'Set-OBSStudioModeEnabled', -'Set-OBSTBarPosition', -'Set-OBSVideoSettings', -'Start-OBSOutput', -'Start-OBSRecord', -'Start-OBSReplayBuffer', -'Start-OBSStream', -'Start-OBSVirtualCam', -'Stop-OBSOutput', -'Stop-OBSRecord', -'Stop-OBSReplayBuffer', -'Stop-OBSStream', -'Stop-OBSVirtualCam', -'Switch-OBSInputMute', -'Switch-OBSOutput', -'Switch-OBSRecord', -'Switch-OBSRecordPause', -'Switch-OBSReplayBuffer', -'Switch-OBSStream', -'Switch-OBSVirtualCam', +'Set-OBSAudioOutputSource', +'Set-OBSBrowserSource', +'Set-OBSColorSource', +'Set-OBSDisplaySource', +'Set-OBSMarkdownSource', +'Set-OBSMediaSource', +'Set-OBSSoundCloudSource', +'Set-OBSSwitchSource', +'Set-OBSVLCSource', +'Set-OBSWaveformSource', +'Set-OBSWindowSource', +'Get-OBS3dSwapTransitionShader', 'Get-OBSAddShader', 'Get-OBSAlphaBorderShader', 'Get-OBSAlphaGamingBentCameraShader', @@ -335,6 +207,9 @@ Initial Release of obs-powershell 'Get-OBSChromaticAberrationShader', 'Get-OBSChromaUVDistortionShader', 'Get-OBSCircleMaskFilterShader', +'Get-OBSClockAnalogShader', +'Get-OBSClockDigitalLedShader', +'Get-OBSClockDigitalNixieShader', 'Get-OBSColorDepthShader', 'Get-OBSColorGradeFilterShader', 'Get-OBSCornerPinShader', @@ -344,6 +219,8 @@ Initial Release of obs-powershell 'Get-OBSCylinderShader', 'Get-OBSDarkenShader', 'Get-OBSDeadPixelFixerShader', +'Get-OBSDensitySatHueShader', +'Get-OBSDiffuseTransitionShader', 'Get-OBSDigitalRainShader', 'Get-OBSDivideRotateShader', 'Get-OBSDoodleShader', @@ -415,6 +292,7 @@ Initial Release of obs-powershell 'Get-OBSRgbColorWheelShader', 'Get-OBSRgbSplitShader', 'Get-OBSRgbvisibilityShader', +'Get-OBSRGSSAAShader', 'Get-OBSRippleShader', 'Get-OBSRotatingSourceShader', 'Get-OBSRotatoeShader', @@ -432,8 +310,11 @@ Initial Release of obs-powershell 'Get-OBSShineShader', 'Get-OBSSimpleGradientShader', 'Get-OBSSimplexNoiseShader', +'Get-OBSSmartDenoiseShader', +'Get-OBSSpecularShineShader', 'Get-OBSSpotlightShader', 'Get-OBSSwirlShader', +'Get-OBSTetraShader', 'Get-OBSThermalShader', 'Get-OBSTvCrtSubpixelShader', 'Get-OBSTwistShader', @@ -455,17 +336,146 @@ Initial Release of obs-powershell 'Set-OBSScrollFilter', 'Set-OBSShaderFilter', 'Set-OBSSharpnessFilter', -'Set-OBSAudioOutputSource', -'Set-OBSBrowserSource', -'Set-OBSColorSource', -'Set-OBSDisplaySource', -'Set-OBSMarkdownSource', -'Set-OBSMediaSource', -'Set-OBSSoundCloudSource', -'Set-OBSSwitchSource', -'Set-OBSVLCSource', -'Set-OBSWaveformSource', -'Set-OBSWindowSource', +'Add-OBSInput', +'Add-OBSProfile', +'Add-OBSScene', +'Add-OBSSceneCollection', +'Add-OBSSceneItem', +'Add-OBSSourceFilter', +'Copy-OBSSceneItem', +'Get-OBSCurrentPreviewScene', +'Get-OBSCurrentProgramScene', +'Get-OBSCurrentSceneTransition', +'Get-OBSCurrentSceneTransitionCursor', +'Get-OBSGroup', +'Get-OBSGroupSceneItem', +'Get-OBSHotkey', +'Get-OBSInput', +'Get-OBSInputAudioBalance', +'Get-OBSInputAudioMonitorType', +'Get-OBSInputAudioSyncOffset', +'Get-OBSInputAudioTracks', +'Get-OBSInputDefaultSettings', +'Get-OBSInputKind', +'Get-OBSInputMute', +'Get-OBSInputPropertiesListPropertyItems', +'Get-OBSInputSettings', +'Get-OBSInputVolume', +'Get-OBSLastReplayBufferReplay', +'Get-OBSMediaInputStatus', +'Get-OBSMonitor', +'Get-OBSOutput', +'Get-OBSOutputSettings', +'Get-OBSOutputStatus', +'Get-OBSPersistentData', +'Get-OBSProfile', +'Get-OBSProfileParameter', +'Get-OBSRecordDirectory', +'Get-OBSRecordStatus', +'Get-OBSReplayBufferStatus', +'Get-OBSScene', +'Get-OBSSceneCollection', +'Get-OBSSceneItem', +'Get-OBSSceneItemBlendMode', +'Get-OBSSceneItemEnabled', +'Get-OBSSceneItemId', +'Get-OBSSceneItemIndex', +'Get-OBSSceneItemLocked', +'Get-OBSSceneItemSource', +'Get-OBSSceneItemTransform', +'Get-OBSSceneSceneTransitionOverride', +'Get-OBSSceneTransition', +'Get-OBSSourceActive', +'Get-OBSSourceFilter', +'Get-OBSSourceFilterDefaultSettings', +'Get-OBSSourceFilterKind', +'Get-OBSSourceFilterList', +'Get-OBSSourceScreenshot', +'Get-OBSSpecialInputs', +'Get-OBSStats', +'Get-OBSStreamServiceSettings', +'Get-OBSStreamStatus', +'Get-OBSStudioModeEnabled', +'Get-OBSTransitionKind', +'Get-OBSVersion', +'Get-OBSVideoSettings', +'Get-OBSVirtualCamStatus', +'Open-OBSInputFiltersDialog', +'Open-OBSInputInteractDialog', +'Open-OBSInputPropertiesDialog', +'Open-OBSSourceProjector', +'Open-OBSVideoMixProjector', +'Remove-OBSInput', +'Remove-OBSProfile', +'Remove-OBSScene', +'Remove-OBSSceneItem', +'Remove-OBSSourceFilter', +'Resume-OBSRecord', +'Save-OBSReplayBuffer', +'Save-OBSSourceScreenshot', +'Send-OBSCallVendorRequest', +'Send-OBSCustomEvent', +'Send-OBSOffsetMediaInputCursor', +'Send-OBSPauseRecord', +'Send-OBSPressInputPropertiesButton', +'Send-OBSSleep', +'Send-OBSStreamCaption', +'Send-OBSTriggerHotkeyByKeySequence', +'Send-OBSTriggerHotkeyByName', +'Send-OBSTriggerMediaInputAction', +'Send-OBSTriggerStudioModeTransition', +'Set-OBSCurrentPreviewScene', +'Set-OBSCurrentProfile', +'Set-OBSCurrentProgramScene', +'Set-OBSCurrentSceneCollection', +'Set-OBSCurrentSceneTransition', +'Set-OBSCurrentSceneTransitionDuration', +'Set-OBSCurrentSceneTransitionSettings', +'Set-OBSInputAudioBalance', +'Set-OBSInputAudioMonitorType', +'Set-OBSInputAudioSyncOffset', +'Set-OBSInputAudioTracks', +'Set-OBSInputMute', +'Set-OBSInputName', +'Set-OBSInputSettings', +'Set-OBSInputVolume', +'Set-OBSMediaInputCursor', +'Set-OBSOutputSettings', +'Set-OBSPersistentData', +'Set-OBSProfileParameter', +'Set-OBSRecordDirectory', +'Set-OBSSceneItemBlendMode', +'Set-OBSSceneItemEnabled', +'Set-OBSSceneItemIndex', +'Set-OBSSceneItemLocked', +'Set-OBSSceneItemTransform', +'Set-OBSSceneName', +'Set-OBSSceneSceneTransitionOverride', +'Set-OBSSourceFilterEnabled', +'Set-OBSSourceFilterIndex', +'Set-OBSSourceFilterName', +'Set-OBSSourceFilterSettings', +'Set-OBSStreamServiceSettings', +'Set-OBSStudioModeEnabled', +'Set-OBSTBarPosition', +'Set-OBSVideoSettings', +'Start-OBSOutput', +'Start-OBSRecord', +'Start-OBSReplayBuffer', +'Start-OBSStream', +'Start-OBSVirtualCam', +'Stop-OBSOutput', +'Stop-OBSRecord', +'Stop-OBSReplayBuffer', +'Stop-OBSStream', +'Stop-OBSVirtualCam', +'Switch-OBSInputMute', +'Switch-OBSOutput', +'Switch-OBSRecord', +'Switch-OBSRecordPause', +'Switch-OBSReplayBuffer', +'Switch-OBSStream', +'Switch-OBSVirtualCam', 'Get-OBSEffect', 'Import-OBSEffect', 'Remove-OBSEffect', From 09ec65665c1f8be78017cfc512b2d1256e882f11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:23 +0000 Subject: [PATCH 3845/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBS3dSwapTransitionShader.md | 126 ++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Get-OBS3dSwapTransitionShader.md diff --git a/docs/Get-OBS3dSwapTransitionShader.md b/docs/Get-OBS3dSwapTransitionShader.md new file mode 100644 index 000000000..b06a53c24 --- /dev/null +++ b/docs/Get-OBS3dSwapTransitionShader.md @@ -0,0 +1,126 @@ +Get-OBS3dSwapTransitionShader +----------------------------- + +### Synopsis + +Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |background_color| + +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **Depth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Perspective** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Reflection** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBS3dSwapTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 6da9cd9bb03d34fb659fadd7428ca74ed1d2c2fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:23 +0000 Subject: [PATCH 3846/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Get-OBS3dSwapTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBS3dSwapTransitionShader.json diff --git a/docs/_data/Help/Get-OBS3dSwapTransitionShader.json b/docs/_data/Help/Get-OBS3dSwapTransitionShader.json new file mode 100644 index 000000000..e7595fbe4 --- /dev/null +++ b/docs/_data/Help/Get-OBS3dSwapTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 603d3cbcb0c2fcd2d065a9475de0ec772b14610b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:26 +0000 Subject: [PATCH 3847/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSClockAnalogShader.md | 144 +++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Get-OBSClockAnalogShader.md diff --git a/docs/Get-OBSClockAnalogShader.md b/docs/Get-OBSClockAnalogShader.md new file mode 100644 index 000000000..5e56201df --- /dev/null +++ b/docs/Get-OBSClockAnalogShader.md @@ -0,0 +1,144 @@ +Get-OBSClockAnalogShader +------------------------ + +### Synopsis + +Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|----------------| +|`[float[]]`|false |9 |false |background_color| + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |current_time_min| + +#### **CurrentTimeMs** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |current_time_ms| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HourHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |4 |false |hour_handle_color| + +#### **MinuteHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------------| +|`[float[]]`|false |5 |false |minute_handle_color| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OutlineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------| +|`[float[]]`|false |7 |false |outline_color| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SecondHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------------| +|`[float[]]`|false |6 |false |second_handle_color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **TimeOffsetHours** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |10 |false |time_offset_hours| + +#### **TopLineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------------| +|`[float[]]`|false |8 |false |top_line_color| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockAnalogShader; CommonParameters=True; parameter=System.Object[]}} +``` From f0c3e52f61bb260b5d51941c4cb54f85fc12b29c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:26 +0000 Subject: [PATCH 3848/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Get-OBSClockAnalogShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSClockAnalogShader.json diff --git a/docs/_data/Help/Get-OBSClockAnalogShader.json b/docs/_data/Help/Get-OBSClockAnalogShader.json new file mode 100644 index 000000000..c188ec73d --- /dev/null +++ b/docs/_data/Help/Get-OBSClockAnalogShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 39d3df751dd1b1bf5957746c832e5a44c43e7248 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:27 +0000 Subject: [PATCH 3849/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSClockDigitalLedShader.md | 138 +++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Get-OBSClockDigitalLedShader.md diff --git a/docs/Get-OBSClockDigitalLedShader.md b/docs/Get-OBSClockDigitalLedShader.md new file mode 100644 index 000000000..739d5a131 --- /dev/null +++ b/docs/Get-OBSClockDigitalLedShader.md @@ -0,0 +1,138 @@ +Get-OBSClockDigitalLedShader +---------------------------- + +### Synopsis + +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **Ampm** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |2 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_min| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LedColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetHours** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |5 |false | + +#### **OffsetSeconds** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **ShowMatrix** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShowOff** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **TimeMode** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}} +``` From 28373cab71a51da21dbe08b50a30327583755ebe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:27 +0000 Subject: [PATCH 3850/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Get-OBSClockDigitalLedShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSClockDigitalLedShader.json diff --git a/docs/_data/Help/Get-OBSClockDigitalLedShader.json b/docs/_data/Help/Get-OBSClockDigitalLedShader.json new file mode 100644 index 000000000..a0948321d --- /dev/null +++ b/docs/_data/Help/Get-OBSClockDigitalLedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 40006118fe55ba1201c06a35d62b3bb630e37870 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:27 +0000 Subject: [PATCH 3851/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSClockDigitalNixieShader.md | 150 +++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Get-OBSClockDigitalNixieShader.md diff --git a/docs/Get-OBSClockDigitalNixieShader.md b/docs/Get-OBSClockDigitalNixieShader.md new file mode 100644 index 000000000..e73968e07 --- /dev/null +++ b/docs/Get-OBSClockDigitalNixieShader.md @@ -0,0 +1,150 @@ +Get-OBSClockDigitalNixieShader +------------------------------ + +### Synopsis + +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **Anodecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |10 |false | + +#### **Anodehighlightscolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |11 |false | + +#### **Corecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |7 |false | + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |current_time_min| + +#### **CurrentTimeMs** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |current_time_ms| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Flarecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |9 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Halocolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |8 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetHours** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |5 |false | + +#### **OffsetSeconds** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **TimeMode** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |4 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockDigitalNixieShader; CommonParameters=True; parameter=System.Object[]}} +``` From baf99a1e094982a9396a631e6c5cf4047fdb7e8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:27 +0000 Subject: [PATCH 3852/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Get-OBSClockDigitalNixieShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSClockDigitalNixieShader.json diff --git a/docs/_data/Help/Get-OBSClockDigitalNixieShader.json b/docs/_data/Help/Get-OBSClockDigitalNixieShader.json new file mode 100644 index 000000000..1cb0ec481 --- /dev/null +++ b/docs/_data/Help/Get-OBSClockDigitalNixieShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From ff712dbf144cfa75e18d209bb724e94fa3d901cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:29 +0000 Subject: [PATCH 3853/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSDensitySatHueShader.md | 204 +++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/Get-OBSDensitySatHueShader.md diff --git a/docs/Get-OBSDensitySatHueShader.md b/docs/Get-OBSDensitySatHueShader.md new file mode 100644 index 000000000..4880aadca --- /dev/null +++ b/docs/Get-OBSDensitySatHueShader.md @@ -0,0 +1,204 @@ +Get-OBSDensitySatHueShader +-------------------------- + +### Synopsis + +Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **DensityB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |13 |false |density_b| + +#### **DensityC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |10 |false |density_c| + +#### **DensityG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |7 |false |density_g| + +#### **DensityM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |16 |false |density_m| + +#### **DensityR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |density_r| + +#### **DensityY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |4 |false |density_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |22 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlobalDensity** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |19 |false |global_density| + +#### **GlobalSaturation** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |20 |false |global_saturation| + +#### **HueShiftB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |15 |false |hueShift_b| + +#### **HueShiftC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |12 |false |hueShift_c| + +#### **HueShiftG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |9 |false |hueShift_g| + +#### **HueShiftM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |18 |false |hueShift_m| + +#### **HueShiftR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |3 |false |hueShift_r| + +#### **HueShiftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |6 |false |hueShift_y| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SaturationB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |14 |false |saturation_b| + +#### **SaturationC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |11 |false |saturation_c| + +#### **SaturationG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |8 |false |saturation_g| + +#### **SaturationM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |17 |false |saturation_m| + +#### **SaturationR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |saturation_r| + +#### **SaturationY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |5 |false |saturation_y| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |23 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDensitySatHueShader; CommonParameters=True; parameter=System.Object[]}} +``` From 3b5f9914c6a9ef2b998d5f3bc778b2f87bfd511c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:29 +0000 Subject: [PATCH 3854/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Get-OBSDensitySatHueShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDensitySatHueShader.json diff --git a/docs/_data/Help/Get-OBSDensitySatHueShader.json b/docs/_data/Help/Get-OBSDensitySatHueShader.json new file mode 100644 index 000000000..ca5255638 --- /dev/null +++ b/docs/_data/Help/Get-OBSDensitySatHueShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8a2e146b315866465dbbe73610534c69610dbf46 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:29 +0000 Subject: [PATCH 3855/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSDiffuseTransitionShader.md | 108 +++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Get-OBSDiffuseTransitionShader.md diff --git a/docs/Get-OBSDiffuseTransitionShader.md b/docs/Get-OBSDiffuseTransitionShader.md new file mode 100644 index 000000000..43a253369 --- /dev/null +++ b/docs/Get-OBSDiffuseTransitionShader.md @@ -0,0 +1,108 @@ +Get-OBSDiffuseTransitionShader +------------------------------ + +### Synopsis + +Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumSamples** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |3 |false |num_samples| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDiffuseTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From d09a47d8adc341a3a16150af3e1816e8d91fbef9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:30 +0000 Subject: [PATCH 3856/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Get-OBSDiffuseTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSDiffuseTransitionShader.json diff --git a/docs/_data/Help/Get-OBSDiffuseTransitionShader.json b/docs/_data/Help/Get-OBSDiffuseTransitionShader.json new file mode 100644 index 000000000..af344a64e --- /dev/null +++ b/docs/_data/Help/Get-OBSDiffuseTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f227c95a244589a07137958b3c24d1b148836414 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:41 +0000 Subject: [PATCH 3857/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSRGSSAAShader.md | 96 +++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSRGSSAAShader.md diff --git a/docs/Get-OBSRGSSAAShader.md b/docs/Get-OBSRGSSAAShader.md new file mode 100644 index 000000000..8dcca16b3 --- /dev/null +++ b/docs/Get-OBSRGSSAAShader.md @@ -0,0 +1,96 @@ +Get-OBSRGSSAAShader +------------------- + +### Synopsis + +Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **ColorSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **SpatialSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRGSSAAShader; CommonParameters=True; parameter=System.Object[]}} +``` From 20526768648af22eb4800a8aa93bbb184c791a2c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:41 +0000 Subject: [PATCH 3858/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Get-OBSRGSSAAShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSRGSSAAShader.json diff --git a/docs/_data/Help/Get-OBSRGSSAAShader.json b/docs/_data/Help/Get-OBSRGSSAAShader.json new file mode 100644 index 000000000..7585fa9af --- /dev/null +++ b/docs/_data/Help/Get-OBSRGSSAAShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From a9e2539f182e4c2eecdfdfd5a8722bbfa015e6a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:44 +0000 Subject: [PATCH 3859/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSSmartDenoiseShader.md | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Get-OBSSmartDenoiseShader.md diff --git a/docs/Get-OBSSmartDenoiseShader.md b/docs/Get-OBSSmartDenoiseShader.md new file mode 100644 index 000000000..32bbb243e --- /dev/null +++ b/docs/Get-OBSSmartDenoiseShader.md @@ -0,0 +1,96 @@ +Get-OBSSmartDenoiseShader +------------------------- + +### Synopsis + +Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **UKSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **USigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UThreshold** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSmartDenoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 983631b8d9c52c9c16b50592fc3d97b61032c111 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:44 +0000 Subject: [PATCH 3860/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../_data/Help/Get-OBSSmartDenoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSmartDenoiseShader.json diff --git a/docs/_data/Help/Get-OBSSmartDenoiseShader.json b/docs/_data/Help/Get-OBSSmartDenoiseShader.json new file mode 100644 index 000000000..d4bac7387 --- /dev/null +++ b/docs/_data/Help/Get-OBSSmartDenoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8d1fa9eecbda88ed8eaf0ce1ff089240410b98e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:44 +0000 Subject: [PATCH 3861/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSSpecularShineShader.md | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Get-OBSSpecularShineShader.md diff --git a/docs/Get-OBSSpecularShineShader.md b/docs/Get-OBSSpecularShineShader.md new file mode 100644 index 000000000..502c87cb7 --- /dev/null +++ b/docs/Get-OBSSpecularShineShader.md @@ -0,0 +1,132 @@ +Get-OBSSpecularShineShader +-------------------------- + +### Synopsis + +Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **FlattenNormal** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Hint** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **LightColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------| +|`[float[]]`|false |8 |false |Light_Color| + +#### **LightPositionX** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **LightPositionY** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **LightStrength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Roughness** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **StretchNormalX** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **StretchNormalY** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |7 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSpecularShineShader; CommonParameters=True; parameter=System.Object[]}} +``` From 07e46c6827bd323f7534d963801d15f94d820120 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:45 +0000 Subject: [PATCH 3862/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Get-OBSSpecularShineShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSSpecularShineShader.json diff --git a/docs/_data/Help/Get-OBSSpecularShineShader.json b/docs/_data/Help/Get-OBSSpecularShineShader.json new file mode 100644 index 000000000..e31a95f7e --- /dev/null +++ b/docs/_data/Help/Get-OBSSpecularShineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From c5b4b5d73dbfc2847c1fe3b504fec3d352b88df8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:45 +0000 Subject: [PATCH 3863/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Get-OBSTetraShader.md | 186 +++++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 docs/Get-OBSTetraShader.md diff --git a/docs/Get-OBSTetraShader.md b/docs/Get-OBSTetraShader.md new file mode 100644 index 000000000..22b7e2073 --- /dev/null +++ b/docs/Get-OBSTetraShader.md @@ -0,0 +1,186 @@ +Get-OBSTetraShader +------------------ + +### Synopsis + +Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BluB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |14 |false | + +#### **BluG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **BluR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **CynB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **CynG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |10 |false | + +#### **CynR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |9 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |19 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GrnB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |8 |false | + +#### **GrnG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |7 |false | + +#### **GrnR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **MagB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **MagG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |16 |false | + +#### **MagR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |15 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **RedG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **RedR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |20 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **YelB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **YelG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **YelR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTetraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 070058d607339158a298fe354251a6151c5890c4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:45 +0000 Subject: [PATCH 3864/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Get-OBSTetraShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Get-OBSTetraShader.json diff --git a/docs/_data/Help/Get-OBSTetraShader.json b/docs/_data/Help/Get-OBSTetraShader.json new file mode 100644 index 000000000..a26d27811 --- /dev/null +++ b/docs/_data/Help/Get-OBSTetraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 8be45d558bbf855fd1590b203061e1a79345b226 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:56 +0000 Subject: [PATCH 3865/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBS3dSwapTransitionShader.md | 126 ++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Add-OBS3dSwapTransitionShader.md diff --git a/docs/Add-OBS3dSwapTransitionShader.md b/docs/Add-OBS3dSwapTransitionShader.md new file mode 100644 index 000000000..b06a53c24 --- /dev/null +++ b/docs/Add-OBS3dSwapTransitionShader.md @@ -0,0 +1,126 @@ +Get-OBS3dSwapTransitionShader +----------------------------- + +### Synopsis + +Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |background_color| + +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **Depth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Perspective** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Reflection** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBS3dSwapTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 78b29fab56b4b6da3a62daece138a4b703fc84c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:56 +0000 Subject: [PATCH 3866/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Add-OBS3dSwapTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBS3dSwapTransitionShader.json diff --git a/docs/_data/Help/Add-OBS3dSwapTransitionShader.json b/docs/_data/Help/Add-OBS3dSwapTransitionShader.json new file mode 100644 index 000000000..e7595fbe4 --- /dev/null +++ b/docs/_data/Help/Add-OBS3dSwapTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 15ab9f19f9d5b14cfbbe7fd3a2957e3f7af17fb3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:58 +0000 Subject: [PATCH 3867/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSClockAnalogShader.md | 144 +++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Add-OBSClockAnalogShader.md diff --git a/docs/Add-OBSClockAnalogShader.md b/docs/Add-OBSClockAnalogShader.md new file mode 100644 index 000000000..5e56201df --- /dev/null +++ b/docs/Add-OBSClockAnalogShader.md @@ -0,0 +1,144 @@ +Get-OBSClockAnalogShader +------------------------ + +### Synopsis + +Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|----------------| +|`[float[]]`|false |9 |false |background_color| + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |current_time_min| + +#### **CurrentTimeMs** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |current_time_ms| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HourHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |4 |false |hour_handle_color| + +#### **MinuteHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------------| +|`[float[]]`|false |5 |false |minute_handle_color| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OutlineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------| +|`[float[]]`|false |7 |false |outline_color| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SecondHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------------| +|`[float[]]`|false |6 |false |second_handle_color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **TimeOffsetHours** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |10 |false |time_offset_hours| + +#### **TopLineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------------| +|`[float[]]`|false |8 |false |top_line_color| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockAnalogShader; CommonParameters=True; parameter=System.Object[]}} +``` From a38a112bae8c0c35a78c36f2be09b916b6942c0b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:58 +0000 Subject: [PATCH 3868/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Add-OBSClockAnalogShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSClockAnalogShader.json diff --git a/docs/_data/Help/Add-OBSClockAnalogShader.json b/docs/_data/Help/Add-OBSClockAnalogShader.json new file mode 100644 index 000000000..c188ec73d --- /dev/null +++ b/docs/_data/Help/Add-OBSClockAnalogShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 3fc8ed19ff43255b488d7cc0c319a875a8a8795c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:58 +0000 Subject: [PATCH 3869/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSClockDigitalLedShader.md | 138 +++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Add-OBSClockDigitalLedShader.md diff --git a/docs/Add-OBSClockDigitalLedShader.md b/docs/Add-OBSClockDigitalLedShader.md new file mode 100644 index 000000000..739d5a131 --- /dev/null +++ b/docs/Add-OBSClockDigitalLedShader.md @@ -0,0 +1,138 @@ +Get-OBSClockDigitalLedShader +---------------------------- + +### Synopsis + +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **Ampm** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |2 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_min| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LedColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetHours** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |5 |false | + +#### **OffsetSeconds** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **ShowMatrix** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShowOff** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **TimeMode** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}} +``` From 89a2789bbe65ce949709e7fa14e3cce6ee0f0200 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:58 +0000 Subject: [PATCH 3870/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Add-OBSClockDigitalLedShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSClockDigitalLedShader.json diff --git a/docs/_data/Help/Add-OBSClockDigitalLedShader.json b/docs/_data/Help/Add-OBSClockDigitalLedShader.json new file mode 100644 index 000000000..a0948321d --- /dev/null +++ b/docs/_data/Help/Add-OBSClockDigitalLedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 6881d7fe0bd08d843a70b47ee98322de7b0df2d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:58 +0000 Subject: [PATCH 3871/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSClockDigitalNixieShader.md | 150 +++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Add-OBSClockDigitalNixieShader.md diff --git a/docs/Add-OBSClockDigitalNixieShader.md b/docs/Add-OBSClockDigitalNixieShader.md new file mode 100644 index 000000000..e73968e07 --- /dev/null +++ b/docs/Add-OBSClockDigitalNixieShader.md @@ -0,0 +1,150 @@ +Get-OBSClockDigitalNixieShader +------------------------------ + +### Synopsis + +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **Anodecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |10 |false | + +#### **Anodehighlightscolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |11 |false | + +#### **Corecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |7 |false | + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |current_time_min| + +#### **CurrentTimeMs** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |current_time_ms| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Flarecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |9 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Halocolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |8 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetHours** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |5 |false | + +#### **OffsetSeconds** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **TimeMode** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |4 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockDigitalNixieShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7012ec822e06e58ae710eb22ec536ab544668995 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:58 +0000 Subject: [PATCH 3872/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Add-OBSClockDigitalNixieShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSClockDigitalNixieShader.json diff --git a/docs/_data/Help/Add-OBSClockDigitalNixieShader.json b/docs/_data/Help/Add-OBSClockDigitalNixieShader.json new file mode 100644 index 000000000..1cb0ec481 --- /dev/null +++ b/docs/_data/Help/Add-OBSClockDigitalNixieShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0489ade9700e336ca8eea67631a05f951ab24baf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:59 +0000 Subject: [PATCH 3873/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSDensitySatHueShader.md | 204 +++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/Add-OBSDensitySatHueShader.md diff --git a/docs/Add-OBSDensitySatHueShader.md b/docs/Add-OBSDensitySatHueShader.md new file mode 100644 index 000000000..4880aadca --- /dev/null +++ b/docs/Add-OBSDensitySatHueShader.md @@ -0,0 +1,204 @@ +Get-OBSDensitySatHueShader +-------------------------- + +### Synopsis + +Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **DensityB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |13 |false |density_b| + +#### **DensityC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |10 |false |density_c| + +#### **DensityG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |7 |false |density_g| + +#### **DensityM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |16 |false |density_m| + +#### **DensityR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |density_r| + +#### **DensityY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |4 |false |density_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |22 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlobalDensity** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |19 |false |global_density| + +#### **GlobalSaturation** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |20 |false |global_saturation| + +#### **HueShiftB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |15 |false |hueShift_b| + +#### **HueShiftC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |12 |false |hueShift_c| + +#### **HueShiftG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |9 |false |hueShift_g| + +#### **HueShiftM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |18 |false |hueShift_m| + +#### **HueShiftR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |3 |false |hueShift_r| + +#### **HueShiftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |6 |false |hueShift_y| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SaturationB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |14 |false |saturation_b| + +#### **SaturationC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |11 |false |saturation_c| + +#### **SaturationG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |8 |false |saturation_g| + +#### **SaturationM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |17 |false |saturation_m| + +#### **SaturationR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |saturation_r| + +#### **SaturationY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |5 |false |saturation_y| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |23 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDensitySatHueShader; CommonParameters=True; parameter=System.Object[]}} +``` From 8ccb4fc34512193d576273b5ea07bc05414d9531 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:59 +0000 Subject: [PATCH 3874/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Add-OBSDensitySatHueShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDensitySatHueShader.json diff --git a/docs/_data/Help/Add-OBSDensitySatHueShader.json b/docs/_data/Help/Add-OBSDensitySatHueShader.json new file mode 100644 index 000000000..ca5255638 --- /dev/null +++ b/docs/_data/Help/Add-OBSDensitySatHueShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 72eb27fcb2cf96d7aba55a3bb91810e991aa1d7f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:59 +0000 Subject: [PATCH 3875/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSDiffuseTransitionShader.md | 108 +++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Add-OBSDiffuseTransitionShader.md diff --git a/docs/Add-OBSDiffuseTransitionShader.md b/docs/Add-OBSDiffuseTransitionShader.md new file mode 100644 index 000000000..43a253369 --- /dev/null +++ b/docs/Add-OBSDiffuseTransitionShader.md @@ -0,0 +1,108 @@ +Get-OBSDiffuseTransitionShader +------------------------------ + +### Synopsis + +Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumSamples** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |3 |false |num_samples| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDiffuseTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 399510a01e6f063082f0e6483badbeb0b1a5a6a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:08:59 +0000 Subject: [PATCH 3876/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Add-OBSDiffuseTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSDiffuseTransitionShader.json diff --git a/docs/_data/Help/Add-OBSDiffuseTransitionShader.json b/docs/_data/Help/Add-OBSDiffuseTransitionShader.json new file mode 100644 index 000000000..af344a64e --- /dev/null +++ b/docs/_data/Help/Add-OBSDiffuseTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From e738629262f81abee3ffa9cd685d803a58f9113e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:05 +0000 Subject: [PATCH 3877/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSRGSSAAShader.md | 96 +++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSRGSSAAShader.md diff --git a/docs/Add-OBSRGSSAAShader.md b/docs/Add-OBSRGSSAAShader.md new file mode 100644 index 000000000..8dcca16b3 --- /dev/null +++ b/docs/Add-OBSRGSSAAShader.md @@ -0,0 +1,96 @@ +Get-OBSRGSSAAShader +------------------- + +### Synopsis + +Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **ColorSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **SpatialSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRGSSAAShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4e067dd7ed022999f91994f7cfd4319cc4588c70 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:06 +0000 Subject: [PATCH 3878/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Add-OBSRGSSAAShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSRGSSAAShader.json diff --git a/docs/_data/Help/Add-OBSRGSSAAShader.json b/docs/_data/Help/Add-OBSRGSSAAShader.json new file mode 100644 index 000000000..7585fa9af --- /dev/null +++ b/docs/_data/Help/Add-OBSRGSSAAShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 09adfab681c3e5cb82443a10e91485b716968d7c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:07 +0000 Subject: [PATCH 3879/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSSmartDenoiseShader.md | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Add-OBSSmartDenoiseShader.md diff --git a/docs/Add-OBSSmartDenoiseShader.md b/docs/Add-OBSSmartDenoiseShader.md new file mode 100644 index 000000000..32bbb243e --- /dev/null +++ b/docs/Add-OBSSmartDenoiseShader.md @@ -0,0 +1,96 @@ +Get-OBSSmartDenoiseShader +------------------------- + +### Synopsis + +Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **UKSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **USigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UThreshold** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSmartDenoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 94311744e5463300a6b42bef15380e39e5dc85bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:07 +0000 Subject: [PATCH 3880/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../_data/Help/Add-OBSSmartDenoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSmartDenoiseShader.json diff --git a/docs/_data/Help/Add-OBSSmartDenoiseShader.json b/docs/_data/Help/Add-OBSSmartDenoiseShader.json new file mode 100644 index 000000000..d4bac7387 --- /dev/null +++ b/docs/_data/Help/Add-OBSSmartDenoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 7c81a386ef4916802135ffdb7cc4444c248e9281 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:07 +0000 Subject: [PATCH 3881/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSSpecularShineShader.md | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Add-OBSSpecularShineShader.md diff --git a/docs/Add-OBSSpecularShineShader.md b/docs/Add-OBSSpecularShineShader.md new file mode 100644 index 000000000..502c87cb7 --- /dev/null +++ b/docs/Add-OBSSpecularShineShader.md @@ -0,0 +1,132 @@ +Get-OBSSpecularShineShader +-------------------------- + +### Synopsis + +Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **FlattenNormal** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Hint** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **LightColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------| +|`[float[]]`|false |8 |false |Light_Color| + +#### **LightPositionX** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **LightPositionY** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **LightStrength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Roughness** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **StretchNormalX** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **StretchNormalY** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |7 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSpecularShineShader; CommonParameters=True; parameter=System.Object[]}} +``` From 40e5c5f937efa34e0490d61290cea79a51f3e37c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:08 +0000 Subject: [PATCH 3882/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Add-OBSSpecularShineShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSSpecularShineShader.json diff --git a/docs/_data/Help/Add-OBSSpecularShineShader.json b/docs/_data/Help/Add-OBSSpecularShineShader.json new file mode 100644 index 000000000..e31a95f7e --- /dev/null +++ b/docs/_data/Help/Add-OBSSpecularShineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bf62e0bac6b56091fa998036aa5b74d7aea3480f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:08 +0000 Subject: [PATCH 3883/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Add-OBSTetraShader.md | 186 +++++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 docs/Add-OBSTetraShader.md diff --git a/docs/Add-OBSTetraShader.md b/docs/Add-OBSTetraShader.md new file mode 100644 index 000000000..22b7e2073 --- /dev/null +++ b/docs/Add-OBSTetraShader.md @@ -0,0 +1,186 @@ +Get-OBSTetraShader +------------------ + +### Synopsis + +Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BluB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |14 |false | + +#### **BluG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **BluR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **CynB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **CynG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |10 |false | + +#### **CynR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |9 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |19 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GrnB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |8 |false | + +#### **GrnG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |7 |false | + +#### **GrnR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **MagB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **MagG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |16 |false | + +#### **MagR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |15 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **RedG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **RedR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |20 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **YelB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **YelG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **YelR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTetraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 36ba192c7e5d5fca035cfa4891c80f6e98d9b89a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:08 +0000 Subject: [PATCH 3884/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Add-OBSTetraShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Add-OBSTetraShader.json diff --git a/docs/_data/Help/Add-OBSTetraShader.json b/docs/_data/Help/Add-OBSTetraShader.json new file mode 100644 index 000000000..a26d27811 --- /dev/null +++ b/docs/_data/Help/Add-OBSTetraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 89b80aa3cf95bf87024919438c51db78d1d29358 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:18 +0000 Subject: [PATCH 3885/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBS3dSwapTransitionShader.md | 126 ++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 docs/Set-OBS3dSwapTransitionShader.md diff --git a/docs/Set-OBS3dSwapTransitionShader.md b/docs/Set-OBS3dSwapTransitionShader.md new file mode 100644 index 000000000..b06a53c24 --- /dev/null +++ b/docs/Set-OBS3dSwapTransitionShader.md @@ -0,0 +1,126 @@ +Get-OBS3dSwapTransitionShader +----------------------------- + +### Synopsis + +Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundColor** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------------| +|`[string]`|false |6 |false |background_color| + +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **Depth** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Perspective** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **Reflection** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBS3dSwapTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From e1c3791a1329efaf4de78785e7e281d6d05e510d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:18 +0000 Subject: [PATCH 3886/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Set-OBS3dSwapTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBS3dSwapTransitionShader.json diff --git a/docs/_data/Help/Set-OBS3dSwapTransitionShader.json b/docs/_data/Help/Set-OBS3dSwapTransitionShader.json new file mode 100644 index 000000000..e7595fbe4 --- /dev/null +++ b/docs/_data/Help/Set-OBS3dSwapTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From d317c8dcc6af05feba3fb9e091f8a06b631d0a07 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:20 +0000 Subject: [PATCH 3887/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSClockAnalogShader.md | 144 +++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 docs/Set-OBSClockAnalogShader.md diff --git a/docs/Set-OBSClockAnalogShader.md b/docs/Set-OBSClockAnalogShader.md new file mode 100644 index 000000000..5e56201df --- /dev/null +++ b/docs/Set-OBSClockAnalogShader.md @@ -0,0 +1,144 @@ +Get-OBSClockAnalogShader +------------------------ + +### Synopsis + +Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BackgroundColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|----------------| +|`[float[]]`|false |9 |false |background_color| + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |current_time_min| + +#### **CurrentTimeMs** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |current_time_ms| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |12 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **HourHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------------| +|`[float[]]`|false |4 |false |hour_handle_color| + +#### **MinuteHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------------| +|`[float[]]`|false |5 |false |minute_handle_color| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OutlineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------| +|`[float[]]`|false |7 |false |outline_color| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SecondHandleColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-------------------| +|`[float[]]`|false |6 |false |second_handle_color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |13 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| + +#### **TimeOffsetHours** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |10 |false |time_offset_hours| + +#### **TopLineColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|--------------| +|`[float[]]`|false |8 |false |top_line_color| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockAnalogShader; CommonParameters=True; parameter=System.Object[]}} +``` From cf7c952254facf43e5a2ee3150c8f7412f3ccbf0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:20 +0000 Subject: [PATCH 3888/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Set-OBSClockAnalogShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSClockAnalogShader.json diff --git a/docs/_data/Help/Set-OBSClockAnalogShader.json b/docs/_data/Help/Set-OBSClockAnalogShader.json new file mode 100644 index 000000000..c188ec73d --- /dev/null +++ b/docs/_data/Help/Set-OBSClockAnalogShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From fbd8b6db4c1be11ba74062e1b77958bba9a038d9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:20 +0000 Subject: [PATCH 3889/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSClockDigitalLedShader.md | 138 +++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/Set-OBSClockDigitalLedShader.md diff --git a/docs/Set-OBSClockDigitalLedShader.md b/docs/Set-OBSClockDigitalLedShader.md new file mode 100644 index 000000000..739d5a131 --- /dev/null +++ b/docs/Set-OBSClockDigitalLedShader.md @@ -0,0 +1,138 @@ +Get-OBSClockDigitalLedShader +---------------------------- + +### Synopsis + +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **Ampm** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |2 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_min| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |0 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |8 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **LedColor** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |4 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetHours** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |5 |false | + +#### **OffsetSeconds** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |9 |false |ShaderContent| + +#### **ShowMatrix** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShowOff** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| + +#### **TimeMode** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |3 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}} +``` From a7d7f82fd2cf8e4faf3287b6569d479dac232dc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:20 +0000 Subject: [PATCH 3890/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Set-OBSClockDigitalLedShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSClockDigitalLedShader.json diff --git a/docs/_data/Help/Set-OBSClockDigitalLedShader.json b/docs/_data/Help/Set-OBSClockDigitalLedShader.json new file mode 100644 index 000000000..a0948321d --- /dev/null +++ b/docs/_data/Help/Set-OBSClockDigitalLedShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 0f12856e1b7e86f2c29db93ea08ab424c2150586 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:20 +0000 Subject: [PATCH 3891/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSClockDigitalNixieShader.md | 150 +++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 docs/Set-OBSClockDigitalNixieShader.md diff --git a/docs/Set-OBSClockDigitalNixieShader.md b/docs/Set-OBSClockDigitalNixieShader.md new file mode 100644 index 000000000..e73968e07 --- /dev/null +++ b/docs/Set-OBSClockDigitalNixieShader.md @@ -0,0 +1,150 @@ +Get-OBSClockDigitalNixieShader +------------------------------ + +### Synopsis + +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **Anodecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |10 |false | + +#### **Anodehighlightscolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |11 |false | + +#### **Corecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |7 |false | + +#### **CurrentTimeHour** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------------| +|`[int]`|false |3 |false |current_time_hour| + +#### **CurrentTimeMin** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |2 |false |current_time_min| + +#### **CurrentTimeMs** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|---------------| +|`[int]`|false |0 |false |current_time_ms| + +#### **CurrentTimeSec** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|----------------| +|`[int]`|false |1 |false |current_time_sec| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |13 |true (ByPropertyName)| + +#### **Flarecolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |9 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Halocolor** + +|Type |Required|Position|PipelineInput| +|-----------|--------|--------|-------------| +|`[float[]]`|false |8 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **OffsetHours** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |5 |false | + +#### **OffsetSeconds** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |6 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |14 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| + +#### **TimeMode** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[int]`|false |4 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSClockDigitalNixieShader; CommonParameters=True; parameter=System.Object[]}} +``` From 25cecb55b5625b1479e38dc19fb580076ba23428 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:20 +0000 Subject: [PATCH 3892/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Set-OBSClockDigitalNixieShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSClockDigitalNixieShader.json diff --git a/docs/_data/Help/Set-OBSClockDigitalNixieShader.json b/docs/_data/Help/Set-OBSClockDigitalNixieShader.json new file mode 100644 index 000000000..1cb0ec481 --- /dev/null +++ b/docs/_data/Help/Set-OBSClockDigitalNixieShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From aa8b1596004cf8cd6d6e811ed344b8038a9a2fbd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:21 +0000 Subject: [PATCH 3893/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSDensitySatHueShader.md | 204 +++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 docs/Set-OBSDensitySatHueShader.md diff --git a/docs/Set-OBSDensitySatHueShader.md b/docs/Set-OBSDensitySatHueShader.md new file mode 100644 index 000000000..4880aadca --- /dev/null +++ b/docs/Set-OBSDensitySatHueShader.md @@ -0,0 +1,204 @@ +Get-OBSDensitySatHueShader +-------------------------- + +### Synopsis + +Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **DensityB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |13 |false |density_b| + +#### **DensityC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |10 |false |density_c| + +#### **DensityG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |7 |false |density_g| + +#### **DensityM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |16 |false |density_m| + +#### **DensityR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |1 |false |density_r| + +#### **DensityY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------| +|`[float]`|false |4 |false |density_y| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |22 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GlobalDensity** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|--------------| +|`[float]`|false |19 |false |global_density| + +#### **GlobalSaturation** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|-----------------| +|`[float]`|false |20 |false |global_saturation| + +#### **HueShiftB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |15 |false |hueShift_b| + +#### **HueShiftC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |12 |false |hueShift_c| + +#### **HueShiftG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |9 |false |hueShift_g| + +#### **HueShiftM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |18 |false |hueShift_m| + +#### **HueShiftR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |3 |false |hueShift_r| + +#### **HueShiftY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|----------| +|`[float]`|false |6 |false |hueShift_y| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **SaturationB** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |14 |false |saturation_b| + +#### **SaturationC** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |11 |false |saturation_c| + +#### **SaturationG** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |8 |false |saturation_g| + +#### **SaturationM** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |17 |false |saturation_m| + +#### **SaturationR** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |2 |false |saturation_r| + +#### **SaturationY** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[float]`|false |5 |false |saturation_y| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |23 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDensitySatHueShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7e49e457e501dd9c6e8e1645237ac873bd9b1b2b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:21 +0000 Subject: [PATCH 3894/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Set-OBSDensitySatHueShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDensitySatHueShader.json diff --git a/docs/_data/Help/Set-OBSDensitySatHueShader.json b/docs/_data/Help/Set-OBSDensitySatHueShader.json new file mode 100644 index 000000000..ca5255638 --- /dev/null +++ b/docs/_data/Help/Set-OBSDensitySatHueShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 22963dff3f5de03780b7fc74d99c6fa89246c9e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:21 +0000 Subject: [PATCH 3895/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSDiffuseTransitionShader.md | 108 +++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 docs/Set-OBSDiffuseTransitionShader.md diff --git a/docs/Set-OBSDiffuseTransitionShader.md b/docs/Set-OBSDiffuseTransitionShader.md new file mode 100644 index 000000000..43a253369 --- /dev/null +++ b/docs/Set-OBSDiffuseTransitionShader.md @@ -0,0 +1,108 @@ +Get-OBSDiffuseTransitionShader +------------------------------ + +### Synopsis + +Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **ConvertLinear** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|--------------| +|`[switch]`|false |Named |false |convert_linear| + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |5 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ImageA** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |0 |false |image_a| + +#### **ImageB** + +|Type |Required|Position|PipelineInput|Aliases| +|----------|--------|--------|-------------|-------| +|`[string]`|false |1 |false |image_b| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NumSamples** + +|Type |Required|Position|PipelineInput|Aliases | +|-------|--------|--------|-------------|-----------| +|`[int]`|false |3 |false |num_samples| + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |6 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| + +#### **TransitionTime** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[float]`|false |2 |false |transition_time| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSDiffuseTransitionShader; CommonParameters=True; parameter=System.Object[]}} +``` From 7f83d79597cbc69cb5ed67ea915545a82bef8871 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:21 +0000 Subject: [PATCH 3896/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Set-OBSDiffuseTransitionShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSDiffuseTransitionShader.json diff --git a/docs/_data/Help/Set-OBSDiffuseTransitionShader.json b/docs/_data/Help/Set-OBSDiffuseTransitionShader.json new file mode 100644 index 000000000..af344a64e --- /dev/null +++ b/docs/_data/Help/Set-OBSDiffuseTransitionShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From bc3d95f21e10e0379bc1949369305d9fedbb273c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:27 +0000 Subject: [PATCH 3897/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSRGSSAAShader.md | 96 +++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSRGSSAAShader.md diff --git a/docs/Set-OBSRGSSAAShader.md b/docs/Set-OBSRGSSAAShader.md new file mode 100644 index 000000000..8dcca16b3 --- /dev/null +++ b/docs/Set-OBSRGSSAAShader.md @@ -0,0 +1,96 @@ +Get-OBSRGSSAAShader +------------------- + +### Synopsis + +Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **ColorSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Notes** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |2 |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **SpatialSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSRGSSAAShader; CommonParameters=True; parameter=System.Object[]}} +``` From efbecf01c3f3a6526d090b4ea4eecf72590285c1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:27 +0000 Subject: [PATCH 3898/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Set-OBSRGSSAAShader.json | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSRGSSAAShader.json diff --git a/docs/_data/Help/Set-OBSRGSSAAShader.json b/docs/_data/Help/Set-OBSRGSSAAShader.json new file mode 100644 index 000000000..7585fa9af --- /dev/null +++ b/docs/_data/Help/Set-OBSRGSSAAShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From df92362df3dbdf231ac933033437eef8c205d87f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:28 +0000 Subject: [PATCH 3899/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSSmartDenoiseShader.md | 96 +++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 docs/Set-OBSSmartDenoiseShader.md diff --git a/docs/Set-OBSSmartDenoiseShader.md b/docs/Set-OBSSmartDenoiseShader.md new file mode 100644 index 000000000..32bbb243e --- /dev/null +++ b/docs/Set-OBSSmartDenoiseShader.md @@ -0,0 +1,96 @@ +Get-OBSSmartDenoiseShader +------------------------- + +### Synopsis + +Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |4 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |5 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| + +#### **UKSigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **USigma** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **UThreshold** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSmartDenoiseShader; CommonParameters=True; parameter=System.Object[]}} +``` From 4976743b04e70d36c58b1fdb33eaf52ee2f10b8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:29 +0000 Subject: [PATCH 3900/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../_data/Help/Set-OBSSmartDenoiseShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSmartDenoiseShader.json diff --git a/docs/_data/Help/Set-OBSSmartDenoiseShader.json b/docs/_data/Help/Set-OBSSmartDenoiseShader.json new file mode 100644 index 000000000..d4bac7387 --- /dev/null +++ b/docs/_data/Help/Set-OBSSmartDenoiseShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From f3aae7f482cbca0db3b23335b93747ba96afc421 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:29 +0000 Subject: [PATCH 3901/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSSpecularShineShader.md | 132 +++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/Set-OBSSpecularShineShader.md diff --git a/docs/Set-OBSSpecularShineShader.md b/docs/Set-OBSSpecularShineShader.md new file mode 100644 index 000000000..502c87cb7 --- /dev/null +++ b/docs/Set-OBSSpecularShineShader.md @@ -0,0 +1,132 @@ +Get-OBSSpecularShineShader +-------------------------- + +### Synopsis + +Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |10 |true (ByPropertyName)| + +#### **FlattenNormal** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Hint** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[string]`|false |0 |false | + +#### **LightColor** + +|Type |Required|Position|PipelineInput|Aliases | +|-----------|--------|--------|-------------|-----------| +|`[float[]]`|false |8 |false |Light_Color| + +#### **LightPositionX** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +#### **LightPositionY** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **LightStrength** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **Roughness** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |11 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| + +#### **StretchNormalX** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **StretchNormalY** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |7 |false | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSSpecularShineShader; CommonParameters=True; parameter=System.Object[]}} +``` From 0a0284372ce5fd3c97af962ac7512891cd4935b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:29 +0000 Subject: [PATCH 3902/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- .../Help/Set-OBSSpecularShineShader.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSSpecularShineShader.json diff --git a/docs/_data/Help/Set-OBSSpecularShineShader.json b/docs/_data/Help/Set-OBSSpecularShineShader.json new file mode 100644 index 000000000..e31a95f7e --- /dev/null +++ b/docs/_data/Help/Set-OBSSpecularShineShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 77944bf42c5394fd4f78833adb1c60a017516914 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:29 +0000 Subject: [PATCH 3903/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/Set-OBSTetraShader.md | 186 +++++++++++++++++++++++++++++++++++++ 1 file changed, 186 insertions(+) create mode 100644 docs/Set-OBSTetraShader.md diff --git a/docs/Set-OBSTetraShader.md b/docs/Set-OBSTetraShader.md new file mode 100644 index 000000000..22b7e2073 --- /dev/null +++ b/docs/Set-OBSTetraShader.md @@ -0,0 +1,186 @@ +Get-OBSTetraShader +------------------ + +### Synopsis + +Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] + +--- + +### Description + +--- + +### Parameters +#### **BluB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |14 |false | + +#### **BluG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |13 |false | + +#### **BluR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |12 |false | + +#### **CynB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |11 |false | + +#### **CynG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |10 |false | + +#### **CynR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |9 |false | + +#### **FilterName** + +|Type |Required|Position|PipelineInput | +|----------|--------|--------|---------------------| +|`[string]`|false |19 |true (ByPropertyName)| + +#### **Force** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **GrnB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |8 |false | + +#### **GrnG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |7 |false | + +#### **GrnR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |6 |false | + +#### **MagB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |17 |false | + +#### **MagG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |16 |false | + +#### **MagR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |15 |false | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **PassThru** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **RedB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |2 |false | + +#### **RedG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |1 |false | + +#### **RedR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |0 |false | + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[string]`|false |20 |false |ShaderContent| + +#### **SourceName** + +|Type |Required|Position|PipelineInput |Aliases | +|----------|--------|--------|---------------------|-------------| +|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[switch]`|false |Named |false | + +#### **YelB** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |5 |false | + +#### **YelG** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |4 |false | + +#### **YelR** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[float]`|false |3 |false | + +--- + +### Inputs +System.String + +--- + +### Outputs +* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object) + +--- + +### Syntax +```PowerShell +syntaxItem +``` +```PowerShell +---------- +``` +```PowerShell +{@{name=Get-OBSTetraShader; CommonParameters=True; parameter=System.Object[]}} +``` From 2ef34c717b5db430131bfc0f9343a20cff03c035 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Wed, 19 Mar 2025 02:09:29 +0000 Subject: [PATCH 3904/4768] feat: Removing thread job dependency from obs-powershell Also, regenerating shaders if any updates exist --- docs/_data/Help/Set-OBSTetraShader.json | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/_data/Help/Set-OBSTetraShader.json diff --git a/docs/_data/Help/Set-OBSTetraShader.json b/docs/_data/Help/Set-OBSTetraShader.json new file mode 100644 index 000000000..a26d27811 --- /dev/null +++ b/docs/_data/Help/Set-OBSTetraShader.json @@ -0,0 +1,33 @@ +{ + "Synopsis": "\nGet-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Description": "", + "Parameters": [ + { + "Name": null, + "Type": null, + "Description": "", + "Required": false, + "Position": 0, + "Aliases": null, + "DefaultValue": null, + "Globbing": false, + "PipelineInput": null, + "variableLength": false + } + ], + "Notes": [ + null + ], + "CommandType": "Function", + "Component": [ + null + ], + "Inputs": [ + "System.String\n" + ], + "Outputs": [ + "System.Object" + ], + "Links": [], + "Examples": [] +} \ No newline at end of file From 5c9c3a436fd00225b47181e82c049366ceaa1b19 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Wed, 19 Mar 2025 18:18:15 -0700 Subject: [PATCH 3905/4768] feat: Removing thread job dependency from obs-powershell --- obs-powershell.ps.psd1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obs-powershell.ps.psd1 b/obs-powershell.ps.psd1 index 585d82acc..fb587be49 100644 --- a/obs-powershell.ps.psd1 +++ b/obs-powershell.ps.psd1 @@ -7,8 +7,7 @@ CompanyName = 'Start-Automating' Copyright = '2022-2023 Start-Automating' FormatsToProcess = 'obs-powershell.format.ps1xml' - TypesToProcess = 'obs-powershell.types.ps1xml' - RequiredModules = 'ThreadJob' + TypesToProcess = 'obs-powershell.types.ps1xml' PowerShellVersion = '7.0' PrivateData = @{ PSData = @{ From 77a74e5ffd0d3af67a886ef2d6a201f1cf0e5866 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 20 Mar 2025 01:20:51 +0000 Subject: [PATCH 3906/4768] feat: Removing thread job dependency from obs-powershell --- en-us/obs-powershell-commands.help.txt | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index 3a8b62a3f..da1a78afc 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 757 commands -(306 functions and 451 aliases) +obs-powershell exports 787 commands +(316 functions and 471 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](docs/obs-powershell-websocket-commands.md). @@ -25,6 +25,7 @@ Functions |[Copy-OBSSceneItem](docs/Copy-OBSSceneItem.md) |Copy-OBSSceneItem : DuplicateSceneItem | |[Disconnect-OBS](docs/Disconnect-OBS.md) |Disconnects OBS | |[Get-OBS](docs/Get-OBS.md) |Gets OBS | +|[Get-OBS3dSwapTransitionShader](docs/Get-OBS3dSwapTransitionShader.md) | |[Get-OBSAddShader](docs/Get-OBSAddShader.md) | |[Get-OBSAlphaBorderShader](docs/Get-OBSAlphaBorderShader.md) | |[Get-OBSAlphaGamingBentCameraShader](docs/Get-OBSAlphaGamingBentCameraShader.md) | @@ -45,6 +46,9 @@ Functions |[Get-OBSChromaticAberrationShader](docs/Get-OBSChromaticAberrationShader.md) | |[Get-OBSChromaUVDistortionShader](docs/Get-OBSChromaUVDistortionShader.md) | |[Get-OBSCircleMaskFilterShader](docs/Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSClockAnalogShader](docs/Get-OBSClockAnalogShader.md) | +|[Get-OBSClockDigitalLedShader](docs/Get-OBSClockDigitalLedShader.md) | +|[Get-OBSClockDigitalNixieShader](docs/Get-OBSClockDigitalNixieShader.md) | |[Get-OBSColorDepthShader](docs/Get-OBSColorDepthShader.md) | |[Get-OBSColorGradeFilterShader](docs/Get-OBSColorGradeFilterShader.md) | |[Get-OBSCornerPinShader](docs/Get-OBSCornerPinShader.md) | @@ -58,6 +62,8 @@ Functions |[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](docs/Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](docs/Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDensitySatHueShader](docs/Get-OBSDensitySatHueShader.md) | +|[Get-OBSDiffuseTransitionShader](docs/Get-OBSDiffuseTransitionShader.md) | |[Get-OBSDigitalRainShader](docs/Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](docs/Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](docs/Get-OBSDoodleShader.md) | @@ -156,6 +162,7 @@ Functions |[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](docs/Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRGSSAAShader](docs/Get-OBSRGSSAAShader.md) | |[Get-OBSRippleShader](docs/Get-OBSRippleShader.md) | |[Get-OBSRotatingSourceShader](docs/Get-OBSRotatingSourceShader.md) | |[Get-OBSRotatoeShader](docs/Get-OBSRotatoeShader.md) | @@ -185,6 +192,7 @@ Functions |[Get-OBSShineShader](docs/Get-OBSShineShader.md) | |[Get-OBSSimpleGradientShader](docs/Get-OBSSimpleGradientShader.md) | |[Get-OBSSimplexNoiseShader](docs/Get-OBSSimplexNoiseShader.md) | +|[Get-OBSSmartDenoiseShader](docs/Get-OBSSmartDenoiseShader.md) | |[Get-OBSSourceActive](docs/Get-OBSSourceActive.md) |Get-OBSSourceActive : GetSourceActive | |[Get-OBSSourceFilter](docs/Get-OBSSourceFilter.md) |Get-OBSSourceFilter : GetSourceFilter | |[Get-OBSSourceFilterDefaultSettings](docs/Get-OBSSourceFilterDefaultSettings.md) |Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings | @@ -192,12 +200,14 @@ Functions |[Get-OBSSourceFilterList](docs/Get-OBSSourceFilterList.md) |Get-OBSSourceFilterList : GetSourceFilterList | |[Get-OBSSourceScreenshot](docs/Get-OBSSourceScreenshot.md) |Get-OBSSourceScreenshot : GetSourceScreenshot | |[Get-OBSSpecialInputs](docs/Get-OBSSpecialInputs.md) |Get-OBSSpecialInputs : GetSpecialInputs | +|[Get-OBSSpecularShineShader](docs/Get-OBSSpecularShineShader.md) | |[Get-OBSSpotlightShader](docs/Get-OBSSpotlightShader.md) | |[Get-OBSStats](docs/Get-OBSStats.md) |Get-OBSStats : GetStats | |[Get-OBSStreamServiceSettings](docs/Get-OBSStreamServiceSettings.md) |Get-OBSStreamServiceSettings : GetStreamServiceSettings | |[Get-OBSStreamStatus](docs/Get-OBSStreamStatus.md) |Get-OBSStreamStatus : GetStreamStatus | |[Get-OBSStudioModeEnabled](docs/Get-OBSStudioModeEnabled.md) |Get-OBSStudioModeEnabled : GetStudioModeEnabled | |[Get-OBSSwirlShader](docs/Get-OBSSwirlShader.md) | +|[Get-OBSTetraShader](docs/Get-OBSTetraShader.md) | |[Get-OBSThermalShader](docs/Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](docs/Get-OBSTransitionKind.md) |Get-OBSTransitionKind : GetTransitionKindList | |[Get-OBSTvCrtSubpixelShader](docs/Get-OBSTvCrtSubpixelShader.md) | @@ -340,6 +350,7 @@ Aliases |[Copy-OBSSceneItem](docs/Copy-OBSSceneItem.md) | |[Disconnect-OBS](docs/Disconnect-OBS.md) | |[Get-OBS](docs/Get-OBS.md) | +|[Get-OBS3dSwapTransitionShader](docs/Get-OBS3dSwapTransitionShader.md) | |[Get-OBSAddShader](docs/Get-OBSAddShader.md) | |[Get-OBSAlphaBorderShader](docs/Get-OBSAlphaBorderShader.md) | |[Get-OBSAlphaGamingBentCameraShader](docs/Get-OBSAlphaGamingBentCameraShader.md) | @@ -360,6 +371,9 @@ Aliases |[Get-OBSChromaticAberrationShader](docs/Get-OBSChromaticAberrationShader.md) | |[Get-OBSChromaUVDistortionShader](docs/Get-OBSChromaUVDistortionShader.md) | |[Get-OBSCircleMaskFilterShader](docs/Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSClockAnalogShader](docs/Get-OBSClockAnalogShader.md) | +|[Get-OBSClockDigitalLedShader](docs/Get-OBSClockDigitalLedShader.md) | +|[Get-OBSClockDigitalNixieShader](docs/Get-OBSClockDigitalNixieShader.md) | |[Get-OBSColorDepthShader](docs/Get-OBSColorDepthShader.md) | |[Get-OBSColorGradeFilterShader](docs/Get-OBSColorGradeFilterShader.md) | |[Get-OBSCornerPinShader](docs/Get-OBSCornerPinShader.md) | @@ -373,6 +387,8 @@ Aliases |[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](docs/Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](docs/Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDensitySatHueShader](docs/Get-OBSDensitySatHueShader.md) | +|[Get-OBSDiffuseTransitionShader](docs/Get-OBSDiffuseTransitionShader.md) | |[Get-OBSDigitalRainShader](docs/Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](docs/Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](docs/Get-OBSDoodleShader.md) | @@ -471,6 +487,7 @@ Aliases |[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](docs/Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRGSSAAShader](docs/Get-OBSRGSSAAShader.md) | |[Get-OBSRippleShader](docs/Get-OBSRippleShader.md) | |[Get-OBSRotatingSourceShader](docs/Get-OBSRotatingSourceShader.md) | |[Get-OBSRotatoeShader](docs/Get-OBSRotatoeShader.md) | @@ -500,6 +517,7 @@ Aliases |[Get-OBSShineShader](docs/Get-OBSShineShader.md) | |[Get-OBSSimpleGradientShader](docs/Get-OBSSimpleGradientShader.md) | |[Get-OBSSimplexNoiseShader](docs/Get-OBSSimplexNoiseShader.md) | +|[Get-OBSSmartDenoiseShader](docs/Get-OBSSmartDenoiseShader.md) | |[Get-OBSSourceActive](docs/Get-OBSSourceActive.md) | |[Get-OBSSourceFilter](docs/Get-OBSSourceFilter.md) | |[Get-OBSSourceFilterDefaultSettings](docs/Get-OBSSourceFilterDefaultSettings.md) | @@ -507,12 +525,14 @@ Aliases |[Get-OBSSourceFilterList](docs/Get-OBSSourceFilterList.md) | |[Get-OBSSourceScreenshot](docs/Get-OBSSourceScreenshot.md) | |[Get-OBSSpecialInputs](docs/Get-OBSSpecialInputs.md) | +|[Get-OBSSpecularShineShader](docs/Get-OBSSpecularShineShader.md) | |[Get-OBSSpotlightShader](docs/Get-OBSSpotlightShader.md) | |[Get-OBSStats](docs/Get-OBSStats.md) | |[Get-OBSStreamServiceSettings](docs/Get-OBSStreamServiceSettings.md) | |[Get-OBSStreamStatus](docs/Get-OBSStreamStatus.md) | |[Get-OBSStudioModeEnabled](docs/Get-OBSStudioModeEnabled.md) | |[Get-OBSSwirlShader](docs/Get-OBSSwirlShader.md) | +|[Get-OBSTetraShader](docs/Get-OBSTetraShader.md) | |[Get-OBSThermalShader](docs/Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](docs/Get-OBSTransitionKind.md) | |[Get-OBSTvCrtSubpixelShader](docs/Get-OBSTvCrtSubpixelShader.md) | From 920d893f44597041fe2fdfeb51c8ec3a189821db Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 20 Mar 2025 01:20:51 +0000 Subject: [PATCH 3907/4768] feat: Removing thread job dependency from obs-powershell --- obs-powershell.psd1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 72c09e1f4..312786827 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -7,8 +7,7 @@ CompanyName = 'Start-Automating' Copyright = '2022-2023 Start-Automating' FormatsToProcess = 'obs-powershell.format.ps1xml' - TypesToProcess = 'obs-powershell.types.ps1xml' - RequiredModules = 'ThreadJob' + TypesToProcess = 'obs-powershell.types.ps1xml' PowerShellVersion = '7.0' PrivateData = @{ PSData = @{ From b6391150414f5170a5346b7428632a285ba46c1c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Thu, 20 Mar 2025 01:22:35 +0000 Subject: [PATCH 3908/4768] feat: Removing thread job dependency from obs-powershell --- docs/obs-powershell-commands.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 349a9d31a..131c7af38 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -1,8 +1,8 @@ obs-powershell-commands ----------------------- -obs-powershell exports 757 commands -(306 functions and 451 aliases) +obs-powershell exports 787 commands +(316 functions and 471 aliases) A good number of these commands directly correspond to an obs-websocket message. For a complete list, see [obs-powershell-websocket-commands](obs-powershell-websocket-commands.md). @@ -25,6 +25,7 @@ Functions |[Copy-OBSSceneItem](Copy-OBSSceneItem.md) |Copy-OBSSceneItem : DuplicateSceneItem | |[Disconnect-OBS](Disconnect-OBS.md) |Disconnects OBS | |[Get-OBS](Get-OBS.md) |Gets OBS | +|[Get-OBS3dSwapTransitionShader](Get-OBS3dSwapTransitionShader.md) | |[Get-OBSAddShader](Get-OBSAddShader.md) | |[Get-OBSAlphaBorderShader](Get-OBSAlphaBorderShader.md) | |[Get-OBSAlphaGamingBentCameraShader](Get-OBSAlphaGamingBentCameraShader.md) | @@ -45,6 +46,9 @@ Functions |[Get-OBSChromaticAberrationShader](Get-OBSChromaticAberrationShader.md) | |[Get-OBSChromaUVDistortionShader](Get-OBSChromaUVDistortionShader.md) | |[Get-OBSCircleMaskFilterShader](Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSClockAnalogShader](Get-OBSClockAnalogShader.md) | +|[Get-OBSClockDigitalLedShader](Get-OBSClockDigitalLedShader.md) | +|[Get-OBSClockDigitalNixieShader](Get-OBSClockDigitalNixieShader.md) | |[Get-OBSColorDepthShader](Get-OBSColorDepthShader.md) | |[Get-OBSColorGradeFilterShader](Get-OBSColorGradeFilterShader.md) | |[Get-OBSCornerPinShader](Get-OBSCornerPinShader.md) | @@ -58,6 +62,8 @@ Functions |[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDensitySatHueShader](Get-OBSDensitySatHueShader.md) | +|[Get-OBSDiffuseTransitionShader](Get-OBSDiffuseTransitionShader.md) | |[Get-OBSDigitalRainShader](Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](Get-OBSDoodleShader.md) | @@ -156,6 +162,7 @@ Functions |[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRGSSAAShader](Get-OBSRGSSAAShader.md) | |[Get-OBSRippleShader](Get-OBSRippleShader.md) | |[Get-OBSRotatingSourceShader](Get-OBSRotatingSourceShader.md) | |[Get-OBSRotatoeShader](Get-OBSRotatoeShader.md) | @@ -185,6 +192,7 @@ Functions |[Get-OBSShineShader](Get-OBSShineShader.md) | |[Get-OBSSimpleGradientShader](Get-OBSSimpleGradientShader.md) | |[Get-OBSSimplexNoiseShader](Get-OBSSimplexNoiseShader.md) | +|[Get-OBSSmartDenoiseShader](Get-OBSSmartDenoiseShader.md) | |[Get-OBSSourceActive](Get-OBSSourceActive.md) |Get-OBSSourceActive : GetSourceActive | |[Get-OBSSourceFilter](Get-OBSSourceFilter.md) |Get-OBSSourceFilter : GetSourceFilter | |[Get-OBSSourceFilterDefaultSettings](Get-OBSSourceFilterDefaultSettings.md) |Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings | @@ -192,12 +200,14 @@ Functions |[Get-OBSSourceFilterList](Get-OBSSourceFilterList.md) |Get-OBSSourceFilterList : GetSourceFilterList | |[Get-OBSSourceScreenshot](Get-OBSSourceScreenshot.md) |Get-OBSSourceScreenshot : GetSourceScreenshot | |[Get-OBSSpecialInputs](Get-OBSSpecialInputs.md) |Get-OBSSpecialInputs : GetSpecialInputs | +|[Get-OBSSpecularShineShader](Get-OBSSpecularShineShader.md) | |[Get-OBSSpotlightShader](Get-OBSSpotlightShader.md) | |[Get-OBSStats](Get-OBSStats.md) |Get-OBSStats : GetStats | |[Get-OBSStreamServiceSettings](Get-OBSStreamServiceSettings.md) |Get-OBSStreamServiceSettings : GetStreamServiceSettings | |[Get-OBSStreamStatus](Get-OBSStreamStatus.md) |Get-OBSStreamStatus : GetStreamStatus | |[Get-OBSStudioModeEnabled](Get-OBSStudioModeEnabled.md) |Get-OBSStudioModeEnabled : GetStudioModeEnabled | |[Get-OBSSwirlShader](Get-OBSSwirlShader.md) | +|[Get-OBSTetraShader](Get-OBSTetraShader.md) | |[Get-OBSThermalShader](Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](Get-OBSTransitionKind.md) |Get-OBSTransitionKind : GetTransitionKindList | |[Get-OBSTvCrtSubpixelShader](Get-OBSTvCrtSubpixelShader.md) | @@ -340,6 +350,7 @@ Aliases |[Copy-OBSSceneItem](Copy-OBSSceneItem.md) | |[Disconnect-OBS](Disconnect-OBS.md) | |[Get-OBS](Get-OBS.md) | +|[Get-OBS3dSwapTransitionShader](Get-OBS3dSwapTransitionShader.md) | |[Get-OBSAddShader](Get-OBSAddShader.md) | |[Get-OBSAlphaBorderShader](Get-OBSAlphaBorderShader.md) | |[Get-OBSAlphaGamingBentCameraShader](Get-OBSAlphaGamingBentCameraShader.md) | @@ -360,6 +371,9 @@ Aliases |[Get-OBSChromaticAberrationShader](Get-OBSChromaticAberrationShader.md) | |[Get-OBSChromaUVDistortionShader](Get-OBSChromaUVDistortionShader.md) | |[Get-OBSCircleMaskFilterShader](Get-OBSCircleMaskFilterShader.md) | +|[Get-OBSClockAnalogShader](Get-OBSClockAnalogShader.md) | +|[Get-OBSClockDigitalLedShader](Get-OBSClockDigitalLedShader.md) | +|[Get-OBSClockDigitalNixieShader](Get-OBSClockDigitalNixieShader.md) | |[Get-OBSColorDepthShader](Get-OBSColorDepthShader.md) | |[Get-OBSColorGradeFilterShader](Get-OBSColorGradeFilterShader.md) | |[Get-OBSCornerPinShader](Get-OBSCornerPinShader.md) | @@ -373,6 +387,8 @@ Aliases |[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | |[Get-OBSDarkenShader](Get-OBSDarkenShader.md) | |[Get-OBSDeadPixelFixerShader](Get-OBSDeadPixelFixerShader.md) | +|[Get-OBSDensitySatHueShader](Get-OBSDensitySatHueShader.md) | +|[Get-OBSDiffuseTransitionShader](Get-OBSDiffuseTransitionShader.md) | |[Get-OBSDigitalRainShader](Get-OBSDigitalRainShader.md) | |[Get-OBSDivideRotateShader](Get-OBSDivideRotateShader.md) | |[Get-OBSDoodleShader](Get-OBSDoodleShader.md) | @@ -471,6 +487,7 @@ Aliases |[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | |[Get-OBSRgbvisibilityShader](Get-OBSRgbvisibilityShader.md) | +|[Get-OBSRGSSAAShader](Get-OBSRGSSAAShader.md) | |[Get-OBSRippleShader](Get-OBSRippleShader.md) | |[Get-OBSRotatingSourceShader](Get-OBSRotatingSourceShader.md) | |[Get-OBSRotatoeShader](Get-OBSRotatoeShader.md) | @@ -500,6 +517,7 @@ Aliases |[Get-OBSShineShader](Get-OBSShineShader.md) | |[Get-OBSSimpleGradientShader](Get-OBSSimpleGradientShader.md) | |[Get-OBSSimplexNoiseShader](Get-OBSSimplexNoiseShader.md) | +|[Get-OBSSmartDenoiseShader](Get-OBSSmartDenoiseShader.md) | |[Get-OBSSourceActive](Get-OBSSourceActive.md) | |[Get-OBSSourceFilter](Get-OBSSourceFilter.md) | |[Get-OBSSourceFilterDefaultSettings](Get-OBSSourceFilterDefaultSettings.md) | @@ -507,12 +525,14 @@ Aliases |[Get-OBSSourceFilterList](Get-OBSSourceFilterList.md) | |[Get-OBSSourceScreenshot](Get-OBSSourceScreenshot.md) | |[Get-OBSSpecialInputs](Get-OBSSpecialInputs.md) | +|[Get-OBSSpecularShineShader](Get-OBSSpecularShineShader.md) | |[Get-OBSSpotlightShader](Get-OBSSpotlightShader.md) | |[Get-OBSStats](Get-OBSStats.md) | |[Get-OBSStreamServiceSettings](Get-OBSStreamServiceSettings.md) | |[Get-OBSStreamStatus](Get-OBSStreamStatus.md) | |[Get-OBSStudioModeEnabled](Get-OBSStudioModeEnabled.md) | |[Get-OBSSwirlShader](Get-OBSSwirlShader.md) | +|[Get-OBSTetraShader](Get-OBSTetraShader.md) | |[Get-OBSThermalShader](Get-OBSThermalShader.md) | |[Get-OBSTransitionKind](Get-OBSTransitionKind.md) | |[Get-OBSTvCrtSubpixelShader](Get-OBSTvCrtSubpixelShader.md) | From 15899123081a7bf18744681ff0eb7daabc0c061e Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Wed, 19 Mar 2025 23:15:32 -0700 Subject: [PATCH 3909/4768] fix: Fixing PublishTestResults step --- .github/workflows/build-obs-powershell.yml | 2 +- Build/GitHub/Steps/PublishTestResults.psd1 | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 Build/GitHub/Steps/PublishTestResults.psd1 diff --git a/.github/workflows/build-obs-powershell.yml b/.github/workflows/build-obs-powershell.yml index 2b2662ecf..7b38f56d5 100644 --- a/.github/workflows/build-obs-powershell.yml +++ b/.github/workflows/build-obs-powershell.yml @@ -181,7 +181,7 @@ jobs: } } @Parameters - name: PublishTestResults - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@main with: name: PesterResults path: '**.TestResults.xml' diff --git a/Build/GitHub/Steps/PublishTestResults.psd1 b/Build/GitHub/Steps/PublishTestResults.psd1 new file mode 100644 index 000000000..e8111e8ec --- /dev/null +++ b/Build/GitHub/Steps/PublishTestResults.psd1 @@ -0,0 +1,10 @@ +@{ + name = 'PublishTestResults' + uses = 'actions/upload-artifact@main' + with = @{ + name = 'PesterResults' + path = '**.TestResults.xml' + } + if = '${{always()}}' +} + From c9803002f4b3f03ec3de7b947a4751e59c4d92dc Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Thu, 20 Mar 2025 17:03:01 -0700 Subject: [PATCH 3910/4768] chore: Updating workflow definition --- Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 b/Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 index 311cef7b2..6175e6f9c 100644 --- a/Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 +++ b/Build/obs-powershell.GitHubWorkflow.PSDevOps.ps1 @@ -1,10 +1,11 @@ #requires -Module PSDevOps #requires -Module obs-powershell +Import-BuildStep -SourcePath ( + Join-Path $PSScriptRoot 'GitHub' +) -BuildSystem GitHubWorkflow -Import-BuildStep -Module obs-powershell - -Push-Location $PSScriptRoot +Push-Location ($PSScriptRoot | Split-Path) New-GitHubWorkflow -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish, BuildOBSPowerShell -OutputPath @' .\.github\workflows\build-obs-powershell.yml From bb930676da9f540702d1cc0bcec15b90f49166f6 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Thu, 20 Mar 2025 17:10:50 -0700 Subject: [PATCH 3911/4768] fix: Generating MAML and allcommands.ps1 ( Fixes #214 ) --- Build/obs-powershell.HelpOut.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Build/obs-powershell.HelpOut.ps1 b/Build/obs-powershell.HelpOut.ps1 index 3e8b7cc23..c4d75aac2 100644 --- a/Build/obs-powershell.HelpOut.ps1 +++ b/Build/obs-powershell.HelpOut.ps1 @@ -2,4 +2,5 @@ Push-Location ($PSScriptRoot | Split-Path) Import-Module .\obs-powershell.psd1 Save-MarkdownHelp -Module obs-powershell -PassThru +Install-Maml -Module obs-powershell -PassThru -NoComment Pop-Location From f2c805f2e59799f0dafe1fe14f78a000b32947b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:15:07 +0000 Subject: [PATCH 3912/4768] fix: Generating MAML and allcommands.ps1 ( Fixes #214 ) --- obs-powershell-Help.xml | 81932 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 81932 insertions(+) create mode 100644 obs-powershell-Help.xml diff --git a/obs-powershell-Help.xml b/obs-powershell-Help.xml new file mode 100644 index 000000000..070de7014 --- /dev/null +++ b/obs-powershell-Help.xml @@ -0,0 +1,81932 @@ + + + + + Add-OBSInput + OBSInput + Add + + Add-OBSInput : CreateInput + + 0.1.9 + + + Creates a new input, adding it as a scene item to the specified scene. + Add-OBSInput calls the OBS WebSocket with a request of type CreateInput. + + + + Add-OBSInput + + SceneName + + Name of the scene to add the input to as a scene item + + String + + String + + + + + + + SceneUuid + + UUID of the scene to add the input to as a scene item + + String + + String + + + + + + + InputName + + Name of the new input to created + + String + + String + + + + + + + InputKind + + The kind of input to be created + + String + + String + + + + + + + InputSettings + + Settings object to initialize the input with + + Psobject + + Psobject + + + + + + + SceneItemEnabled + + Whether to set the created scene item to enabled or disabled + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputKind + + The kind of input to be created + + String + + String + + + + + + + InputName + + Name of the new input to created + + String + + String + + + + + + + InputSettings + + Settings object to initialize the input with + + Psobject + + Psobject + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemEnabled + + Whether to set the created scene item to enabled or disabled + + Switch + + Switch + + + + + + + SceneName + + Name of the scene to add the input to as a scene item + + String + + String + + + + + + + SceneUuid + + UUID of the scene to add the input to as a scene item + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createinput + + + + + + Add-OBSProfile + OBSProfile + Add + + Add-OBSProfile : CreateProfile + + 0.1.9 + + + Creates a new profile, switching to it in the process + Add-OBSProfile calls the OBS WebSocket with a request of type CreateProfile. + + + + Add-OBSProfile + + ProfileName + + Name for the new profile + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + ProfileName + + Name for the new profile + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createprofile + + + + + + Add-OBSScene + OBSScene + Add + + Add-OBSScene : CreateScene + + 0.1.9 + + + Creates a new scene in OBS. + Add-OBSScene calls the OBS WebSocket with a request of type CreateScene. + + + + Add-OBSScene + + SceneName + + Name for the new scene + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name for the new scene + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscene + + + + + + Add-OBSSceneCollection + OBSSceneCollection + Add + + Add-OBSSceneCollection : CreateSceneCollection + + 0.1.9 + + + Creates a new scene collection, switching to it in the process. + Note: This will block until the collection has finished changing. + Add-OBSSceneCollection calls the OBS WebSocket with a request of type CreateSceneCollection. + + + + Add-OBSSceneCollection + + SceneCollectionName + + Name for the new scene collection + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneCollectionName + + Name for the new scene collection + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createscenecollection + + + + + + Add-OBSSceneItem + OBSSceneItem + Add + + Add-OBSSceneItem : CreateSceneItem + + 0.1.9 + + + Creates a new scene item using a source. + Scenes only + Add-OBSSceneItem calls the OBS WebSocket with a request of type CreateSceneItem. + + + + Add-OBSSceneItem + + SceneName + + Name of the scene to create the new item in + + String + + String + + + + + + + SceneUuid + + UUID of the scene to create the new item in + + String + + String + + + + + + + SourceName + + Name of the source to add to the scene + + String + + String + + + + + + + SourceUuid + + UUID of the source to add to the scene + + String + + String + + + + + + + SceneItemEnabled + + Enable state to apply to the scene item on creation + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemEnabled + + Enable state to apply to the scene item on creation + + Switch + + Switch + + + + + + + SceneName + + Name of the scene to create the new item in + + String + + String + + + + + + + SceneUuid + + UUID of the scene to create the new item in + + String + + String + + + + + + + SourceName + + Name of the source to add to the scene + + String + + String + + + + + + + SourceUuid + + UUID of the source to add to the scene + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsceneitem + + + + + + Add-OBSSourceFilter + OBSSourceFilter + Add + + Add-OBSSourceFilter : CreateSourceFilter + + 0.1.9 + + + Creates a new filter, adding it to the specified source. + Add-OBSSourceFilter calls the OBS WebSocket with a request of type CreateSourceFilter. + + + + Add-OBSSourceFilter + + SourceName + + Name of the source to add the filter to + + String + + String + + + + + + + SourceUuid + + UUID of the source to add the filter to + + String + + String + + + + + + + FilterName + + Name of the new filter to be created + + String + + String + + + + + + + FilterKind + + The kind of filter to be created + + String + + String + + + + + + + FilterSettings + + Settings object to initialize the filter with + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterKind + + The kind of filter to be created + + String + + String + + + + + + + FilterName + + Name of the new filter to be created + + String + + String + + + + + + + FilterSettings + + Settings object to initialize the filter with + + Psobject + + Psobject + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source to add the filter to + + String + + String + + + + + + + SourceUuid + + UUID of the source to add the filter to + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#createsourcefilter + + + + + + Clear-OBSScene + OBSScene + Clear + + Clears a Scene in OBS + + 0.1.9 + + + Clears a Scene in OBS. + All inputs will be removed from the scene. + This cannot be undone, so you will be prompted for confirmation. + + + + Clear-OBSScene + + SceneName + + Name of the scene. + + String + + String + + + + + + + + + + SceneName + + Name of the scene. + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Clear-OBSScene -SceneName Scene + + + + + + + + Connect-OBS + OBS + Connect + + Connects to Open Broadcast Studio + + 0.1.9 + + + Connects to the obs-websocket. + This must occur at least once to use obs-powershell. + + + + Connect-OBS + + + Connect-OBS + + WebSocketUri + + The OBS websocket URL. If not provided, this will default to loopback on port 4455. + + Uri + + Uri + + + + + + + WebSocketToken + + A randomly generated password used to connect to OBS. +You can see the websocket password in Tools -> obs-websocket settings -> show connect info + + String + + String + + + + + + + + + + WebSocketToken + + A randomly generated password used to connect to OBS. +You can see the websocket password in Tools -> obs-websocket settings -> show connect info + + String + + String + + + + + + + WebSocketUri + + The OBS websocket URL. If not provided, this will default to loopback on port 4455. + + Uri + + Uri + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Connect-OBS + + + + + + + Disconnect-OBS + + + + + + + + Copy-OBSSceneItem + OBSSceneItem + Copy + + Copy-OBSSceneItem : DuplicateSceneItem + + 0.1.9 + + + Duplicates a scene item, copying all transform and crop info. + Scenes only + Copy-OBSSceneItem calls the OBS WebSocket with a request of type DuplicateSceneItem. + + + + Copy-OBSSceneItem + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + DestinationSceneName + + Name of the scene to create the duplicated item in + + String + + String + + + + + + + DestinationSceneUuid + + UUID of the scene to create the duplicated item in + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + DestinationSceneName + + Name of the scene to create the duplicated item in + + String + + String + + + + + + + DestinationSceneUuid + + UUID of the scene to create the duplicated item in + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#duplicatesceneitem + + + + + + Disconnect-OBS + OBS + Disconnect + + Disconnects OBS + + 0.1.9 + + + Disconnects Websockets from OBS. + All websockets will be disconnected. + + + + Disconnect-OBS + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Disconnect-OBS + + + + + + + Connect-OBS + + + + + + + + Get-OBS + OBS + Get + + Gets OBS + + 0.1.9 + + + Outputs OBS connection information and state. + + + + Get-OBS + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBS + + + + + + + + Get-OBS3dSwapTransitionShader + OBS3dSwapTransitionShader + Get + + +Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-Reflection] <float>] [[-Perspective] <float>] [[-Depth] <float>] [[-BackgroundColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBS3dSwapTransitionShader + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + Reflection + + + Float + + Float + + + + + + + Perspective + + + Float + + Float + + + + + + + Depth + + + Float + + Float + + + + + + + BackgroundColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BackgroundColor + + + String + + String + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + Depth + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Perspective + + + Float + + Float + + + + + + + Reflection + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAddShader + OBSAddShader + Get + + +Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAddShader + + OtherImage + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OtherImage + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAlphaBorderShader + OBSAlphaBorderShader + Get + + +Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] <int>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAlphaBorderShader + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAlphaGamingBentCameraShader + OBSAlphaGamingBentCameraShader + Get + + +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAlphaGamingBentCameraShader + + LeftSideWidth + + + Float + + Float + + + + + + + LeftSideSize + + + Float + + Float + + + + + + + LeftSideShadow + + + Float + + Float + + + + + + + LeftFlipWidth + + + Float + + Float + + + + + + + LeftFlipShadow + + + Float + + Float + + + + + + + RightSideWidth + + + Float + + Float + + + + + + + RightSideSize + + + Float + + Float + + + + + + + RightSideShadow + + + Float + + Float + + + + + + + RightFlipWidth + + + Float + + Float + + + + + + + RightFlipShadow + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + LeftFlipShadow + + + Float + + Float + + + + + + + LeftFlipWidth + + + Float + + Float + + + + + + + LeftSideShadow + + + Float + + Float + + + + + + + LeftSideSize + + + Float + + Float + + + + + + + LeftSideWidth + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RightFlipShadow + + + Float + + Float + + + + + + + RightFlipWidth + + + Float + + Float + + + + + + + RightSideShadow + + + Float + + Float + + + + + + + RightSideSize + + + Float + + Float + + + + + + + RightSideWidth + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAnimatedPathShader + OBSAnimatedPathShader + Get + + +Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-SpeedPercent] <int>] [[-PathMap] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAnimatedPathShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + PathMap + + + String + + String + + + + + + + Reverse + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PathMap + + + String + + String + + + + + + + RandF + + + Float + + Float + + + + + + + Reverse + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAnimatedTextureShader + OBSAnimatedTextureShader + Get + + +Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-AnimationImage] <string>] [[-ColorizationImage] <string>] [[-PolarAngle] <float>] [[-PolarHeight] <float>] [[-SpeedHorizontalPercent] <float>] [[-SpeedVerticalPercent] <float>] [[-TintSpeedHorizontalPercent] <float>] [[-TintSpeedVerticalPercent] <float>] [[-Alpha] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAnimatedTextureShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + Notes + + + String + + String + + + + + + + AnimationImage + + + String + + String + + + + + + + ColorizationImage + + + String + + String + + + + + + + Reverse + + + Switch + + Switch + + + + + + + Bounce + + + Switch + + Switch + + + + + + + CenterAnimation + + + Switch + + Switch + + + + + + + PolarAnimation + + + Switch + + Switch + + + + + + + PolarAngle + + + Float + + Float + + + + + + + PolarHeight + + + Float + + Float + + + + + + + SpeedHorizontalPercent + + + Float + + Float + + + + + + + SpeedVerticalPercent + + + Float + + Float + + + + + + + TintSpeedHorizontalPercent + + + Float + + Float + + + + + + + TintSpeedVerticalPercent + + + Float + + Float + + + + + + + Alpha + + + Float + + Float + + + + + + + UseAnimationImageColor + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Alpha + + + Float + + Float + + + + + + + AnimationImage + + + String + + String + + + + + + + Bounce + + + Switch + + Switch + + + + + + + CenterAnimation + + + Switch + + Switch + + + + + + + ColorizationImage + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PolarAngle + + + Float + + Float + + + + + + + PolarAnimation + + + Switch + + Switch + + + + + + + PolarHeight + + + Float + + Float + + + + + + + RandF + + + Float + + Float + + + + + + + Reverse + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedHorizontalPercent + + + Float + + Float + + + + + + + SpeedVerticalPercent + + + Float + + Float + + + + + + + TintSpeedHorizontalPercent + + + Float + + Float + + + + + + + TintSpeedVerticalPercent + + + Float + + Float + + + + + + + UseAnimationImageColor + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAsciiShader + OBSAsciiShader + Get + + +Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-CharacterSet] <int>] [[-Note] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAsciiShader + + Scale + + + Int + + Int + + + + + + + BaseColor + + + String + + String + + + + + + + Monochrome + + + Switch + + Switch + + + + + + + CharacterSet + + + Int + + Int + + + + + + + Note + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BaseColor + + + String + + String + + + + + + + CharacterSet + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Monochrome + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Note + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Scale + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSAspectRatioShader + OBSAspectRatioShader + Get + + +Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSAspectRatioShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + BorderColor + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BorderColor + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBackgroundRemovalShader + OBSBackgroundRemovalShader + Get + + +Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-Target] <string>] [[-Color] <string>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBackgroundRemovalShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + Notes + + + String + + String + + + + + + + Target + + + String + + String + + + + + + + Color + + + String + + String + + + + + + + Opacity + + + Float + + Float + + + + + + + Invert + + + Switch + + Switch + + + + + + + Convert709to601 + + + Switch + + Switch + + + + + + + Convert601to709 + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Color + + + String + + String + + + + + + + Convert601to709 + + + Switch + + Switch + + + + + + + Convert709to601 + + + Switch + + Switch + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + Invert + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + Opacity + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Target + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBlendOpacityShader + OBSBlendOpacityShader + Get + + +Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPercent] <float>] [[-OpacityEndPercent] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBlendOpacityShader + + Vertical + + + Switch + + Switch + + + + + + + Rotational + + + Switch + + Switch + + + + + + + RotationOffset + + + Float + + Float + + + + + + + OpacityStartPercent + + + Float + + Float + + + + + + + OpacityEndPercent + + + Float + + Float + + + + + + + Spread + + + Float + + Float + + + + + + + Speed + + + Float + + Float + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + OpacityEndPercent + + + Float + + Float + + + + + + + OpacityStartPercent + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Rotational + + + Switch + + Switch + + + + + + + RotationOffset + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + Spread + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBlinkShader + OBSBlinkShader + Get + + +Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBlinkShader + + Speed + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBloomShader + OBSBloomShader + Get + + +Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBloomShader + + AngleSteps + + + Int + + Int + + + + + + + RadiusSteps + + + Int + + Int + + + + + + + AmpFactor + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AmpFactor + + + Float + + Float + + + + + + + AngleSteps + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RadiusSteps + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBorderShader + OBSBorderShader + Get + + +Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBorderShader + + BorderColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BorderColor + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBoxBlurShader + OBSBoxBlurShader + Get + + +Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBoxBlurShader + + Strength + + + Int + + Int + + + + + + + MaskLeft + + + Float + + Float + + + + + + + MaskRight + + + Float + + Float + + + + + + + MaskTop + + + Float + + Float + + + + + + + MaskBottom + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + MaskBottom + + + Float + + Float + + + + + + + MaskLeft + + + Float + + Float + + + + + + + MaskRight + + + Float + + Float + + + + + + + MaskTop + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Strength + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBulgePinchShader + OBSBulgePinchShader + Get + + +Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBulgePinchShader + + Radius + + + Float + + Float + + + + + + + Magnitude + + + Float + + Float + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + Animate + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Animate + + + Switch + + Switch + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Magnitude + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Radius + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSBurnShader + OBSBurnShader + Get + + +Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-GradientAdjust] <float>] [[-DissolveValue] <float>] [[-SmokeHorizonalSpeed] <float>] [[-SmokeVerticalSpeed] <float>] [[-Iterations] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSBurnShader + + BurnGradient + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + GradientAdjust + + + Float + + Float + + + + + + + DissolveValue + + + Float + + Float + + + + + + + Animated + + + Switch + + Switch + + + + + + + ApplyToChannel + + + Switch + + Switch + + + + + + + ApplySmoke + + + Switch + + Switch + + + + + + + SmokeHorizonalSpeed + + + Float + + Float + + + + + + + SmokeVerticalSpeed + + + Float + + Float + + + + + + + Iterations + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Animated + + + Switch + + Switch + + + + + + + ApplySmoke + + + Switch + + Switch + + + + + + + ApplyToChannel + + + Switch + + Switch + + + + + + + BurnGradient + + + String + + String + + + + + + + DissolveValue + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GradientAdjust + + + Float + + Float + + + + + + + Iterations + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SmokeHorizonalSpeed + + + Float + + Float + + + + + + + SmokeVerticalSpeed + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCartoonShader + OBSCartoonShader + Get + + +Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-HueSteps] <int>] [[-ValueSteps] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCartoonShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + Notes + + + String + + String + + + + + + + HueSteps + + + Int + + Int + + + + + + + ValueSteps + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HueSteps + + + Int + + Int + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ValueSteps + + + Int + + Int + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCellShadedShader + OBSCellShadedShader + Get + + +Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCellShadedShader + + AngleSteps + + + Int + + Int + + + + + + + RadiusSteps + + + Int + + Int + + + + + + + AmpFactor + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AmpFactor + + + Float + + Float + + + + + + + AngleSteps + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RadiusSteps + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSChromaticAberrationShader + OBSChromaticAberrationShader + Get + + +Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float>] [[-NumIter] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSChromaticAberrationShader + + Power + + + Float + + Float + + + + + + + Gamma + + + Float + + Float + + + + + + + NumIter + + + Int + + Int + + + + + + + DistortRadial + + + Switch + + Switch + + + + + + + DistortBarrel + + + Switch + + Switch + + + + + + + OffsetSpectrumYcgco + + + Switch + + Switch + + + + + + + OffsetSpectrumYuv + + + Switch + + Switch + + + + + + + UseRandom + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + DistortBarrel + + + Switch + + Switch + + + + + + + DistortRadial + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Gamma + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + NumIter + + + Int + + Int + + + + + + + OffsetSpectrumYcgco + + + Switch + + Switch + + + + + + + OffsetSpectrumYuv + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Power + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseRandom + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSChromaUVDistortionShader + OBSChromaUVDistortionShader + Get + + +Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] <float>] [[-Chroma] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSChromaUVDistortionShader + + Distortion + + + Float + + Float + + + + + + + Amplitude + + + Float + + Float + + + + + + + Chroma + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Amplitude + + + Float + + Float + + + + + + + Chroma + + + Float + + Float + + + + + + + Distortion + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCircleMaskFilterShader + OBSCircleMaskFilterShader + Get + + +Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <int>] [[-CircleOffsetY] <int>] [[-SourceOffsetX] <int>] [[-SourceOffsetY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCircleMaskFilterShader + + Radius + + + Float + + Float + + + + + + + CircleOffsetX + + + Int + + Int + + + + + + + CircleOffsetY + + + Int + + Int + + + + + + + SourceOffsetX + + + Int + + Int + + + + + + + SourceOffsetY + + + Int + + Int + + + + + + + Antialiasing + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Antialiasing + + + Switch + + Switch + + + + + + + CircleOffsetX + + + Int + + Int + + + + + + + CircleOffsetY + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Radius + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SourceOffsetX + + + Int + + Int + + + + + + + SourceOffsetY + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSClockAnalogShader + OBSClockAnalogShader + Get + + +Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-HourHandleColor] <float[]>] [[-MinuteHandleColor] <float[]>] [[-SecondHandleColor] <float[]>] [[-OutlineColor] <float[]>] [[-TopLineColor] <float[]>] [[-BackgroundColor] <float[]>] [[-TimeOffsetHours] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSClockAnalogShader + + CurrentTimeMs + + + Int + + Int + + + + + + + CurrentTimeSec + + + Int + + Int + + + + + + + CurrentTimeMin + + + Int + + Int + + + + + + + CurrentTimeHour + + + Int + + Int + + + + + + + HourHandleColor + + + System.Single[] + + System.Single[] + + + + + + + MinuteHandleColor + + + System.Single[] + + System.Single[] + + + + + + + SecondHandleColor + + + System.Single[] + + System.Single[] + + + + + + + OutlineColor + + + System.Single[] + + System.Single[] + + + + + + + TopLineColor + + + System.Single[] + + System.Single[] + + + + + + + BackgroundColor + + + System.Single[] + + System.Single[] + + + + + + + TimeOffsetHours + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BackgroundColor + + + System.Single[] + + System.Single[] + + + + + + + CurrentTimeHour + + + Int + + Int + + + + + + + CurrentTimeMin + + + Int + + Int + + + + + + + CurrentTimeMs + + + Int + + Int + + + + + + + CurrentTimeSec + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HourHandleColor + + + System.Single[] + + System.Single[] + + + + + + + MinuteHandleColor + + + System.Single[] + + System.Single[] + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OutlineColor + + + System.Single[] + + System.Single[] + + + + + + + PassThru + + + Switch + + Switch + + + + + + + SecondHandleColor + + + System.Single[] + + System.Single[] + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TimeOffsetHours + + + Int + + Int + + + + + + + TopLineColor + + + System.Single[] + + System.Single[] + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSClockDigitalLedShader + OBSClockDigitalLedShader + Get + + +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-LedColor] <string>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSClockDigitalLedShader + + CurrentTimeSec + + + Int + + Int + + + + + + + CurrentTimeMin + + + Int + + Int + + + + + + + CurrentTimeHour + + + Int + + Int + + + + + + + TimeMode + + + Int + + Int + + + + + + + ShowMatrix + + + Switch + + Switch + + + + + + + ShowOff + + + Switch + + Switch + + + + + + + Ampm + + + Switch + + Switch + + + + + + + LedColor + + + String + + String + + + + + + + OffsetHours + + + Int + + Int + + + + + + + OffsetSeconds + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Ampm + + + Switch + + Switch + + + + + + + CurrentTimeHour + + + Int + + Int + + + + + + + CurrentTimeMin + + + Int + + Int + + + + + + + CurrentTimeSec + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + LedColor + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OffsetHours + + + Int + + Int + + + + + + + OffsetSeconds + + + Int + + Int + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + ShowMatrix + + + Switch + + Switch + + + + + + + ShowOff + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + TimeMode + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSClockDigitalNixieShader + OBSClockDigitalNixieShader + Get + + +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-Corecolor] <float[]>] [[-Halocolor] <float[]>] [[-Flarecolor] <float[]>] [[-Anodecolor] <float[]>] [[-Anodehighlightscolor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSClockDigitalNixieShader + + CurrentTimeMs + + + Int + + Int + + + + + + + CurrentTimeSec + + + Int + + Int + + + + + + + CurrentTimeMin + + + Int + + Int + + + + + + + CurrentTimeHour + + + Int + + Int + + + + + + + TimeMode + + + Int + + Int + + + + + + + OffsetHours + + + Int + + Int + + + + + + + OffsetSeconds + + + Int + + Int + + + + + + + Corecolor + + + System.Single[] + + System.Single[] + + + + + + + Halocolor + + + System.Single[] + + System.Single[] + + + + + + + Flarecolor + + + System.Single[] + + System.Single[] + + + + + + + Anodecolor + + + System.Single[] + + System.Single[] + + + + + + + Anodehighlightscolor + + + System.Single[] + + System.Single[] + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Anodecolor + + + System.Single[] + + System.Single[] + + + + + + + Anodehighlightscolor + + + System.Single[] + + System.Single[] + + + + + + + Corecolor + + + System.Single[] + + System.Single[] + + + + + + + CurrentTimeHour + + + Int + + Int + + + + + + + CurrentTimeMin + + + Int + + Int + + + + + + + CurrentTimeMs + + + Int + + Int + + + + + + + CurrentTimeSec + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Flarecolor + + + System.Single[] + + System.Single[] + + + + + + + Force + + + Switch + + Switch + + + + + + + Halocolor + + + System.Single[] + + System.Single[] + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OffsetHours + + + Int + + Int + + + + + + + OffsetSeconds + + + Int + + Int + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TimeMode + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSColorDepthShader + OBSColorDepthShader + Get + + +Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSColorDepthShader + + ColorDepth + + + Float + + Float + + + + + + + PixelSize + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ColorDepth + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PixelSize + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSColorGradeFilterShader + OBSColorGradeFilterShader + Get + + +Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] [[-LutAmountPercent] <int>] [[-LutScalePercent] <int>] [[-LutOffsetPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSColorGradeFilterShader + + Notes + + + String + + String + + + + + + + Lut + + + String + + String + + + + + + + LutAmountPercent + + + Int + + Int + + + + + + + LutScalePercent + + + Int + + Int + + + + + + + LutOffsetPercent + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Lut + + + String + + String + + + + + + + LutAmountPercent + + + Int + + Int + + + + + + + LutOffsetPercent + + + Int + + Int + + + + + + + LutScalePercent + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCornerPinShader + OBSCornerPinShader + Get + + +Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [[-TopRightX] <float>] [[-TopRightY] <float>] [[-BottomLeftX] <float>] [[-BottomLeftY] <float>] [[-BottomRightX] <float>] [[-BottomRightY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCornerPinShader + + AntialiasEdges + + + Switch + + Switch + + + + + + + TopLeftX + + + Float + + Float + + + + + + + TopLeftY + + + Float + + Float + + + + + + + TopRightX + + + Float + + Float + + + + + + + TopRightY + + + Float + + Float + + + + + + + BottomLeftX + + + Float + + Float + + + + + + + BottomLeftY + + + Float + + Float + + + + + + + BottomRightX + + + Float + + Float + + + + + + + BottomRightY + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AntialiasEdges + + + Switch + + Switch + + + + + + + BottomLeftX + + + Float + + Float + + + + + + + BottomLeftY + + + Float + + Float + + + + + + + BottomRightX + + + Float + + Float + + + + + + + BottomRightY + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TopLeftX + + + Float + + Float + + + + + + + TopLeftY + + + Float + + Float + + + + + + + TopRightX + + + Float + + Float + + + + + + + TopRightY + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCrtCurvatureShader + OBSCrtCurvatureShader + Get + + +Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] [[-Feathering] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCrtCurvatureShader + + Strength + + + Float + + Float + + + + + + + Border + + + String + + String + + + + + + + Feathering + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Border + + + String + + String + + + + + + + Feathering + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Strength + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCurrentPreviewScene + OBSCurrentPreviewScene + Get + + Get-OBSCurrentPreviewScene : GetCurrentPreviewScene + + 0.1.9 + + + Gets the current preview scene. + Only available when studio mode is enabled. + Note: This request is slated to have the `currentPreview`-prefixed fields removed from in an upcoming RPC version. + Get-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type GetCurrentPreviewScene. + + + + Get-OBSCurrentPreviewScene + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSCurrentPreviewScene + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentpreviewscene + + + + + + Get-OBSCurrentProgramScene + OBSCurrentProgramScene + Get + + Get-OBSCurrentProgramScene : GetCurrentProgramScene + + 0.1.9 + + + Gets the current program scene. + Note: This request is slated to have the `currentProgram`-prefixed fields removed from in an upcoming RPC version. + Get-OBSCurrentProgramScene calls the OBS WebSocket with a request of type GetCurrentProgramScene. + + + + Get-OBSCurrentProgramScene + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSCurrentProgramScene + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentprogramscene + + + + + + Get-OBSCurrentSceneTransition + OBSCurrentSceneTransition + Get + + Get-OBSCurrentSceneTransition : GetCurrentSceneTransition + + 0.1.9 + + + Gets information about the current scene transition. + Get-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type GetCurrentSceneTransition. + + + + Get-OBSCurrentSceneTransition + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSCurrentSceneTransition + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransition + + + + + + Get-OBSCurrentSceneTransitionCursor + OBSCurrentSceneTransitionCursor + Get + + Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor + + 0.1.9 + + + Gets the cursor position of the current scene transition. + Note: `transitionCursor` will return 1.0 when the transition is inactive. + Get-OBSCurrentSceneTransitionCursor calls the OBS WebSocket with a request of type GetCurrentSceneTransitionCursor. + + + + Get-OBSCurrentSceneTransitionCursor + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSCurrentSceneTransitionCursor + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getcurrentscenetransitioncursor + + + + + + Get-OBSCurveShader + OBSCurveShader + Get + + +Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-CurveColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCurveShader + + Strength + + + Float + + Float + + + + + + + Scale + + + Float + + Float + + + + + + + CurveColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CurveColor + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Scale + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Strength + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCutRectPerCornerShader + OBSCutRectPerCornerShader + Get + + +Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int>] [[-CornerBr] <int>] [[-CornerBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCutRectPerCornerShader + + CornerTl + + + Int + + Int + + + + + + + CornerTr + + + Int + + Int + + + + + + + CornerBr + + + Int + + Int + + + + + + + CornerBl + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + BorderColor + + + String + + String + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CornerBl + + + Int + + Int + + + + + + + CornerBr + + + Int + + Int + + + + + + + CornerTl + + + Int + + Int + + + + + + + CornerTr + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSCylinderShader + OBSCylinderShader + Get + + +Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSCylinderShader + + CylinderFactor + + + Float + + Float + + + + + + + BackgroundCut + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BackgroundCut + + + Float + + Float + + + + + + + CylinderFactor + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDarkenShader + OBSDarkenShader + Get + + +Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDarkenShader + + OpacityPercentage + + + Float + + Float + + + + + + + FillPercentage + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FillPercentage + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + OpacityPercentage + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDeadPixelFixerShader + OBSDeadPixelFixerShader + Get + + +Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDeadPixelFixerShader + + DeadPixelX + + + Int + + Int + + + + + + + DeadPixelY + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + DeadPixelX + + + Int + + Int + + + + + + + DeadPixelY + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDensitySatHueShader + OBSDensitySatHueShader + Get + + +Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] [[-SaturationR] <float>] [[-HueShiftR] <float>] [[-DensityY] <float>] [[-SaturationY] <float>] [[-HueShiftY] <float>] [[-DensityG] <float>] [[-SaturationG] <float>] [[-HueShiftG] <float>] [[-DensityC] <float>] [[-SaturationC] <float>] [[-HueShiftC] <float>] [[-DensityB] <float>] [[-SaturationB] <float>] [[-HueShiftB] <float>] [[-DensityM] <float>] [[-SaturationM] <float>] [[-HueShiftM] <float>] [[-GlobalDensity] <float>] [[-GlobalSaturation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDensitySatHueShader + + Notes + + + String + + String + + + + + + + DensityR + + + Float + + Float + + + + + + + SaturationR + + + Float + + Float + + + + + + + HueShiftR + + + Float + + Float + + + + + + + DensityY + + + Float + + Float + + + + + + + SaturationY + + + Float + + Float + + + + + + + HueShiftY + + + Float + + Float + + + + + + + DensityG + + + Float + + Float + + + + + + + SaturationG + + + Float + + Float + + + + + + + HueShiftG + + + Float + + Float + + + + + + + DensityC + + + Float + + Float + + + + + + + SaturationC + + + Float + + Float + + + + + + + HueShiftC + + + Float + + Float + + + + + + + DensityB + + + Float + + Float + + + + + + + SaturationB + + + Float + + Float + + + + + + + HueShiftB + + + Float + + Float + + + + + + + DensityM + + + Float + + Float + + + + + + + SaturationM + + + Float + + Float + + + + + + + HueShiftM + + + Float + + Float + + + + + + + GlobalDensity + + + Float + + Float + + + + + + + GlobalSaturation + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + DensityB + + + Float + + Float + + + + + + + DensityC + + + Float + + Float + + + + + + + DensityG + + + Float + + Float + + + + + + + DensityM + + + Float + + Float + + + + + + + DensityR + + + Float + + Float + + + + + + + DensityY + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GlobalDensity + + + Float + + Float + + + + + + + GlobalSaturation + + + Float + + Float + + + + + + + HueShiftB + + + Float + + Float + + + + + + + HueShiftC + + + Float + + Float + + + + + + + HueShiftG + + + Float + + Float + + + + + + + HueShiftM + + + Float + + Float + + + + + + + HueShiftR + + + Float + + Float + + + + + + + HueShiftY + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + SaturationB + + + Float + + Float + + + + + + + SaturationC + + + Float + + Float + + + + + + + SaturationG + + + Float + + Float + + + + + + + SaturationM + + + Float + + Float + + + + + + + SaturationR + + + Float + + Float + + + + + + + SaturationY + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDiffuseTransitionShader + OBSDiffuseTransitionShader + Get + + +Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-NumSamples] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDiffuseTransitionShader + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + NumSamples + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + NumSamples + + + Int + + Int + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDigitalRainShader + OBSDigitalRainShader + Get + + +Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-BaseColor] <string>] [[-RainSpeed] <float>] [[-CharSpeed] <float>] [[-GlowContrast] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDigitalRainShader + + Font + + + String + + String + + + + + + + Noise + + + String + + String + + + + + + + BaseColor + + + String + + String + + + + + + + RainSpeed + + + Float + + Float + + + + + + + CharSpeed + + + Float + + Float + + + + + + + GlowContrast + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BaseColor + + + String + + String + + + + + + + CharSpeed + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Font + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GlowContrast + + + Float + + Float + + + + + + + Noise + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RainSpeed + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDivideRotateShader + OBSDivideRotateShader + Get + + +Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDivideRotateShader + + IChannel0 + + + String + + String + + + + + + + SpeedPercentage + + + Int + + Int + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + IChannel0 + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercentage + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDoodleShader + OBSDoodleShader + Get + + +Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-DoodleScalePercent] <float>] [[-SnapPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDoodleShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + DoodleScalePercent + + + Float + + Float + + + + + + + SnapPercent + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + DoodleScalePercent + + + Float + + Float + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SnapPercent + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDrawingsShader + OBSDrawingsShader + Get + + +Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDrawingsShader + + AngleNum + + + Int + + Int + + + + + + + SampNum + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AngleNum + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + SampNum + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDropShadowShader + OBSDropShadowShader + Get + + +Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-Notes] <string>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDropShadowShader + + ShadowOffsetX + + + Int + + Int + + + + + + + ShadowOffsetY + + + Int + + Int + + + + + + + ShadowBlurSize + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + ShadowColor + + + String + + String + + + + + + + IsAlphaPremultiplied + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + IsAlphaPremultiplied + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + ShadowBlurSize + + + Int + + Int + + + + + + + ShadowColor + + + String + + String + + + + + + + ShadowOffsetX + + + Int + + Int + + + + + + + ShadowOffsetY + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDrunkShader + OBSDrunkShader + Get + + +Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeedPercent] <int>] [[-GlowColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDrunkShader + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + GlowPercent + + + Int + + Int + + + + + + + Blur + + + Int + + Int + + + + + + + MinBrightness + + + Int + + Int + + + + + + + MaxBrightness + + + Int + + Int + + + + + + + PulseSpeedPercent + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + GlowColor + + + String + + String + + + + + + + Ease + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + Blur + + + Int + + Int + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + Ease + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + GlowColor + + + String + + String + + + + + + + GlowPercent + + + Int + + Int + + + + + + + MaxBrightness + + + Int + + Int + + + + + + + MinBrightness + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PulseSpeedPercent + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSDynamicMaskShader + OBSDynamicMaskShader + Get + + +Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <float>] [[-RedRedInputValue] <float>] [[-RedGreenInputValue] <float>] [[-RedBlueInputValue] <float>] [[-RedAlphaInputValue] <float>] [[-RedMultiplier] <float>] [[-GreenBaseValue] <float>] [[-GreenRedInputValue] <float>] [[-GreenGreenInputValue] <float>] [[-GreenBlueInputValue] <float>] [[-GreenAlphaInputValue] <float>] [[-GreenMultiplier] <float>] [[-BlueBaseValue] <float>] [[-BlueRedInputValue] <float>] [[-BlueGreenInputValue] <float>] [[-BlueBlueInputValue] <float>] [[-BlueAlphaInputValue] <float>] [[-BlueMultiplier] <float>] [[-AlphaBaseValue] <float>] [[-AlphaRedInputValue] <float>] [[-AlphaGreenInputValue] <float>] [[-AlphaBlueInputValue] <float>] [[-AlphaAlphaInputValue] <float>] [[-AlphaMultiplier] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSDynamicMaskShader + + InputSource + + + String + + String + + + + + + + RedBaseValue + + + Float + + Float + + + + + + + RedRedInputValue + + + Float + + Float + + + + + + + RedGreenInputValue + + + Float + + Float + + + + + + + RedBlueInputValue + + + Float + + Float + + + + + + + RedAlphaInputValue + + + Float + + Float + + + + + + + RedMultiplier + + + Float + + Float + + + + + + + GreenBaseValue + + + Float + + Float + + + + + + + GreenRedInputValue + + + Float + + Float + + + + + + + GreenGreenInputValue + + + Float + + Float + + + + + + + GreenBlueInputValue + + + Float + + Float + + + + + + + GreenAlphaInputValue + + + Float + + Float + + + + + + + GreenMultiplier + + + Float + + Float + + + + + + + BlueBaseValue + + + Float + + Float + + + + + + + BlueRedInputValue + + + Float + + Float + + + + + + + BlueGreenInputValue + + + Float + + Float + + + + + + + BlueBlueInputValue + + + Float + + Float + + + + + + + BlueAlphaInputValue + + + Float + + Float + + + + + + + BlueMultiplier + + + Float + + Float + + + + + + + AlphaBaseValue + + + Float + + Float + + + + + + + AlphaRedInputValue + + + Float + + Float + + + + + + + AlphaGreenInputValue + + + Float + + Float + + + + + + + AlphaBlueInputValue + + + Float + + Float + + + + + + + AlphaAlphaInputValue + + + Float + + Float + + + + + + + AlphaMultiplier + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaAlphaInputValue + + + Float + + Float + + + + + + + AlphaBaseValue + + + Float + + Float + + + + + + + AlphaBlueInputValue + + + Float + + Float + + + + + + + AlphaGreenInputValue + + + Float + + Float + + + + + + + AlphaMultiplier + + + Float + + Float + + + + + + + AlphaRedInputValue + + + Float + + Float + + + + + + + BlueAlphaInputValue + + + Float + + Float + + + + + + + BlueBaseValue + + + Float + + Float + + + + + + + BlueBlueInputValue + + + Float + + Float + + + + + + + BlueGreenInputValue + + + Float + + Float + + + + + + + BlueMultiplier + + + Float + + Float + + + + + + + BlueRedInputValue + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GreenAlphaInputValue + + + Float + + Float + + + + + + + GreenBaseValue + + + Float + + Float + + + + + + + GreenBlueInputValue + + + Float + + Float + + + + + + + GreenGreenInputValue + + + Float + + Float + + + + + + + GreenMultiplier + + + Float + + Float + + + + + + + GreenRedInputValue + + + Float + + Float + + + + + + + InputSource + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RedAlphaInputValue + + + Float + + Float + + + + + + + RedBaseValue + + + Float + + Float + + + + + + + RedBlueInputValue + + + Float + + Float + + + + + + + RedGreenInputValue + + + Float + + Float + + + + + + + RedMultiplier + + + Float + + Float + + + + + + + RedRedInputValue + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSEdgeDetectionShader + OBSEdgeDetectionShader + Get + + +Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <string>] [[-NonEdgeColor] <string>] [[-AlphaLevel] <float>] [[-RandF] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSEdgeDetectionShader + + Sensitivity + + + Float + + Float + + + + + + + InvertEdge + + + Switch + + Switch + + + + + + + EdgeColor + + + String + + String + + + + + + + EdgeMultiply + + + Switch + + Switch + + + + + + + NonEdgeColor + + + String + + String + + + + + + + NonEdgeMultiply + + + Switch + + Switch + + + + + + + AlphaChannel + + + Switch + + Switch + + + + + + + AlphaLevel + + + Float + + Float + + + + + + + AlphaInvert + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaChannel + + + Switch + + Switch + + + + + + + AlphaInvert + + + Switch + + Switch + + + + + + + AlphaLevel + + + Float + + Float + + + + + + + EdgeColor + + + String + + String + + + + + + + EdgeMultiply + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + InvertEdge + + + Switch + + Switch + + + + + + + NonEdgeColor + + + String + + String + + + + + + + NonEdgeMultiply + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + Sensitivity + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSEffect + OBSEffect + Get + + Gets OBS Effects + + 0.1.9 + + + Gets effects currently loaded into OBS-PowerShell. + An effect can be thought of as a name with a series of messages to OBS. + Those messages can be defined in a .json file or a script, in any module that tags OBS. + They can also be defined in a function or script named like: + * `*.OBS.FX.*` + * `*.OBS.Effect.*` + * `*.OBS.Effects.*` + + + + Get-OBSEffect + + Name + + The name of the effect. + + String + + String + + + + + + + + + + Name + + The name of the effect. + + String + + String + + + + + + + + + Import-OBSEffect + + + + + Remove-OBSEffect + + + + + + + + Get-OBSEmbersShader + OBSEmbersShader + Get + + +Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-AnimationSpeed] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-MovementSpeedPercent] <int>] [[-LayersCount] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSEmbersShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + RandActivationF + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LocalTime + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + AnimationSpeed + + + Float + + Float + + + + + + + MovementDirectionHorizontal + + + Float + + Float + + + + + + + MovementDirectionVertical + + + Float + + Float + + + + + + + MovementSpeedPercent + + + Int + + Int + + + + + + + LayersCount + + + Int + + Int + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + AnimationSpeed + + + Float + + Float + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + LayersCount + + + Int + + Int + + + + + + + LocalTime + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + MovementDirectionHorizontal + + + Float + + Float + + + + + + + MovementDirectionVertical + + + Float + + Float + + + + + + + MovementSpeedPercent + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandActivationF + + + Float + + Float + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSEmbossColorShader + OBSEmbossColorShader + Get + + +Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-UpDownPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSEmbossColorShader + + AngleSteps + + + Int + + Int + + + + + + + RadiusSteps + + + Int + + Int + + + + + + + AmpFactor + + + Float + + Float + + + + + + + UpDownPercent + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AmpFactor + + + Float + + Float + + + + + + + AngleSteps + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RadiusSteps + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UpDownPercent + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSEmbossShader + OBSEmbossShader + Get + + +Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSEmbossShader + + UseColor + + + Switch + + Switch + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseColor + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSExeldroBentCameraShader + OBSExeldroBentCameraShader + Get + + +Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSExeldroBentCameraShader + + LeftSideWidth + + + Float + + Float + + + + + + + LeftSideSize + + + Float + + Float + + + + + + + LeftSideShadow + + + Float + + Float + + + + + + + LeftFlipWidth + + + Float + + Float + + + + + + + LeftFlipShadow + + + Float + + Float + + + + + + + RightSideWidth + + + Float + + Float + + + + + + + RightSideSize + + + Float + + Float + + + + + + + RightSideShadow + + + Float + + Float + + + + + + + RightFlipWidth + + + Float + + Float + + + + + + + RightFlipShadow + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + LeftFlipShadow + + + Float + + Float + + + + + + + LeftFlipWidth + + + Float + + Float + + + + + + + LeftSideShadow + + + Float + + Float + + + + + + + LeftSideSize + + + Float + + Float + + + + + + + LeftSideWidth + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RightFlipShadow + + + Float + + Float + + + + + + + RightFlipWidth + + + Float + + Float + + + + + + + RightSideShadow + + + Float + + Float + + + + + + + RightSideSize + + + Float + + Float + + + + + + + RightSideWidth + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFadeTransitionShader + OBSFadeTransitionShader + Get + + +Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFadeTransitionShader + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFillColorGradientShader + OBSFillColorGradientShader + Get + + +Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <float>] [[-GradientOffset] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFillColorGradientShader + + Fill + + + Float + + Float + + + + + + + GradientWidth + + + Float + + Float + + + + + + + GradientOffset + + + Float + + Float + + + + + + + FillDirection + + + Int + + Int + + + + + + + FillColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Fill + + + Float + + Float + + + + + + + FillColor + + + String + + String + + + + + + + FillDirection + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GradientOffset + + + Float + + Float + + + + + + + GradientWidth + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFillColorLinearShader + OBSFillColorLinearShader + Get + + +Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFillColorLinearShader + + Fill + + + Float + + Float + + + + + + + FillDirection + + + Int + + Int + + + + + + + FillColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Fill + + + Float + + Float + + + + + + + FillColor + + + String + + String + + + + + + + FillDirection + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFillColorRadialDegreesShader + OBSFillColorRadialDegreesShader + Get + + +Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFillColorRadialDegreesShader + + FillDirection + + + Int + + Int + + + + + + + Fill + + + Float + + Float + + + + + + + StartAngle + + + Float + + Float + + + + + + + OffsetX + + + Float + + Float + + + + + + + OffsetY + + + Float + + Float + + + + + + + FillColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Fill + + + Float + + Float + + + + + + + FillColor + + + String + + String + + + + + + + FillDirection + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OffsetX + + + Float + + Float + + + + + + + OffsetY + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + StartAngle + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFillColorRadialPercentageShader + OBSFillColorRadialPercentageShader + Get + + +Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFillColorRadialPercentageShader + + FillDirection + + + Int + + Int + + + + + + + Fill + + + Float + + Float + + + + + + + StartAngle + + + Float + + Float + + + + + + + OffsetX + + + Float + + Float + + + + + + + OffsetY + + + Float + + Float + + + + + + + FillColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Fill + + + Float + + Float + + + + + + + FillColor + + + String + + String + + + + + + + FillDirection + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OffsetX + + + Float + + Float + + + + + + + OffsetY + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + StartAngle + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFilterTemplateShader + OBSFilterTemplateShader + Get + + +Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFilterTemplateShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + RandActivationF + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LocalTime + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + LocalTime + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandActivationF + + + Float + + Float + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFire3Shader + OBSFire3Shader + Get + + +Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-FlameSize] <float>] [[-SparkGridHeight] <float>] [[-FlameModifier] <float>] [[-FlameTongueSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFire3Shader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + RandActivationF + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LocalTime + + + Float + + Float + + + + + + + MovementDirectionHorizontal + + + Float + + Float + + + + + + + MovementDirectionVertical + + + Float + + Float + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + Speed + + + Int + + Int + + + + + + + Invert + + + Switch + + Switch + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + FullWidth + + + Switch + + Switch + + + + + + + FlameSize + + + Float + + Float + + + + + + + SparkGridHeight + + + Float + + Float + + + + + + + FlameModifier + + + Float + + Float + + + + + + + FlameTongueSize + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + FlameModifier + + + Float + + Float + + + + + + + FlameSize + + + Float + + Float + + + + + + + FlameTongueSize + + + Float + + Float + + + + + + + Force + + + Switch + + Switch + + + + + + + FullWidth + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + Invert + + + Switch + + Switch + + + + + + + LocalTime + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + MovementDirectionHorizontal + + + Float + + Float + + + + + + + MovementDirectionVertical + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandActivationF + + + Float + + Float + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SparkGridHeight + + + Float + + Float + + + + + + + Speed + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFireShader + OBSFireShader + Get + + +Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-FlameSize] <int>] [[-FireType] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFireShader + + AlphaPercentage + + + Int + + Int + + + + + + + Speed + + + Int + + Int + + + + + + + FlameSize + + + Int + + Int + + + + + + + FireType + + + Int + + Int + + + + + + + Invert + + + Switch + + Switch + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + FireType + + + Int + + Int + + + + + + + FlameSize + + + Int + + Int + + + + + + + Force + + + Switch + + Switch + + + + + + + Invert + + + Switch + + Switch + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFireworks2Shader + OBSFireworks2Shader + Get + + +Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFireworks2Shader + + Speed + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFireworksShader + OBSFireworksShader + Get + + +Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFireworksShader + + ShowFlash + + + Switch + + Switch + + + + + + + ShowStars + + + Switch + + Switch + + + + + + + UseTransparancy + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + ShowFlash + + + Switch + + Switch + + + + + + + ShowStars + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UseTransparancy + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFisheyeShader + OBSFisheyeShader + Get + + +Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFisheyeShader + + CenterXPercent + + + Float + + Float + + + + + + + CenterYPercent + + + Float + + Float + + + + + + + Power + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterXPercent + + + Float + + Float + + + + + + + CenterYPercent + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Power + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFisheyeXyShader + OBSFisheyeXyShader + Get + + +Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-PowerX] <float>] [[-PowerY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFisheyeXyShader + + CenterXPercent + + + Float + + Float + + + + + + + CenterYPercent + + + Float + + Float + + + + + + + PowerX + + + Float + + Float + + + + + + + PowerY + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterXPercent + + + Float + + Float + + + + + + + CenterYPercent + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PowerX + + + Float + + Float + + + + + + + PowerY + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFlipShader + OBSFlipShader + Get + + +Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFlipShader + + Horizontal + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Horizontal + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSFrostedGlassShader + OBSFrostedGlassShader + Get + + +Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float>] [[-Scale] <float>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSFrostedGlassShader + + AlphaPercent + + + Float + + Float + + + + + + + Amount + + + Float + + Float + + + + + + + Scale + + + Float + + Float + + + + + + + Animate + + + Switch + + Switch + + + + + + + HorizontalBorder + + + Switch + + Switch + + + + + + + BorderOffset + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Float + + Float + + + + + + + Amount + + + Float + + Float + + + + + + + Animate + + + Switch + + Switch + + + + + + + BorderColor + + + String + + String + + + + + + + BorderOffset + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HorizontalBorder + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Scale + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGammaCorrectionShader + OBSGammaCorrectionShader + Get + + +Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGammaCorrectionShader + + Red + + + Float + + Float + + + + + + + Green + + + Float + + Float + + + + + + + Blue + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Blue + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Green + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Red + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGaussianBlurAdvancedShader + OBSGaussianBlurAdvancedShader + Get + + +Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] <float>] [[-Size] <float>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGaussianBlurAdvancedShader + + Directions + + + Float + + Float + + + + + + + Quality + + + Float + + Float + + + + + + + Size + + + Float + + Float + + + + + + + MaskLeft + + + Float + + Float + + + + + + + MaskRight + + + Float + + Float + + + + + + + MaskTop + + + Float + + Float + + + + + + + MaskBottom + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Directions + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + MaskBottom + + + Float + + Float + + + + + + + MaskLeft + + + Float + + Float + + + + + + + MaskRight + + + Float + + Float + + + + + + + MaskTop + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Quality + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + Size + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGaussianBlurShader + OBSGaussianBlurShader + Get + + +Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ImageSize] <float[]>] [[-ImageTexel] <float[]>] [[-URadius] <int>] [[-UDiameter] <int>] [[-UTexelDelta] <float[]>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-Kernel] <string>] [[-KernelTexel] <float[]>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGaussianBlurShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ImageSize + + + System.Single[] + + System.Single[] + + + + + + + ImageTexel + + + System.Single[] + + System.Single[] + + + + + + + URadius + + + Int + + Int + + + + + + + UDiameter + + + Int + + Int + + + + + + + UTexelDelta + + + System.Single[] + + System.Single[] + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + Kernel + + + String + + String + + + + + + + KernelTexel + + + System.Single[] + + System.Single[] + + + + + + + PixelSize + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + ImageSize + + + System.Single[] + + System.Single[] + + + + + + + ImageTexel + + + System.Single[] + + System.Single[] + + + + + + + Kernel + + + String + + String + + + + + + + KernelTexel + + + System.Single[] + + System.Single[] + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PixelSize + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UDiameter + + + Int + + Int + + + + + + + URadius + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UTexelDelta + + + System.Single[] + + System.Single[] + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGaussianBlurSimpleShader + OBSGaussianBlurSimpleShader + Get + + +Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGaussianBlurSimpleShader + + Strength + + + Int + + Int + + + + + + + MaskLeft + + + Float + + Float + + + + + + + MaskRight + + + Float + + Float + + + + + + + MaskTop + + + Float + + Float + + + + + + + MaskBottom + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + MaskBottom + + + Float + + Float + + + + + + + MaskLeft + + + Float + + Float + + + + + + + MaskRight + + + Float + + Float + + + + + + + MaskTop + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Strength + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGaussianExampleShader + OBSGaussianExampleShader + Get + + +Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-InitialImage] <string>] [[-BeforeImage] <string>] [[-AfterImage] <string>] [[-TextColor] <string>] [[-MaxDistance] <float>] [[-Exp] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGaussianExampleShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + InitialImage + + + String + + String + + + + + + + BeforeImage + + + String + + String + + + + + + + AfterImage + + + String + + String + + + + + + + TextColor + + + String + + String + + + + + + + MaxDistance + + + Float + + Float + + + + + + + Exp + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AfterImage + + + String + + String + + + + + + + BeforeImage + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + Exp + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + InitialImage + + + String + + String + + + + + + + MaxDistance + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TextColor + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGaussianSimpleShader + OBSGaussianSimpleShader + Get + + +Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Samples] <int>] [[-LOD] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGaussianSimpleShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + RandActivationF + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LocalTime + + + Float + + Float + + + + + + + Samples + + + Int + + Int + + + + + + + LOD + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + LocalTime + + + Float + + Float + + + + + + + LOD + + + Int + + Int + + + + + + + Loops + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandActivationF + + + Float + + Float + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + Samples + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGbCameraShader + OBSGbCameraShader + Get + + +Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float>] [[-Brightness] <float>] [[-Contrast] <float>] [[-Gamma] <float>] [[-Color1] <string>] [[-Color2] <string>] [[-Color3] <string>] [[-Color4] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGbCameraShader + + PixelSize + + + Float + + Float + + + + + + + DitherFactor + + + Float + + Float + + + + + + + AlternativeBayer + + + Switch + + Switch + + + + + + + Brightness + + + Float + + Float + + + + + + + Contrast + + + Float + + Float + + + + + + + Gamma + + + Float + + Float + + + + + + + Color1 + + + String + + String + + + + + + + Color2 + + + String + + String + + + + + + + Color3 + + + String + + String + + + + + + + Color4 + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlternativeBayer + + + Switch + + Switch + + + + + + + Brightness + + + Float + + Float + + + + + + + Color1 + + + String + + String + + + + + + + Color2 + + + String + + String + + + + + + + Color3 + + + String + + String + + + + + + + Color4 + + + String + + String + + + + + + + Contrast + + + Float + + Float + + + + + + + DitherFactor + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Gamma + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PixelSize + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGlassShader + OBSGlassShader + Get + + +Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float>] [[-XSize] <int>] [[-YSize] <int>] [[-ReflectionOffset] <int>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-GlassColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGlassShader + + AlphaPercent + + + Float + + Float + + + + + + + OffsetAmount + + + Float + + Float + + + + + + + XSize + + + Int + + Int + + + + + + + YSize + + + Int + + Int + + + + + + + ReflectionOffset + + + Int + + Int + + + + + + + HorizontalBorder + + + Switch + + Switch + + + + + + + BorderOffset + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + GlassColor + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + BorderOffset + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GlassColor + + + String + + String + + + + + + + HorizontalBorder + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + OffsetAmount + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ReflectionOffset + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + XSize + + + Int + + Int + + + + + + + YSize + + + Int + + Int + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGlitchAnalogShader + OBSGlitchAnalogShader + Get + + +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanLineJitterThresholdPercent] <int>] [[-VerticalJumpAmount] <float>] [[-VerticalSpeed] <float>] [[-HorizontalShake] <float>] [[-ColorDriftAmount] <float>] [[-ColorDriftSpeed] <float>] [[-PulseSpeedPercent] <int>] [[-AlphaPercent] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGlitchAnalogShader + + ScanLineJitterDisplacement + + + Float + + Float + + + + + + + ScanLineJitterThresholdPercent + + + Int + + Int + + + + + + + VerticalJumpAmount + + + Float + + Float + + + + + + + VerticalSpeed + + + Float + + Float + + + + + + + HorizontalShake + + + Float + + Float + + + + + + + ColorDriftAmount + + + Float + + Float + + + + + + + ColorDriftSpeed + + + Float + + Float + + + + + + + PulseSpeedPercent + + + Int + + Int + + + + + + + AlphaPercent + + + Int + + Int + + + + + + + RotateColors + + + Switch + + Switch + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorDriftAmount + + + Float + + Float + + + + + + + ColorDriftSpeed + + + Float + + Float + + + + + + + ColorToReplace + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HorizontalShake + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PulseSpeedPercent + + + Int + + Int + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + RotateColors + + + Switch + + Switch + + + + + + + ScanLineJitterDisplacement + + + Float + + Float + + + + + + + ScanLineJitterThresholdPercent + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + VerticalJumpAmount + + + Float + + Float + + + + + + + VerticalSpeed + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGlitchShader + OBSGlitchShader + Get + + +Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGlitchShader + + AMT + + + Float + + Float + + + + + + + SPEED + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AMT + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SPEED + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGlowShader + OBSGlowShader + Get + + +Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeed] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGlowShader + + GlowPercent + + + Int + + Int + + + + + + + Blur + + + Int + + Int + + + + + + + MinBrightness + + + Int + + Int + + + + + + + MaxBrightness + + + Int + + Int + + + + + + + PulseSpeed + + + Int + + Int + + + + + + + Ease + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Blur + + + Int + + Int + + + + + + + Ease + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GlowPercent + + + Int + + Int + + + + + + + MaxBrightness + + + Int + + Int + + + + + + + MinBrightness + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PulseSpeed + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGradientShader + OBSGradientShader + Get + + +Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float>] [[-MiddleColor] <string>] [[-MiddleStep] <float>] [[-EndColor] <string>] [[-EndStep] <float>] [[-AlphaPercent] <int>] [[-PulseSpeed] <int>] [[-ColorToReplace] <string>] [[-GradientCenterWidthPercentage] <int>] [[-GradientCenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSGradientShader + + StartColor + + + String + + String + + + + + + + StartStep + + + Float + + Float + + + + + + + MiddleColor + + + String + + String + + + + + + + MiddleStep + + + Float + + Float + + + + + + + EndColor + + + String + + String + + + + + + + EndStep + + + Float + + Float + + + + + + + AlphaPercent + + + Int + + Int + + + + + + + PulseSpeed + + + Int + + Int + + + + + + + Ease + + + Switch + + Switch + + + + + + + RotateColors + + + Switch + + Switch + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + Horizontal + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + GradientCenterWidthPercentage + + + Int + + Int + + + + + + + GradientCenterHeightPercentage + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + Ease + + + Switch + + Switch + + + + + + + EndColor + + + String + + String + + + + + + + EndStep + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GradientCenterHeightPercentage + + + Int + + Int + + + + + + + GradientCenterWidthPercentage + + + Int + + Int + + + + + + + Horizontal + + + Switch + + Switch + + + + + + + MiddleColor + + + String + + String + + + + + + + MiddleStep + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PulseSpeed + + + Int + + Int + + + + + + + RotateColors + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + StartColor + + + String + + String + + + + + + + StartStep + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSGroup + OBSGroup + Get + + Get-OBSGroup : GetGroupList + + 0.1.9 + + + Gets an array of all groups in OBS. + Groups in OBS are actually scenes, but renamed and modified. In obs-websocket, we treat them as scenes where we can. + Get-OBSGroup calls the OBS WebSocket with a request of type GetGroupList. + + + + Get-OBSGroup + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSGroup + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgrouplist + + + + + + Get-OBSGroupSceneItem + OBSGroupSceneItem + Get + + Get-OBSGroupSceneItem : GetGroupSceneItemList + + 0.1.9 + + + Basically GetSceneItemList, but for groups. + Using groups at all in OBS is discouraged, as they are very broken under the hood. Please use nested scenes instead. + Groups only + Get-OBSGroupSceneItem calls the OBS WebSocket with a request of type GetGroupSceneItemList. + + + + Get-OBSGroupSceneItem + + SceneName + + Name of the group to get the items of + + String + + String + + + + + + + SceneUuid + + UUID of the group to get the items of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the group to get the items of + + String + + String + + + + + + + SceneUuid + + UUID of the group to get the items of + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getgroupsceneitemlist + + + + + + Get-OBSHalftoneShader + OBSHalftoneShader + Get + + +Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSHalftoneShader + + Threshold + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Threshold + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSHeatWaveSimpleShader + OBSHeatWaveSimpleShader + Get + + +Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] [[-Distortion] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSHeatWaveSimpleShader + + Rate + + + Float + + Float + + + + + + + Strength + + + Float + + Float + + + + + + + Distortion + + + Float + + Float + + + + + + + Opacity + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Distortion + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Opacity + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Rate + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Strength + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSHexagonShader + OBSHexagonShader + Get + + +Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] [[-Quantity] <float>] [[-BorderWidth] <int>] [[-SpeedPercent] <int>] [[-DistortX] <float>] [[-DistortY] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSHexagonShader + + HexColor + + + String + + String + + + + + + + AlphaPercent + + + Int + + Int + + + + + + + Quantity + + + Float + + Float + + + + + + + BorderWidth + + + Int + + Int + + + + + + + Blend + + + Switch + + Switch + + + + + + + Equilateral + + + Switch + + Switch + + + + + + + ZoomAnimate + + + Switch + + Switch + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + Glitch + + + Switch + + Switch + + + + + + + DistortX + + + Float + + Float + + + + + + + DistortY + + + Float + + Float + + + + + + + OffsetX + + + Float + + Float + + + + + + + OffsetY + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Int + + Int + + + + + + + Blend + + + Switch + + Switch + + + + + + + BorderWidth + + + Int + + Int + + + + + + + DistortX + + + Float + + Float + + + + + + + DistortY + + + Float + + Float + + + + + + + Equilateral + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + HexColor + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + OffsetX + + + Float + + Float + + + + + + + OffsetY + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Quantity + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + ZoomAnimate + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSHotkey + OBSHotkey + Get + + Get-OBSHotkey : GetHotkeyList + + 0.1.9 + + + Gets an array of all hotkey names in OBS. + Note: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests. + Get-OBSHotkey calls the OBS WebSocket with a request of type GetHotkeyList. + + + + Get-OBSHotkey + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSHotkey + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gethotkeylist + + + + + + Get-OBSHslHsvSaturationShader + OBSHslHsvSaturationShader + Get + + +Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma] <float>] [[-HsvSaturationFactor] <float>] [[-HsvGamma] <float>] [[-AdjustmentOrder] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSHslHsvSaturationShader + + HslSaturationFactor + + + Float + + Float + + + + + + + HslGamma + + + Float + + Float + + + + + + + HsvSaturationFactor + + + Float + + Float + + + + + + + HsvGamma + + + Float + + Float + + + + + + + AdjustmentOrder + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AdjustmentOrder + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HslGamma + + + Float + + Float + + + + + + + HslSaturationFactor + + + Float + + Float + + + + + + + HsvGamma + + + Float + + Float + + + + + + + HsvSaturationFactor + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSHueRotatonShader + OBSHueRotatonShader + Get + + +Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSHueRotatonShader + + Speed + + + Float + + Float + + + + + + + HueOverride + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HueOverride + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSInput + OBSInput + Get + + Get-OBSInput : GetInputList + + 0.1.9 + + + Gets an array of all inputs in OBS. + Get-OBSInput calls the OBS WebSocket with a request of type GetInputList. + + + + Get-OBSInput + + InputKind + + Restrict the array to only inputs of the specified kind + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputKind + + Restrict the array to only inputs of the specified kind + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputlist + + + + + + Get-OBSInputAudioBalance + OBSInputAudioBalance + Get + + Get-OBSInputAudioBalance : GetInputAudioBalance + + 0.1.9 + + + Gets the audio balance of an input. + Get-OBSInputAudioBalance calls the OBS WebSocket with a request of type GetInputAudioBalance. + + + + Get-OBSInputAudioBalance + + InputName + + Name of the input to get the audio balance of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the audio balance of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to get the audio balance of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the audio balance of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiobalance + + + + + + Get-OBSInputAudioMonitorType + OBSInputAudioMonitorType + Get + + Get-OBSInputAudioMonitorType : GetInputAudioMonitorType + + 0.1.9 + + + Gets the audio monitor type of an input. + The available audio monitor types are: + - `OBS_MONITORING_TYPE_NONE` + - `OBS_MONITORING_TYPE_MONITOR_ONLY` + - `OBS_MONITORING_TYPE_MONITOR_AND_OUTPUT` + Get-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type GetInputAudioMonitorType. + + + + Get-OBSInputAudioMonitorType + + InputName + + Name of the input to get the audio monitor type of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the audio monitor type of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to get the audio monitor type of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the audio monitor type of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiomonitortype + + + + + + Get-OBSInputAudioSyncOffset + OBSInputAudioSyncOffset + Get + + Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset + + 0.1.9 + + + Gets the audio sync offset of an input. + Note: The audio sync offset can be negative too! + Get-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type GetInputAudioSyncOffset. + + + + Get-OBSInputAudioSyncOffset + + InputName + + Name of the input to get the audio sync offset of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the audio sync offset of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to get the audio sync offset of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the audio sync offset of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiosyncoffset + + + + + + Get-OBSInputAudioTracks + OBSInputAudioTracks + Get + + Get-OBSInputAudioTracks : GetInputAudioTracks + + 0.1.9 + + + Gets the enable state of all audio tracks of an input. + Get-OBSInputAudioTracks calls the OBS WebSocket with a request of type GetInputAudioTracks. + + + + Get-OBSInputAudioTracks + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputaudiotracks + + + + + + Get-OBSInputDefaultSettings + OBSInputDefaultSettings + Get + + Get-OBSInputDefaultSettings : GetInputDefaultSettings + + 0.1.9 + + + Gets the default settings for an input kind. + Get-OBSInputDefaultSettings calls the OBS WebSocket with a request of type GetInputDefaultSettings. + + + + Get-OBSInputDefaultSettings + + InputKind + + Input kind to get the default settings for + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputKind + + Input kind to get the default settings for + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputdefaultsettings + + + + + + Get-OBSInputKind + OBSInputKind + Get + + Get-OBSInputKind : GetInputKindList + + 0.1.9 + + + Gets an array of all available input kinds in OBS. + Get-OBSInputKind calls the OBS WebSocket with a request of type GetInputKindList. + + + + Get-OBSInputKind + + Unversioned + + True == Return all kinds as unversioned, False == Return with version suffixes (if available) + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + Unversioned + + True == Return all kinds as unversioned, False == Return with version suffixes (if available) + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputkindlist + + + + + + Get-OBSInputMute + OBSInputMute + Get + + Get-OBSInputMute : GetInputMute + + 0.1.9 + + + Gets the audio mute state of an input. + Get-OBSInputMute calls the OBS WebSocket with a request of type GetInputMute. + + + + Get-OBSInputMute + + InputName + + Name of input to get the mute state of + + String + + String + + + + + + + InputUuid + + UUID of input to get the mute state of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of input to get the mute state of + + String + + String + + + + + + + InputUuid + + UUID of input to get the mute state of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputmute + + + + + + Get-OBSInputPropertiesListPropertyItems + OBSInputPropertiesListPropertyItems + Get + + Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems + + 0.1.9 + + + Gets the items of a list property from an input's properties. + Note: Use this in cases where an input provides a dynamic, selectable list of items. For example, display capture, where it provides a list of available displays. + Get-OBSInputPropertiesListPropertyItems calls the OBS WebSocket with a request of type GetInputPropertiesListPropertyItems. + + + + Get-OBSInputPropertiesListPropertyItems + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + PropertyName + + Name of the list property to get the items of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + PropertyName + + Name of the list property to get the items of + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputpropertieslistpropertyitems + + + + + + Get-OBSInputSettings + OBSInputSettings + Get + + Get-OBSInputSettings : GetInputSettings + + 0.1.9 + + + Gets the settings of an input. + Note: Does not include defaults. To create the entire settings object, overlay `inputSettings` over the `defaultInputSettings` provided by `GetInputDefaultSettings`. + Get-OBSInputSettings calls the OBS WebSocket with a request of type GetInputSettings. + + + + Get-OBSInputSettings + + InputName + + Name of the input to get the settings of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the settings of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to get the settings of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the settings of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputsettings + + + + + + Get-OBSInputVolume + OBSInputVolume + Get + + Get-OBSInputVolume : GetInputVolume + + 0.1.9 + + + Gets the current volume setting of an input. + Get-OBSInputVolume calls the OBS WebSocket with a request of type GetInputVolume. + + + + Get-OBSInputVolume + + InputName + + Name of the input to get the volume of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the volume of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to get the volume of + + String + + String + + + + + + + InputUuid + + UUID of the input to get the volume of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getinputvolume + + + + + + Get-OBSIntensityScopeShader + OBSIntensityScopeShader + Get + + +Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSIntensityScopeShader + + Gain + + + Float + + Float + + + + + + + Blend + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Blend + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Gain + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSInvertLumaShader + OBSInvertLumaShader + Get + + +Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSInvertLumaShader + + InvertColor + + + Switch + + Switch + + + + + + + InvertLuma + + + Switch + + Switch + + + + + + + GammaCorrection + + + Switch + + Switch + + + + + + + TestRamp + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GammaCorrection + + + Switch + + Switch + + + + + + + InvertColor + + + Switch + + Switch + + + + + + + InvertLuma + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TestRamp + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSLastReplayBufferReplay + OBSLastReplayBufferReplay + Get + + Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay + + 0.1.9 + + + Gets the filename of the last replay buffer save file. + Get-OBSLastReplayBufferReplay calls the OBS WebSocket with a request of type GetLastReplayBufferReplay. + + + + Get-OBSLastReplayBufferReplay + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSLastReplayBufferReplay + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getlastreplaybufferreplay + + + + + + Get-OBSLuminance2Shader + OBSLuminance2Shader + Get + + +Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[-LumaMin] <float>] [[-LumaMaxSmooth] <float>] [[-LumaMinSmooth] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSLuminance2Shader + + Color + + + String + + String + + + + + + + LumaMax + + + Float + + Float + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMaxSmooth + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + InvertImageColor + + + Switch + + Switch + + + + + + + InvertAlphaChannel + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Color + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + InvertAlphaChannel + + + Switch + + Switch + + + + + + + InvertImageColor + + + Switch + + Switch + + + + + + + LumaMax + + + Float + + Float + + + + + + + LumaMaxSmooth + + + Float + + Float + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSLuminanceAlphaShader + OBSLuminanceAlphaShader + Get + + +Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ColorMatrix] <float[][]>] [[-Color] <string>] [[-MulVal] <float>] [[-AddVal] <float>] [[-Level] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSLuminanceAlphaShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + Color + + + String + + String + + + + + + + MulVal + + + Float + + Float + + + + + + + AddVal + + + Float + + Float + + + + + + + Level + + + Float + + Float + + + + + + + InvertAlphaChannel + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AddVal + + + Float + + Float + + + + + + + Color + + + String + + String + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + InvertAlphaChannel + + + Switch + + Switch + + + + + + + Level + + + Float + + Float + + + + + + + MulVal + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSLuminanceShader + OBSLuminanceShader + Get + + +Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSLuminanceShader + + Color + + + String + + String + + + + + + + Level + + + Float + + Float + + + + + + + InvertImageColor + + + Switch + + Switch + + + + + + + InvertAlphaChannel + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Color + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + InvertAlphaChannel + + + Switch + + Switch + + + + + + + InvertImageColor + + + Switch + + Switch + + + + + + + Level + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSMatrixShader + OBSMatrixShader + Get + + +Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Mouse] <float[]>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-Ratio] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSMatrixShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + RandActivationF + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LocalTime + + + Float + + Float + + + + + + + Mouse + + + System.Single[] + + System.Single[] + + + + + + + InvertDirection + + + Switch + + Switch + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + Ratio + + + Float + + Float + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + InvertDirection + + + Switch + + Switch + + + + + + + LocalTime + + + Float + + Float + + + + + + + Loops + + + Int + + Int + + + + + + + LumaMin + + + Float + + Float + + + + + + + LumaMinSmooth + + + Float + + Float + + + + + + + Mouse + + + System.Single[] + + System.Single[] + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandActivationF + + + Float + + Float + + + + + + + RandF + + + Float + + Float + + + + + + + RandInstanceF + + + Float + + Float + + + + + + + Ratio + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSMediaInputStatus + OBSMediaInputStatus + Get + + Get-OBSMediaInputStatus : GetMediaInputStatus + + 0.1.9 + + + Gets the status of a media input. + Media States: + - `OBS_MEDIA_STATE_NONE` + - `OBS_MEDIA_STATE_PLAYING` + - `OBS_MEDIA_STATE_OPENING` + - `OBS_MEDIA_STATE_BUFFERING` + - `OBS_MEDIA_STATE_PAUSED` + - `OBS_MEDIA_STATE_STOPPED` + - `OBS_MEDIA_STATE_ENDED` + - `OBS_MEDIA_STATE_ERROR` + Get-OBSMediaInputStatus calls the OBS WebSocket with a request of type GetMediaInputStatus. + + + + Get-OBSMediaInputStatus + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmediainputstatus + + + + + + Get-OBSMonitor + OBSMonitor + Get + + Get-OBSMonitor : GetMonitorList + + 0.1.9 + + + Gets a list of connected monitors and information about them. + Get-OBSMonitor calls the OBS WebSocket with a request of type GetMonitorList. + + + + Get-OBSMonitor + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSMonitor + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getmonitorlist + + + + + + Get-OBSMultiplyShader + OBSMultiplyShader + Get + + +Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSMultiplyShader + + OtherImage + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OtherImage + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSNightSkyShader + OBSNightSkyShader + Get + + +Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-AlphaPercentage] <float>] [[-NumberStars] <int>] [[-SKYCOLOR] <string>] [[-STARCOLOR] <string>] [[-LIGHTSKY] <string>] [[-SKYLIGHTNESS] <float>] [[-MOONCOLOR] <string>] [[-MoonSize] <float>] [[-MoonBumpSize] <float>] [[-MoonPositionX] <float>] [[-MoonPositionY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSNightSkyShader + + Speed + + + Float + + Float + + + + + + + IncludeClouds + + + Switch + + Switch + + + + + + + IncludeMoon + + + Switch + + Switch + + + + + + + CenterWidthPercentage + + + Int + + Int + + + + + + + CenterHeightPercentage + + + Int + + Int + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + NumberStars + + + Int + + Int + + + + + + + SKYCOLOR + + + String + + String + + + + + + + STARCOLOR + + + String + + String + + + + + + + LIGHTSKY + + + String + + String + + + + + + + SKYLIGHTNESS + + + Float + + Float + + + + + + + MOONCOLOR + + + String + + String + + + + + + + MoonSize + + + Float + + Float + + + + + + + MoonBumpSize + + + Float + + Float + + + + + + + MoonPositionX + + + Float + + Float + + + + + + + MoonPositionY + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + CenterHeightPercentage + + + Int + + Int + + + + + + + CenterWidthPercentage + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + IncludeClouds + + + Switch + + Switch + + + + + + + IncludeMoon + + + Switch + + Switch + + + + + + + LIGHTSKY + + + String + + String + + + + + + + MoonBumpSize + + + Float + + Float + + + + + + + MOONCOLOR + + + String + + String + + + + + + + MoonPositionX + + + Float + + Float + + + + + + + MoonPositionY + + + Float + + Float + + + + + + + MoonSize + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + NumberStars + + + Int + + Int + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SKYCOLOR + + + String + + String + + + + + + + SKYLIGHTNESS + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + STARCOLOR + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSOpacityShader + OBSOpacityShader + Get + + +Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSOpacityShader + + Opacity + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Opacity + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSOutput + OBSOutput + Get + + Get-OBSOutput : GetOutputList + + 0.1.9 + + + Gets the list of available outputs. + Get-OBSOutput calls the OBS WebSocket with a request of type GetOutputList. + + + + Get-OBSOutput + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSOutput + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputlist + + + + + + Get-OBSOutputSettings + OBSOutputSettings + Get + + Get-OBSOutputSettings : GetOutputSettings + + 0.1.9 + + + Gets the settings of an output. + Get-OBSOutputSettings calls the OBS WebSocket with a request of type GetOutputSettings. + + + + Get-OBSOutputSettings + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputsettings + + + + + + Get-OBSOutputStatus + OBSOutputStatus + Get + + Get-OBSOutputStatus : GetOutputStatus + + 0.1.9 + + + Gets the status of an output. + Get-OBSOutputStatus calls the OBS WebSocket with a request of type GetOutputStatus. + + + + Get-OBSOutputStatus + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getoutputstatus + + + + + + Get-OBSPagePeelShader + OBSPagePeelShader + Get + + +Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPagePeelShader + + Speed + + + Float + + Float + + + + + + + Position + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Position + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSPagePeelTransitionShader + OBSPagePeelTransitionShader + Get + + +Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-PageColor] <string>] [[-PageTransparency] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPagePeelTransitionShader + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + PageColor + + + String + + String + + + + + + + PageTransparency + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + ImageA + + + String + + String + + + + + + + ImageB + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PageColor + + + String + + String + + + + + + + PageTransparency + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSPerlinNoiseShader + OBSPerlinNoiseShader + Get + + +Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float>] [[-SpeedVertical] <float>] [[-Iterations] <int>] [[-WhiteNoise] <float>] [[-BlackNoise] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPerlinNoiseShader + + Speed + + + Float + + Float + + + + + + + Animated + + + Switch + + Switch + + + + + + + ApplyToChannel + + + Switch + + Switch + + + + + + + Inverted + + + Switch + + Switch + + + + + + + Multiply + + + Switch + + Switch + + + + + + + SpeedHorizonal + + + Float + + Float + + + + + + + SpeedVertical + + + Float + + Float + + + + + + + Iterations + + + Int + + Int + + + + + + + WhiteNoise + + + Float + + Float + + + + + + + BlackNoise + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Animated + + + Switch + + Switch + + + + + + + ApplyToChannel + + + Switch + + Switch + + + + + + + BlackNoise + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Inverted + + + Switch + + Switch + + + + + + + Iterations + + + Int + + Int + + + + + + + Multiply + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + SpeedHorizonal + + + Float + + Float + + + + + + + SpeedVertical + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + WhiteNoise + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSPersistentData + OBSPersistentData + Get + + Get-OBSPersistentData : GetPersistentData + + 0.1.9 + + + Gets the value of a "slot" from the selected persistent data realm. + Get-OBSPersistentData calls the OBS WebSocket with a request of type GetPersistentData. + + + + Get-OBSPersistentData + + Realm + + The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` + + String + + String + + + + + + + SlotName + + The name of the slot to retrieve data from + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + Realm + + The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` + + String + + String + + + + + + + SlotName + + The name of the slot to retrieve data from + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getpersistentdata + + + + + + Get-OBSPieChartShader + OBSPieChartShader + Get + + +Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-StartAngle] <float>] [[-Total] <int>] [[-Part1] <int>] [[-Color1] <string>] [[-Part2] <int>] [[-Color2] <string>] [[-Part3] <int>] [[-Color3] <string>] [[-Part4] <int>] [[-Color4] <string>] [[-Part5] <int>] [[-Color5] <string>] [[-Part6] <int>] [[-Color6] <string>] [[-Part7] <int>] [[-Color7] <string>] [[-Part8] <int>] [[-Color8] <string>] [[-Part9] <int>] [[-Color9] <string>] [[-Part10] <int>] [[-Color10] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPieChartShader + + InnerRadius + + + Float + + Float + + + + + + + OuterRadius + + + Float + + Float + + + + + + + StartAngle + + + Float + + Float + + + + + + + Total + + + Int + + Int + + + + + + + Part1 + + + Int + + Int + + + + + + + Color1 + + + String + + String + + + + + + + Part2 + + + Int + + Int + + + + + + + Color2 + + + String + + String + + + + + + + Part3 + + + Int + + Int + + + + + + + Color3 + + + String + + String + + + + + + + Part4 + + + Int + + Int + + + + + + + Color4 + + + String + + String + + + + + + + Part5 + + + Int + + Int + + + + + + + Color5 + + + String + + String + + + + + + + Part6 + + + Int + + Int + + + + + + + Color6 + + + String + + String + + + + + + + Part7 + + + Int + + Int + + + + + + + Color7 + + + String + + String + + + + + + + Part8 + + + Int + + Int + + + + + + + Color8 + + + String + + String + + + + + + + Part9 + + + Int + + Int + + + + + + + Color9 + + + String + + String + + + + + + + Part10 + + + Int + + Int + + + + + + + Color10 + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Color1 + + + String + + String + + + + + + + Color10 + + + String + + String + + + + + + + Color2 + + + String + + String + + + + + + + Color3 + + + String + + String + + + + + + + Color4 + + + String + + String + + + + + + + Color5 + + + String + + String + + + + + + + Color6 + + + String + + String + + + + + + + Color7 + + + String + + String + + + + + + + Color8 + + + String + + String + + + + + + + Color9 + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + InnerRadius + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OuterRadius + + + Float + + Float + + + + + + + Part1 + + + Int + + Int + + + + + + + Part10 + + + Int + + Int + + + + + + + Part2 + + + Int + + Int + + + + + + + Part3 + + + Int + + Int + + + + + + + Part4 + + + Int + + Int + + + + + + + Part5 + + + Int + + Int + + + + + + + Part6 + + + Int + + Int + + + + + + + Part7 + + + Int + + Int + + + + + + + Part8 + + + Int + + Int + + + + + + + Part9 + + + Int + + Int + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + StartAngle + + + Float + + Float + + + + + + + Total + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSPixelationShader + OBSPixelationShader + Get + + +Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPixelationShader + + TargetWidth + + + Float + + Float + + + + + + + TargetHeight + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TargetHeight + + + Float + + Float + + + + + + + TargetWidth + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSPixelationTransitionShader + OBSPixelationTransitionShader + Get + + +Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPixelationTransitionShader + + TransitionTime + + + Float + + Float + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + Power + + + Float + + Float + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + ConvertLinear + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Power + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TransitionTime + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSPolarShader + OBSPolarShader + Get + + +Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-PointY] <float>] [[-Rotate] <float>] [[-Repeat] <float>] [[-Scale] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPolarShader + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + PointY + + + Float + + Float + + + + + + + Flip + + + Switch + + Switch + + + + + + + Rotate + + + Float + + Float + + + + + + + Repeat + + + Float + + Float + + + + + + + Scale + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Flip + + + Switch + + Switch + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PointY + + + Float + + Float + + + + + + + Repeat + + + Float + + Float + + + + + + + Rotate + + + Float + + Float + + + + + + + Scale + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSProfile + OBSProfile + Get + + Get-OBSProfile : GetProfileList + + 0.1.9 + + + Gets an array of all profiles + Get-OBSProfile calls the OBS WebSocket with a request of type GetProfileList. + + + + Get-OBSProfile + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSProfile + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofilelist + + + + + + Get-OBSProfileParameter + OBSProfileParameter + Get + + Get-OBSProfileParameter : GetProfileParameter + + 0.1.9 + + + Gets a parameter from the current profile's configuration. + Get-OBSProfileParameter calls the OBS WebSocket with a request of type GetProfileParameter. + + + + Get-OBSProfileParameter + + ParameterCategory + + Category of the parameter to get + + String + + String + + + + + + + ParameterName + + Name of the parameter to get + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + ParameterCategory + + Category of the parameter to get + + String + + String + + + + + + + ParameterName + + Name of the parameter to get + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getprofileparameter + + + + + + Get-OBSPulseShader + OBSPulseShader + Get + + +Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSPulseShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + Speed + + + Float + + Float + + + + + + + MinGrowthPixels + + + Float + + Float + + + + + + + MaxGrowthPixels + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + MaxGrowthPixels + + + Float + + Float + + + + + + + MinGrowthPixels + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRainbowShader + OBSRainbowShader + Get + + +Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-AlphaPercentage] <float>] [[-RotationOffset] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRainbowShader + + Saturation + + + Float + + Float + + + + + + + Luminosity + + + Float + + Float + + + + + + + Spread + + + Float + + Float + + + + + + + Speed + + + Float + + Float + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + Vertical + + + Switch + + Switch + + + + + + + Rotational + + + Switch + + Switch + + + + + + + RotationOffset + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Luminosity + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + Rotational + + + Switch + + Switch + + + + + + + RotationOffset + + + Float + + Float + + + + + + + Saturation + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + Spread + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRainWindowShader + OBSRainWindowShader + Get + + +Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-TrailStrength] <float>] [[-TrailColor] <float>] [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRainWindowShader + + Size + + + Float + + Float + + + + + + + BlurSize + + + Float + + Float + + + + + + + TrailStrength + + + Float + + Float + + + + + + + TrailColor + + + Float + + Float + + + + + + + Speed + + + Float + + Float + + + + + + + DebugShader + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BlurSize + + + Float + + Float + + + + + + + DebugShader + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + Size + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + TrailColor + + + Float + + Float + + + + + + + TrailStrength + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRecordDirectory + OBSRecordDirectory + Get + + Get-OBSRecordDirectory : GetRecordDirectory + + 0.1.9 + + + Gets the current directory that the record output is set to. + Get-OBSRecordDirectory calls the OBS WebSocket with a request of type GetRecordDirectory. + + + + Get-OBSRecordDirectory + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSRecordDirectory + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecorddirectory + + + + + + Get-OBSRecordStatus + OBSRecordStatus + Get + + Get-OBSRecordStatus : GetRecordStatus + + 0.1.9 + + + Gets the status of the record output. + Get-OBSRecordStatus calls the OBS WebSocket with a request of type GetRecordStatus. + + + + Get-OBSRecordStatus + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSRecordStatus + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getrecordstatus + + + + + + Get-OBSRectangularDropShadowShader + OBSRectangularDropShadowShader + Get + + +Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRectangularDropShadowShader + + ShadowOffsetX + + + Int + + Int + + + + + + + ShadowOffsetY + + + Int + + Int + + + + + + + ShadowBlurSize + + + Int + + Int + + + + + + + ShadowColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + ShadowBlurSize + + + Int + + Int + + + + + + + ShadowColor + + + String + + String + + + + + + + ShadowOffsetX + + + Int + + Int + + + + + + + ShadowOffsetY + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSReflectShader + OBSReflectShader + Get + + +Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSReflectShader + + Horizontal + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Horizontal + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + Vertical + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRemovePartialPixelsShader + OBSRemovePartialPixelsShader + Get + + +Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRemovePartialPixelsShader + + MinimumAlphaPercent + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + MinimumAlphaPercent + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRepeatShader + OBSRepeatShader + Get + + +Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Alpha] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRepeatShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + ColorRangeMin + + + System.Single[] + + System.Single[] + + + + + + + ColorRangeMax + + + System.Single[] + + System.Single[] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + Alpha + + + Float + + Float + + + + + + + Copies + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Alpha + + + Float + + Float + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + ColorRangeMax + + + System.Single[] + + System.Single[] + + + + + + + ColorRangeMin + + + System.Single[] + + System.Single[] + + + + + + + Copies + + + Float + + Float + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRepeatTextureShader + OBSRepeatTextureShader + Get + + +Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-TexImage] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Blend] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRepeatTextureShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + ColorRangeMin + + + System.Single[] + + System.Single[] + + + + + + + ColorRangeMax + + + System.Single[] + + System.Single[] + + + + + + + Image + + + String + + String + + + + + + + TexImage + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + Blend + + + Float + + Float + + + + + + + Copies + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + Blend + + + Float + + Float + + + + + + + ColorMatrix + + + System.Single[][] + + System.Single[][] + + + + + + + ColorRangeMax + + + System.Single[] + + System.Single[] + + + + + + + ColorRangeMin + + + System.Single[] + + System.Single[] + + + + + + + Copies + + + Float + + Float + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TexImage + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSReplayBufferStatus + OBSReplayBufferStatus + Get + + Get-OBSReplayBufferStatus : GetReplayBufferStatus + + 0.1.9 + + + Gets the status of the replay buffer output. + Get-OBSReplayBufferStatus calls the OBS WebSocket with a request of type GetReplayBufferStatus. + + + + Get-OBSReplayBufferStatus + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSReplayBufferStatus + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getreplaybufferstatus + + + + + + Get-OBSRGBAPercentShader + OBSRGBAPercentShader + Get + + +Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <float>] [[-BluePercent] <float>] [[-AlphaPercent] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRGBAPercentShader + + RedPercent + + + Float + + Float + + + + + + + GreenPercent + + + Float + + Float + + + + + + + BluePercent + + + Float + + Float + + + + + + + AlphaPercent + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Float + + Float + + + + + + + BluePercent + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GreenPercent + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RedPercent + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRgbColorWheelShader + OBSRgbColorWheelShader + Get + + +Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float>] [[-ColorToReplace] <string>] [[-AlphaPercentage] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRgbColorWheelShader + + Speed + + + Float + + Float + + + + + + + ColorDepth + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + CenterWidthPercentage + + + Int + + Int + + + + + + + CenterHeightPercentage + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + CenterHeightPercentage + + + Int + + Int + + + + + + + CenterWidthPercentage + + + Int + + Int + + + + + + + ColorDepth + + + Float + + Float + + + + + + + ColorToReplace + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRgbSplitShader + OBSRgbSplitShader + Get + + +Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] <float>] [[-Greeny] <float>] [[-Bluex] <float>] [[-Bluey] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRgbSplitShader + + Redx + + + Float + + Float + + + + + + + Redy + + + Float + + Float + + + + + + + Greenx + + + Float + + Float + + + + + + + Greeny + + + Float + + Float + + + + + + + Bluex + + + Float + + Float + + + + + + + Bluey + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Bluex + + + Float + + Float + + + + + + + Bluey + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Greenx + + + Float + + Float + + + + + + + Greeny + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Redx + + + Float + + Float + + + + + + + Redy + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRgbvisibilityShader + OBSRgbvisibilityShader + Get + + +Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-RedVisibility] <float>] [[-GreenVisibility] <float>] [[-BlueVisibility] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRgbvisibilityShader + + Red + + + Float + + Float + + + + + + + Green + + + Float + + Float + + + + + + + Blue + + + Float + + Float + + + + + + + RedVisibility + + + Float + + Float + + + + + + + GreenVisibility + + + Float + + Float + + + + + + + BlueVisibility + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Blue + + + Float + + Float + + + + + + + BlueVisibility + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Green + + + Float + + Float + + + + + + + GreenVisibility + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Red + + + Float + + Float + + + + + + + RedVisibility + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRGSSAAShader + OBSRGSSAAShader + Get + + +Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRGSSAAShader + + ColorSigma + + + Float + + Float + + + + + + + SpatialSigma + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ColorSigma + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpatialSigma + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRippleShader + OBSRippleShader + Get + + +Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float>] [[-PowerFactor] <float>] [[-CenterPosX] <float>] [[-CenterPosY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRippleShader + + DistanceFactor + + + Float + + Float + + + + + + + TimeFactor + + + Float + + Float + + + + + + + PowerFactor + + + Float + + Float + + + + + + + CenterPosX + + + Float + + Float + + + + + + + CenterPosY + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterPosX + + + Float + + Float + + + + + + + CenterPosY + + + Float + + Float + + + + + + + DistanceFactor + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PowerFactor + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + TimeFactor + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRotatingSourceShader + OBSRotatingSourceShader + Get + + +Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float>] [[-Zoomin] <float>] [[-XCenter] <float>] [[-YCenter] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRotatingSourceShader + + SpinSpeed + + + Float + + Float + + + + + + + Rotation + + + Float + + Float + + + + + + + Zoomin + + + Float + + Float + + + + + + + KeepAspectratio + + + Switch + + Switch + + + + + + + XCenter + + + Float + + Float + + + + + + + YCenter + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + KeepAspectratio + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Rotation + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpinSpeed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + XCenter + + + Float + + Float + + + + + + + YCenter + + + Float + + Float + + + + + + + Zoomin + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRotatoeShader + OBSRotatoeShader + Get + + +Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-SpeedPercent] <int>] [[-AxisX] <float>] [[-AxisY] <float>] [[-AxisZ] <float>] [[-AngleDegrees] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRotatoeShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + AxisX + + + Float + + Float + + + + + + + AxisY + + + Float + + Float + + + + + + + AxisZ + + + Float + + Float + + + + + + + AngleDegrees + + + Float + + Float + + + + + + + RotateTransform + + + Switch + + Switch + + + + + + + RotatePixels + + + Switch + + Switch + + + + + + + RotateColors + + + Switch + + Switch + + + + + + + CenterWidthPercentage + + + Int + + Int + + + + + + + CenterHeightPercentage + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AngleDegrees + + + Float + + Float + + + + + + + AxisX + + + Float + + Float + + + + + + + AxisY + + + Float + + Float + + + + + + + AxisZ + + + Float + + Float + + + + + + + CenterHeightPercentage + + + Int + + Int + + + + + + + CenterWidthPercentage + + + Int + + Int + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + RotateColors + + + Switch + + Switch + + + + + + + RotatePixels + + + Switch + + Switch + + + + + + + RotateTransform + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRoundedRect2Shader + OBSRoundedRect2Shader + Get + + +Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRoundedRect2Shader + + CornerRadius + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + BorderColor + + + String + + String + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + FasterScan + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CornerRadius + + + Int + + Int + + + + + + + FasterScan + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRoundedRectPerCornerShader + OBSRoundedRectPerCornerShader + Get + + +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiusTr] <int>] [[-CornerRadiusBr] <int>] [[-CornerRadiusBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRoundedRectPerCornerShader + + CornerRadiusTl + + + Int + + Int + + + + + + + CornerRadiusTr + + + Int + + Int + + + + + + + CornerRadiusBr + + + Int + + Int + + + + + + + CornerRadiusBl + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + BorderColor + + + String + + String + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CornerRadiusBl + + + Int + + Int + + + + + + + CornerRadiusBr + + + Int + + Int + + + + + + + CornerRadiusTl + + + Int + + Int + + + + + + + CornerRadiusTr + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRoundedRectPerSideShader + OBSRoundedRectPerSideShader + Get + + +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRadiusLeft] <int>] [[-CornerRadiusTop] <int>] [[-CornerRadiusRight] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRoundedRectPerSideShader + + CornerRadiusBottom + + + Int + + Int + + + + + + + CornerRadiusLeft + + + Int + + Int + + + + + + + CornerRadiusTop + + + Int + + Int + + + + + + + CornerRadiusRight + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + BorderColor + + + String + + String + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaCutOff + + + Float + + Float + + + + + + + BorderAlphaEnd + + + Float + + Float + + + + + + + BorderAlphaStart + + + Float + + Float + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CornerRadiusBottom + + + Int + + Int + + + + + + + CornerRadiusLeft + + + Int + + Int + + + + + + + CornerRadiusRight + + + Int + + Int + + + + + + + CornerRadiusTop + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRoundedRectShader + OBSRoundedRectShader + Get + + +Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRoundedRectShader + + CornerRadius + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + BorderColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CornerRadius + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRoundedStrokeGradientShader + OBSRoundedStrokeGradientShader + Get + + +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-RotationSpeed] <int>] [[-BorderColorL] <string>] [[-BorderColorR] <string>] [[-CenterWidth] <int>] [[-CenterHeight] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRoundedStrokeGradientShader + + CornerRadius + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + MinimumAlphaPercent + + + Int + + Int + + + + + + + RotationSpeed + + + Int + + Int + + + + + + + BorderColorL + + + String + + String + + + + + + + BorderColorR + + + String + + String + + + + + + + CenterWidth + + + Int + + Int + + + + + + + CenterHeight + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BorderColorL + + + String + + String + + + + + + + BorderColorR + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CenterHeight + + + Int + + Int + + + + + + + CenterWidth + + + Int + + Int + + + + + + + CornerRadius + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + MinimumAlphaPercent + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RotationSpeed + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSRoundedStrokeShader + OBSRoundedStrokeShader + Get + + +Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSRoundedStrokeShader + + CornerRadius + + + Int + + Int + + + + + + + BorderThickness + + + Int + + Int + + + + + + + MinimumAlphaPercent + + + Int + + Int + + + + + + + BorderColor + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BorderColor + + + String + + String + + + + + + + BorderThickness + + + Int + + Int + + + + + + + CornerRadius + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + MinimumAlphaPercent + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSScanLineShader + OBSScanLineShader + Get + + +Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor] <float>] [[-Period] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSScanLineShader + + Lengthwise + + + Switch + + Switch + + + + + + + Animate + + + Switch + + Switch + + + + + + + Speed + + + Float + + Float + + + + + + + Angle + + + Float + + Float + + + + + + + Shift + + + Switch + + Switch + + + + + + + Boost + + + Switch + + Switch + + + + + + + Floor + + + Float + + Float + + + + + + + Period + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Angle + + + Float + + Float + + + + + + + Animate + + + Switch + + Switch + + + + + + + Boost + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Floor + + + Float + + Float + + + + + + + Force + + + Switch + + Switch + + + + + + + Lengthwise + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Period + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + Shift + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSScene + OBSScene + Get + + Get-OBSScene : GetSceneList + + 0.1.9 + + + Gets an array of all scenes in OBS. + Get-OBSScene calls the OBS WebSocket with a request of type GetSceneList. + + + + Get-OBSScene + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSScene + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenelist + + + + + + Get-OBSSceneCollection + OBSSceneCollection + Get + + Get-OBSSceneCollection : GetSceneCollectionList + + 0.1.9 + + + Gets an array of all scene collections + Get-OBSSceneCollection calls the OBS WebSocket with a request of type GetSceneCollectionList. + + + + Get-OBSSceneCollection + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSSceneCollection + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenecollectionlist + + + + + + Get-OBSSceneItem + OBSSceneItem + Get + + Get-OBSSceneItem : GetSceneItemList + + 0.1.9 + + + Gets a list of all scene items in a scene. + Scenes only + Get-OBSSceneItem calls the OBS WebSocket with a request of type GetSceneItemList. + + + + Get-OBSSceneItem + + SceneName + + Name of the scene to get the items of + + String + + String + + + + + + + SceneUuid + + UUID of the scene to get the items of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the scene to get the items of + + String + + String + + + + + + + SceneUuid + + UUID of the scene to get the items of + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlist + + + + + + Get-OBSSceneItemBlendMode + OBSSceneItemBlendMode + Get + + Get-OBSSceneItemBlendMode : GetSceneItemBlendMode + + 0.1.9 + + + Gets the blend mode of a scene item. + Blend modes: + - `OBS_BLEND_NORMAL` + - `OBS_BLEND_ADDITIVE` + - `OBS_BLEND_SUBTRACT` + - `OBS_BLEND_SCREEN` + - `OBS_BLEND_MULTIPLY` + - `OBS_BLEND_LIGHTEN` + - `OBS_BLEND_DARKEN` + Scenes and Groups + Get-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type GetSceneItemBlendMode. + + + + Get-OBSSceneItemBlendMode + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemblendmode + + + + + + Get-OBSSceneItemEnabled + OBSSceneItemEnabled + Get + + Get-OBSSceneItemEnabled : GetSceneItemEnabled + + 0.1.9 + + + Gets the enable state of a scene item. + Scenes and Groups + Get-OBSSceneItemEnabled calls the OBS WebSocket with a request of type GetSceneItemEnabled. + + + + Get-OBSSceneItemEnabled + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemenabled + + + + + + Get-OBSSceneItemId + OBSSceneItemId + Get + + Get-OBSSceneItemId : GetSceneItemId + + 0.1.9 + + + Searches a scene for a source, and returns its id. + Scenes and Groups + Get-OBSSceneItemId calls the OBS WebSocket with a request of type GetSceneItemId. + + + + Get-OBSSceneItemId + + SceneName + + Name of the scene or group to search in + + String + + String + + + + + + + SceneUuid + + UUID of the scene or group to search in + + String + + String + + + + + + + SourceName + + Name of the source to find + + String + + String + + + + + + + SearchOffset + + Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the scene or group to search in + + String + + String + + + + + + + SceneUuid + + UUID of the scene or group to search in + + String + + String + + + + + + + SearchOffset + + Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item + + Double + + Double + + + + + + + SourceName + + Name of the source to find + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemid + + + + + + Get-OBSSceneItemIndex + OBSSceneItemIndex + Get + + Get-OBSSceneItemIndex : GetSceneItemIndex + + 0.1.9 + + + Gets the index position of a scene item in a scene. + An index of 0 is at the bottom of the source list in the UI. + Scenes and Groups + Get-OBSSceneItemIndex calls the OBS WebSocket with a request of type GetSceneItemIndex. + + + + Get-OBSSceneItemIndex + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemindex + + + + + + Get-OBSSceneItemLocked + OBSSceneItemLocked + Get + + Get-OBSSceneItemLocked : GetSceneItemLocked + + 0.1.9 + + + Gets the lock state of a scene item. + Scenes and Groups + Get-OBSSceneItemLocked calls the OBS WebSocket with a request of type GetSceneItemLocked. + + + + Get-OBSSceneItemLocked + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemlocked + + + + + + Get-OBSSceneItemSource + OBSSceneItemSource + Get + + Get-OBSSceneItemSource : GetSceneItemSource + + 0.1.9 + + + Gets the source associated with a scene item. + Get-OBSSceneItemSource calls the OBS WebSocket with a request of type GetSceneItemSource. + + + + Get-OBSSceneItemSource + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemsource + + + + + + Get-OBSSceneItemTransform + OBSSceneItemTransform + Get + + Get-OBSSceneItemTransform : GetSceneItemTransform + + 0.1.9 + + + Gets the transform and crop info of a scene item. + Scenes and Groups + Get-OBSSceneItemTransform calls the OBS WebSocket with a request of type GetSceneItemTransform. + + + + Get-OBSSceneItemTransform + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsceneitemtransform + + + + + + Get-OBSSceneSceneTransitionOverride + OBSSceneSceneTransitionOverride + Get + + Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride + + 0.1.9 + + + Gets the scene transition overridden for a scene. + Note: A transition UUID response field is not currently able to be implemented as of 2024-1-18. + Get-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type GetSceneSceneTransitionOverride. + + + + Get-OBSSceneSceneTransitionOverride + + SceneName + + Name of the scene + + String + + String + + + + + + + SceneUuid + + UUID of the scene + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the scene + + String + + String + + + + + + + SceneUuid + + UUID of the scene + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenescenetransitionoverride + + + + + + Get-OBSSceneTransition + OBSSceneTransition + Get + + Get-OBSSceneTransition : GetSceneTransitionList + + 0.1.9 + + + Gets an array of all scene transitions in OBS. + Get-OBSSceneTransition calls the OBS WebSocket with a request of type GetSceneTransitionList. + + + + Get-OBSSceneTransition + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSSceneTransition + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getscenetransitionlist + + + + + + Get-OBSSeascapeShader + OBSSeascapeShader + Get + + +Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] [[-SEASPEED] <float>] [[-SEAFREQ] <float>] [[-SEABASE] <string>] [[-SEAWATERCOLOR] <string>] [[-CAMERASPEED] <float>] [[-CAMERATURNSPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSeascapeShader + + AA + + + Switch + + Switch + + + + + + + SEAHEIGHT + + + Float + + Float + + + + + + + SEACHOPPY + + + Float + + Float + + + + + + + SEASPEED + + + Float + + Float + + + + + + + SEAFREQ + + + Float + + Float + + + + + + + SEABASE + + + String + + String + + + + + + + SEAWATERCOLOR + + + String + + String + + + + + + + CAMERASPEED + + + Float + + Float + + + + + + + CAMERATURNSPEED + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AA + + + Switch + + Switch + + + + + + + CAMERASPEED + + + Float + + Float + + + + + + + CAMERATURNSPEED + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + SEABASE + + + String + + String + + + + + + + SEACHOPPY + + + Float + + Float + + + + + + + SEAFREQ + + + Float + + Float + + + + + + + SEAHEIGHT + + + Float + + Float + + + + + + + SEASPEED + + + Float + + Float + + + + + + + SEAWATERCOLOR + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSeasickShader + OBSSeasickShader + Get + + +Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-Speed] <float>] [[-Frequency] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSeasickShader + + Notes + + + String + + String + + + + + + + Amplitude + + + Float + + Float + + + + + + + Speed + + + Float + + Float + + + + + + + Frequency + + + Float + + Float + + + + + + + Opacity + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Amplitude + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Frequency + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + Opacity + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSelectiveColorShader + OBSSelectiveColorShader + Get + + +Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <float>] [[-CutoffBlue] <float>] [[-CutoffYellow] <float>] [[-AcceptanceAmplifier] <float>] [[-Notes] <string>] [[-BackgroundType] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSelectiveColorShader + + CutoffRed + + + Float + + Float + + + + + + + CutoffGreen + + + Float + + Float + + + + + + + CutoffBlue + + + Float + + Float + + + + + + + CutoffYellow + + + Float + + Float + + + + + + + AcceptanceAmplifier + + + Float + + Float + + + + + + + ShowRed + + + Switch + + Switch + + + + + + + ShowGreen + + + Switch + + Switch + + + + + + + ShowBlue + + + Switch + + Switch + + + + + + + ShowYellow + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + BackgroundType + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AcceptanceAmplifier + + + Float + + Float + + + + + + + BackgroundType + + + Int + + Int + + + + + + + CutoffBlue + + + Float + + Float + + + + + + + CutoffGreen + + + Float + + Float + + + + + + + CutoffRed + + + Float + + Float + + + + + + + CutoffYellow + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + ShowBlue + + + Switch + + Switch + + + + + + + ShowGreen + + + Switch + + Switch + + + + + + + ShowRed + + + Switch + + Switch + + + + + + + ShowYellow + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSShakeShader + OBSShakeShader + Get + + +Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-LocalTime] <float>] [[-RandomScale] <float>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSShakeShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + LocalTime + + + Float + + Float + + + + + + + RandomScale + + + Float + + Float + + + + + + + Worble + + + Switch + + Switch + + + + + + + Speed + + + Float + + Float + + + + + + + MinGrowthPixels + + + Float + + Float + + + + + + + MaxGrowthPixels + + + Float + + Float + + + + + + + RandomizeMovement + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + LocalTime + + + Float + + Float + + + + + + + MaxGrowthPixels + + + Float + + Float + + + + + + + MinGrowthPixels + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + RandomizeMovement + + + Switch + + Switch + + + + + + + RandomScale + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Speed + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Worble + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSShineShader + OBSShineShader + Get + + +Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-SpeedPercent] <int>] [[-GradientPercent] <int>] [[-DelayPercent] <int>] [[-Notes] <string>] [[-StartAdjust] <float>] [[-StopAdjust] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSShineShader + + LTex + + + String + + String + + + + + + + ShineColor + + + String + + String + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + GradientPercent + + + Int + + Int + + + + + + + DelayPercent + + + Int + + Int + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + Ease + + + Switch + + Switch + + + + + + + Hide + + + Switch + + Switch + + + + + + + Reverse + + + Switch + + Switch + + + + + + + OneDirection + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + StartAdjust + + + Float + + Float + + + + + + + StopAdjust + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + DelayPercent + + + Int + + Int + + + + + + + Ease + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + GradientPercent + + + Int + + Int + + + + + + + Hide + + + Switch + + Switch + + + + + + + LTex + + + String + + String + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + OneDirection + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Reverse + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + ShineColor + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + StartAdjust + + + Float + + Float + + + + + + + StopAdjust + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSimpleGradientShader + OBSSimpleGradientShader + Get + + +Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSimpleGradientShader + + SpeedPercentage + + + Int + + Int + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + LensFlair + + + Switch + + Switch + + + + + + + AnimateLensFlair + + + Switch + + Switch + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Int + + Int + + + + + + + AnimateLensFlair + + + Switch + + Switch + + + + + + + ApplyToAlphaLayer + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + LensFlair + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercentage + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSimplexNoiseShader + OBSSimplexNoiseShader + Get + + +Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <float>] [[-Resolution] <float>] [[-ForeColor] <string>] [[-BackColor] <string>] [[-AlphaPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSimplexNoiseShader + + SnapPercent + + + Float + + Float + + + + + + + SpeedPercent + + + Float + + Float + + + + + + + Resolution + + + Float + + Float + + + + + + + Fractal + + + Switch + + Switch + + + + + + + UseAlphaLayer + + + Switch + + Switch + + + + + + + ForeColor + + + String + + String + + + + + + + BackColor + + + String + + String + + + + + + + AlphaPercent + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercent + + + Float + + Float + + + + + + + BackColor + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + ForeColor + + + String + + String + + + + + + + Fractal + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Resolution + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SnapPercent + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Float + + Float + + + + + + + UseAlphaLayer + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSmartDenoiseShader + OBSSmartDenoiseShader + Get + + +Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [[-UThreshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSmartDenoiseShader + + USigma + + + Float + + Float + + + + + + + UKSigma + + + Float + + Float + + + + + + + UThreshold + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UKSigma + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + USigma + + + Float + + Float + + + + + + + UThreshold + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSourceActive + OBSSourceActive + Get + + Get-OBSSourceActive : GetSourceActive + + 0.1.9 + + + Gets the active and show state of a source. + **Compatible with inputs and scenes.** + Get-OBSSourceActive calls the OBS WebSocket with a request of type GetSourceActive. + + + + Get-OBSSourceActive + + SourceName + + Name of the source to get the active state of + + String + + String + + + + + + + SourceUuid + + UUID of the source to get the active state of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source to get the active state of + + String + + String + + + + + + + SourceUuid + + UUID of the source to get the active state of + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourceactive + + + + + + Get-OBSSourceFilter + OBSSourceFilter + Get + + Get-OBSSourceFilter : GetSourceFilter + + 0.1.9 + + + Gets the info for a specific source filter. + Get-OBSSourceFilter calls the OBS WebSocket with a request of type GetSourceFilter. + + + + Get-OBSSourceFilter + + SourceName + + Name of the source + + String + + String + + + + + + + SourceUuid + + UUID of the source + + String + + String + + + + + + + FilterName + + Name of the filter + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterName + + Name of the filter + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source + + String + + String + + + + + + + SourceUuid + + UUID of the source + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilter + + + + + + Get-OBSSourceFilterDefaultSettings + OBSSourceFilterDefaultSettings + Get + + Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings + + 0.1.9 + + + Gets the default settings for a filter kind. + Get-OBSSourceFilterDefaultSettings calls the OBS WebSocket with a request of type GetSourceFilterDefaultSettings. + + + + Get-OBSSourceFilterDefaultSettings + + FilterKind + + Filter kind to get the default settings for + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterKind + + Filter kind to get the default settings for + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterdefaultsettings + + + + + + Get-OBSSourceFilterKind + OBSSourceFilterKind + Get + + Get-OBSSourceFilterKind : GetSourceFilterKindList + + 0.1.9 + + + Gets an array of all available source filter kinds. + Similar to `GetInputKindList` + Get-OBSSourceFilterKind calls the OBS WebSocket with a request of type GetSourceFilterKindList. + + + + Get-OBSSourceFilterKind + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSSourceFilterKind + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterkindlist + + + + + + Get-OBSSourceFilterList + OBSSourceFilterList + Get + + Get-OBSSourceFilterList : GetSourceFilterList + + 0.1.9 + + + Gets an array of all of a source's filters. + Get-OBSSourceFilterList calls the OBS WebSocket with a request of type GetSourceFilterList. + + + + Get-OBSSourceFilterList + + SourceName + + Name of the source + + String + + String + + + + + + + SourceUuid + + UUID of the source + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source + + String + + String + + + + + + + SourceUuid + + UUID of the source + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcefilterlist + + + + + + Get-OBSSourceScreenshot + OBSSourceScreenshot + Get + + Get-OBSSourceScreenshot : GetSourceScreenshot + + 0.1.9 + + + Gets a Base64-encoded screenshot of a source. + The `imageWidth` and `imageHeight` parameters are treated as "scale to inner", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept. + If `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source. + **Compatible with inputs and scenes.** + Get-OBSSourceScreenshot calls the OBS WebSocket with a request of type GetSourceScreenshot. + + + + Get-OBSSourceScreenshot + + SourceName + + Name of the source to take a screenshot of + + String + + String + + + + + + + SourceUuid + + UUID of the source to take a screenshot of + + String + + String + + + + + + + ImageFormat + + Image compression format to use. Use `GetVersion` to get compatible image formats + + String + + String + + + + + + + ImageWidth + + Width to scale the screenshot to + + Double + + Double + + + + + + + ImageHeight + + Height to scale the screenshot to + + Double + + Double + + + + + + + ImageCompressionQuality + + Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + ImageCompressionQuality + + Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) + + Double + + Double + + + + + + + ImageFormat + + Image compression format to use. Use `GetVersion` to get compatible image formats + + String + + String + + + + + + + ImageHeight + + Height to scale the screenshot to + + Double + + Double + + + + + + + ImageWidth + + Width to scale the screenshot to + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source to take a screenshot of + + String + + String + + + + + + + SourceUuid + + UUID of the source to take a screenshot of + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getsourcescreenshot + + + + + + Get-OBSSpecialInputs + OBSSpecialInputs + Get + + Get-OBSSpecialInputs : GetSpecialInputs + + 0.1.9 + + + Gets the names of all special inputs. + Get-OBSSpecialInputs calls the OBS WebSocket with a request of type GetSpecialInputs. + + + + Get-OBSSpecialInputs + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSSpecialInputs + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getspecialinputs + + + + + + Get-OBSSpecularShineShader + OBSSpecularShineShader + Get + + +Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] [[-LightStrength] <float>] [[-LightPositionX] <float>] [[-LightPositionY] <float>] [[-FlattenNormal] <float>] [[-StretchNormalX] <float>] [[-StretchNormalY] <float>] [[-LightColor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSpecularShineShader + + Hint + + + String + + String + + + + + + + Roughness + + + Float + + Float + + + + + + + LightStrength + + + Float + + Float + + + + + + + LightPositionX + + + Float + + Float + + + + + + + LightPositionY + + + Float + + Float + + + + + + + FlattenNormal + + + Float + + Float + + + + + + + StretchNormalX + + + Float + + Float + + + + + + + StretchNormalY + + + Float + + Float + + + + + + + LightColor + + + System.Single[] + + System.Single[] + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + FlattenNormal + + + Float + + Float + + + + + + + Force + + + Switch + + Switch + + + + + + + Hint + + + String + + String + + + + + + + LightColor + + + System.Single[] + + System.Single[] + + + + + + + LightPositionX + + + Float + + Float + + + + + + + LightPositionY + + + Float + + Float + + + + + + + LightStrength + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Roughness + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + StretchNormalX + + + Float + + Float + + + + + + + StretchNormalY + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSSpotlightShader + OBSSpotlightShader + Get + + +Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <float>] [[-SpotlightColor] <string>] [[-HorizontalOffset] <float>] [[-VerticalOffset] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSpotlightShader + + SpeedPercent + + + Float + + Float + + + + + + + FocusPercent + + + Float + + Float + + + + + + + Glitch + + + Switch + + Switch + + + + + + + SpotlightColor + + + String + + String + + + + + + + HorizontalOffset + + + Float + + Float + + + + + + + VerticalOffset + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + FocusPercent + + + Float + + Float + + + + + + + Force + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + HorizontalOffset + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Float + + Float + + + + + + + SpotlightColor + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + VerticalOffset + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSStats + OBSStats + Get + + Get-OBSStats : GetStats + + 0.1.9 + + + Gets statistics about OBS, obs-websocket, and the current session. + Get-OBSStats calls the OBS WebSocket with a request of type GetStats. + + + + Get-OBSStats + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSStats + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstats + + + + + + Get-OBSStreamServiceSettings + OBSStreamServiceSettings + Get + + Get-OBSStreamServiceSettings : GetStreamServiceSettings + + 0.1.9 + + + Gets the current stream service settings (stream destination). + Get-OBSStreamServiceSettings calls the OBS WebSocket with a request of type GetStreamServiceSettings. + + + + Get-OBSStreamServiceSettings + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSStreamServiceSettings + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamservicesettings + + + + + + Get-OBSStreamStatus + OBSStreamStatus + Get + + Get-OBSStreamStatus : GetStreamStatus + + 0.1.9 + + + Gets the status of the stream output. + Get-OBSStreamStatus calls the OBS WebSocket with a request of type GetStreamStatus. + + + + Get-OBSStreamStatus + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSStreamStatus + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamstatus + + + + + + Get-OBSStudioModeEnabled + OBSStudioModeEnabled + Get + + Get-OBSStudioModeEnabled : GetStudioModeEnabled + + 0.1.9 + + + Gets whether studio is enabled. + Get-OBSStudioModeEnabled calls the OBS WebSocket with a request of type GetStudioModeEnabled. + + + + Get-OBSStudioModeEnabled + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSStudioModeEnabled + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstudiomodeenabled + + + + + + Get-OBSSwirlShader + OBSSwirlShader + Get + + +Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSSwirlShader + + Radius + + + Float + + Float + + + + + + + Angle + + + Float + + Float + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + Animate + + + Switch + + Switch + + + + + + + Inverse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Angle + + + Float + + Float + + + + + + + Animate + + + Switch + + Switch + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Inverse + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Radius + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSTetraShader + OBSTetraShader + Get + + +Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] <float>] [[-YelR] <float>] [[-YelG] <float>] [[-YelB] <float>] [[-GrnR] <float>] [[-GrnG] <float>] [[-GrnB] <float>] [[-CynR] <float>] [[-CynG] <float>] [[-CynB] <float>] [[-BluR] <float>] [[-BluG] <float>] [[-BluB] <float>] [[-MagR] <float>] [[-MagG] <float>] [[-MagB] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSTetraShader + + RedR + + + Float + + Float + + + + + + + RedG + + + Float + + Float + + + + + + + RedB + + + Float + + Float + + + + + + + YelR + + + Float + + Float + + + + + + + YelG + + + Float + + Float + + + + + + + YelB + + + Float + + Float + + + + + + + GrnR + + + Float + + Float + + + + + + + GrnG + + + Float + + Float + + + + + + + GrnB + + + Float + + Float + + + + + + + CynR + + + Float + + Float + + + + + + + CynG + + + Float + + Float + + + + + + + CynB + + + Float + + Float + + + + + + + BluR + + + Float + + Float + + + + + + + BluG + + + Float + + Float + + + + + + + BluB + + + Float + + Float + + + + + + + MagR + + + Float + + Float + + + + + + + MagG + + + Float + + Float + + + + + + + MagB + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + BluB + + + Float + + Float + + + + + + + BluG + + + Float + + Float + + + + + + + BluR + + + Float + + Float + + + + + + + CynB + + + Float + + Float + + + + + + + CynG + + + Float + + Float + + + + + + + CynR + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + GrnB + + + Float + + Float + + + + + + + GrnG + + + Float + + Float + + + + + + + GrnR + + + Float + + Float + + + + + + + MagB + + + Float + + Float + + + + + + + MagG + + + Float + + Float + + + + + + + MagR + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RedB + + + Float + + Float + + + + + + + RedG + + + Float + + Float + + + + + + + RedR + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + YelB + + + Float + + Float + + + + + + + YelG + + + Float + + Float + + + + + + + YelR + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSThermalShader + OBSThermalShader + Get + + +Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSThermalShader + + Strength + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Strength + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSTransitionKind + OBSTransitionKind + Get + + Get-OBSTransitionKind : GetTransitionKindList + + 0.1.9 + + + Gets an array of all available transition kinds. + Similar to `GetInputKindList` + Get-OBSTransitionKind calls the OBS WebSocket with a request of type GetTransitionKindList. + + + + Get-OBSTransitionKind + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSTransitionKind + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#gettransitionkindlist + + + + + + Get-OBSTvCrtSubpixelShader + OBSTvCrtSubpixelShader + Get + + +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <int>] [[-HGap] <int>] [[-VGap] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSTvCrtSubpixelShader + + ChannelWidth + + + Int + + Int + + + + + + + ChannelHeight + + + Int + + Int + + + + + + + HGap + + + Int + + Int + + + + + + + VGap + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ChannelHeight + + + Int + + Int + + + + + + + ChannelWidth + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + HGap + + + Int + + Int + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + VGap + + + Int + + Int + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSTwistShader + OBSTwistShader + Get + + +Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-Rotation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSTwistShader + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + Power + + + Float + + Float + + + + + + + Rotation + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Power + + + Float + + Float + + + + + + + Rotation + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSTwoPassDropShadowShader + OBSTwoPassDropShadowShader + Get + + +Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSTwoPassDropShadowShader + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + Image + + + String + + String + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + RandF + + + Float + + Float + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ShadowOffsetX + + + Int + + Int + + + + + + + ShadowOffsetY + + + Int + + Int + + + + + + + ShadowBlurSize + + + Int + + Int + + + + + + + ShadowColor + + + String + + String + + + + + + + IsAlphaPremultiplied + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + ElapsedTime + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Image + + + String + + String + + + + + + + IsAlphaPremultiplied + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + RandF + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + ShadowBlurSize + + + Int + + Int + + + + + + + ShadowColor + + + String + + String + + + + + + + ShadowOffsetX + + + Int + + Int + + + + + + + ShadowOffsetY + + + Int + + Int + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + UvOffset + + + System.Single[] + + System.Single[] + + + + + + + UvPixelInterval + + + System.Single[] + + System.Single[] + + + + + + + UvScale + + + System.Single[] + + System.Single[] + + + + + + + UvSize + + + System.Single[] + + System.Single[] + + + + + + + ViewProj + + + System.Single[][] + + System.Single[][] + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSVCRShader + OBSVCRShader + Get + + +Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[-Vignet] <float>] [[-Stripe] <float>] [[-VerticalFactor] <float>] [[-VerticalHeight] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSVCRShader + + VerticalShift + + + Float + + Float + + + + + + + Distort + + + Float + + Float + + + + + + + Vignet + + + Float + + Float + + + + + + + Stripe + + + Float + + Float + + + + + + + VerticalFactor + + + Float + + Float + + + + + + + VerticalHeight + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Distort + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + Stripe + + + Float + + Float + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + VerticalFactor + + + Float + + Float + + + + + + + VerticalHeight + + + Float + + Float + + + + + + + VerticalShift + + + Float + + Float + + + + + + + Vignet + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSVersion + OBSVersion + Get + + Get-OBSVersion : GetVersion + + 0.1.9 + + + Gets data about the current plugin and RPC version. + Get-OBSVersion calls the OBS WebSocket with a request of type GetVersion. + + + + Get-OBSVersion + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSVersion + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getversion + + + + + + Get-OBSVHSShader + OBSVHSShader + Get + + +Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[-NoiseQuality] <float>] [[-NoiseIntensity] <float>] [[-ColorOffsetIntensity] <float>] [[-AlphaPercentage] <float>] [[-ColorToReplace] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSVHSShader + + Range + + + Float + + Float + + + + + + + OffsetIntensity + + + Float + + Float + + + + + + + NoiseQuality + + + Float + + Float + + + + + + + NoiseIntensity + + + Float + + Float + + + + + + + ColorOffsetIntensity + + + Float + + Float + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ColorToReplace + + + String + + String + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + AlphaPercentage + + + Float + + Float + + + + + + + ApplyToImage + + + Switch + + Switch + + + + + + + ApplyToSpecificColor + + + Switch + + Switch + + + + + + + ColorOffsetIntensity + + + Float + + Float + + + + + + + ColorToReplace + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoiseIntensity + + + Float + + Float + + + + + + + NoiseQuality + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + OffsetIntensity + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Range + + + Float + + Float + + + + + + + ReplaceImageColor + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSVideoSettings + OBSVideoSettings + Get + + Get-OBSVideoSettings : GetVideoSettings + + 0.1.9 + + + Gets the current video settings. + Note: To get the true FPS value, divide the FPS numerator by the FPS denominator. Example: `60000/1001` + Get-OBSVideoSettings calls the OBS WebSocket with a request of type GetVideoSettings. + + + + Get-OBSVideoSettings + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSVideoSettings + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvideosettings + + + + + + Get-OBSVignettingShader + OBSVignettingShader + Get + + +Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-Opacity] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSVignettingShader + + InnerRadius + + + Float + + Float + + + + + + + OuterRadius + + + Float + + Float + + + + + + + Opacity + + + Float + + Float + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + InnerRadius + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + Opacity + + + Float + + Float + + + + + + + OuterRadius + + + Float + + Float + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSVirtualCamStatus + OBSVirtualCamStatus + Get + + Get-OBSVirtualCamStatus : GetVirtualCamStatus + + 0.1.9 + + + Gets the status of the virtualcam output. + Get-OBSVirtualCamStatus calls the OBS WebSocket with a request of type GetVirtualCamStatus. + + + + Get-OBSVirtualCamStatus + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-OBSVirtualCamStatus + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getvirtualcamstatus + + + + + + Get-OBSVoronoiPixelationShader + OBSVoronoiPixelationShader + Get + + +Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSVoronoiPixelationShader + + PixH + + + Float + + Float + + + + + + + Alternative + + + Switch + + Switch + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Alternative + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + PixH + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSZigZagShader + OBSZigZagShader + Get + + +Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period] <float>] [[-Amplitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Phase] <float>] [[-Animate] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSZigZagShader + + Radius + + + Float + + Float + + + + + + + Angle + + + Float + + Float + + + + + + + Period + + + Float + + Float + + + + + + + Amplitude + + + Float + + Float + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + Phase + + + Float + + Float + + + + + + + Animate + + + Int + + Int + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Amplitude + + + Float + + Float + + + + + + + Angle + + + Float + + Float + + + + + + + Animate + + + Int + + Int + + + + + + + CenterX + + + Float + + Float + + + + + + + CenterY + + + Float + + Float + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Period + + + Float + + Float + + + + + + + Phase + + + Float + + Float + + + + + + + Radius + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSZoomBlurShader + OBSZoomBlurShader + Get + + +Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-SpeedPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSZoomBlurShader + + Samples + + + Int + + Int + + + + + + + Magnitude + + + Float + + Float + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + Ease + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + Ease + + + Switch + + Switch + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + Glitch + + + Switch + + Switch + + + + + + + Magnitude + + + Float + + Float + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + Notes + + + String + + String + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Samples + + + Int + + Int + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + SpeedPercent + + + Int + + Int + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSZoomShader + OBSZoomShader + Get + + +Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSZoomShader + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + Power + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + Power + + + Float + + Float + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Get-OBSZoomXYShader + OBSZoomXYShader + Get + + +Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-XPower] <float>] [[-YPower] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] + + + 0.1.9 + + + + + + Get-OBSZoomXYShader + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + XPower + + + Float + + Float + + + + + + + YPower + + + Float + + Float + + + + + + + SourceName + + + String + + String + + + + + + + FilterName + + + String + + String + + + + + + + ShaderText + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + + + + CenterXPercent + + + Int + + Int + + + + + + + CenterYPercent + + + Int + + Int + + + + + + + FilterName + + + String + + String + + + + + + + Force + + + Switch + + Switch + + + + + + + NoResponse + + + Switch + + Switch + + + + + + + PassThru + + + Switch + + Switch + + + + + + + ShaderText + + + String + + String + + + + + + + SourceName + + + String + + String + + + + + + + UseShaderTime + + + Switch + + Switch + + + + + + + XPower + + + Float + + Float + + + + + + + YPower + + + Float + + Float + + + + + + + + + + System.String + + + + + + + + + System.Object + + + + + + + + + Hide-OBS + OBS + Hide + + Hide OBS + + 0.1.9 + + + Hides items in OBS + + + + Hide-OBS + + ItemName + + The name of the item we want to Hide + + System.Object + + System.Object + + + + + + + SceneName + + The name of the scene. If not provided, the current program scene will be used. + + String + + String + + + + + + + + + + ItemName + + The name of the item we want to Hide + + System.Object + + System.Object + + + + + + + SceneName + + The name of the scene. If not provided, the current program scene will be used. + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Hide-OBS -SourceName "foo" + + + + + + + Set-OBSSceneItemEnabled + + + + + + + + Import-OBSEffect + OBSEffect + Import + + Imports Effects + + 0.1.9 + + + Imports obs-powershell effects + + + + Import-OBSEffect + + From + + The source location of the effect. +This can be a string, file, directory, command, or module. + + System.Object + + System.Object + + + + + + + + + + From + + The source location of the effect. +This can be a string, file, directory, command, or module. + + System.Object + + System.Object + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Import-OBSEffect -Path (Get-Module obs-powershell) + + + + + + + Get-OBSEffect + + + + + + + + Open-OBSInputFiltersDialog + OBSInputFiltersDialog + Open + + Open-OBSInputFiltersDialog : OpenInputFiltersDialog + + 0.1.9 + + + Opens the filters dialog of an input. + Open-OBSInputFiltersDialog calls the OBS WebSocket with a request of type OpenInputFiltersDialog. + + + + Open-OBSInputFiltersDialog + + InputName + + Name of the input to open the dialog of + + String + + String + + + + + + + InputUuid + + UUID of the input to open the dialog of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to open the dialog of + + String + + String + + + + + + + InputUuid + + UUID of the input to open the dialog of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputfiltersdialog + + + + + + Open-OBSInputInteractDialog + OBSInputInteractDialog + Open + + Open-OBSInputInteractDialog : OpenInputInteractDialog + + 0.1.9 + + + Opens the interact dialog of an input. + Open-OBSInputInteractDialog calls the OBS WebSocket with a request of type OpenInputInteractDialog. + + + + Open-OBSInputInteractDialog + + InputName + + Name of the input to open the dialog of + + String + + String + + + + + + + InputUuid + + UUID of the input to open the dialog of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to open the dialog of + + String + + String + + + + + + + InputUuid + + UUID of the input to open the dialog of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputinteractdialog + + + + + + Open-OBSInputPropertiesDialog + OBSInputPropertiesDialog + Open + + Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog + + 0.1.9 + + + Opens the properties dialog of an input. + Open-OBSInputPropertiesDialog calls the OBS WebSocket with a request of type OpenInputPropertiesDialog. + + + + Open-OBSInputPropertiesDialog + + InputName + + Name of the input to open the dialog of + + String + + String + + + + + + + InputUuid + + UUID of the input to open the dialog of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to open the dialog of + + String + + String + + + + + + + InputUuid + + UUID of the input to open the dialog of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openinputpropertiesdialog + + + + + + Open-OBSSourceProjector + OBSSourceProjector + Open + + Open-OBSSourceProjector : OpenSourceProjector + + 0.1.9 + + + Opens a projector for a source. + Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release. + Open-OBSSourceProjector calls the OBS WebSocket with a request of type OpenSourceProjector. + + + + Open-OBSSourceProjector + + SourceName + + Name of the source to open a projector for + + String + + String + + + + + + + SourceUuid + + UUID of the source to open a projector for + + String + + String + + + + + + + MonitorIndex + + Monitor index, use `GetMonitorList` to obtain index + + Double + + Double + + + + + + + ProjectorGeometry + + Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with `monitorIndex` + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + MonitorIndex + + Monitor index, use `GetMonitorList` to obtain index + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + ProjectorGeometry + + Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with `monitorIndex` + + String + + String + + + + + + + SourceName + + Name of the source to open a projector for + + String + + String + + + + + + + SourceUuid + + UUID of the source to open a projector for + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#opensourceprojector + + + + + + Open-OBSVideoMixProjector + OBSVideoMixProjector + Open + + Open-OBSVideoMixProjector : OpenVideoMixProjector + + 0.1.9 + + + Opens a projector for a specific output video mix. + Mix types: + - `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PREVIEW` + - `OBS_WEBSOCKET_VIDEO_MIX_TYPE_PROGRAM` + - `OBS_WEBSOCKET_VIDEO_MIX_TYPE_MULTIVIEW` + Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release. + Open-OBSVideoMixProjector calls the OBS WebSocket with a request of type OpenVideoMixProjector. + + + + Open-OBSVideoMixProjector + + VideoMixType + + Type of mix to open + + String + + String + + + + + + + MonitorIndex + + Monitor index, use `GetMonitorList` to obtain index + + Double + + Double + + + + + + + ProjectorGeometry + + Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with `monitorIndex` + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + MonitorIndex + + Monitor index, use `GetMonitorList` to obtain index + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + ProjectorGeometry + + Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with `monitorIndex` + + String + + String + + + + + + + VideoMixType + + Type of mix to open + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#openvideomixprojector + + + + + + Receive-OBS + OBS + Receive + + Receives data from OBS + + 0.1.9 + + + Receives responses from the OBS WebSocket + + + + Receive-OBS + + MessageData + + The message data that has been received + + System.Object + + System.Object + + + + + + + WaitForReponse + + If set will wait for a response from the message and expand the results. + + Switch + + Switch + + + + + + + + Receive-OBS + + MessageData + + The message data that has been received + + System.Object + + System.Object + + + + + + + SendEvent + + If set, will responsd to known events, like 'hello', and resend other events as PowerShell events + + Switch + + Switch + + + + + + + WebSocketURI + + The OBS websocket URL. If not provided, this will default to loopback on port 4455. + + Uri + + Uri + + + + + + + WebSocketToken + + A randomly generated password used to connect to OBS. +You can see the websocket password in Tools -> obs-websocket settings -> show connect info + + String + + String + + + + + + + + + + MessageData + + The message data that has been received + + System.Object + + System.Object + + + + + + + SendEvent + + If set, will responsd to known events, like 'hello', and resend other events as PowerShell events + + Switch + + Switch + + + + + + + WaitForReponse + + If set will wait for a response from the message and expand the results. + + Switch + + Switch + + + + + + + WebSocketToken + + A randomly generated password used to connect to OBS. +You can see the websocket password in Tools -> obs-websocket settings -> show connect info + + String + + String + + + + + + + WebSocketURI + + The OBS websocket URL. If not provided, this will default to loopback on port 4455. + + Uri + + Uri + + + + + + + + + + Remove-OBS + OBS + Remove + + Remove OBS + + 0.1.9 + + + Removes items from OBS + + + + Remove-OBS + + ItemName + + The name of the item we want to remove + + System.Object + + System.Object + + + + + + + + + + ItemName + + The name of the item we want to remove + + System.Object + + System.Object + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Remove-OBS -SourceName "foo" + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS > + + Remove-OBS -SceneName "bar" + + + + + + + Remove-OBSInput + + + + + Remove-OBSScene + + + + + + + + Remove-OBSEffect + OBSEffect + Remove + + Removes OBS Effects + + 0.1.9 + + + Removes effects currently loaded into OBS-PowerShell. + + + + Remove-OBSEffect + + EffectName + + The name of the effect. + + String + + String + + + + + + + + + + EffectName + + The name of the effect. + + String + + String + + + + + + + + + + + This removes effects from memory, but will not delete effect commands or remove effect scripts. + + + + + Get-OBSEffect + + + + + + + + Remove-OBSInput + OBSInput + Remove + + Remove-OBSInput : RemoveInput + + 0.1.9 + + + Removes an existing input. + Note: Will immediately remove all associated scene items. + Remove-OBSInput calls the OBS WebSocket with a request of type RemoveInput. + + + + Remove-OBSInput + + InputName + + Name of the input to remove + + String + + String + + + + + + + InputUuid + + UUID of the input to remove + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to remove + + String + + String + + + + + + + InputUuid + + UUID of the input to remove + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeinput + + + + + + Remove-OBSProfile + OBSProfile + Remove + + Remove-OBSProfile : RemoveProfile + + 0.1.9 + + + Removes a profile. If the current profile is chosen, it will change to a different profile first. + Remove-OBSProfile calls the OBS WebSocket with a request of type RemoveProfile. + + + + Remove-OBSProfile + + ProfileName + + Name of the profile to remove + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + ProfileName + + Name of the profile to remove + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removeprofile + + + + + + Remove-OBSScene + OBSScene + Remove + + Remove-OBSScene : RemoveScene + + 0.1.9 + + + Removes a scene from OBS. + Remove-OBSScene calls the OBS WebSocket with a request of type RemoveScene. + + + + Remove-OBSScene + + SceneName + + Name of the scene to remove + + String + + String + + + + + + + SceneUuid + + UUID of the scene to remove + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the scene to remove + + String + + String + + + + + + + SceneUuid + + UUID of the scene to remove + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removescene + + + + + + Remove-OBSSceneItem + OBSSceneItem + Remove + + Remove-OBSSceneItem : RemoveSceneItem + + 0.1.9 + + + Removes a scene item from a scene. + Scenes only + Remove-OBSSceneItem calls the OBS WebSocket with a request of type RemoveSceneItem. + + + + Remove-OBSSceneItem + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesceneitem + + + + + + Remove-OBSSourceFilter + OBSSourceFilter + Remove + + Remove-OBSSourceFilter : RemoveSourceFilter + + 0.1.9 + + + Removes a filter from a source. + Remove-OBSSourceFilter calls the OBS WebSocket with a request of type RemoveSourceFilter. + + + + Remove-OBSSourceFilter + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + FilterName + + Name of the filter to remove + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterName + + Name of the filter to remove + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#removesourcefilter + + + + + + Resume-OBSRecord + OBSRecord + Resume + + Resume-OBSRecord : ResumeRecord + + 0.1.9 + + + Resumes the record output. + Resume-OBSRecord calls the OBS WebSocket with a request of type ResumeRecord. + + + + Resume-OBSRecord + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Resume-OBSRecord + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#resumerecord + + + + + + Save-OBSReplayBuffer + OBSReplayBuffer + Save + + Save-OBSReplayBuffer : SaveReplayBuffer + + 0.1.9 + + + Saves the contents of the replay buffer output. + Save-OBSReplayBuffer calls the OBS WebSocket with a request of type SaveReplayBuffer. + + + + Save-OBSReplayBuffer + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Save-OBSReplayBuffer + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savereplaybuffer + + + + + + Save-OBSSourceScreenshot + OBSSourceScreenshot + Save + + Save-OBSSourceScreenshot : SaveSourceScreenshot + + 0.1.9 + + + Saves a screenshot of a source to the filesystem. + The `imageWidth` and `imageHeight` parameters are treated as "scale to inner", meaning the smallest ratio will be used and the aspect ratio of the original resolution is kept. + If `imageWidth` and `imageHeight` are not specified, the compressed image will use the full resolution of the source. + **Compatible with inputs and scenes.** + Save-OBSSourceScreenshot calls the OBS WebSocket with a request of type SaveSourceScreenshot. + + + + Save-OBSSourceScreenshot + + SourceName + + Name of the source to take a screenshot of + + String + + String + + + + + + + SourceUuid + + UUID of the source to take a screenshot of + + String + + String + + + + + + + ImageFormat + + Image compression format to use. Use `GetVersion` to get compatible image formats + + String + + String + + + + + + + ImageFilePath + + Path to save the screenshot file to. Eg. `C:\Users\user\Desktop\screenshot.png` + + String + + String + + + + + + + ImageWidth + + Width to scale the screenshot to + + Double + + Double + + + + + + + ImageHeight + + Height to scale the screenshot to + + Double + + Double + + + + + + + ImageCompressionQuality + + Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + ImageCompressionQuality + + Compression quality to use. 0 for high compression, 100 for uncompressed. -1 to use "default" (whatever that means, idk) + + Double + + Double + + + + + + + ImageFilePath + + Path to save the screenshot file to. Eg. `C:\Users\user\Desktop\screenshot.png` + + String + + String + + + + + + + ImageFormat + + Image compression format to use. Use `GetVersion` to get compatible image formats + + String + + String + + + + + + + ImageHeight + + Height to scale the screenshot to + + Double + + Double + + + + + + + ImageWidth + + Width to scale the screenshot to + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source to take a screenshot of + + String + + String + + + + + + + SourceUuid + + UUID of the source to take a screenshot of + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#savesourcescreenshot + + + + + + Send-OBS + OBS + Send + + Sends messages to the OBS websocket. + + 0.1.9 + + + Sends one or more messages to the OBS websocket. + + + + Send-OBS + + MessageData + + The data to send to the obs websocket. + + System.Object + + System.Object + + + + + + + StepTime + + If provided, will sleep after each step. +If -StepTime is less than 10000 ticks, it will be treated as frames per second. +If -SerialFrame was provied, -StepTime will be the number of frames to wait. + + Timespan + + Timespan + + + + + + + Parallel + + If set, will process a batch of requests in parallel. + + Switch + + Switch + + + + + + + SerialFrame + + If set, will process a batch of requests in parallel. + + Switch + + Switch + + + + + + + ReceiveBatch + + If set, will receive responses from batches of requests. + + Switch + + Switch + + + + + + + NoResponse + + If set, will never attempt to receive a response. + + Switch + + Switch + + + + + + + + + + MessageData + + The data to send to the obs websocket. + + System.Object + + System.Object + + + + + + + NoResponse + + If set, will never attempt to receive a response. + + Switch + + Switch + + + + + + + Parallel + + If set, will process a batch of requests in parallel. + + Switch + + Switch + + + + + + + ReceiveBatch + + If set, will receive responses from batches of requests. + + Switch + + Switch + + + + + + + SerialFrame + + If set, will process a batch of requests in parallel. + + Switch + + Switch + + + + + + + StepTime + + If provided, will sleep after each step. +If -StepTime is less than 10000 ticks, it will be treated as frames per second. +If -SerialFrame was provied, -StepTime will be the number of frames to wait. + + Timespan + + Timespan + + + + + + + + + Receive-OBS + + + + + Watch-OBS + + + + + + + + Send-OBSCallVendorRequest + OBSCallVendorRequest + Send + + Send-OBSCallVendorRequest : CallVendorRequest + + 0.1.9 + + + Call a request registered to a vendor. + A vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket. + If a plugin or script implements vendor requests or events, documentation is expected to be provided with them. + Send-OBSCallVendorRequest calls the OBS WebSocket with a request of type CallVendorRequest. + + + + Send-OBSCallVendorRequest + + VendorName + + Name of the vendor to use + + String + + String + + + + + + + RequestType + + The request type to call + + String + + String + + + + + + + RequestData + + Object containing appropriate request data + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + RequestData + + Object containing appropriate request data + + Psobject + + Psobject + + + + + + + RequestType + + The request type to call + + String + + String + + + + + + + VendorName + + Name of the vendor to use + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#callvendorrequest + + + + + + Send-OBSCustomEvent + OBSCustomEvent + Send + + Send-OBSCustomEvent : BroadcastCustomEvent + + 0.1.9 + + + Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed. + Send-OBSCustomEvent calls the OBS WebSocket with a request of type BroadcastCustomEvent. + + + + Send-OBSCustomEvent + + EventData + + Data payload to emit to all receivers + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + EventData + + Data payload to emit to all receivers + + Psobject + + Psobject + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#broadcastcustomevent + + + + + + Send-OBSOffsetMediaInputCursor + OBSOffsetMediaInputCursor + Send + + Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor + + 0.1.9 + + + Offsets the current cursor position of a media input by the specified value. + This request does not perform bounds checking of the cursor position. + Send-OBSOffsetMediaInputCursor calls the OBS WebSocket with a request of type OffsetMediaInputCursor. + + + + Send-OBSOffsetMediaInputCursor + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + MediaCursorOffset + + Value to offset the current cursor position by + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + MediaCursorOffset + + Value to offset the current cursor position by + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#offsetmediainputcursor + + + + + + Send-OBSPauseRecord + OBSPauseRecord + Send + + Send-OBSPauseRecord : PauseRecord + + 0.1.9 + + + Pauses the record output. + Send-OBSPauseRecord calls the OBS WebSocket with a request of type PauseRecord. + + + + Send-OBSPauseRecord + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Send-OBSPauseRecord + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pauserecord + + + + + + Send-OBSPressInputPropertiesButton + OBSPressInputPropertiesButton + Send + + Send-OBSPressInputPropertiesButton : PressInputPropertiesButton + + 0.1.9 + + + Presses a button in the properties of an input. + Some known `propertyName` values are: + - `refreshnocache` - Browser source reload button + Note: Use this in cases where there is a button in the properties of an input that cannot be accessed in any other way. For example, browser sources, where there is a refresh button. + Send-OBSPressInputPropertiesButton calls the OBS WebSocket with a request of type PressInputPropertiesButton. + + + + Send-OBSPressInputPropertiesButton + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + PropertyName + + Name of the button property to press + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + PropertyName + + Name of the button property to press + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#pressinputpropertiesbutton + + + + + + Send-OBSSleep + OBSSleep + Send + + Send-OBSSleep : Sleep + + 0.1.9 + + + Sleeps for a time duration or number of frames. Only available in request batches with types `SERIAL_REALTIME` or `SERIAL_FRAME`. + Send-OBSSleep calls the OBS WebSocket with a request of type Sleep. + + + + Send-OBSSleep + + SleepMillis + + Number of milliseconds to sleep for (if `SERIAL_REALTIME` mode) + + Double + + Double + + + + + + + SleepFrames + + Number of frames to sleep for (if `SERIAL_FRAME` mode) + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SleepFrames + + Number of frames to sleep for (if `SERIAL_FRAME` mode) + + Double + + Double + + + + + + + SleepMillis + + Number of milliseconds to sleep for (if `SERIAL_REALTIME` mode) + + Double + + Double + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sleep + + + + + + Send-OBSStreamCaption + OBSStreamCaption + Send + + Send-OBSStreamCaption : SendStreamCaption + + 0.1.9 + + + Sends CEA-608 caption text over the stream output. + Send-OBSStreamCaption calls the OBS WebSocket with a request of type SendStreamCaption. + + + + Send-OBSStreamCaption + + CaptionText + + Caption text + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + CaptionText + + Caption text + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#sendstreamcaption + + + + + + Send-OBSTriggerHotkeyByKeySequence + OBSTriggerHotkeyByKeySequence + Send + + Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence + + 0.1.9 + + + Triggers a hotkey using a sequence of keys. + Note: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests. + Send-OBSTriggerHotkeyByKeySequence calls the OBS WebSocket with a request of type TriggerHotkeyByKeySequence. + + + + Send-OBSTriggerHotkeyByKeySequence + + KeyId + + The OBS key ID to use. See https://github.com/obsproject/obs-studio/blob/master/libobs/obs-hotkeys.h + + String + + String + + + + + + + KeyModifiers + + Object containing key modifiers to apply + + Psobject + + Psobject + + + + + + + KeyModifiersshift + + Press Shift + + Switch + + Switch + + + + + + + KeyModifierscontrol + + Press CTRL + + Switch + + Switch + + + + + + + KeyModifiersalt + + Press ALT + + Switch + + Switch + + + + + + + KeyModifierscommand + + Press CMD (Mac) + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + KeyId + + The OBS key ID to use. See https://github.com/obsproject/obs-studio/blob/master/libobs/obs-hotkeys.h + + String + + String + + + + + + + KeyModifiers + + Object containing key modifiers to apply + + Psobject + + Psobject + + + + + + + KeyModifiersalt + + Press ALT + + Switch + + Switch + + + + + + + KeyModifierscommand + + Press CMD (Mac) + + Switch + + Switch + + + + + + + KeyModifierscontrol + + Press CTRL + + Switch + + Switch + + + + + + + KeyModifiersshift + + Press Shift + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybykeysequence + + + + + + Send-OBSTriggerHotkeyByName + OBSTriggerHotkeyByName + Send + + Send-OBSTriggerHotkeyByName : TriggerHotkeyByName + + 0.1.9 + + + Triggers a hotkey using its name. See `GetHotkeyList`. + Note: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests. + Send-OBSTriggerHotkeyByName calls the OBS WebSocket with a request of type TriggerHotkeyByName. + + + + Send-OBSTriggerHotkeyByName + + HotkeyName + + Name of the hotkey to trigger + + String + + String + + + + + + + ContextName + + Name of context of the hotkey to trigger + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + ContextName + + Name of context of the hotkey to trigger + + String + + String + + + + + + + HotkeyName + + Name of the hotkey to trigger + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerhotkeybyname + + + + + + Send-OBSTriggerMediaInputAction + OBSTriggerMediaInputAction + Send + + Send-OBSTriggerMediaInputAction : TriggerMediaInputAction + + 0.1.9 + + + Triggers an action on a media input. + Send-OBSTriggerMediaInputAction calls the OBS WebSocket with a request of type TriggerMediaInputAction. + + + + Send-OBSTriggerMediaInputAction + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + MediaAction + + Identifier of the `ObsMediaInputAction` enum + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + MediaAction + + Identifier of the `ObsMediaInputAction` enum + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggermediainputaction + + + + + + Send-OBSTriggerStudioModeTransition + OBSTriggerStudioModeTransition + Send + + Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition + + 0.1.9 + + + Triggers the current scene transition. Same functionality as the `Transition` button in studio mode. + Send-OBSTriggerStudioModeTransition calls the OBS WebSocket with a request of type TriggerStudioModeTransition. + + + + Send-OBSTriggerStudioModeTransition + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Send-OBSTriggerStudioModeTransition + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#triggerstudiomodetransition + + + + + + Set-OBS3DFilter + OBS3DFilter + Set + + Sets an OBS 3D Filter. + + 0.1.9 + + + Adds or Changes a 3D Filter on an OBS Input. + This requires the [3D Effect](https://github.com/exeldro/obs-3d-effect). + + + + Set-OBS3DFilter + + FieldOfView + + The Field of View + + Double + + Double + + + + + + + RotationX + + The Rotation along the X-axis + + Double + + Double + + + + + + + RotationY + + The Rotation along the Y-axis + + Double + + Double + + + + + + + RotationZ + + The Rotation along the Z-axis + + Double + + Double + + + + + + + PositionX + + The Position along the X-axis + + Double + + Double + + + + + + + PositionY + + The Position along the Y-axis + + Double + + Double + + + + + + + PositionZ + + The Position along the Z-axis + + Double + + Double + + + + + + + ScaleX + + The scale of the source along the X-axis + + Double + + Double + + + + + + + ScaleY + + The scale of the source along the Y-axis + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + FieldOfView + + The Field of View + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + PositionX + + The Position along the X-axis + + Double + + Double + + + + + + + PositionY + + The Position along the Y-axis + + Double + + Double + + + + + + + PositionZ + + The Position along the Z-axis + + Double + + Double + + + + + + + RotationX + + The Rotation along the X-axis + + Double + + Double + + + + + + + RotationY + + The Rotation along the Y-axis + + Double + + Double + + + + + + + RotationZ + + The Rotation along the Z-axis + + Double + + Double + + + + + + + ScaleX + + The scale of the source along the X-axis + + Double + + Double + + + + + + + ScaleY + + The scale of the source along the Y-axis + + Double + + Double + + + + + + + + + + Set-OBSAudioOutputSource + OBSAudioOutputSource + Set + + Adds or sets an audio output source + + 0.1.9 + + + Adds or sets an audio output source in OBS. This captures the audio that is being sent to an output device. + + + + Set-OBSAudioOutputSource + + AudioDevice + + The name of the audio device. +This name or device ID of the audio device that should be captured. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, "AudioOutput$($AudioDevice)" will be the input source name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + AudioDevice + + The name of the audio device. +This name or device ID of the audio device that should be captured. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Name + + The name of the input. +If no name is provided, "AudioOutput$($AudioDevice)" will be the input source name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + + + + + This command currently only supports capturing default audio on Windows. +To add support for other operating systems, file an issue or open a pull request. + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Add-OBSAudioOutputSource + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS > + + Set-OBSAudioOutputSource -AudioDevice Speakers + + + + + + + + Set-OBSBrowserSource + OBSBrowserSource + Set + + Sets a browser source + + 0.1.9 + + + Adds or changes a browser source in OBS. + + + + Set-OBSBrowserSource + + Uri + + The uri or file path to display. +If the uri points to a local file, this will be preferred + + Uri + + Uri + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + CSS + + The css style used to render the browser page. + + String + + String + + + + + + + ShutdownWhenHidden + + If set, the browser source will shutdown when it is hidden + + Switch + + Switch + + + + + + + RestartWhenActived + + If set, the browser source will restart when it is activated. + + Switch + + Switch + + + + + + + RerouteAudio + + If set, audio from the browser source will be rerouted into OBS. + + Switch + + Switch + + + + + + + FramesPerSecond + + If provided, the browser source will render at a custom frame rate. + + Int + + Int + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + CSS + + The css style used to render the browser page. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + FramesPerSecond + + If provided, the browser source will render at a custom frame rate. + + Int + + Int + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + RerouteAudio + + If set, audio from the browser source will be rerouted into OBS. + + Switch + + Switch + + + + + + + RestartWhenActived + + If set, the browser source will restart when it is activated. + + Switch + + Switch + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + ShutdownWhenHidden + + If set, the browser source will shutdown when it is hidden + + Switch + + Switch + + + + + + + Uri + + The uri or file path to display. +If the uri points to a local file, this will be preferred + + Uri + + Uri + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Set-OBSBrowserSource -Uri https://pssvg.start-automating.com/Examples/Stars.svg + + + + + + + + Set-OBSColorFilter + OBSColorFilter + Set + + Sets a color filter + + 0.1.9 + + + Adds or Changes a Color Correction Filter on an OBS Input. + This allows you to: + * Change Opacity on any source + * Correct gamma + * Spin the hue + * Saturate or Desaturate an image + * Change the contrast + * Brighten the image + * Multiply pixels by a color + * Add a color to all pixels + + + + Set-OBSColorFilter + + Opacity + + The opacity, as a number between 0 and 1. + + Double + + Double + + + + + + + Brightness + + The brightness, as a number between -1 and 1. + + Double + + Double + + + + + + + Contrast + + The constrast, as a number between -4 and 4. + + Double + + Double + + + + + + + Gamma + + The gamma correction, as a number between -3 and 3. + + Double + + Double + + + + + + + Saturation + + The saturation, as a number between -1 and 5. + + Double + + Double + + + + + + + Hue + + The change in hue, as represented in degrees around a color cicrle + + Double + + Double + + + + + + + MultiplyColor + + Multiply this color by all pixels within the source. + + String + + String + + + + + + + AddColor + + Add all this color to all pixels within the source. + + String + + String + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + AddColor + + Add all this color to all pixels within the source. + + String + + String + + + + + + + Brightness + + The brightness, as a number between -1 and 1. + + Double + + Double + + + + + + + Contrast + + The constrast, as a number between -4 and 4. + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + Gamma + + The gamma correction, as a number between -3 and 3. + + Double + + Double + + + + + + + Hue + + The change in hue, as represented in degrees around a color cicrle + + Double + + Double + + + + + + + MultiplyColor + + Multiply this color by all pixels within the source. + + String + + String + + + + + + + Opacity + + The opacity, as a number between 0 and 1. + + Double + + Double + + + + + + + Saturation + + The saturation, as a number between -1 and 5. + + Double + + Double + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri .\Assets\obs-powershell-animated-icon.svg | + Set-OBSColorFilter -Opacity .5 + + + + + + + + Set-OBSColorSource + OBSColorSource + Set + + Adds a color source + + 0.1.9 + + + Adds a color source to OBS. This displays a single 32-bit color (RGBA). + + + + Set-OBSColorSource + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + String + + String + + + + + + + Color + + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + Color + + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Name + + The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + + + Add-OBSInput + + + + + Set-OBSInputSettings + + + + + + + + Set-OBSCurrentPreviewScene + OBSCurrentPreviewScene + Set + + Set-OBSCurrentPreviewScene : SetCurrentPreviewScene + + 0.1.9 + + + Sets the current preview scene. + Only available when studio mode is enabled. + Set-OBSCurrentPreviewScene calls the OBS WebSocket with a request of type SetCurrentPreviewScene. + + + + Set-OBSCurrentPreviewScene + + SceneName + + Scene name to set as the current preview scene + + String + + String + + + + + + + SceneUuid + + Scene UUID to set as the current preview scene + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Scene name to set as the current preview scene + + String + + String + + + + + + + SceneUuid + + Scene UUID to set as the current preview scene + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentpreviewscene + + + + + + Set-OBSCurrentProfile + OBSCurrentProfile + Set + + Set-OBSCurrentProfile : SetCurrentProfile + + 0.1.9 + + + Switches to a profile. + Set-OBSCurrentProfile calls the OBS WebSocket with a request of type SetCurrentProfile. + + + + Set-OBSCurrentProfile + + ProfileName + + Name of the profile to switch to + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + ProfileName + + Name of the profile to switch to + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprofile + + + + + + Set-OBSCurrentProgramScene + OBSCurrentProgramScene + Set + + Set-OBSCurrentProgramScene : SetCurrentProgramScene + + 0.1.9 + + + Sets the current program scene. + Set-OBSCurrentProgramScene calls the OBS WebSocket with a request of type SetCurrentProgramScene. + + + + Set-OBSCurrentProgramScene + + SceneName + + Scene name to set as the current program scene + + String + + String + + + + + + + SceneUuid + + Scene UUID to set as the current program scene + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Scene name to set as the current program scene + + String + + String + + + + + + + SceneUuid + + Scene UUID to set as the current program scene + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentprogramscene + + + + + + Set-OBSCurrentSceneCollection + OBSCurrentSceneCollection + Set + + Set-OBSCurrentSceneCollection : SetCurrentSceneCollection + + 0.1.9 + + + Switches to a scene collection. + Note: This will block until the collection has finished changing. + Set-OBSCurrentSceneCollection calls the OBS WebSocket with a request of type SetCurrentSceneCollection. + + + + Set-OBSCurrentSceneCollection + + SceneCollectionName + + Name of the scene collection to switch to + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneCollectionName + + Name of the scene collection to switch to + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenecollection + + + + + + Set-OBSCurrentSceneTransition + OBSCurrentSceneTransition + Set + + Set-OBSCurrentSceneTransition : SetCurrentSceneTransition + + 0.1.9 + + + Sets the current scene transition. + Small note: While the namespace of scene transitions is generally unique, that uniqueness is not a guarantee as it is with other resources like inputs. + Set-OBSCurrentSceneTransition calls the OBS WebSocket with a request of type SetCurrentSceneTransition. + + + + Set-OBSCurrentSceneTransition + + TransitionName + + Name of the transition to make active + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + TransitionName + + Name of the transition to make active + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransition + + + + + + Set-OBSCurrentSceneTransitionDuration + OBSCurrentSceneTransitionDuration + Set + + Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration + + 0.1.9 + + + Sets the duration of the current scene transition, if it is not fixed. + Set-OBSCurrentSceneTransitionDuration calls the OBS WebSocket with a request of type SetCurrentSceneTransitionDuration. + + + + Set-OBSCurrentSceneTransitionDuration + + TransitionDuration + + Duration in milliseconds + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + TransitionDuration + + Duration in milliseconds + + Double + + Double + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionduration + + + + + + Set-OBSCurrentSceneTransitionSettings + OBSCurrentSceneTransitionSettings + Set + + Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings + + 0.1.9 + + + Sets the settings of the current scene transition. + Set-OBSCurrentSceneTransitionSettings calls the OBS WebSocket with a request of type SetCurrentSceneTransitionSettings. + + + + Set-OBSCurrentSceneTransitionSettings + + TransitionSettings + + Settings object to apply to the transition. Can be `{}` + + Psobject + + Psobject + + + + + + + Overlay + + Whether to overlay over the current settings or replace them + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + Overlay + + Whether to overlay over the current settings or replace them + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + TransitionSettings + + Settings object to apply to the transition. Can be `{}` + + Psobject + + Psobject + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setcurrentscenetransitionsettings + + + + + + Set-OBSDisplaySource + OBSDisplaySource + Set + + Adds a display source + + 0.1.9 + + + Adds a display source to OBS. This captures the contents of the display. + + + + Set-OBSDisplaySource + + Monitor + + The monitor number. +This the number of the monitor you would like to capture. + + Int + + Int + + + + + + + CaptureCursor + + If set, will capture the cursor. +This will be set by default. +If explicitly set to false, the cursor will not be captured. + + Switch + + Switch + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + CaptureCursor + + If set, will capture the cursor. +This will be set by default. +If explicitly set to false, the cursor will not be captured. + + Switch + + Switch + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Monitor + + The monitor number. +This the number of the monitor you would like to capture. + + Int + + Int + + + + + + + Name + + The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Add-OBSDisplaySource # Adds a display source of the primary monitor + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS > + + Add-OBSDisplaySource -Display 2 # Adds a display source of the second monitor + + + + + + + + Set-OBSEqualizerFilter + OBSEqualizerFilter + Set + + Sets a Equalizer filter. + + 0.1.9 + + + Adds or Changes a 3-band Equalizer Filter on an OBS Input. + + + + Set-OBSEqualizerFilter + + Low + + The change in low frequencies. + + Double + + Double + + + + + + + Mid + + The change in mid frequencies. + + Double + + Double + + + + + + + High + + The change in high frequencies. + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + High + + The change in high frequencies. + + Double + + Double + + + + + + + Low + + The change in low frequencies. + + Double + + Double + + + + + + + Mid + + The change in mid frequencies. + + Double + + Double + + + + + + + + + + Set-OBSGainFilter + OBSGainFilter + Set + + Sets a Gain filter. + + 0.1.9 + + + Adds or Changes a Gain Filter on an OBS Input. + This allows you to make the audio louder or softer. + + + + Set-OBSGainFilter + + Gain + + The Audio Gain, in decibels. + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + Gain + + The Audio Gain, in decibels. + + Double + + Double + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSGainFilter -Gain 1.1 # Gains Audio by 1.1 decibels + + + + + + + + Set-OBSInputAudioBalance + OBSInputAudioBalance + Set + + Set-OBSInputAudioBalance : SetInputAudioBalance + + 0.1.9 + + + Sets the audio balance of an input. + Set-OBSInputAudioBalance calls the OBS WebSocket with a request of type SetInputAudioBalance. + + + + Set-OBSInputAudioBalance + + InputName + + Name of the input to set the audio balance of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the audio balance of + + String + + String + + + + + + + InputAudioBalance + + New audio balance value + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputAudioBalance + + New audio balance value + + Double + + Double + + + + + + + InputName + + Name of the input to set the audio balance of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the audio balance of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiobalance + + + + + + Set-OBSInputAudioMonitorType + OBSInputAudioMonitorType + Set + + Set-OBSInputAudioMonitorType : SetInputAudioMonitorType + + 0.1.9 + + + Sets the audio monitor type of an input. + Set-OBSInputAudioMonitorType calls the OBS WebSocket with a request of type SetInputAudioMonitorType. + + + + Set-OBSInputAudioMonitorType + + InputName + + Name of the input to set the audio monitor type of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the audio monitor type of + + String + + String + + + + + + + MonitorType + + Audio monitor type + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to set the audio monitor type of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the audio monitor type of + + String + + String + + + + + + + MonitorType + + Audio monitor type + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiomonitortype + + + + + + Set-OBSInputAudioSyncOffset + OBSInputAudioSyncOffset + Set + + Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset + + 0.1.9 + + + Sets the audio sync offset of an input. + Set-OBSInputAudioSyncOffset calls the OBS WebSocket with a request of type SetInputAudioSyncOffset. + + + + Set-OBSInputAudioSyncOffset + + InputName + + Name of the input to set the audio sync offset of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the audio sync offset of + + String + + String + + + + + + + InputAudioSyncOffset + + New audio sync offset in milliseconds + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputAudioSyncOffset + + New audio sync offset in milliseconds + + Double + + Double + + + + + + + InputName + + Name of the input to set the audio sync offset of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the audio sync offset of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiosyncoffset + + + + + + Set-OBSInputAudioTracks + OBSInputAudioTracks + Set + + Set-OBSInputAudioTracks : SetInputAudioTracks + + 0.1.9 + + + Sets the enable state of audio tracks of an input. + Set-OBSInputAudioTracks calls the OBS WebSocket with a request of type SetInputAudioTracks. + + + + Set-OBSInputAudioTracks + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + InputAudioTracks + + Track settings to apply + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputAudioTracks + + Track settings to apply + + Psobject + + Psobject + + + + + + + InputName + + Name of the input + + String + + String + + + + + + + InputUuid + + UUID of the input + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputaudiotracks + + + + + + Set-OBSInputMute + OBSInputMute + Set + + Set-OBSInputMute : SetInputMute + + 0.1.9 + + + Sets the audio mute state of an input. + Set-OBSInputMute calls the OBS WebSocket with a request of type SetInputMute. + + + + Set-OBSInputMute + + InputName + + Name of the input to set the mute state of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the mute state of + + String + + String + + + + + + + InputMuted + + Whether to mute the input or not + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputMuted + + Whether to mute the input or not + + Switch + + Switch + + + + + + + InputName + + Name of the input to set the mute state of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the mute state of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputmute + + + + + + Set-OBSInputName + OBSInputName + Set + + Set-OBSInputName : SetInputName + + 0.1.9 + + + Sets the name of an input (rename). + Set-OBSInputName calls the OBS WebSocket with a request of type SetInputName. + + + + Set-OBSInputName + + InputName + + Current input name + + String + + String + + + + + + + InputUuid + + Current input UUID + + String + + String + + + + + + + NewInputName + + New name for the input + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Current input name + + String + + String + + + + + + + InputUuid + + Current input UUID + + String + + String + + + + + + + NewInputName + + New name for the input + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputname + + + + + + Set-OBSInputSettings + OBSInputSettings + Set + + Set-OBSInputSettings : SetInputSettings + + 0.1.9 + + + Sets the settings of an input. + Set-OBSInputSettings calls the OBS WebSocket with a request of type SetInputSettings. + + + + Set-OBSInputSettings + + InputName + + Name of the input to set the settings of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the settings of + + String + + String + + + + + + + InputSettings + + Object of settings to apply + + Psobject + + Psobject + + + + + + + Overlay + + True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to set the settings of + + String + + String + + + + + + + InputSettings + + Object of settings to apply + + Psobject + + Psobject + + + + + + + InputUuid + + UUID of the input to set the settings of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + Overlay + + True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputsettings + + + + + + Set-OBSInputVolume + OBSInputVolume + Set + + Set-OBSInputVolume : SetInputVolume + + 0.1.9 + + + Sets the volume setting of an input. + Set-OBSInputVolume calls the OBS WebSocket with a request of type SetInputVolume. + + + + Set-OBSInputVolume + + InputName + + Name of the input to set the volume of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the volume of + + String + + String + + + + + + + InputVolumeMul + + Volume setting in mul + + Double + + Double + + + + + + + InputVolumeDb + + Volume setting in dB + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to set the volume of + + String + + String + + + + + + + InputUuid + + UUID of the input to set the volume of + + String + + String + + + + + + + InputVolumeDb + + Volume setting in dB + + Double + + Double + + + + + + + InputVolumeMul + + Volume setting in mul + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setinputvolume + + + + + + Set-OBSMarkdownSource + OBSMarkdownSource + Set + + Sets a markdown source + + 0.1.9 + + + Adds or changes a markdown source in OBS. + + + + Set-OBSMarkdownSource + + Markdown + + The markdown text, or the path to a markdown file + + String + + String + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + CSS + + The css style used to render the markdown. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + CSS + + The css style used to render the markdown. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + Markdown + + The markdown text, or the path to a markdown file + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + + + + Set-OBSMediaInputCursor + OBSMediaInputCursor + Set + + Set-OBSMediaInputCursor : SetMediaInputCursor + + 0.1.9 + + + Sets the cursor position of a media input. + This request does not perform bounds checking of the cursor position. + Set-OBSMediaInputCursor calls the OBS WebSocket with a request of type SetMediaInputCursor. + + + + Set-OBSMediaInputCursor + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + MediaCursor + + New cursor position to set + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the media input + + String + + String + + + + + + + InputUuid + + UUID of the media input + + String + + String + + + + + + + MediaCursor + + New cursor position to set + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setmediainputcursor + + + + + + Set-OBSMediaSource + OBSMediaSource + Set + + Adds a media source + + 0.1.9 + + + Adds a media source to OBS. + + + + Set-OBSMediaSource + + FilePath + + The path to the media file. + + String + + String + + + + + + + CloseWhenInactive + + If set, the source will close when it is inactive. +By default, this will be set to true. +To explicitly set it to false, use -CloseWhenInactive:$false + + Switch + + Switch + + + + + + + Loop + + If set, the source will automatically restart. + + Switch + + Switch + + + + + + + UseHardwareDecoding + + If set, will use hardware decoding, if available. + + Switch + + Switch + + + + + + + ClearOnMediaEnd + + If set, will clear the output on the end of the media. +If this is set to false, the media will freeze on the last frame. +This is set to true by default. +To explicitly set to false, use -ClearMediaEnd:$false + + Switch + + Switch + + + + + + + FFMpegOption + + Any FFMpeg demuxer options. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + FitToScreen + + If set, will fit the input to the screen. + + Switch + + Switch + + + + + + + + + + ClearOnMediaEnd + + If set, will clear the output on the end of the media. +If this is set to false, the media will freeze on the last frame. +This is set to true by default. +To explicitly set to false, use -ClearMediaEnd:$false + + Switch + + Switch + + + + + + + CloseWhenInactive + + If set, the source will close when it is inactive. +By default, this will be set to true. +To explicitly set it to false, use -CloseWhenInactive:$false + + Switch + + Switch + + + + + + + FFMpegOption + + Any FFMpeg demuxer options. + + String + + String + + + + + + + FilePath + + The path to the media file. + + String + + String + + + + + + + FitToScreen + + If set, will fit the input to the screen. + + Switch + + Switch + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Loop + + If set, the source will automatically restart. + + Switch + + Switch + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + UseHardwareDecoding + + If set, will use hardware decoding, if available. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Set-OBSMediaSource -FilePath My.mp4 + + + + + + + Add-OBSInput + + + + + Set-OBSInputSettings + + + + + + + + Set-OBSOutputSettings + OBSOutputSettings + Set + + Set-OBSOutputSettings : SetOutputSettings + + 0.1.9 + + + Sets the settings of an output. + Set-OBSOutputSettings calls the OBS WebSocket with a request of type SetOutputSettings. + + + + Set-OBSOutputSettings + + OutputName + + Output name + + String + + String + + + + + + + OutputSettings + + Output settings + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputName + + Output name + + String + + String + + + + + + + OutputSettings + + Output settings + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setoutputsettings + + + + + + Set-OBSPersistentData + OBSPersistentData + Set + + Set-OBSPersistentData : SetPersistentData + + 0.1.9 + + + Sets the value of a "slot" from the selected persistent data realm. + Set-OBSPersistentData calls the OBS WebSocket with a request of type SetPersistentData. + + + + Set-OBSPersistentData + + Realm + + The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` + + String + + String + + + + + + + SlotName + + The name of the slot to retrieve data from + + String + + String + + + + + + + SlotValue + + The value to apply to the slot + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + Realm + + The data realm to select. `OBS_WEBSOCKET_DATA_REALM_GLOBAL` or `OBS_WEBSOCKET_DATA_REALM_PROFILE` + + String + + String + + + + + + + SlotName + + The name of the slot to retrieve data from + + String + + String + + + + + + + SlotValue + + The value to apply to the slot + + Psobject + + Psobject + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setpersistentdata + + + + + + Set-OBSProfileParameter + OBSProfileParameter + Set + + Set-OBSProfileParameter : SetProfileParameter + + 0.1.9 + + + Sets the value of a parameter in the current profile's configuration. + Set-OBSProfileParameter calls the OBS WebSocket with a request of type SetProfileParameter. + + + + Set-OBSProfileParameter + + ParameterCategory + + Category of the parameter to set + + String + + String + + + + + + + ParameterName + + Name of the parameter to set + + String + + String + + + + + + + ParameterValue + + Value of the parameter to set. Use `null` to delete + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + ParameterCategory + + Category of the parameter to set + + String + + String + + + + + + + ParameterName + + Name of the parameter to set + + String + + String + + + + + + + ParameterValue + + Value of the parameter to set. Use `null` to delete + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setprofileparameter + + + + + + Set-OBSRecordDirectory + OBSRecordDirectory + Set + + Set-OBSRecordDirectory : SetRecordDirectory + + 0.1.9 + + + Sets the current directory that the record output writes files to. + Set-OBSRecordDirectory calls the OBS WebSocket with a request of type SetRecordDirectory. + + + + Set-OBSRecordDirectory + + RecordDirectory + + Output directory + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + RecordDirectory + + Output directory + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setrecorddirectory + + + + + + Set-OBSRenderDelayFilter + OBSRenderDelayFilter + Set + + Sets a RenderDelay filter. + + 0.1.9 + + + Adds or Changes a RenderDelay Filter on an OBS Input. + This changes the RenderDelay of an image. + + + + Set-OBSRenderDelayFilter + + RenderDelay + + The RenderDelay. + + Timespan + + Timespan + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + RenderDelay + + The RenderDelay. + + Timespan + + Timespan + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSRenderDelayFilter -RenderDelay .75 + + + + + + + + Set-OBSScaleFilter + OBSScaleFilter + Set + + Sets a Scale filter. + + 0.1.9 + + + Adds or Changes a Scale Filter on an OBS Input. + This allows you to resize the image source. + + + + Set-OBSScaleFilter + + Resolution + + The Resolution. Can either width x height (e.g. 1920x1080) or an aspect ratio (16:9). + + String + + String + + + + + + + Sampling + + The sampling method. It will default to "lanczos". + + String + + String + + + + + + + KeepAspectRatio + + If set, will keep the aspect ratio when scaling. +This is only valid if the sampling method is set to "lanczos". + + Switch + + Switch + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + KeepAspectRatio + + If set, will keep the aspect ratio when scaling. +This is only valid if the sampling method is set to "lanczos". + + Switch + + Switch + + + + + + + Resolution + + The Resolution. Can either width x height (e.g. 1920x1080) or an aspect ratio (16:9). + + String + + String + + + + + + + Sampling + + The sampling method. It will default to "lanczos". + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSScaleFilter -Resolution "16:9" + + + + + + + + Set-OBSSceneItemBlendMode + OBSSceneItemBlendMode + Set + + Set-OBSSceneItemBlendMode : SetSceneItemBlendMode + + 0.1.9 + + + Sets the blend mode of a scene item. + Scenes and Groups + Set-OBSSceneItemBlendMode calls the OBS WebSocket with a request of type SetSceneItemBlendMode. + + + + Set-OBSSceneItemBlendMode + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemBlendMode + + New blend mode + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemBlendMode + + New blend mode + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemblendmode + + + + + + Set-OBSSceneItemEnabled + OBSSceneItemEnabled + Set + + Set-OBSSceneItemEnabled : SetSceneItemEnabled + + 0.1.9 + + + Sets the enable state of a scene item. + Scenes and Groups + Set-OBSSceneItemEnabled calls the OBS WebSocket with a request of type SetSceneItemEnabled. + + + + Set-OBSSceneItemEnabled + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemEnabled + + New enable state of the scene item + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemEnabled + + New enable state of the scene item + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemenabled + + + + + + Set-OBSSceneItemIndex + OBSSceneItemIndex + Set + + Set-OBSSceneItemIndex : SetSceneItemIndex + + 0.1.9 + + + Sets the index position of a scene item in a scene. + Scenes and Groups + Set-OBSSceneItemIndex calls the OBS WebSocket with a request of type SetSceneItemIndex. + + + + Set-OBSSceneItemIndex + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemIndex + + New index position of the scene item + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemIndex + + New index position of the scene item + + Double + + Double + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemindex + + + + + + Set-OBSSceneItemLocked + OBSSceneItemLocked + Set + + Set-OBSSceneItemLocked : SetSceneItemLocked + + 0.1.9 + + + Sets the lock state of a scene item. + Scenes and Group + Set-OBSSceneItemLocked calls the OBS WebSocket with a request of type SetSceneItemLocked. + + + + Set-OBSSceneItemLocked + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemLocked + + New lock state of the scene item + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemLocked + + New lock state of the scene item + + Switch + + Switch + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemlocked + + + + + + Set-OBSSceneItemTransform + OBSSceneItemTransform + Set + + Set-OBSSceneItemTransform : SetSceneItemTransform + + 0.1.9 + + + Sets the transform and crop info of a scene item. + Set-OBSSceneItemTransform calls the OBS WebSocket with a request of type SetSceneItemTransform. + + + + Set-OBSSceneItemTransform + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemTransform + + Object containing scene item transform info to update + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneItemId + + Numeric ID of the scene item + + Double + + Double + + + + + + + SceneItemTransform + + Object containing scene item transform info to update + + Psobject + + Psobject + + + + + + + SceneName + + Name of the scene the item is in + + String + + String + + + + + + + SceneUuid + + UUID of the scene the item is in + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsceneitemtransform + + + + + + Set-OBSSceneName + OBSSceneName + Set + + Set-OBSSceneName : SetSceneName + + 0.1.9 + + + Sets the name of a scene (rename). + Set-OBSSceneName calls the OBS WebSocket with a request of type SetSceneName. + + + + Set-OBSSceneName + + SceneName + + Name of the scene to be renamed + + String + + String + + + + + + + SceneUuid + + UUID of the scene to be renamed + + String + + String + + + + + + + NewSceneName + + New name for the scene + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NewSceneName + + New name for the scene + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the scene to be renamed + + String + + String + + + + + + + SceneUuid + + UUID of the scene to be renamed + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenename + + + + + + Set-OBSSceneSceneTransitionOverride + OBSSceneSceneTransitionOverride + Set + + Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride + + 0.1.9 + + + Sets the scene transition overridden for a scene. + Set-OBSSceneSceneTransitionOverride calls the OBS WebSocket with a request of type SetSceneSceneTransitionOverride. + + + + Set-OBSSceneSceneTransitionOverride + + SceneName + + Name of the scene + + String + + String + + + + + + + SceneUuid + + UUID of the scene + + String + + String + + + + + + + TransitionName + + Name of the scene transition to use as override. Specify `null` to remove + + String + + String + + + + + + + TransitionDuration + + Duration to use for any overridden transition. Specify `null` to remove + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SceneName + + Name of the scene + + String + + String + + + + + + + SceneUuid + + UUID of the scene + + String + + String + + + + + + + TransitionDuration + + Duration to use for any overridden transition. Specify `null` to remove + + Double + + Double + + + + + + + TransitionName + + Name of the scene transition to use as override. Specify `null` to remove + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setscenescenetransitionoverride + + + + + + Set-OBSScrollFilter + OBSScrollFilter + Set + + Sets a scroll filter. + + 0.1.9 + + + Adds or Changes a Scroll Filter on an OBS Input. + This allows you to scroll horizontally or vertically. + + + + Set-OBSScrollFilter + + HorizontalSpeed + + The horizontal scroll speed. + + Double + + Double + + + + + + + VerticalSpeed + + The vertical scroll speed. + + Double + + Double + + + + + + + NoLoop + + If set, will not loop + + Switch + + Switch + + + + + + + LimitWidth + + If provided, will limit the width. + + Double + + Double + + + + + + + LimitHeight + + If provided, will limit the height. + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + HorizontalSpeed + + The horizontal scroll speed. + + Double + + Double + + + + + + + LimitHeight + + If provided, will limit the height. + + Double + + Double + + + + + + + LimitWidth + + If provided, will limit the width. + + Double + + Double + + + + + + + NoLoop + + If set, will not loop + + Switch + + Switch + + + + + + + VerticalSpeed + + The vertical scroll speed. + + Double + + Double + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSScrollFilter -HorizontalSpeed 100 -VerticalSpeed 100 + + + + + + + + Set-OBSShaderFilter + OBSShaderFilter + Set + + Sets a Shader filter. + + 0.1.9 + + + Adds or Changes a Shader Filter on an OBS Input. + This requires that the [OBS Shader Filter](https://github.com/exeldro/obs-shaderfilter) is installed. + + + + Set-OBSShaderFilter + + ShaderText + + The text of the shader + + String + + String + + + + + + + ShaderFile + + The file path to the shader, or the short file name of the shader. + + String + + String + + + + + + + ShaderSetting + + Any other settings for the shader. +To see what the name of a shader setting is, change it in the user interface and then get the input's filters. + + Psobject + + Psobject + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + ShaderFile + + The file path to the shader, or the short file name of the shader. + + String + + String + + + + + + + ShaderSetting + + Any other settings for the shader. +To see what the name of a shader setting is, change it in the user interface and then get the input's filters. + + Psobject + + Psobject + + + + + + + ShaderText + + The text of the shader + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "FisheyeShader" -ShaderFile fisheye-xy -ShaderSetting @{ + center_x_percent=30 + center_y_percent=70 + } + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "SeasickShader" -ShaderFile seasick -ShaderSetting @{ + amplitude = 0.05 + speed = 0.5 + frequency = 12 + opacity = 1 + } + + + + + -------------------------- EXAMPLE 3 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSShaderFilter -FilterName "TwistShader" -ShaderFile twist -ShaderSetting @{ + center_x_percent=50 + center_y_percent=50 + power = 0.05 + rotation = 80 + } + + + + + + + + Set-OBSSharpnessFilter + OBSSharpnessFilter + Set + + Sets a Sharpness filter. + + 0.1.9 + + + Adds or Changes a Sharpness Filter on an OBS Input. + This changes the sharpness of an image. + + + + Set-OBSSharpnessFilter + + Sharpness + + The Sharpness. + + Double + + Double + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + + + + Force + + If set, will remove a filter if one already exists. +If this is not provided and the filter already exists, the settings of the filter will be changed. + + Switch + + Switch + + + + + + + Sharpness + + The Sharpness. + + Double + + Double + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg | + Set-OBSSharpnessFilter -Sharpness .75 + + + + + + + + Set-OBSSoundCloudSource + OBSSoundCloudSource + Set + + Sets a Sound Cloud Source + + 0.1.9 + + + Adds or changes a Sound Cloud source OBS. + Sound Cloud Sources are Browser Sources that display a [SoundCloud Player Widget](https://developers.soundcloud.com/docs/api/html5-widget). + + + + Set-OBSSoundCloudSource + + Uri + + The uri to display. This must point to a SoundCloud URL. + + Uri + + Uri + + + + + + + NoAutoPlay + + If set, will not autoplay. + + Switch + + Switch + + + + + + + NoArtwork + + If set, will not display album artwork. + + Switch + + Switch + + + + + + + NoPlayCount + + If set, will not display play count. + + Switch + + Switch + + + + + + + NoUploaderInfo + + If set, will not display uploader info. + + Switch + + Switch + + + + + + + TrackNumber + + If provided, will start playing at a given track number. + + Int + + Int + + + + + + + ShowShare + + If set, will show a share link. + + Switch + + Switch + + + + + + + ShowDownload + + If set, will show a download link. + + Switch + + Switch + + + + + + + ShowBuy + + If set, will show a buy link. + + Switch + + Switch + + + + + + + Color + + The color used for the SoundCloud audio bars and buttons. + + String + + String + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + CSS + + The css style used to render the browser page. + + String + + String + + + + + + + ShutdownWhenHidden + + If set, the browser source will shutdown when it is hidden + + Switch + + Switch + + + + + + + RestartWhenActived + + If set, the browser source will restart when it is activated. + + Switch + + Switch + + + + + + + RerouteAudio + + If set, audio from the browser source will be rerouted into OBS. + + Switch + + Switch + + + + + + + FramesPerSecond + + If provided, the browser source will render at a custom frame rate. + + Int + + Int + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, then "SoundCloud" will be used. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + Color + + The color used for the SoundCloud audio bars and buttons. + + String + + String + + + + + + + CSS + + The css style used to render the browser page. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + FramesPerSecond + + If provided, the browser source will render at a custom frame rate. + + Int + + Int + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + Name + + The name of the input. +If no name is provided, then "SoundCloud" will be used. + + String + + String + + + + + + + NoArtwork + + If set, will not display album artwork. + + Switch + + Switch + + + + + + + NoAutoPlay + + If set, will not autoplay. + + Switch + + Switch + + + + + + + NoPlayCount + + If set, will not display play count. + + Switch + + Switch + + + + + + + NoUploaderInfo + + If set, will not display uploader info. + + Switch + + Switch + + + + + + + RerouteAudio + + If set, audio from the browser source will be rerouted into OBS. + + Switch + + Switch + + + + + + + RestartWhenActived + + If set, the browser source will restart when it is activated. + + Switch + + Switch + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + ShowBuy + + If set, will show a buy link. + + Switch + + Switch + + + + + + + ShowDownload + + If set, will show a download link. + + Switch + + Switch + + + + + + + ShowShare + + If set, will show a share link. + + Switch + + Switch + + + + + + + ShutdownWhenHidden + + If set, the browser source will shutdown when it is hidden + + Switch + + Switch + + + + + + + TrackNumber + + If provided, will start playing at a given track number. + + Int + + Int + + + + + + + Uri + + The uri to display. This must point to a SoundCloud URL. + + Uri + + Uri + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Set-obssoundCloudSource -Uri https://soundcloud.com/outertone/sets/new-earth + + + + + + + + Set-OBSSourceFilterEnabled + OBSSourceFilterEnabled + Set + + Set-OBSSourceFilterEnabled : SetSourceFilterEnabled + + 0.1.9 + + + Sets the enable state of a source filter. + Set-OBSSourceFilterEnabled calls the OBS WebSocket with a request of type SetSourceFilterEnabled. + + + + Set-OBSSourceFilterEnabled + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + FilterName + + Name of the filter + + String + + String + + + + + + + FilterEnabled + + New enable state of the filter + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterEnabled + + New enable state of the filter + + Switch + + Switch + + + + + + + FilterName + + Name of the filter + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterenabled + + + + + + Set-OBSSourceFilterIndex + OBSSourceFilterIndex + Set + + Set-OBSSourceFilterIndex : SetSourceFilterIndex + + 0.1.9 + + + Sets the index position of a filter on a source. + Set-OBSSourceFilterIndex calls the OBS WebSocket with a request of type SetSourceFilterIndex. + + + + Set-OBSSourceFilterIndex + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + FilterName + + Name of the filter + + String + + String + + + + + + + FilterIndex + + New index position of the filter + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterIndex + + New index position of the filter + + Double + + Double + + + + + + + FilterName + + Name of the filter + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefilterindex + + + + + + Set-OBSSourceFilterName + OBSSourceFilterName + Set + + Set-OBSSourceFilterName : SetSourceFilterName + + 0.1.9 + + + Sets the name of a source filter (rename). + Set-OBSSourceFilterName calls the OBS WebSocket with a request of type SetSourceFilterName. + + + + Set-OBSSourceFilterName + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + FilterName + + Current name of the filter + + String + + String + + + + + + + NewFilterName + + New name for the filter + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterName + + Current name of the filter + + String + + String + + + + + + + NewFilterName + + New name for the filter + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltername + + + + + + Set-OBSSourceFilterSettings + OBSSourceFilterSettings + Set + + Set-OBSSourceFilterSettings : SetSourceFilterSettings + + 0.1.9 + + + Sets the settings of a source filter. + Set-OBSSourceFilterSettings calls the OBS WebSocket with a request of type SetSourceFilterSettings. + + + + Set-OBSSourceFilterSettings + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + FilterName + + Name of the filter to set the settings of + + String + + String + + + + + + + FilterSettings + + Object of settings to apply + + Psobject + + Psobject + + + + + + + Overlay + + True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + FilterName + + Name of the filter to set the settings of + + String + + String + + + + + + + FilterSettings + + Object of settings to apply + + Psobject + + Psobject + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + Overlay + + True == apply the settings on top of existing ones, False == reset the input to its defaults, then apply settings. + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + SourceName + + Name of the source the filter is on + + String + + String + + + + + + + SourceUuid + + UUID of the source the filter is on + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setsourcefiltersettings + + + + + + Set-OBSStreamServiceSettings + OBSStreamServiceSettings + Set + + Set-OBSStreamServiceSettings : SetStreamServiceSettings + + 0.1.9 + + + Sets the current stream service settings (stream destination). + Note: Simple RTMP settings can be set with type `rtmp_custom` and the settings fields `server` and `key`. + Set-OBSStreamServiceSettings calls the OBS WebSocket with a request of type SetStreamServiceSettings. + + + + Set-OBSStreamServiceSettings + + StreamServiceType + + Type of stream service to apply. Example: `rtmp_common` or `rtmp_custom` + + String + + String + + + + + + + StreamServiceSettings + + Settings to apply to the service + + Psobject + + Psobject + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + StreamServiceSettings + + Settings to apply to the service + + Psobject + + Psobject + + + + + + + StreamServiceType + + Type of stream service to apply. Example: `rtmp_common` or `rtmp_custom` + + String + + String + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstreamservicesettings + + + + + + Set-OBSStudioModeEnabled + OBSStudioModeEnabled + Set + + Set-OBSStudioModeEnabled : SetStudioModeEnabled + + 0.1.9 + + + Enables or disables studio mode + Set-OBSStudioModeEnabled calls the OBS WebSocket with a request of type SetStudioModeEnabled. + + + + Set-OBSStudioModeEnabled + + StudioModeEnabled + + True == Enabled, False == Disabled + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + StudioModeEnabled + + True == Enabled, False == Disabled + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstudiomodeenabled + + + + + + Set-OBSSwitchSource + OBSSwitchSource + Set + + Adds a VLC playlist source + + 0.1.9 + + + Adds or sets VLC playlist sources to OBS. + VLC must be installed for this to work. + + + + Set-OBSSwitchSource + + SourceList + + The path to the media file. + + System.String[] + + System.String[] + + + + + + + Select + + What to select in the playlist. +If a number is provided, this will select an index. +If a string is provided, this will select the whole name or last part of a name, accepting wildcards. + + System.Object + + System.Object + + + + + + + Loop + + If set, the list of sources will loop. + + Switch + + Switch + + + + + + + TimeSwitch + + If set, will switch between sources. +Sources will be displayed for a -Duration. +No source wil be displayed for an -Interval. + + Switch + + Switch + + + + + + + Interval + + The interval between sources + + Timespan + + Timespan + + + + + + + Duration + + The duration between sources that are switching at a time. + + Timespan + + Timespan + + + + + + + TimeSwitchTo + + The item that will be switched in a TimeSwitch, after -Duration and -Interval. + + String + + String + + + + + + + MediaStateSwitch + + If set, will switch on the underlying source's media state events. +Sources will be displayed for a -Duration. +No source wil be displayed for an -Interval. + + Switch + + Switch + + + + + + + MediaStateChange + + The change in media state that should trigger a switch + + System.Object + + System.Object + + + + + + + MediaSwitchTo + + When the source switcher is trigger by media end, this determines the next source that will be switched to. + + String + + String + + + + + + + TransitionName + + The name of the transition between sources. + + String + + String + + + + + + + TransitionProperty + + The properties sent to the transition. +Notice: this current requires confirmation in the UI. + + Psobject + + Psobject + + + + + + + ShowTransition + + The name of the transition used to show a source. + + String + + String + + + + + + + ShowTransitionProperty + + The properties sent to the show transition. +Notice: this current requires confirmation in the UI. + + Psobject + + Psobject + + + + + + + HideTransition + + The transition used to hide a source. + + String + + String + + + + + + + HideTransitionProperty + + The properties sent to the hide transition. +Notice: this current requires confirmation in the UI. + + Psobject + + Psobject + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + FitToScreen + + If set, will fit the input to the screen. + + Switch + + Switch + + + + + + + + + + Duration + + The duration between sources that are switching at a time. + + Timespan + + Timespan + + + + + + + FitToScreen + + If set, will fit the input to the screen. + + Switch + + Switch + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + HideTransition + + The transition used to hide a source. + + String + + String + + + + + + + HideTransitionProperty + + The properties sent to the hide transition. +Notice: this current requires confirmation in the UI. + + Psobject + + Psobject + + + + + + + Interval + + The interval between sources + + Timespan + + Timespan + + + + + + + Loop + + If set, the list of sources will loop. + + Switch + + Switch + + + + + + + MediaStateChange + + The change in media state that should trigger a switch + + System.Object + + System.Object + + + + + + + MediaStateSwitch + + If set, will switch on the underlying source's media state events. +Sources will be displayed for a -Duration. +No source wil be displayed for an -Interval. + + Switch + + Switch + + + + + + + MediaSwitchTo + + When the source switcher is trigger by media end, this determines the next source that will be switched to. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Select + + What to select in the playlist. +If a number is provided, this will select an index. +If a string is provided, this will select the whole name or last part of a name, accepting wildcards. + + System.Object + + System.Object + + + + + + + ShowTransition + + The name of the transition used to show a source. + + String + + String + + + + + + + ShowTransitionProperty + + The properties sent to the show transition. +Notice: this current requires confirmation in the UI. + + Psobject + + Psobject + + + + + + + SourceList + + The path to the media file. + + System.String[] + + System.String[] + + + + + + + TimeSwitch + + If set, will switch between sources. +Sources will be displayed for a -Duration. +No source wil be displayed for an -Interval. + + Switch + + Switch + + + + + + + TimeSwitchTo + + The item that will be switched in a TimeSwitch, after -Duration and -Interval. + + String + + String + + + + + + + TransitionName + + The name of the transition between sources. + + String + + String + + + + + + + TransitionProperty + + The properties sent to the transition. +Notice: this current requires confirmation in the UI. + + Psobject + + Psobject + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Set-OBSVLCSource -FilePath .\*.mp3 # Creates a playlist of all MP3s in the current directory + + + + + + + Add-OBSInput + + + + + Set-OBSInputSettings + + + + + + + + Set-OBSTBarPosition + OBSTBarPosition + Set + + Set-OBSTBarPosition : SetTBarPosition + + 0.1.9 + + + Sets the position of the TBar. + **Very important note**: This will be deprecated and replaced in a future version of obs-websocket. + Set-OBSTBarPosition calls the OBS WebSocket with a request of type SetTBarPosition. + + + + Set-OBSTBarPosition + + Position + + New position + + Double + + Double + + + + + + + Release + + Whether to release the TBar. Only set `false` if you know that you will be sending another position update + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + Position + + New position + + Double + + Double + + + + + + + Release + + Whether to release the TBar. Only set `false` if you know that you will be sending another position update + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#settbarposition + + + + + + Set-OBSVideoSettings + OBSVideoSettings + Set + + Set-OBSVideoSettings : SetVideoSettings + + 0.1.9 + + + Sets the current video settings. + Note: Fields must be specified in pairs. For example, you cannot set only `baseWidth` without needing to specify `baseHeight`. + Set-OBSVideoSettings calls the OBS WebSocket with a request of type SetVideoSettings. + + + + Set-OBSVideoSettings + + FpsNumerator + + Numerator of the fractional FPS value + + Double + + Double + + + + + + + FpsDenominator + + Denominator of the fractional FPS value + + Double + + Double + + + + + + + BaseWidth + + Width of the base (canvas) resolution in pixels + + Double + + Double + + + + + + + BaseHeight + + Height of the base (canvas) resolution in pixels + + Double + + Double + + + + + + + OutputWidth + + Width of the output resolution in pixels + + Double + + Double + + + + + + + OutputHeight + + Height of the output resolution in pixels + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + BaseHeight + + Height of the base (canvas) resolution in pixels + + Double + + Double + + + + + + + BaseWidth + + Width of the base (canvas) resolution in pixels + + Double + + Double + + + + + + + FpsDenominator + + Denominator of the fractional FPS value + + Double + + Double + + + + + + + FpsNumerator + + Numerator of the fractional FPS value + + Double + + Double + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputHeight + + Height of the output resolution in pixels + + Double + + Double + + + + + + + OutputWidth + + Width of the output resolution in pixels + + Double + + Double + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setvideosettings + + + + + + Set-OBSVLCSource + OBSVLCSource + Set + + Adds a VLC playlist source + + 0.1.9 + + + Adds or sets VLC playlist sources to OBS. + VLC must be installed for this to work. + + + + Set-OBSVLCSource + + FilePath + + The path to the media file. + + System.String[] + + System.String[] + + + + + + + Select + + What to select in the playlist. +If a number is provided, this will select an index. +If a string is provided, this will select the whole name or last part of a name, accepting wildcards. +If an `[IO.FileInfo]` is provided, this will be the exact file. + + System.Object + + System.Object + + + + + + + Shuffle + + If set, will shuffle the playlist + + Switch + + Switch + + + + + + + Loop + + If set, the playlist will loop. + + Switch + + Switch + + + + + + + Subtitle + + If set, will show subtitles, if available. + + Switch + + Switch + + + + + + + AudioTrack + + The selected audio track number. + + Int + + Int + + + + + + + SubtitleTrack + + The selected subtitle track number. + + Int + + Int + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + FitToScreen + + If set, will fit the input to the screen. + + Switch + + Switch + + + + + + + + + + AudioTrack + + The selected audio track number. + + Int + + Int + + + + + + + FilePath + + The path to the media file. + + System.String[] + + System.String[] + + + + + + + FitToScreen + + If set, will fit the input to the screen. + + Switch + + Switch + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Loop + + If set, the playlist will loop. + + Switch + + Switch + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Select + + What to select in the playlist. +If a number is provided, this will select an index. +If a string is provided, this will select the whole name or last part of a name, accepting wildcards. +If an `[IO.FileInfo]` is provided, this will be the exact file. + + System.Object + + System.Object + + + + + + + Shuffle + + If set, will shuffle the playlist + + Switch + + Switch + + + + + + + Subtitle + + If set, will show subtitles, if available. + + Switch + + Switch + + + + + + + SubtitleTrack + + The selected subtitle track number. + + Int + + Int + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Set-OBSVLCSource -FilePath .\*.mp3 # Creates a playlist of all MP3s in the current directory + + + + + + + Add-OBSInput + + + + + Set-OBSInputSettings + + + + + + + + Set-OBSWaveformSource + OBSWaveformSource + Set + + OBS Waveform Source + + 0.1.9 + + + Gets, Sets, or Adds a waveform source in OBS. + Waveform sources require the [Waveform Plugin](https://obsproject.com/forum/resources/waveform.1423/) + + + + Set-OBSWaveformSource + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + AudioSource + + The audio source for the waveform. + + String + + String + + + + + + + DisplayMode + + The display mode for the waveform. + + String + + String + + + + + + + RenderMode + + The render mode for the waveform. + + String + + String + + + + + + + WindowMode + + The windowing mode for the waveform. +This is the mathematical function used to determine the current "window" of audio data. + + String + + String + + + + + + + Color + + The color used for the waveform. + + Psobject + + Psobject + + + + + + + CrestColor + + The crest color used for the waveform. +This will be ignored if the render mode is not "gradient". + + Psobject + + Psobject + + + + + + + ChannelMode + + The channel mode for the waveform. +This can be either mono or stereo. + + String + + String + + + + + + + ChannelSpacing + + The number of pixels between each channel in stereo mode + + Int + + Int + + + + + + + RadialLayout + + If set, will use a radial layout for the waveform +Radial layouts will ignore the desired height of the source and instead create a square. + + Switch + + Switch + + + + + + + InvertRadialDirection + + If set, will invert the direction for a radial waveform. + + Switch + + Switch + + + + + + + NoramlizeVolume + + If set, will normalize the volume displayed in the waveform. + + Switch + + Switch + + + + + + + AutoFftSize + + If set, will automatically declare an FFTSize + + Switch + + Switch + + + + + + + FastPeak + + If set, will attempt to make audio peaks render faster. + + Switch + + Switch + + + + + + + BarWidth + + The width of the waveform bar. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + Int + + Int + + + + + + + BarGap + + The gap between waveform bars. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + Int + + Int + + + + + + + StepWidth + + The width of waveform bar step. +This is only valid when -DisplayMode is 'stepped_bars' + + Int + + Int + + + + + + + StepGap + + The gap between waveform bar steps. +This is only valid when -DisplayMode is 'stepped_bars' + + Int + + Int + + + + + + + LowCutoff + + The low-frequency cutoff of the waveform. + + Int + + Int + + + + + + + HighCutoff + + The high-frequency cutoff of the waveform. + + Int + + Int + + + + + + + Floor + + The floor of the waveform. + + Int + + Int + + + + + + + Ceiling + + The ceiling of the waveform. + + Int + + Int + + + + + + + Slope + + + Double + + Double + + + + + + + RollOffOctave + + + Double + + Double + + + + + + + RollOffRate + + + Double + + Double + + + + + + + GradientRatio + + + Double + + Double + + + + + + + Deadzone + + + Double + + Double + + + + + + + TemporalSmoothing + + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + AudioSource + + The audio source for the waveform. + + String + + String + + + + + + + AutoFftSize + + If set, will automatically declare an FFTSize + + Switch + + Switch + + + + + + + BarGap + + The gap between waveform bars. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + Int + + Int + + + + + + + BarWidth + + The width of the waveform bar. +This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + + Int + + Int + + + + + + + Ceiling + + The ceiling of the waveform. + + Int + + Int + + + + + + + ChannelMode + + The channel mode for the waveform. +This can be either mono or stereo. + + String + + String + + + + + + + ChannelSpacing + + The number of pixels between each channel in stereo mode + + Int + + Int + + + + + + + Color + + The color used for the waveform. + + Psobject + + Psobject + + + + + + + CrestColor + + The crest color used for the waveform. +This will be ignored if the render mode is not "gradient". + + Psobject + + Psobject + + + + + + + Deadzone + + + Double + + Double + + + + + + + DisplayMode + + The display mode for the waveform. + + String + + String + + + + + + + FastPeak + + If set, will attempt to make audio peaks render faster. + + Switch + + Switch + + + + + + + Floor + + The floor of the waveform. + + Int + + Int + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + GradientRatio + + + Double + + Double + + + + + + + Height + + The width of the browser source. +If none is provided, this will be the output height of the video settings. + + Int + + Int + + + + + + + HighCutoff + + The high-frequency cutoff of the waveform. + + Int + + Int + + + + + + + InvertRadialDirection + + If set, will invert the direction for a radial waveform. + + Switch + + Switch + + + + + + + LowCutoff + + The low-frequency cutoff of the waveform. + + Int + + Int + + + + + + + Name + + The name of the input. +If no name is provided, the last segment of the URI or file path will be the input name. + + String + + String + + + + + + + NoramlizeVolume + + If set, will normalize the volume displayed in the waveform. + + Switch + + Switch + + + + + + + RadialLayout + + If set, will use a radial layout for the waveform +Radial layouts will ignore the desired height of the source and instead create a square. + + Switch + + Switch + + + + + + + RenderMode + + The render mode for the waveform. + + String + + String + + + + + + + RollOffOctave + + + Double + + Double + + + + + + + RollOffRate + + + Double + + Double + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Slope + + + Double + + Double + + + + + + + StepGap + + The gap between waveform bar steps. +This is only valid when -DisplayMode is 'stepped_bars' + + Int + + Int + + + + + + + StepWidth + + The width of waveform bar step. +This is only valid when -DisplayMode is 'stepped_bars' + + Int + + Int + + + + + + + TemporalSmoothing + + + String + + String + + + + + + + Width + + The width of the browser source. +If none is provided, this will be the output width of the video settings. + + Int + + Int + + + + + + + WindowMode + + The windowing mode for the waveform. +This is the mathematical function used to determine the current "window" of audio data. + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Add-OBSWaveformSource -Name "SpeakerWaveform" + + + + + + + + Set-OBSWindowSource + OBSWindowSource + Set + + Adds or sets a window capture source + + 0.1.9 + + + Adds or sets a windows capture source in OBS. This captures the contents of a window. + + + + Set-OBSWindowSource + + WindowTitle + + The monitor number. +This the number of the monitor you would like to capture. + + String + + String + + + + + + + CaptureMethod + + The number of the capture method. By default, automatic (0). + + Int + + Int + + + + + + + CapturePriority + + The capture priority. + + String + + String + + + + + + + CaptureCursor + + If set, will capture the cursor. +This will be set by default. +If explicitly set to false, the cursor will not be captured. + + Switch + + Switch + + + + + + + ClientArea + + If set, will capture the client area. +This will be set by default. + + Switch + + Switch + + + + + + + ForceSDR + + If set, will force SDR. + + Switch + + Switch + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Name + + The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + String + + String + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + + + + CaptureCursor + + If set, will capture the cursor. +This will be set by default. +If explicitly set to false, the cursor will not be captured. + + Switch + + Switch + + + + + + + CaptureMethod + + The number of the capture method. By default, automatic (0). + + Int + + Int + + + + + + + CapturePriority + + The capture priority. + + String + + String + + + + + + + ClientArea + + If set, will capture the client area. +This will be set by default. + + Switch + + Switch + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + ForceSDR + + If set, will force SDR. + + Switch + + Switch + + + + + + + Name + + The name of the input. +If no name is provided, "Display $($Monitor + 1)" will be the input source name. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + WindowTitle + + The monitor number. +This the number of the monitor you would like to capture. + + String + + String + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Get-Process -id $PID | Set-OBSWindowCaptureSource -Name CurrentWindow + + + + + + + + Show-OBS + OBS + Show + + Shows content in OBS + + 0.1.9 + + + Shows content in Open Broadcasting Studio + + + + Show-OBS + + FilePath + + The path or URI to show in OBS. + + String + + String + + + + + + + Name + + The name of the source in OBS. +If this is not provided, it will be derived from the -FilePath. + + String + + String + + + + + + + RootPath + + A root path. +If not provided, this will be the root of the -FilePath (if it is a filepath). +If the file path was a URI, the root path will be ignored. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + Opacity + + The opacity to use for the input. +If not provided, will default to 2/3rds. +Will only be used when showing a browser source with a -FilePath + + Double + + Double + + + + + + + SourceParameter + + Any parameters to pass to the source command. + + System.Collections.IDictionary + + System.Collections.IDictionary + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + FitToScreen + + If set, will make the input become the size of the screen. + + Switch + + Switch + + + + + + + + + + FilePath + + The path or URI to show in OBS. + + String + + String + + + + + + + FitToScreen + + If set, will make the input become the size of the screen. + + Switch + + Switch + + + + + + + Force + + If set, will check if the source exists in the scene before creating it and removing any existing sources found. +If not set, you will get an error if a source with the same name exists. + + Switch + + Switch + + + + + + + Name + + The name of the source in OBS. +If this is not provided, it will be derived from the -FilePath. + + String + + String + + + + + + + Opacity + + The opacity to use for the input. +If not provided, will default to 2/3rds. +Will only be used when showing a browser source with a -FilePath + + Double + + Double + + + + + + + RootPath + + A root path. +If not provided, this will be the root of the -FilePath (if it is a filepath). +If the file path was a URI, the root path will be ignored. + + String + + String + + + + + + + Scene + + The name of the scene. +If no scene name is provided, the current program scene will be used. + + String + + String + + + + + + + SourceParameter + + Any parameters to pass to the source command. + + System.Collections.IDictionary + + System.Collections.IDictionary + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + '<svg viewBox="0 0 1 1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"> + + <polygon points="0 0 0 1 1 1 1 0" fill="blue" /> +</svg>' | Set-Content .\BlueRect.svg +Show-OBS -FilePath .\BlueRect.svg + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS > + + Show-OBS -FilePath *excited* -RootPath $home\Pictures\Gif + + + + + + + + Start-OBSEffect + OBSEffect + Start + + Starts obs-powershell effects. + + 0.1.9 + + + Starts an effect in OBS PowerShell. + An effect is either a series of messages or a command that can produce a series of messages. + + + + Start-OBSEffect + + EffectName + + The name of the effect. + + System.String[] + + System.String[] + + + + + + + Duration + + The duration of the effect. +If provided, all effects should use this duration. +If not provided, each effect should use it's own duration. + + Timespan + + Timespan + + + + + + + EffectParameter + + The parameters passed to the effect. + + System.Collections.IDictionary + + System.Collections.IDictionary + + + + + + + EffectArgument + + The arguments passed to the effect. + + System.Management.Automation.PSObject[] + + System.Management.Automation.PSObject[] + + + + + + + Step + + If provided, will step thru running + + Int + + Int + + + + + + + SceneItemID + + The SceneItemID. If this is provided, the effect will be given a target. + + Int + + Int + + + + + + + SceneName + + The SceneName. If this is provided with a -SceneItemID or -SourceName, the effect will be given a target. + + String + + String + + + + + + + FilterName + + The Filter Name. If this is provided with a -SourceName, the effect will be given a target. + + String + + String + + + + + + + SourceName + + The Source Name. If this is provided with a -FitlerName -or -SceneName, the effect will be given a target. + + String + + String + + + + + + + Loop + + If set, will loop the effect. + + Switch + + Switch + + + + + + + LoopCount + + If provided, will loop the effect a number of times. + + Int + + Int + + + + + + + Bounce + + If set, will bounce the effect (flip it / reverse it) + + Switch + + Switch + + + + + + + Reverse + + If set, will reverse an effect. + + Switch + + Switch + + + + + + + + + + Bounce + + If set, will bounce the effect (flip it / reverse it) + + Switch + + Switch + + + + + + + Duration + + The duration of the effect. +If provided, all effects should use this duration. +If not provided, each effect should use it's own duration. + + Timespan + + Timespan + + + + + + + EffectArgument + + The arguments passed to the effect. + + System.Management.Automation.PSObject[] + + System.Management.Automation.PSObject[] + + + + + + + EffectName + + The name of the effect. + + System.String[] + + System.String[] + + + + + + + EffectParameter + + The parameters passed to the effect. + + System.Collections.IDictionary + + System.Collections.IDictionary + + + + + + + FilterName + + The Filter Name. If this is provided with a -SourceName, the effect will be given a target. + + String + + String + + + + + + + Loop + + If set, will loop the effect. + + Switch + + Switch + + + + + + + LoopCount + + If provided, will loop the effect a number of times. + + Int + + Int + + + + + + + Reverse + + If set, will reverse an effect. + + Switch + + Switch + + + + + + + SceneItemID + + The SceneItemID. If this is provided, the effect will be given a target. + + Int + + Int + + + + + + + SceneName + + The SceneName. If this is provided with a -SceneItemID or -SourceName, the effect will be given a target. + + String + + String + + + + + + + SourceName + + The Source Name. If this is provided with a -FitlerName -or -SceneName, the effect will be given a target. + + String + + String + + + + + + + Step + + If provided, will step thru running + + Int + + Int + + + + + + + + + Get-OBSEffect + + + + + + + + Start-OBSOutput + OBSOutput + Start + + Start-OBSOutput : StartOutput + + 0.1.9 + + + Starts an output. + Start-OBSOutput calls the OBS WebSocket with a request of type StartOutput. + + + + Start-OBSOutput + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startoutput + + + + + + Start-OBSRecord + OBSRecord + Start + + Start-OBSRecord : StartRecord + + 0.1.9 + + + Starts the record output. + Start-OBSRecord calls the OBS WebSocket with a request of type StartRecord. + + + + Start-OBSRecord + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Start-OBSRecord + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startrecord + + + + + + Start-OBSReplayBuffer + OBSReplayBuffer + Start + + Start-OBSReplayBuffer : StartReplayBuffer + + 0.1.9 + + + Starts the replay buffer output. + Start-OBSReplayBuffer calls the OBS WebSocket with a request of type StartReplayBuffer. + + + + Start-OBSReplayBuffer + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Start-OBSReplayBuffer + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startreplaybuffer + + + + + + Start-OBSStream + OBSStream + Start + + Start-OBSStream : StartStream + + 0.1.9 + + + Starts the stream output. + Start-OBSStream calls the OBS WebSocket with a request of type StartStream. + + + + Start-OBSStream + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Start-OBSStream + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startstream + + + + + + Start-OBSVirtualCam + OBSVirtualCam + Start + + Start-OBSVirtualCam : StartVirtualCam + + 0.1.9 + + + Starts the virtualcam output. + Start-OBSVirtualCam calls the OBS WebSocket with a request of type StartVirtualCam. + + + + Start-OBSVirtualCam + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Start-OBSVirtualCam + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#startvirtualcam + + + + + + Stop-OBSEffect + OBSEffect + Stop + + Stops obs-powershell effects. + + 0.1.9 + + + Stops an effect in OBS PowerShell. + A running effect is a series of messages, and the obs-websocket does not let you cancel a message. + However, OBS effects can be bounced or running in a loop. + If these effects are stopped, they will not continue to loop or bounce. + + + + Stop-OBSEffect + + EffectName + + The name of the effect. + + String + + String + + + + + + + + + + EffectName + + The name of the effect. + + String + + String + + + + + + + + + Get-OBSEffect + + + + + Start-OBSEffect + + + + + + + + Stop-OBSOutput + OBSOutput + Stop + + Stop-OBSOutput : StopOutput + + 0.1.9 + + + Stops an output. + Stop-OBSOutput calls the OBS WebSocket with a request of type StopOutput. + + + + Stop-OBSOutput + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopoutput + + + + + + Stop-OBSRecord + OBSRecord + Stop + + Stop-OBSRecord : StopRecord + + 0.1.9 + + + Stops the record output. + Stop-OBSRecord calls the OBS WebSocket with a request of type StopRecord. + + + + Stop-OBSRecord + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Stop-OBSRecord + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stoprecord + + + + + + Stop-OBSReplayBuffer + OBSReplayBuffer + Stop + + Stop-OBSReplayBuffer : StopReplayBuffer + + 0.1.9 + + + Stops the replay buffer output. + Stop-OBSReplayBuffer calls the OBS WebSocket with a request of type StopReplayBuffer. + + + + Stop-OBSReplayBuffer + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Stop-OBSReplayBuffer + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopreplaybuffer + + + + + + Stop-OBSStream + OBSStream + Stop + + Stop-OBSStream : StopStream + + 0.1.9 + + + Stops the stream output. + Stop-OBSStream calls the OBS WebSocket with a request of type StopStream. + + + + Stop-OBSStream + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Stop-OBSStream + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopstream + + + + + + Stop-OBSVirtualCam + OBSVirtualCam + Stop + + Stop-OBSVirtualCam : StopVirtualCam + + 0.1.9 + + + Stops the virtualcam output. + Stop-OBSVirtualCam calls the OBS WebSocket with a request of type StopVirtualCam. + + + + Stop-OBSVirtualCam + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Stop-OBSVirtualCam + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#stopvirtualcam + + + + + + Switch-OBSInputMute + OBSInputMute + Switch + + Switch-OBSInputMute : ToggleInputMute + + 0.1.9 + + + Toggles the audio mute state of an input. + Switch-OBSInputMute calls the OBS WebSocket with a request of type ToggleInputMute. + + + + Switch-OBSInputMute + + InputName + + Name of the input to toggle the mute state of + + String + + String + + + + + + + InputUuid + + UUID of the input to toggle the mute state of + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + InputName + + Name of the input to toggle the mute state of + + String + + String + + + + + + + InputUuid + + UUID of the input to toggle the mute state of + + String + + String + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleinputmute + + + + + + Switch-OBSOutput + OBSOutput + Switch + + Switch-OBSOutput : ToggleOutput + + 0.1.9 + + + Toggles the status of an output. + Switch-OBSOutput calls the OBS WebSocket with a request of type ToggleOutput. + + + + Switch-OBSOutput + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + OutputName + + Output name + + String + + String + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#toggleoutput + + + + + + Switch-OBSRecord + OBSRecord + Switch + + Switch-OBSRecord : ToggleRecord + + 0.1.9 + + + Toggles the status of the record output. + Switch-OBSRecord calls the OBS WebSocket with a request of type ToggleRecord. + + + + Switch-OBSRecord + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Switch-OBSRecord + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecord + + + + + + Switch-OBSRecordPause + OBSRecordPause + Switch + + Switch-OBSRecordPause : ToggleRecordPause + + 0.1.9 + + + Toggles pause on the record output. + Switch-OBSRecordPause calls the OBS WebSocket with a request of type ToggleRecordPause. + + + + Switch-OBSRecordPause + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Switch-OBSRecordPause + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglerecordpause + + + + + + Switch-OBSReplayBuffer + OBSReplayBuffer + Switch + + Switch-OBSReplayBuffer : ToggleReplayBuffer + + 0.1.9 + + + Toggles the state of the replay buffer output. + Switch-OBSReplayBuffer calls the OBS WebSocket with a request of type ToggleReplayBuffer. + + + + Switch-OBSReplayBuffer + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Switch-OBSReplayBuffer + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglereplaybuffer + + + + + + Switch-OBSStream + OBSStream + Switch + + Switch-OBSStream : ToggleStream + + 0.1.9 + + + Toggles the status of the stream output. + Switch-OBSStream calls the OBS WebSocket with a request of type ToggleStream. + + + + Switch-OBSStream + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Switch-OBSStream + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglestream + + + + + + Switch-OBSVirtualCam + OBSVirtualCam + Switch + + Switch-OBSVirtualCam : ToggleVirtualCam + + 0.1.9 + + + Toggles the state of the virtualcam output. + Switch-OBSVirtualCam calls the OBS WebSocket with a request of type ToggleVirtualCam. + + + + Switch-OBSVirtualCam + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + + + + NoResponse + + If set, will not attempt to receive a response from OBS. +This can increase performance, and also silently ignore critical errors + + Switch + + Switch + + + + + + + PassThru + + If set, will return the information that would otherwise be sent to OBS. + + Switch + + Switch + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Switch-OBSVirtualCam + + + + + + + + + https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#togglevirtualcam + + + + + + Watch-OBS + OBS + Watch + + Watches OBS + + 0.1.9 + + + Watches the OBS websocket for events. + + + + Watch-OBS + + WebSocketURI + + The OBS websocket URL. If not provided, this will default to loopback on port 4455. + + Uri + + Uri + + + + + + + WebSocketToken + + A randomly generated password used to connect to OBS. +You can see the websocket password in Tools -> obs-websocket settings -> show connect info + + String + + String + + + + + + + BufferSize + + The size of the buffer to use when receiving messages from the websocket. + + Int + + Int + + + + + + + + + + BufferSize + + The size of the buffer to use when receiving messages from the websocket. + + Int + + Int + + + + + + + WebSocketToken + + A randomly generated password used to connect to OBS. +You can see the websocket password in Tools -> obs-websocket settings -> show connect info + + String + + String + + + + + + + WebSocketURI + + The OBS websocket URL. If not provided, this will default to loopback on port 4455. + + Uri + + Uri + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS > + + Watch-OBS -WebSocketToken 12345 # Obviously, replace this with your password. + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS > + + Watch-OBS # If you turn off authentication on OBS + + + + + + + Connect-OBS + + + + + Receive-OBS + + + + + + From a1479cbc1c2231e8f444101729f532b1fb4cd3f2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:15:07 +0000 Subject: [PATCH 3913/4768] fix: Generating MAML and allcommands.ps1 ( Fixes #214 ) --- allcommands.ps1 | 61164 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61164 insertions(+) create mode 100644 allcommands.ps1 diff --git a/allcommands.ps1 b/allcommands.ps1 new file mode 100644 index 000000000..8e1a50ddc --- /dev/null +++ b/allcommands.ps1 @@ -0,0 +1,61164 @@ +### DO NOT EDIT THIS FILE DIRECTLY ### + +#.ExternalHelp obs-powershell-Help.xml +function Clear-OBSScene +{ + + [CmdletBinding(SupportsShouldProcess,ConfirmImpact='High')] + param( + # Name of the scene. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $SceneName + ) + + process { + if ($PSCmdlet.ShouldProcess("Clear $sceneName")) { + Get-OBSSceneItem -SceneName $SceneName | + Remove-OBSSceneItem + } + } +} +#.ExternalHelp obs-powershell-Help.xml +function Connect-OBS +{ + + [CmdletBinding(DefaultParameterSetName='ExistingConnections')] + param( + # The OBS websocket URL. If not provided, this will default to loopback on port 4455. + [Parameter(ValueFromPipelineByPropertyName,ParameterSetName='NewConnection')] + [ValidateScript({ + if ($_.Scheme -ne 'ws') { + throw "Not a websocket uri" + } + return $true + })] + [uri] + $WebSocketUri = "ws://$([ipaddress]::Loopback):4455", + + # A randomly generated password used to connect to OBS. + # You can see the websocket password in Tools -> obs-websocket settings -> show connect info + [Parameter(ValueFromPipelineByPropertyName,ParameterSetName='NewConnection')] + [Alias('WebSocketPassword')] + [string] + $WebSocketToken + ) + + + begin { + if ($home) { + $obsPowerShellRoot = Join-Path $home '.obs-powershell' + } + } + + process { + if ($PSCmdlet.ParameterSetName -eq 'NewConnection') { + $connectionExists = $script:ObsConnections[$WebSocketUri] + if ($connectionExists -and + $connectionExists.State -eq 'Running' -and + $connectionExists.WebSocket.State -eq 'Open' + ) { + $connectionExists + Write-Verbose "Already connected" + return + } + + Watch-OBS @PSBoundParameters + return + } + elseif ($PSCmdlet.ParameterSetName -eq 'ExistingConnections') { + if ($script:ObsConnections.Count) { + $script:ObsConnections.Values + } else { + $storedSockets = Get-ChildItem -path $obsPowerShellRoot -ErrorAction SilentlyContinue -Filter *.obs-websocket.clixml + + if (-not $storedSockets) { + [PSCustomObject][Ordered]@{ + PSTypeName = 'obs-powershell.not.connected' + Message = 'No connections to OBS. Use Connect-OBS to connect.' + } + } else { + $storedSockets | + Import-Clixml | + Watch-OBS + } + } + } + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Disconnect-OBS +{ + + param() + + process { + if ($script:ObsConnections.Values) { + foreach ($connection in $script:ObsConnections.Values) { + if ($connection.WebSocket.State -eq 'Open') { + $null = $connection.WebSocket.CloseAsync('NormalClosure', "obs-powershell $pid disconnecting", [Threading.CancellationToken]::new($false)) + } + } + $script:ObsConnections.Values | Stop-Job + $script:ObsConnections.Values | Remove-Job + } + if ($script:ObsConnections) { + $script:ObsConnections.Clear() + } + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBS +{ + + param() + + $script:OBS +} + +#.ExternalHelp obs-powershell-Help.xml +function Hide-OBS { + + [CmdletBinding(SupportsShouldProcess,ConfirmImpact='Medium')] + param( + # The name of the item we want to Hide + [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Alias('SourceName','InputName')] + $ItemName, + + # The name of the scene. If not provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $SceneName + ) + + process { + # If no scene was provided + if (-not $SceneName) { + # find the current program scene + $sceneName = Get-OBSCurrentProgramScene + } + + # Walk over all items in the scene + foreach ($sceneItem in Get-OBSSceneItem -SceneName $SceneName) { + # If the match our wildcard and we confirm, remove it. + if ($sceneItem.SourceName -like $ItemName -and + $PSCmdlet.ShouldProcess("Hide input $($sceneItem.SourceName)")) { + # Hide it. + $sceneItem | Set-OBSSceneItemEnabled -SceneItemEnabled:$false + } + } + } +} + + +#.ExternalHelp obs-powershell-Help.xml +function Receive-OBS +{ + + [CmdletBinding(DefaultParameterSetName='WaitForResponse')] + param( + # The message data that has been received + [Parameter(ValueFromPipeline)] + $MessageData, + + # If set will wait for a response from the message and expand the results. + [Parameter(ParameterSetName='WaitForResponse')] + [switch] + $WaitForReponse, + + # If set, will responsd to known events, like 'hello', and resend other events as PowerShell events + [Parameter(ParameterSetName='SendEvent')] + [Alias('Resend')] + [switch] + $SendEvent, + + # The OBS websocket URL. If not provided, this will default to loopback on port 4455. + [Parameter(Mandatory,ParameterSetName='SendEvent')] + [Alias('WebSocketURL')] + [uri] + $WebSocketURI = "ws://$([ipaddress]::Loopback):4455", + + # A randomly generated password used to connect to OBS. + # You can see the websocket password in Tools -> obs-websocket settings -> show connect info + [Parameter(Mandatory,ParameterSetName='SendEvent')] + [Alias('WebSocketPassword')] + [string] + $WebSocketToken + ) + + begin { + function OBSIdentify { + $secret = "$webSocketToken$($messageData.d.authentication.salt)" + $enc = [Security.Cryptography.SHA256Managed]::new() + $secretSalted64 = [Convert]::ToBase64String( + $enc.ComputeHash([Text.Encoding]::ascii.GetBytes($secret) + )) + + $saltedSecretAndChallenge = "$secretSalted64$( + $messageData.d.authentication.challenge + )" + + $enc = [Security.Cryptography.SHA256Managed]::new() + $challenge64 = [Convert]::ToBase64String( + $enc.ComputeHash([Text.Encoding]::ascii.GetBytes( + $saltedSecretAndChallenge + )) + ) + + $identifyMessage = [Ordered]@{ + op = 1 + d = [Ordered]@{ + rpcVersion = 1 + authentication = $challenge64 + } + } + $PayloadJson = $identifyMessage | ConvertTo-Json -Compress + $SendSegment = [ArraySegment[Byte]]::new([Text.Encoding]::UTF8.GetBytes($PayloadJson)) + $null = $Websocket.SendAsync($SendSegment,'Text', $true, [Threading.CancellationToken]::new($false)) + } + + if ($home) { + $obsPowerShellRoot = Join-Path $home '.obs-powershell' + } + } + + process { + $payloadObject = $MessageData + + if ($PSCmdlet.ParameterSetName -eq 'WaitForResponse') { + $myRequestId = $payloadObject.d.requestID + $myRequestType = $payloadObject.d.requestType + if (-not $myRequestId) { + Write-Error "No .RequestID to wait for" + return + } + + # Normally, we can just wait for the event + $eventResponse = Wait-Event -SourceIdentifier $myRequestId -Timeout 1 | + Select-Object -ExpandProperty MessageData + + # however, if we are in the event pump we need to look at the output of the connection. + if (-not $eventResponse -and + $obsConnection -is [Management.Automation.Job]) { + for ($outputIndex = $obsConnection.Output.Count - 1; $outputIndex -ge 0; $outputIndex--) { + $obsOutput = $obsConnection.Output[$outputIndex] + if ($obsOutput.SourceIdentifier -eq $myRequestId) { + $eventResponse = $obsOutput.MessageData + break + } + } + } + + if ($eventResponse -is [Management.Automation.ErrorRecord]) { + if ($eventResponse.Exception.Message) { + Write-Error -ErrorRecord $eventResponse + } + return + } + + if ($null -eq $eventResponse) { return } + # Collect all properties from the response + $eventResponseProperties = @($eventResponse.psobject.properties) + + $expandedResponse = + # If there was only one property + if ($eventResponseProperties.Length -eq 1) { + $typeName = "$($eventResponseProperties.TypeNameOfValue)" + # and it was a string, array, or PSCustomObject + if ($typeName -eq 'System.String' -or $typeName -eq 'System.Object[]' -or $typeName -eq 'System.Management.Automation.PSCustomObject') { + # expand it + $eventResponse.psobject.properties.value + } else { + # otherwise, return it as is. + $eventResponse + } + } else { + $eventResponse + } + + + # Now walk thru each response and expand / decorate it + foreach ($responseObject in $expandedResponse) { + # If there was no response, move on. + if ($null -eq $responseObject) { + continue + } + # If the response is a string and it's the same as the request type + if ($responseObject -is [string] -and $responseObject -eq $myRequestType) { + continue # ignore it + } + # otherwise, if the response looks like a file + elseif ($responseObject -is [string] -and + $responseObject -match '^(?:\p{L}\:){0,1}[\\/]') { + $fileName = $responseObject -replace '[\\/]', ([io.path]::DirectorySeparatorChar) + if (Test-Path $fileName) { + $responseObject = Get-Item -LiteralPath $fileName + } + } + + # Otherwise, create a new PSObject out of the response + $responseObject = [PSObject]::new($responseObject) + + # If the response is not a string + if ($responseObject -isnot [string]) { + # clear the typename. + $responseObject.pstypenames.clear() + } + + if ($responseObject.inputKind) { + $responseObject.pstypenames.add("OBS.Input.$($responseObject.inputKind -replace '_', '.')") + } + # Decorate the response with the command name and OBS.requestype.response + $responseObject.pstypenames.add("$myCmd") + $responseObject.pstypenames.add("OBS.$myRequestType.Response") + + # Now, walk thru all properties in our input payload + foreach ($keyValue in $paramCopy.GetEnumerator()) { + # If they were not in our output + if (-not $responseObject.psobject.properties[$keyValue.Key]) { + # add them + $responseObject.psobject.properties.add( + [psnoteproperty]::new($keyValue.Key, $keyValue.Value) + ) + } + + # Doing this will make it easier to pipe one step to another + # and make results more useful. + } + + # finally, emit our response object + $responseObject + } + } + + if ($PSCmdlet.ParameterSetName -eq 'SendEvent') { + if (-not $script:ObsConnections[$webSocketUri]) { + Write-Error "Not connected to '$webSocketUri'" + return + } + + $MessageData.pstypenames.insert(0,'OBS.WebSocket.Message') + $newEventSplat = @{} + + if ($messageData.op -eq 0 -and $messageData.d.authentication) { + . OBSIdentify + } + + $newEventSplat.SourceIdentifier = 'OBS.WebSocket.Message' + $newEventSplat.MessageData = $MessageData + + New-Event @newEventSplat + + if ($messageData.op -eq 2 -and + $obsPowerShellRoot) { + $obsConnectedFileName = $webSocketUri.DnsSafeHost + '_' + $webSocketUri.Port + if (-not (Test-Path $obsPowerShellRoot)) { + $null = New-Item -ItemType Directory -Path $obsPowerShellRoot + } + $obsConnectionFile = + Join-Path $obsPowerShellRoot "$obsConnectedFileName.obs-websocket.clixml" + + if (Test-Path $obsConnectionFile) { + $fileData = Import-Clixml $obsConnectionFile + $fileData.WebSocketToken = $WebSocketToken + $fileData.WebSocketUri = $webSocketUri + $fileData | Export-Clixml -Path $obsConnectionFile + } else { + [PSCustomObject][Ordered]@{ + PSTypeName = 'OBS.PowerShell.Connection.Info' + WebSocketToken = $WebSocketToken + WebSocketUri = $webSocketUri + } | Export-Clixml -Path $obsConnectionFile + } + + + } + + if ($messageData.op -eq 5) { + $newEventSplat = @{} + $newEventSplat.SourceIdentifier = "OBS.Event.$($messageData.d.eventType)" + if ($messageData.d.eventData) { + $newEventSplat.MessageData = [PSObject]::new($messageData.d.eventData) + $newEventSplat.MessageData.pstypenames.insert(0,"OBS.$($MessageData.d.eventType).response") + $newEventSplat.MessageData.pstypenames.insert(0,"$($newEventSplat.SourceIdentifier)") + } + New-Event @newEventSplat + } + + # A message with the opcode of 7 is an event response. + if ($messageData.op -eq 7) { + $newEventSplat = @{} + # For event responses, we want to send another event using the requestID. + $newEventSplat.SourceIdentifier = $MessageData.d.requestId + # If there was response data + if ($messageData.d.responseData) { + # create a new object with that data + $newEventSplat.MessageData = [PSObject]::new($MessageData.d.responseData) + # and decorate it's return + $newEventSplat.MessageData.pstypenames.insert(0,"OBS.$($MessageData.d.requestType).response") + $newEventSplat.MessageData.pstypenames.insert(0,"$($newEventSplat.SourceIdentifier)") + } + # Otherwise, if the request failed + elseif ($messageData.d.requestStatus.result -eq $false) + { + # Our message will be an error record. + $newEventSplat.MessageData = + [Management.Automation.ErrorRecord]::new( + # using the comment as the error message + [Exception]::new($MessageData.d.requestStatus.comment), + ($messageData.d.requestId -replace '\.[0-9a-f\-]+$') + ".$($MessageData.d.requestStatus.code)", 'NotSpecified', $messageData + ) + + $newEventSplat.MessageData.pstypenames.insert(0,"OBS.$($MessageData.d.requestType).error") + $newEventSplat.MessageData.pstypenames.insert(0,"$($newEventSplat.SourceIdentifier).error") + } + New-Event @newEventSplat + } + } + + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBS { + + [CmdletBinding(SupportsShouldProcess,ConfirmImpact='High')] + param( + # The name of the item we want to remove + [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Alias('SourceName','InputName','SceneName')] + $ItemName + ) + + process { + # If we remove an input, we don't want to remove a scene + $removedAnInput = $false + # Go over each input + foreach ($obsInput in Get-OBSInput) { + # If it matches our wildcard and we confirm + if ($obsInput.InputName -like $ItemName -and + $PSCmdlet.ShouldProcess("Remove input $($obsInput.InputName)")) { + # remove it. + Remove-OBSInput -InputName $obsInput.InputName + $removedAnInput = $true + } + } + + # Return if we removed an input. + if ($removedAnInput) { return } + + # Go over all scenes + foreach ($obsScene in (Get-OBSScene).Scenes) { + # If the name matches our wildcard and we confirm + if ($obsScene.SceneName -like $ItemName -and + $PSCmdlet.ShouldProcess("Remove scene $($obsScene.SceneName)")) { + # remove the scene. + Remove-OBSScene -SceneName $obsScene.SceneName + } + } + } +} +#.ExternalHelp obs-powershell-Help.xml +function Send-OBS +{ + + param( + # The data to send to the obs websocket. + [Parameter(ValueFromPipeline,ValueFromPipelineByPropertyName)] + [Alias('Payload')] + $MessageData, + + # If provided, will sleep after each step. + # If -StepTime is less than 10000 ticks, it will be treated as frames per second. + # If -SerialFrame was provied, -StepTime will be the number of frames to wait. + [Parameter(ValueFromPipelineByPropertyName)] + [timespan] + $StepTime, + + # If set, will process a batch of requests in parallel. + [switch] + $Parallel, + + # If set, will process a batch of requests in parallel. + [switch] + $SerialFrame, + + # If set, will receive responses from batches of requests. + [Alias('ReceiveBatches')] + [switch] + $ReceiveBatch, + + # If set, will never attempt to receive a response. + [Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] + [switch] + $NoResponse + ) + + begin { + $allMessages = [Collections.Queue]::new() + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + if (-not $script:ObsWebSockets) { + $script:ObsWebSockets = [Ordered]@{} + } + + function SendSingleMessageToOBS { + param( + [Parameter(ValueFromPipeline)] + $payloadObject + ) + + process { + if ($null -eq $payloadObject.op) { + if ($payloadObject.requestID) { + $payloadObject = [Ordered]@{ + op = 6 + d = $payloadObject + } + } + elseif ($payloadObject.authentication) { + $payloadObject = [Ordered]@{ + op = 1 + d = $payloadObject + } + } + else { + Write-Verbose "No payload provided, broadcasting event" + $myRequestType = 'BroadcastCustomEvent' + + # If we don't have a request counter for this request type + if (-not $script:ObsRequestsCounts[$myRequestType]) { + # initialize it to zero. + $script:ObsRequestsCounts[$myRequestType] = 0 + } + # Increment the counter for requests of this type + $script:ObsRequestsCounts[$myRequestType]++ + + # and make a request ID from that. + $myRequestId = "$myRequestType.$($script:ObsRequestsCounts[$myRequestType])" + + $payloadObject = [Ordered]@{ + op = 6 + d = [Ordered]@{ + requestId = $myRequestId + requestType = $myRequestType + eventData = $payloadObject + } + } + } + } + $PayloadJson = ConvertTo-Json -Depth 100 -InputObject $payloadObject + + + # And create a byte segment to send it off. + $SendSegment = [ArraySegment[Byte]]::new([Text.Encoding]::UTF8.GetBytes($PayloadJson)) + + # If we have no OBS connections + if (-not $script:ObsConnections.Values) { + # error out + Write-Error "Not connected to OBS. Use Connect-OBS." + return + } + # Otherwise, walk over each connection + foreach ($obsConnectionInfo in @($script:ObsConnections.GetEnumerator())) { + $obsConnection = $obsConnectionInfo.Value + $OBSWebSocketUri = $obsConnectionInfo.Key + $OBSWebSocket = $obsConnection.Websocket + if ($VerbosePreference -notin 'silentlyContinue', 'ignore') { + Write-Verbose "Sending $payloadJSON" + } + + # In event-driven contexts, the websocket attachment may not work due to the accessibility of ScriptMethods. + if ($OBSWebSocket -eq $null) { + # to work around this, we can find our websocket by looking at the event it generated on connection + if (-not $script:OBSWebSockets[$OBSWebSocketUri] -or $script:OBSWebSockets[$OBSWebSocketUri].State -ne 'Open') { + $webSocketEvents = @(Get-Event -SourceIdentifier obs.powershell.websocket) + [Array]::Reverse($webSocketEvents) + foreach ($webSocketEvent in $webSocketEvents) { + if ($webSocketEvent.MessageData.Uri -eq $OBSWebSocketUri -and + $webSocketEvent.WebSocket.State -eq 'Open' + ) { + # Once we find an open socket, cache it. + $script:OBSWebSockets[$webSocketEvent.MessageData.Uri] = $webSocketEvent.MessageData.WebSocket + break + } + } + } + # set the socket to what is in the cache. + $OBSWebSocket = $script:OBSWebSockets[$OBSWebSocketUri] + + # If there was still no socket + if (-not $OBSWebSocket) { + # write an error + Write-Error "No websocket for $obsWebSocketUri" + continue # and continue. + } + } + # Since we have a working websocket, send the payload to it. + $null = $OBSWebSocket.SendAsync($SendSegment,'Text', $true, [Threading.CancellationToken]::new($false)) + # If a response was expected (and we did explicitly say to ignore responses) + if ($payloadObject.d.requestID -and + (-not $NoResponse) + ) { + if ($payloadObject.op -ne 8 -or $ReceiveBatch) { + $payloadObject | . Receive-OBS + } + } + } + } + } + } + + process { + foreach ($message in $MessageData) { + if ($null -eq $message) { continue } + $allMessages.Enqueue($Message) + if ($StepTime.TotalMilliseconds -gt 0) { + if ($SerialFrame) { + $allMessages.Enqueue([PSCustomObject][Ordered]@{ + requestType = 'Sleep' + requestData = @{ + sleepFrames = [int]$StepTime.Ticks + } + }) + } else { + if ($StepTime.Ticks -lt 10000) { + $StepTime = [TimeSpan]::FromMilliseconds(1000 / $StepTime.Ticks) + } + $allMessages.Enqueue([PSCustomObject][Ordered]@{ + requestType = 'Sleep' + requestData = @{ + sleepMillis = [int]$StepTime.TotalMilliseconds + } + }) + } + } + } + + } + + end { + if ($allMessages.Count -eq 1) { + $payloadObject = $allMessages[0] + $payloadObject | SendSingleMessageToOBS + } + elseif ($allMessages.Count -gt 0 -and $allMessages.ToArray().RequestType) { + if (-not $script:ObsRequestsCounts["Batch"]) { + $script:ObsRequestsCounts["Batch"] = 0 + } + $script:ObsRequestsCounts["Batch"]++ + + [PSCustomObject]@{ + op = 8 + d = [Ordered]@{ + requestId = "Batch.$([guid]::NewGuid())" + executionType = if ($Parallel) { + 2 + } elseif ($SerialFrame) { + 1 + } else { + 0 + } + requests = $allMessages.ToArray() + } + } | SendSingleMessageToOBS + } + else { + $allMessages | SendSingleMessageToOBS + } + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Show-OBS { + + param( + # The path or URI to show in OBS. + [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Alias('FullName','Src', 'Uri','FileName')] + [string] + $FilePath, + + # The name of the source in OBS. + # If this is not provided, it will be derived from the -FilePath. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Name, + + # A root path. + # If not provided, this will be the root of the -FilePath (if it is a filepath). + # If the file path was a URI, the root path will be ignored. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $RootPath, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The opacity to use for the input. + # If not provided, will default to 2/3rds. + # Will only be used when showing a browser source with a -FilePath + [Parameter(ValueFromPipelineByPropertyName)] + [double] + $Opacity = (2/3), + + # Any parameters to pass to the source command. + [Parameter(ValueFromPipelineByPropertyName)] + [Collections.IDictionary] + $SourceParameter = [ordered]@{}, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force, + + # If set, will make the input become the size of the screen. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $FitToScreen + ) + + begin { + filter FitToScreenAndOutput { + if ($FitToScreen -and $_.FitToScreen) { + $_.FitToScreen() + } + $_ + } + } + + process { + # If we had a -RootPath + if ($RootPath) { + # Look in the root path + $imageFiles = @(Get-ChildItem $RootPath -Recurse -File| + # For files like this keyword + Where-Object FullName -like "*$filePath*" | + # that are extensions we could show + Where-Object Extension -in '.html', '.jpg', '.jpeg', '.gif', '.apng', '.png' + ) + if ($imageFiles.Count) { + $FilePath = ($imageFiles | Get-Random).FullName + } + } + + + + # Determine if the thing we are showing will be a ffmpeg source. + $IsMediaSource = + # If it's an http path, it's not + if ($FilePath -like 'http*') { + $false + } elseif ( + # If it's an HTML-friendly path, it's not + $FilePath -match '.(?>html?|gif|jpe?g|a?png|svg)$' + ) { + $false + } else { + # Otherwise, let's give it a try. + $true + } + + if (-not $RootPath -and $filePath -notlike 'http*') { + $RootPath = "$($FilePath | Split-Path)" + } + + # If we provided a scene + if ($Scene) { + # pass it down. + $SourceParameter.Scene = $Scene + } + + # If we provided a name + if ($Name) { + # pass it down. + $SourceParameter.Name = $Name + } + + # If we want to use -Force + if ($Force) { + # pass it down + $SourceParameter.Force = $Force + } + + # If we do not want to create a media source, + if (-not $IsMediaSource) { + # we create a browser source. + $SourceParameter.Uri = $FilePath + # If the path was not already HTML, + if ($RootPath -and $FilePath -notmatch '\.html{0,1}$') { + # we make a minimal frame in a .html file + $relativePath = $FilePath.Substring($RootPath.Length + 1) + $htmlFrame = " + + ' + + " + + $leafPath = Split-Path -Path $FilePath -Leaf + $htmlPath = Join-Path $RootPath "$($leafPath).html" + [IO.File]::WriteAllText($htmlPath, $htmlFrame) + # And set up the CSS for that frame, passing down -Opacity. + # (this may not work for all images) + $css = " + body { + background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; + } + img { + width: 100% + height: 100%; + opacity: $([float]$opacity); + } + " + $SourceParameter.Uri = $htmlPath + $SourceParameter.CSS = $css + Add-OBSBrowserSource @SourceParameter | FitToScreenAndOutput + } else { + Add-OBSBrowserSource @SourceParameter | FitToScreenAndOutput + } + + } else { + $SourceParameter.FilePath = $FilePath + Add-OBSMediaSource @SourceParameter | FitToScreenAndOutput + } + } +} +#.ExternalHelp obs-powershell-Help.xml +function Watch-OBS +{ + + param( + # The OBS websocket URL. If not provided, this will default to loopback on port 4455. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('WebSocketURL')] + [uri] + $WebSocketURI = "ws://$([ipaddress]::Loopback):4455", + + # A randomly generated password used to connect to OBS. + # You can see the websocket password in Tools -> obs-websocket settings -> show connect info + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('WebSocketPassword')] + [string] + $WebSocketToken, + + # The size of the buffer to use when receiving messages from the websocket. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(1,1mb)] + [int] + $BufferSize = 64kb + ) + + begin { + $obsWatcherJobDefinition = '' + { + param( + [Collections.IDictionary]$Variable + ) + + foreach ($keyValue in $Variable.GetEnumerator()) { + $ExecutionContext.SessionState.PSVariable.Set($keyValue.Name, $keyValue.Value) + } + }.ToString() + +" +function Receive-OBS { +$($ExecutionContext.SessionState.InvokeCommand.GetCommand('Receive-OBS', 'Function').Definition) +} + +function Send-OBS { +$($ExecutionContext.SessionState.InvokeCommand.GetCommand('Send-OBS', 'Function').Definition) +} +" + { + $Websocket = [Net.WebSockets.ClientWebSocket]::new() # [Net.WebSockets.ClientWebSocket]::new() + $waitFor = [Timespan]'00:00:05' + $ConnectTask = $Websocket.ConnectAsync($webSocketUri, [Threading.CancellationToken]::new($false)) + $null = $ConnectTask.ConfigureAwait($false) + + + $obsPwd = $WebSocketToken + $WaitInterval = [Timespan]::FromMilliseconds(7) + + $BufferSize = 64kb + + $maxWaitTime = [DateTime]::Now + $WaitFor + while (!$ConnectTask.IsCompleted -and [DateTime]::Now -lt $maxWaitTime) { + + } + + if (-not $script:ObsConnections) { + $script:ObsConnections = @{} + } + $script:ObsConnections[$webSocketUri] = $Websocket + $Variable['WebSocket'] = $Websocket + + [PSCustomObject][Ordered]@{ + PSTypename = 'obs.websocket' + Uri = $webSocketUri + WebSocket = $Websocket + } + try { + + while ($true) { + # Create a buffer for the response + $buffer = [byte[]]::new($BufferSize) + $receiveSegment = [ArraySegment[byte]]::new($buffer) + if (!($Websocket.State -eq 'Open')) { + throw 'Websocket is not open anymore. {0}' -f $Websocket.State + } + # Receive the next response from the WebSocket, + $receiveTask = $Websocket.ReceiveAsync($receiveSegment, [Threading.CancellationToken]::new($false)) + # then wait for it to complete. + while (-not $receiveTask.IsCompleted) { Start-Sleep -Milliseconds $WaitInterval.TotalMilliseconds } + # "Receiving $($receiveTask.Result.Count)" | Out-Host + $msg = # Get the response and trim with extreme prejudice. + [Text.Encoding]::UTF8.GetString($buffer, 0, $receiveTask.Result.Count).Trim() -replace '\s+$' + + if ($msg) { + $messageData = try { ConvertFrom-Json $msg -ErrorAction Ignore} catch { $_ } + $received = if ($messageData -isnot [Management.Automation.ErrorRecord]) { + $messageData | Receive-OBS -WebSocketToken $WebSocketToken -WebSocketUri $webSocketUri -SendEvent -Subscription $Subscription + } else { + $messageData + } + if ($MainRunspace) { + foreach ($receivedItem in $received) { + if ($receivedItem -is [Management.Automation.PSEvent]) { + $MainRunspace.Events.GenerateEvent($receivedItem.SourceIdentifier, $receivedItem.Sender, $receivedItem.SourceArgs, $receivedItem.MessageData) + } else { + $MainRunspace.Events.GenerateEvent('obs://', $Websocket, $received, $null) + } + } + } + $received + } + + $buffer.Clear() + + } + + } catch { + Write-Error -Exception $_.Exception -Message "Exception: $($_ | Out-String)" -ErrorId "WebSocket.State.$($Websocket.State)" + } + } + + $obsWatcherJobDefinition = [scriptblock]::Create($obsWatcherJobDefinition) + + if (-not $script:ObsConnections) { + $script:ObsConnections = [Ordered]@{} + } + + $obsProcess = Get-Process obs* | + Where-Object Name -In 'obs', 'obs64', 'obs32' + + if (-not $obsProcess) { + Write-Warning "OBS is not running" + } + } + + process { + + $MainRunspace = [Runspace]::DefaultRunspace + $obsWatcher = + Start-ThreadJob -ScriptBlock $obsWatcherJobDefinition -Name "OBS.Connection.$($Credential.UserName)" -ArgumentList ([Ordered]@{ + WebSocketURI = $WebSocketURI + WebSocketToken = $WebSocketToken + BufferSize = $BufferSize + MainRunspace = $MainRunspace + }) + + $whenOutputAddedHandler = + Register-ObjectEvent -InputObject $obsWatcher.Output -EventName DataAdded -Action { + + $dataAdded = $sender[$event.SourceArgs[1].Index] + if ($dataAdded -is [Management.Automation.PSEventArgs]) { + $newEventSplat = [Ordered]@{ + SourceIdentifier = $dataAdded.SourceIdentifier + } + $newEventSplat.Sender = $eventSubscriber + if ($dataAdded.MessageData) { + $newEventSplat.MessageData = $dataAdded.MessageData + } + if ($dataAdded.SourceEventArgs) { + $newEventSplat.EventArguments = $dataAdded.SourceEventArgs + } + $messageData = $dataAdded.MessageData + New-Event @newEventSplat + } + elseif ($dataAdded.pstypenames -contains 'obs.websocket') { + New-Event -SourceIdentifier obs.powershell.websocket -MessageData $dataAdded + $eventSubscriber | Add-Member NoteProperty WebSocket $dataAdded.WebSocket -Force -PassThru + } + else { + + } + } + + $whenOutputAddedHandler | Add-Member NoteProperty Watcher $obsWatcher -Force + + $whenOutputAdded = @( + foreach ($subscriber in Get-EventSubscriber) { + if ($subscriber.Action -eq $whenOutputAddedHandler) { + $subscriber;break + } + } + ) + + Start-Sleep -Milliseconds 1 # Do the smallest of sleeps, so that the thread job actually has a chance to start. + + $obsWatcher | Add-Member NoteProperty WhenOutputAddedHandler $whenOutputAddedHandler -Force + $obsWatcher | Add-Member NoteProperty WhenOutputAdded $whenOutputAdded -Force + $obsWatcher | Add-Member NoteProperty StartTime ([datetime]::Now) -Force + $obsWatcher | Add-Member ScriptProperty WebSocket { + $this.WhenOutputAdded.WebSocket + } -Force + + $obsWatcher.pstypenames.insert(0, 'OBS.Connection') + $script:ObsConnections[$WebSocketURI] = $obsWatcher + $obsWatcher + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSAudioOutputSource { + + + #> + [Alias('Add-OBSAudioOutputSource','Get-OBSAudioOutputSource')] + param( + # The name of the audio device. + # This name or device ID of the audio device that should be captured. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('ItemValue','ItemName','DeviceID')] + [string] + $AudioDevice, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, "AudioOutput$($AudioDevice)" will be the input source name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + # Audio Output sources have an inputKind of 'wasapi_output_capture'. + $inputKind = "wasapi_output_capture" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + + if (-not $myParameters["AudioDevice"]) { + $myParameters["AudioDevice"] = "default" + } + + # Window capture is a bit of a tricky one. + # In order to get the WindowTitle to match that OBS needs, we need to look thru the input properties list. + # and for that, an input needs to exist. + if (-not $myParameters["Name"]) { + + + if ($myParameters["AudioDevice"]) { + $Name = $myParameters["Name"] = "AudioOutput-" + $myParameters["AudioDevice"] + } + else { + $Name = $myParameters["Name"] = "AudioOutput" + } + } + + + + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + $addSplat = @{ + sceneName = $myParameters["Scene"] + inputName = $myParameters["Name"] + inputKind = $inputKind + inputSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + $possibleDevices = Get-OBSInputPropertiesListPropertyItems -InputName $addSplat.inputName -PropertyName device_id + foreach ($deviceInfo in $possibleDevices) { + if ( + ($deviceInfo.itemName -eq $AudioDevice) -or + ($deviceInfo.ItemValue -eq $AudioDevice) -or + ($deviceInfo.ItemName -replace '\[[^\[\]]+\]\:\s' -eq $AudioDevice) -or + ($deviceInfo.ItemValue -like "*$AudioDevice*") -or + ($deviceInfo.ItemName -like "*$AudioDevice*") + ) { + $myParameterData["device_id"] = $deviceInfo.itemValue + break + } + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.PassThru = $true + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + + return + } + + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Scene"] + } + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSBrowserSource { + + + [Alias('Add-OBSBrowserSource','Get-OBSBrowserSource')] + param( + # The uri or file path to display. + # If the uri points to a local file, this will be preferred + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('Url', 'Href','Path','FilePath','FullName')] + [uri] + $Uri, + + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The css style used to render the browser page. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + + # If set, the browser source will shutdown when it is hidden + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("shutdown")] + [switch] + $ShutdownWhenHidden, + + # If set, the browser source will restart when it is activated. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("restart_when_active")] + [switch] + $RestartWhenActived, + + # If set, audio from the browser source will be rerouted into OBS. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("reroute_audio")] + [switch] + $RerouteAudio, + + # If provided, the browser source will render at a custom frame rate. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fps")] + [Alias('FPS')] + [int] + $FramesPerSecond, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + # Browser Sources are built into OBS. Their input kind is browser_source. + $inputKind = "browser_source" + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if ($fps -and $fps -ne 30) { + $myParameterData["custom_fps"] = $true + } + if ($uri.Scheme -eq 'File') { + if (Test-Path $uri.AbsolutePath) { + $myParameterData["local_file"] = "$uri" -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["is_local_file"] = $true + } + } + else + { + if (Test-Path $uri) { + $rp = $ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($uri) + $myParameterData["local_file"] = "$rp" -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["is_local_file"] = $true + } else { + $myParameterData["url"] = "$uri" + } + } + + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($uri.Segments) { + $uri.Segments[-1] + } elseif ($uri -match '[\\/]') { + @($uri -split '[\\/]')[-1] + } else { + $uri + } + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSColorSource { + + + [Alias('Add-OBSColorSource','Get-OBSColorSource')] + param( + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, "Display $($Monitor + 1)" will be the input source name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName')] + [string] + $Name, + + [ValidatePattern('\#(?>[0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})')] + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Color, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + $inputKind = "color_source_v3" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $hexChar = [Regex]::new('[0-9a-f]') + $hexColors = @($hexChar.Matches($Color)) + + switch ($hexColors.Length) { + 8 { + #full rgba + $alpha = [byte]::Parse($hexColors[0..1] -join '', 'HexNumber') + $red = [byte]::Parse($hexColors[2..3] -join '', 'HexNumber') + $green = [byte]::Parse($hexColors[4..5] -join '', 'HexNumber') + $blue = [byte]::Parse($hexColors[6..7] -join '', 'HexNumber') + } + 6 { + #rgb only, assume ff for alpha + $alpha = 0xff + $red = [byte]::Parse($hexColors[0..1] -join '', 'HexNumber') + $green = [byte]::Parse($hexColors[2..3] -join '', 'HexNumber') + $blue = [byte]::Parse($hexColors[4..5] -join '', 'HexNumber') + } + 4 { + #short rgba + $alpha = [byte]::Parse(($hexColors[0],$hexColors[0] -join ''), 'HexNumber') + $red = [byte]::Parse(($hexColors[1],$hexColors[1] -join ''), 'HexNumber') + $green = [byte]::Parse(($hexColors[2],$hexColors[2] -join ''), 'HexNumber') + $blue = [byte]::Parse(($hexColors[3],$hexColors[3] -join ''), 'HexNumber') + } + 3 { + #short rgb, assume f for alpha + $alpha = 0xff + $red = [byte]::Parse(($hexColors[0],$hexColors[0] -join ''), 'HexNumber') + $green = [byte]::Parse(($hexColors[1],$hexColors[1] -join ''), 'HexNumber') + $blue = [byte]::Parse(($hexColors[2],$hexColors[2] -join ''), 'HexNumber') + } + 0 { + # No color provided, default to transparent black + $alpha = 0 + $red = 0 + $green = 0 + $blue = 0 + } + } + + $hexColor = ("{0:x2}{1:x2}{2:x2}{3:x2}" -f $alpha, $blue, $green, $red) + + $realColor = [uint32]::Parse($hexColor,'HexNumber') + + + if (-not $myParameters["Name"]) { + $myParameters["Name"] = "#$hexColor" + } + + $myParameterData = [Ordered]@{color=$realColor} + + $addSplat = @{ + sceneName = $myParameters["Scene"] + inputName = $myParameters["Name"] + inputKind = "color_source_v3" + inputSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSDisplaySource { + + + [Alias('Add-OBSMonitorSource','Set-OBSMonitorSource','Add-OBSDisplaySource')] + param( + # The monitor number. + # This the number of the monitor you would like to capture. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("monitor")] + [Alias('MonitorNumber','Display','DisplayNumber')] + [int] + $Monitor = 1, + + # If set, will capture the cursor. + # This will be set by default. + # If explicitly set to false, the cursor will not be captured. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("capture_cursor")] + [switch] + $CaptureCursor, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, "Display $($Monitor + 1)" will be the input source name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + # Users like 1 indexed, computers like zero-indexed. + $myParameterData["monitor"] = $Monitor - 1 + + if (-not $myParameters["Name"]) { + $myParameters["Name"] = "Display $($Monitor)" + } + + $addSplat = @{ + sceneName = $myParameters["Scene"] + inputName = $myParameters["Name"] + inputKind = "monitor_capture" + inputSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $name + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSMarkdownSource { + + + [Alias('Add-OBSMarkdownSource','Get-OBSMarkdownSource')] + param( + # The markdown text, or the path to a markdown file + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Markdown, + + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The css style used to render the markdown. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + $inputKind = "markdown_source" + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + $IsGet = $MyInvocation.InvocationName -like "Get-*" + $NoVerb = $MyInvocation.InvocationName -match '^[^-]+$' + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + if ( + $IsGet -or + ($NoVerb -and -not $NonNameParameters) + ) { + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { + $_.InputName -like $Name + } else { + $_ + } + } + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + $markdownAsUri = $null + if ($Markdown -like '*.md') { + $markdownAsUri = $markdown -as [uri] + if ($markdownAsUri.Scheme -eq 'File') { + $myParameterData["markdown_path"] = "$markdownAsUri" -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["markdown_source"] = 1 + } + else { + + } + } else { + $myParameterData["text"] = $Markdown + $myParameterData["markdown_source"] = 0 + } + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($markdownAsUri.Segments) { + $markdownAsUri.Segments[-1] + } elseif ($markdownAsUri -match '[\\/]') { + @($markdownAsUri -split '[\\/]')[-1] + } elseif ($markdownAsUri) { + $markdownAsUri + } else { + "Markdown" + } + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = "markdown_source" + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSMediaSource { + + + [Alias('Add-OBSFFMpegSource','Add-OBSMediaSource','Set-OBSFFMpegSource','Get-OBSFFMpegSource','Get-OBSMediaSource')] + param( + # The path to the media file. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('FullName','LocalFile','local_file')] + [string] + $FilePath, + + # If set, the source will close when it is inactive. + # By default, this will be set to true. + # To explicitly set it to false, use -CloseWhenInactive:$false + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("close_when_inactive")] + [switch] + $CloseWhenInactive, + + # If set, the source will automatically restart. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("looping")] + [Alias('Looping')] + [switch] + $Loop, + + # If set, will use hardware decoding, if available. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("hw_decode")] + [Alias('HardwareDecoding','hw_decode')] + [switch] + $UseHardwareDecoding, + + # If set, will clear the output on the end of the media. + # If this is set to false, the media will freeze on the last frame. + # This is set to true by default. + # To explicitly set to false, use -ClearMediaEnd:$false + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("clear_on_media_end")] + [Alias('ClearOnEnd','NoFreezeFrameOnEnd')] + [switch] + $ClearOnMediaEnd, + + # Any FFMpeg demuxer options. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("ffmpeg_options")] + [Alias('FFMpegOptions', 'FFMpeg_Options')] + [string] + $FFMpegOption, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force, + + # If set, will fit the input to the screen. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $FitToScreen + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + filter OutputAndFitToScreen { + + if ($FitToScreen -and $_.FitToScreen) { + $_.FitToScreen() + } + $_ + + } + $InputKind = "ffmpeg_source" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if ((Test-Path $FilePath)) { + $FilePathItem = Get-Item -Path $FilePath + $myParameterData['local_file'] = $FilePathItem.FullName -replace '/', '\' + } + + + + if ($myParameters['InputSettings']) { + $keys = + @(if ($myParameters['InputSettings'] -is [Collections.IDictionary]) { + $myParameters['InputSettings'].Keys + } else { + foreach ($prop in $myParameters['InputSettings'].PSObject.Properties) { + $prop.Name + } + }) + + foreach ($key in $keys) { + $myParameterData[$key] = $myParameters['InputSettings'].$key + } + + $myParameterData.remove('inputSettings') + } + + if (-not $Name) { + + $Name = $myParameters["Name"] = + if ($FilePathItem.Name) { + $FilePathItem.Name + } else { + "Media" + } + + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $InputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + + if ($myParameters.Contains('SceneItemEnabled')) { + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + + # Otherwise, if we had a result + if ($outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene and optionally fit it to the screen. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $name | + OutputAndFitToScreen + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSoundCloudSource { + + + [Alias('Add-OBSSoundCloudSource','Get-OBSSoundCloudSource')] + param( + # The uri to display. This must point to a SoundCloud URL. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('Url','SoundCloudUri','SoundCloudUrl')] + [uri] + $Uri, + + # If set, will not autoplay. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoAutoPlay, + + # If set, will not display album artwork. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoArtwork, + + # If set, will not display play count. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoPlayCount, + + # If set, will not display uploader info. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $NoUploaderInfo, + + # If provided, will start playing at a given track number. + [Parameter(ValueFromPipelineByPropertyName)] + [int] + $TrackNumber, + + # If set, will show a share link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowShare, + + # If set, will show a download link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowDownload, + + # If set, will show a buy link. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $ShowBuy, + + # The color used for the SoundCloud audio bars and buttons. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Color, + + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The css style used to render the browser page. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("css")] + [string] + $CSS = "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }", + + # If set, the browser source will shutdown when it is hidden + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("shutdown")] + [switch] + $ShutdownWhenHidden, + + # If set, the browser source will restart when it is activated. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("restart_when_active")] + [switch] + $RestartWhenActived, + + # If set, audio from the browser source will be rerouted into OBS. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("reroute_audio")] + [switch] + $RerouteAudio, + + # If provided, the browser source will render at a custom frame rate. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fps")] + [Alias('FPS')] + [int] + $FramesPerSecond, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, then "SoundCloud" will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + # Browser Sources are built into OBS. Their input kind is browser_source. + # Sound Cloud Sources are really Browser Sources. + $inputKind = "browser_source" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + + if (-not $uri.DnsSafeHost -or $uri.DnsSafeHost -notmatch 'SoundCloud\.com$') { + Write-Error "URI must be from SoundCloud.com" + return + } + + if ($uri.Query) { + $uri = "https://$($uri.DnsSafeHost)" + $($uri.Segments -join '') + } + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } | + Where-Object { + $_.Settings['LocalFile'] -like '*.SoundCloud.*' + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if ($fps -and $fps -ne 30) { + $myParameterData["custom_fps"] = $true + } + + $MyObsPowerShellPath = if ($home) { + Join-Path $home ".obs-powershell" + } + + $ThisSoundCloudSourceFileName = + if ($name) { + "${name}.SoundCloudSource.html" + } else { + "SoundCloudSource.html" + } + + $ThisSoundCloudSourceFilePath = Join-Path $MyObsPowerShellPath $ThisSoundCloudSourceFileName + + + $soundCloudSrc = @( + "https://w.soundcloud.com/player/?url=" + $Uri + "&" + @( + if ($PSBoundParameters["TrackNumber"]) {"start_track=$trackNumber"} + if ($color) { "color=$color" -replace "\#",'%23'} + if ($NoAutoPlay) { "auto_play=false" } else { "auto_play=true"} + if ($NoArtwork) { "show_artwork=false" } else {"show_artwork=true" } + if ($NoUploaderInfo) { "show_user=false" } else {"show_user=true"} + if ($NoPlayCount) { "show_playcount=false" } else {"show_playcount=true" } + if ($ShowDownload) { "download=true"} else { "download=false" } + if ($ShowBuy) { "buying=true"} else { "buying=false" } + if ($ShowShare) { "sharing=true"} else { "sharing=false" } + ) -join '&' + ) -join '' + + $soundCloudWidget = @( + "" + "" + "" + "" + "" + ) -join ' ' + + $newHtmlFile = New-Item -Value $soundCloudWidget -ItemType File -Path $ThisSoundCloudSourceFilePath -Force + + $myParameterData["local_file"] = ([uri]$newHtmlFile.FullName) -replace '[\\/]', '/' -replace '^file:///' + $myParameterData["is_local_file"] = $true + + if (-not $Name) { + $Name = $myParameters['Name'] = 'SoundCloud' + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSwitchSource { + + + [Alias('Add-OBSSwitchSource','Get-OBSSwitchSource')] + param( + # The path to the media file. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('Sources')] + [string[]] + $SourceList, + + # What to select in the playlist. + # If a number is provided, this will select an index. + # If a string is provided, this will select the whole name or last part of a name, accepting wildcards. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateScript({ + $validTypeList = [System.Int32],[System.String] + + $thisType = $_.GetType() + $IsTypeOk = + $(@( foreach ($validType in $validTypeList) { + if ($_ -as $validType) { + $true;break + } + })) + + if (-not $isTypeOk) { + throw "Unexpected type '$(@($thisType)[0])'. Must be 'int','string'." + } + return $true + })] + + [Alias('SelectIndex','SelectName')] + $Select, + + # If set, the list of sources will loop. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("loop")] + [Alias('Looping')] + [switch] + $Loop, + + # If set, will switch between sources. + # Sources will be displayed for a -Duration. + # No source wil be displayed for an -Interval. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("time_switch")] + [switch] + $TimeSwitch, + + # The interval between sources + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("time_switch_between")] + [timespan] + $Interval, + + # The duration between sources that are switching at a time. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("time_switch_duration")] + [timespan] + $Duration, + + # The item that will be switched in a TimeSwitch, after -Duration and -Interval. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateSet("None","Next","Previous","First","Last","Random")] + [string] + $TimeSwitchTo = "Next", + + # If set, will switch on the underlying source's media state events. + # Sources will be displayed for a -Duration. + # No source wil be displayed for an -Interval. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("media_state_switch")] + [switch] + $MediaStateSwitch, + + # The change in media state that should trigger a switch + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateSet("Playing","Opening","Buffering","Paused","Stopped","Ended", "Error","Playing","NotOpening","NotBuffering","NotPaused","NotStopped","NotEnded", "NotError")] + $MediaStateChange, + + # When the source switcher is trigger by media end, this determines the next source that will be switched to. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateSet("None","Next","Previous","First","Last","Random")] + [string] + $MediaSwitchTo = "Next", + + # The name of the transition between sources. + [ArgumentCompleter({ + param ( $commandName, + $parameterName, + $wordToComplete, + $commandAst, + $fakeBoundParameters ) + if (-not $script:OBSTransitionKinds) { + $script:OBSTransitionKinds = @(Get-OBSTransitionKind) -replace '_transition$' + } + + if ($wordToComplete) { + $toComplete = $wordToComplete -replace "^'" -replace "'$" + return @($script:OBSTransitionKinds -like "$toComplete*" -replace '^', "'" -replace '$',"'") + } else { + return @($script:OBSTransitionKinds -replace '^', "'" -replace '$',"'") + } + })] + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $TransitionName, + + # The properties sent to the transition. + # Notice: this current requires confirmation in the UI. + [Parameter(ValueFromPipelineByPropertyName)] + [PSObject] + $TransitionProperty, + + # The name of the transition used to show a source. + [ArgumentCompleter({ + param ( $commandName, + $parameterName, + $wordToComplete, + $commandAst, + $fakeBoundParameters ) + if (-not $script:OBSTransitionKinds) { + $script:OBSTransitionKinds = @(Get-OBSTransitionKind) -replace '_transition$' + } + + if ($wordToComplete) { + $toComplete = $wordToComplete -replace "^'" -replace "'$" + return @($script:OBSTransitionKinds -like "$toComplete*" -replace '^', "'" -replace '$',"'") + } else { + return @($script:OBSTransitionKinds -replace '^', "'" -replace '$',"'") + } + })] + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $ShowTransition, + + # The properties sent to the show transition. + # Notice: this current requires confirmation in the UI. + [Parameter(ValueFromPipelineByPropertyName)] + [PSObject] + $ShowTransitionProperty, + + # The transition used to hide a source. + [ArgumentCompleter({ + param ( $commandName, + $parameterName, + $wordToComplete, + $commandAst, + $fakeBoundParameters ) + if (-not $script:OBSTransitionKinds) { + $script:OBSTransitionKinds = @(Get-OBSTransitionKind) -replace '_transition$' + } + + if ($wordToComplete) { + $toComplete = $wordToComplete -replace "^'" -replace "'$" + return @($script:OBSTransitionKinds -like "$toComplete*" -replace '^', "'" -replace '$',"'") + } else { + return @($script:OBSTransitionKinds -replace '^', "'" -replace '$',"'") + } + })] + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $HideTransition, + + # The properties sent to the hide transition. + # Notice: this current requires confirmation in the UI. + [Parameter(ValueFromPipelineByPropertyName)] + [PSObject] + $HideTransitionProperty, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName','SourceName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force, + + # If set, will fit the input to the screen. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $FitToScreen + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + filter OutputAndFitToScreen { + + if ($FitToScreen -and $_.FitToScreen) { + $_.FitToScreen() + } + $_ + + } + $InputKind = "source_switcher" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + if ($myParameters[$parameter.Name] -is [timespan]) { + $myParameterData[$bindToPropertyName] = [int]$myParameters[$parameter.Name].TotalMilliseconds + } + } + } + + + $selectedIndex = -1 + $sourcesObject = @( + $currentIndex = -1 + foreach ($sourceName in $SourceList) { + $currentIndex++ + $selected = ($null -ne $Select) -and ( + ($select -is [int] -and $currentIndex -eq $select) -or + ($select -is [string] -and + ($sourceName -like $select -or ($sourceName | Split-Path -Leaf -ErrorAction Ignore) -like $Select) + ) + ) + if ($selected) { + $selectedIndex = $currentIndex + } + [PSCustomObject][Ordered]@{hidden=$false;selected=$selected;value=$sourceName} + } + ) + + if ($sourcesObject) { + $myParameterData['sources'] = $sourcesObject + if ($selectedIndex -gt 0) { + $myParameterData["current_index"] = $selectedIndex + } + } + elseif ($Select -is [int]) { + $myParameterData['current_index'] = $Select + } + + + + if ($TransitionName) { + if ($TransitionName -notlike '*_transition') { + $TransitionName = "${TransitionName}_transition" + } + $myParameterData["transition"] = $TransitionName + } + + if ($TransitionProperty) { + $myParameterData["transition_properties"] = $TransitionProperty + } + + if ($ShowTransition) { + if ($ShowTransition -notlike '*_transition') { + $ShowTransition = "${ShowTransition}_transition" + } + $myParameterData["show_transition"] = $ShowTransition + } + + if ($ShowTransitionProperty) { + $myParameterData["show_transition_properties"] = $ShowTransitionProperty + } + + if ($HideTransition) { + if ($HideTransition -notlike '*_transition') { + $HideTransition = "${HideTransition}_transition" + } + $myParameterData["hide_transition"] = $ShowTransition + } + + if ($HideTransitionProperty) { + $myParameterData["hide_transition_properties"] = $HideTransitionProperty + } + + if ($TimeSwitchTo) { + $validValues = $MyInvocation.MyCommand.Parameters["TimeSwitchTo"].Attributes.ValidValues + for ($vvi = 0; $vvi -lt $validValues.Length;$vvi++) { + if ($TimeSwitchTo -eq $validValues[$vvi]) { + $myParameterData["time_switch_to"] = $vvi + break + } + } + } + + if ($MediaSwitchTo) { + $validValues = $MyInvocation.MyCommand.Parameters["MediaSwitchTo"].Attributes.ValidValues + for ($vvi = 0; $vvi -lt $validValues.Length;$vvi++) { + if ($TimeSwitchTo -eq $validValues[$vvi]) { + $myParameterData["media_state_switch_to"] = $vvi + break + } + } + } + + if ($MediaStateChange) { + $validValues = $MyInvocation.MyCommand.Parameters["MediaStateChange"].Attributes.ValidValues + for ($vvi = 0; $vvi -lt $validValues.Length;$vvi++) { + if ($TimeSwitchTo -eq $validValues[$vvi]) { + $myParameterData["media_switch_state"] = $vvi + break + } + } + } + + if (-not $Name) { + $Name = $myParameters["Name"] = "Source Switcher" + } + + + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $InputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + + if ($myParameters.Contains('SceneItemEnabled')) { + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + if ($sceneItem) { + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene and optionally fit it to the screen. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $name | + OutputAndFitToScreen + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSVLCSource { + + + [Alias('Add-OBSVLCSource','Set-OBSPlaylistSource','Add-OBSPlaylistSource','Get-OBSVLCSource','Get-OBSPlaylistSource')] + param( + # The path to the media file. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('FullName','LocalFile','local_file','Playlist')] + [string[]] + $FilePath, + + # What to select in the playlist. + # If a number is provided, this will select an index. + # If a string is provided, this will select the whole name or last part of a name, accepting wildcards. + # If an `[IO.FileInfo]` is provided, this will be the exact file. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateScript({ + $validTypeList = [System.Int32],[System.String],[System.IO.FileInfo] + + $thisType = $_.GetType() + $IsTypeOk = + $(@( foreach ($validType in $validTypeList) { + if ($_ -as $validType) { + $true;break + } + })) + + if (-not $isTypeOk) { + throw "Unexpected type '$(@($thisType)[0])'. Must be 'int','string','System.IO.FileInfo'." + } + return $true + })] + + [Alias('SelectIndex','SelectName')] + $Select, + + # If set, will shuffle the playlist + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("shuffle")] + [switch] + $Shuffle, + + # If set, the playlist will loop. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("loop")] + [Alias('Looping')] + [switch] + $Loop, + + # If set, will show subtitles, if available. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("subtitle_enable")] + [Alias('ShowSubtitles','Subtitles')] + [switch] + $Subtitle, + + # The selected audio track number. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("track")] + [int] + $AudioTrack, + + # The selected subtitle track number. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("subtitle")] + [int] + $SubtitleTrack, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force, + + # If set, will fit the input to the screen. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $FitToScreen + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + filter OutputAndFitToScreen { + + if ($FitToScreen -and $_.FitToScreen) { + $_.FitToScreen() + } + $_ + + } + $InputKind = "vlc_source" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + $allPaths = @(foreach ($path in $FilePath) { + foreach ($_ in $ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($path)) { + $_.Path + } + }) + $playlistObject = @( + $currentIndex = 0 + foreach ($path in $allPaths) { + $currentIndex++ + $selected = $Select -and ( + ($select -is [int] -and $currentIndex -eq $select) -or + ($select -is [IO.FileInfo] -and $path -eq $select.FullName) -or + ($select -is [string] -and + ($path -like $select -or ($path | Split-Path -Leaf) -like $Select) + ) + ) + [PSCustomObject][Ordered]@{hidden=$false;selected=$selected;value=$path} + } + ) + $myParameterData['playlist'] = $playlistObject + + if (-not $Name) { + $Name = $myParameters["Name"] = $FilePathItem.Name + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $InputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + + if ($myParameters.Contains('SceneItemEnabled')) { + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene and optionally fit it to the screen. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $name | + OutputAndFitToScreen + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSWaveformSource { + + + [Alias('Add-OBSWaveformSource','Get-OBSWaveformSource')] + param( + # The width of the browser source. + # If none is provided, this will be the output width of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("width")] + [int] + $Width, + + # The width of the browser source. + # If none is provided, this will be the output height of the video settings. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("height")] + [int] + $Height, + + # The audio source for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("audio_source")] + [string] + $AudioSource, + + # The display mode for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("display_mode")] + [ValidateSet("curve","bars","stepped_bars","level_meter","stepped_level_meter")] + [string] + $DisplayMode, + + # The render mode for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("render_mode")] + [ValidateSet("line","solid","gradient")] + [string] + $RenderMode, + + # The windowing mode for the waveform. + # This is the mathematical function used to determine the current "window" of audio data. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("render_mode")] + [ValidateSet("hann","hamming","blackman","blackman_harris","none")] + [string] + $WindowMode, + + # The color used for the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_base")] + [PSObject] + $Color, + + # The crest color used for the waveform. + # This will be ignored if the render mode is not "gradient". + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_crest")] + [PSObject] + $CrestColor, + + # The channel mode for the waveform. + # This can be either mono or stereo. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("channel_mode")] + [ValidateSet("mono","stereo")] + [string] + $ChannelMode, + + # The number of pixels between each channel in stereo mode + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("channel_spacing")] + [int] + $ChannelSpacing, + + # If set, will use a radial layout for the waveform + # Radial layouts will ignore the desired height of the source and instead create a square. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("radial_layout")] + [switch] + $RadialLayout, + + # If set, will invert the direction for a radial waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("invert_direction")] + [switch] + $InvertRadialDirection, + + # If set, will normalize the volume displayed in the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("normalize_volume")] + [switch] + $NoramlizeVolume, + + # If set, will automatically declare an FFTSize + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("auto_fft_size")] + [switch] + $AutoFftSize, + + # If set, will attempt to make audio peaks render faster. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fast_peaks")] + [switch] + $FastPeak, + + # The width of the waveform bar. + # This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("bar_width")] + [int] + $BarWidth, + + # The gap between waveform bars. + # This is only valid when -DisplayMode is 'bars' or 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("bar_gap")] + [int] + $BarGap, + + # The width of waveform bar step. + # This is only valid when -DisplayMode is 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("step_width")] + [int] + $StepWidth, + + # The gap between waveform bar steps. + # This is only valid when -DisplayMode is 'stepped_bars' + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("step_gap")] + [int] + $StepGap, + + # The low-frequency cutoff of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cutoff_low")] + [int] + $LowCutoff, + + # The high-frequency cutoff of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cutoff_high")] + [int] + $HighCutoff, + + # The floor of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("floor")] + [int] + $Floor, + + # The ceiling of the waveform. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("ceiling")] + [int] + $Ceiling, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("slope")] + [double] + $Slope, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rolloff_q")] + [Alias('RollOffOctaves')] + [double] + $RollOffOctave, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rolloff_rate")] + [double] + $RollOffRate, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("grad_ratio")] + [double] + $GradientRatio, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("deadzone")] + [double] + $Deadzone, + + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("temporal_smoothing")] + [ValidateSet("none","exp_moving_avg")] + [string] + $TemporalSmoothing, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, the last segment of the URI or file path will be the input name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + $inputKind = "phandasm_waveform_source" + filter ToOBSColor { + + if ($_ -is [uint32]) { $_ } + elseif ($_ -is [string]) { + if ($_ -match '^\#[a-f0-9]{3,4}$') { + $_ = $_ -replace '[a-f0-9]','$0$0' + } + + if ($_ -match '^#[a-f0-9]{8}$') { + ( + '0x' + + (($_ -replace '#').ToCharArray()[0,1,-1,-2,-3,-4,-5,-6] -join '') + ) -as [UInt32] + } + elseif ($_ -match '^#[a-f0-9]{6}$') { + + ( + '0xff' + + (($_ -replace '#').ToCharArray()[-1..-6] -join '') + ) -as [UInt32] + } + } + + } + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + $MyInvocationName = "$($MyInvocation.InvocationName)" + $myVerb, $myNoun = $MyInvocationName -split '-' + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + $IsGet = $myVerb -eq "Get" + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + if ( + $IsGet -or + $NoVerb + ) { + $inputsOfKind = + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { + $_.InputName -like $Name + } else { + $_ + } + } + if ($NonNameParameters -and -not $IsGet) { + $paramCopy = [Ordered]@{} + $PSBoundParameters + if ($paramCopy.Name) { $paramCopy.Remove('Name') } + $inputsOfKind | & $myScriptBlock @paramCopy + } else { + $inputsOfKind + } + return + } + + if ((-not $width) -or (-not $height)) { + if (-not $script:CachedOBSVideoSettings) { + $script:CachedOBSVideoSettings = Get-OBSVideoSettings + } + $videoSettings = $script:CachedOBSVideoSettings + $myParameters["Width"] = $width = $videoSettings.outputWidth + $myParameters["Height"] = $height = $videoSettings.outputHeight + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + + + if (-not $Name) { + $Name = $myParameters['Name'] = + if ($AudioSource) { + "$($AudioSource)-Waveform" + } else { + "Waveform" + } + } + + if ($myParameterData.color_base) { + $myParameterData.color_base = $myParameterData.color_base | ToOBSColor + } + + if ($myParameterData.color_crest) { + $myParameterData.color_crest = $myParameterData.color_crest | ToOBSColor + } + + $addSplat = [Ordered]@{ + sceneName = $myParameters["Scene"] + inputKind = $inputKind + inputSettings = $myParameterData + inputName = $Name + NoResponse = $myParameters["NoResponse"] + } + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + $addSplat.Passthru = $MyParameters["PassThru"] + # If we were called with Add- + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSInput @addSplat # passthru Add-OBSInput + } else { + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + } + # Otherwise, if we had a result + if ($outputAddedResult -and + $outputAddedResult -isnot [Management.Automation.ErrorRecord]) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSWindowSource { + + + [Alias('Add-OBSWindowSource','Set-OBSWindowCaptureSource','Add-OBSWindowCaptureSource','Get-OBSWindowSource','Get-OBSWindowCaptureSource')] + param( + # The monitor number. + # This the number of the monitor you would like to capture. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('ItemValue','ItemName','WindowName','MainWindowTitle')] + [string] + $WindowTitle, + + # The number of the capture method. By default, automatic (0). + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("method")] + [int] + $CaptureMethod, + + # The capture priority. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateSet('ExactMatch','SameType','SameExecutable')] + [string] + $CapturePriority, + + # If set, will capture the cursor. + # This will be set by default. + # If explicitly set to false, the cursor will not be captured. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("cursor")] + [switch] + $CaptureCursor, + + # If set, will capture the client area. + # This will be set by default. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("client_area")] + [switch] + $ClientArea, + + # If set, will force SDR. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("force_sdr")] + [switch] + $ForceSDR, + + # The name of the scene. + # If no scene name is provided, the current program scene will be used. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('SceneName')] + [string] + $Scene, + + # The name of the input. + # If no name is provided, "Display $($Monitor + 1)" will be the input source name. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('InputName')] + [string] + $Name, + + # If set, will check if the source exists in the scene before creating it and removing any existing sources found. + # If not set, you will get an error if a source with the same name exists. + [Parameter(ValueFromPipelineByPropertyName)] + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSInput) { + $script:AddOBSInput = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSInput','Function') + $script:AddOBSInput + } else { + $script:AddOBSInput + } + $IncludeParameter = @() + $ExcludeParameter = 'inputKind','sceneName','inputName' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + $InputKind = "window_capture" + + } + process { + # Copy the bound parameters + $myParameters = [Ordered]@{} + $PSBoundParameters + # and determine the name of the invocation + $MyInvocationName = "$($MyInvocation.InvocationName)" + # Split it into verb and noun + $myVerb, $myNoun = $MyInvocationName -split '-' + # and get a copy of ourself that we can call with anonymous recursion. + $myScriptBlock = $MyInvocation.MyCommand.ScriptBlock + # Determine if the verb was get, + $IsGet = $myVerb -eq "Get" + # if no verb was used, + $NoVerb = $MyInvocationName -match '^[^\.\&][^-]+$' + # and if there were any other parameters then name + $NonNameParameters = @($PSBoundParameters.Keys) -ne 'Name' + + # If it is a get or there was no verb + if ($IsGet -or $NoVerb) { + $inputsOfKind = # Get all inputs of this kind + Get-OBSInput -InputKind $InputKind | + Where-Object { + if ($Name) { # If -Name was provided, + $_.InputName -like $Name # filter by name (as a wildcard). + } else { + $_ # otherwise, return every input. + } + } + + # If there were parameters other than name, + # and we were not explicitly called Get-* + if ($NonNameParameters -and -not $IsGet) { + # remove the name parameter + if ($myParameters.Name) { $myParameters.Remove('Name') } + # and pipe results back to ourself. + $inputsOfKind | & $myScriptBlock @myParameters + } else { + # Otherwise, we're just getting the list of inputs + $inputsOfKind + } + # (either way, if we were called Get- or with no verb, we're done now). + return + } + + if (-not $myParameters["Scene"]) { + $myParameters["Scene"] = Get-OBSCurrentProgramScene | + Select-Object -ExpandProperty currentProgramSceneName + } + + + if (-not $myParameters["WindowTitle"]) { + while ($_ -is [Diagnostics.Process] -and -not $_.MainWindowTitle) { + $_ = $_.Parent + } + if ($_.MainWindowTitle) { + $WindowTitle = $myParameters["WindowTitle"] = "$($_.MainWindowTitle)" + } + } + + # Window capture is a bit of a tricky one. + # In order to get the WindowTitle to match that OBS needs, we need to look thru the input properties list. + # and for that, an input needs to exist. + if (-not $myParameters["Name"]) { + if ($myParameters["WindowTitle"]) { + $Name = $myParameters["Name"] = "WindowCapture-" + $myParameters["WindowTitle"] + } + else { + $Name = "WindowCapture" + } + } + + + + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] -as [bool] + } + } + } + + if ($null -ne $CaptureMethod) { + $myParameterData["method"] = $CaptureMethod + } + if ($CapturePriority -eq 'ExactMatch') { + $myParameterData["priority"] = 1 + } + elseif ($CapturePriority -eq 'SameType') { + $myParameterData["priority"] = 0 + } + elseif ($CapturePriority -eq 'SameExecutable') { + $myParameterData["priority"] = 2 + } + + $addSplat = @{ + sceneName = $myParameters["Scene"] + inputName = $myParameters["Name"] + inputKind = "window_capture" + inputSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + # If -SceneItemEnabled was passed, + if ($myParameters.Contains('SceneItemEnabled')) { + # propagate it to Add-OBSInput. + $addSplat.SceneItemEnabled = $myParameters['SceneItemEnabled'] -as [bool] + } + + # Add the input. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + $possibleWindows = Get-OBSInputPropertiesListPropertyItems -InputName $addSplat.inputName -PropertyName window + foreach ($windowInfo in $possibleWindows) { + if (-not $WindowTitle) { continue } + if ( + ($windowInfo.itemName -eq $WindowTitle) -or + ($windowInfo.ItemValue -eq $WindowTitle) -or + ($windowInfo.ItemName -replace '\[[^\[\]]+\]\:\s' -eq $WindowTitle) -or + ($windowInfo.ItemValue -like "*$WindowTitle*") -or + ($windowInfo.ItemName -like "*$WindowTitle*") + ) { + $myParameterData["window"] = $windowInfo.itemValue + break + } + } + + # If -PassThru was passed + if ($MyParameters["PassThru"]) { + # pass it down to each command + # Otherwise, remove SceneItemEnabled, InputKind, and SceneName + $addSplat.PassThru = $true + $addSplat.Remove('SceneItemEnabled') + $addSplat.Remove('inputKind') + $addSplat.Remove('sceneName') + # and passthru Set-OBSInputSettings. + Set-OBSInputSettings @addSplat + + return + } + + if ($Force) { # If we do, remove the input + Remove-OBSInput -InputName $addSplat.inputName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # get the input from the scene. + Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $name + } + } else { + # Otherwise, get the input from the scene, + $sceneItem = Get-OBSSceneItem -sceneName $myParameters["Scene"] | + Where-Object SourceName -eq $myParameters["Name"] + # update the input settings + $sceneItem.Input.Settings = $addSplat.inputSettings + $sceneItem # and return the scene item. + } + + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBS3dSwapTransitionShader { + +[Alias('Set-OBS3dSwapTransitionShader','Add-OBS3dSwapTransitionShader')] +param( +# Set the image_a of OBS3dSwapTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBS3dSwapTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBS3dSwapTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBS3dSwapTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the reflection of OBS3dSwapTransitionShader +[ComponentModel.DefaultBindingProperty('reflection')] +[Single] +$Reflection, +# Set the perspective of OBS3dSwapTransitionShader +[ComponentModel.DefaultBindingProperty('perspective')] +[Single] +$Perspective, +# Set the depth of OBS3dSwapTransitionShader +[ComponentModel.DefaultBindingProperty('depth')] +[Single] +$Depth, +# Set the background_color of OBS3dSwapTransitionShader +[Alias('background_color')] +[ComponentModel.DefaultBindingProperty('background_color')] +[String] +$BackgroundColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = '3d_swap_transition' +$ShaderNoun = 'OBS3dSwapTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/MlXGzf + +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time = 0.5; +uniform bool convert_linear = true; + +uniform float reflection< + string label = "Reflection (0.4)"; + string widget_type = "slider"; + float minimum = 0.00; + float maximum = 1.00; + float step = 0.01; +> = 0.4; +uniform float perspective< + string label = "Perspective (0.2)"; + string widget_type = "slider"; + float minimum = 0.00; + float maximum = 1.00; + float step = 0.01; +> = .2; +uniform float depth< + string label = "Depth (3.0)"; + string widget_type = "slider"; + float minimum = 1.00; + float maximum = 10.00; + float step = 0.1; +> = 3.; + +#ifndef OPENGL +#define lessThan(a,b) (a < b) +#endif + + +uniform float4 background_color = {0.0, 0.0, 0.0, 1.0}; + +bool inBounds (float2 p) { + return all(lessThan(float2(0.0,0.0), p)) && all(lessThan(p, float2(1.0,1.0))); +} + +float2 project (float2 p) { + return p * float2(1.0, -1.2) + float2(0.0, 2.22); +} + +float4 bgColor (float2 p, float2 pfr, float2 pto) { + float4 c = background_color; + pfr = project(pfr); + if (inBounds(pfr)) { + c += lerp(background_color, image_a.Sample(textureSampler, pfr), reflection * lerp(0.0, 1.0, pfr.y)); + } + pto = project(pto); + if (inBounds(pto)) { + c += lerp(background_color, image_b.Sample(textureSampler, pto), reflection * lerp(0.0, 1.0, pto.y)); + } + return c; +} + +float4 mainImage(VertData v_in) : TARGET { + float2 p = v_in.uv; + float2 pfr = float2(-1.,-1.); + float2 pto = float2(-1.,-1.); + + float progress = transition_time; + float size = lerp(1.0, depth, progress); + float persp = perspective * progress; + pfr = (p + float2(-0.0, -0.5)) * float2(size/(1.0-perspective*progress), size/(1.0-size*persp*p.x)) + float2(0.0, 0.5); + + size = lerp(1.0, depth, 1.-progress); + persp = perspective * (1.-progress); + pto = (p + float2(-1.0, -0.5)) * float2(size/(1.0-perspective*(1.0-progress)), size/(1.0-size*persp*(0.5-p.x))) + float2(1.0, 0.5); + + bool fromOver = progress < 0.5; + float4 rgba = background_color; + if (fromOver) { + if (inBounds(pfr)) { + rgba = image_a.Sample(textureSampler, pfr); + } + else if (inBounds(pto)) { + rgba = image_b.Sample(textureSampler, pto); + } + else { + rgba = bgColor(p, pfr, pto); + } + } + else { + if (inBounds(pto)) { + rgba = image_b.Sample(textureSampler, pto); + } + else if (inBounds(pfr)) { + rgba = image_a.Sample(textureSampler, pfr); + } + else { + rgba = bgColor(p, pfr, pto); + } + } + if (convert_linear) + rgba.rgb = srgb_nonlinear_to_linear(rgba.rgb); + return rgba; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAddShader { + +[Alias('Set-OBSAddShader','Add-OBSAddShader')] +param( +# Set the other_image of OBSAddShader +[Alias('other_image')] +[ComponentModel.DefaultBindingProperty('other_image')] +[String] +$OtherImage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Add' +$ShaderNoun = 'OBSAddShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d other_image; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 other = other_image.Sample(textureSampler, v_in.uv); + float4 base = image.Sample(textureSampler, v_in.uv); + return clamp(base + other, 0.0, 1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAlphaBorderShader { + +[Alias('Set-OBSAlphaBorderShader','Add-OBSAlphaBorderShader')] +param( +# Set the border_color of OBSAlphaBorderShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# Set the border_thickness of OBSAlphaBorderShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the alpha_cut_off of OBSAlphaBorderShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'alpha_border' +$ShaderNoun = 'OBSAlphaBorderShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4 border_color< + string label = "Border color"; +> = {0.0,0.0,0.0,1.0}; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform float alpha_cut_off< + string label = "Alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pix = image.Sample(textureSampler, v_in.uv); + if (pix.a > alpha_cut_off) + return pix; + [loop] for(int x = -border_thickness;x alpha_cut_off) + return border_color; + } + } + } + return pix; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAlphaGamingBentCameraShader { + +[Alias('Set-OBSAlphaGamingBentCameraShader','Add-OBSAlphaGamingBentCameraShader')] +param( +# Set the left_side_width of OBSAlphaGamingBentCameraShader +[Alias('left_side_width')] +[ComponentModel.DefaultBindingProperty('left_side_width')] +[Single] +$LeftSideWidth, +# Set the left_side_size of OBSAlphaGamingBentCameraShader +[Alias('left_side_size')] +[ComponentModel.DefaultBindingProperty('left_side_size')] +[Single] +$LeftSideSize, +# Set the left_side_shadow of OBSAlphaGamingBentCameraShader +[Alias('left_side_shadow')] +[ComponentModel.DefaultBindingProperty('left_side_shadow')] +[Single] +$LeftSideShadow, +# Set the left_flip_width of OBSAlphaGamingBentCameraShader +[Alias('left_flip_width')] +[ComponentModel.DefaultBindingProperty('left_flip_width')] +[Single] +$LeftFlipWidth, +# Set the left_flip_shadow of OBSAlphaGamingBentCameraShader +[Alias('left_flip_shadow')] +[ComponentModel.DefaultBindingProperty('left_flip_shadow')] +[Single] +$LeftFlipShadow, +# Set the right_side_width of OBSAlphaGamingBentCameraShader +[Alias('right_side_width')] +[ComponentModel.DefaultBindingProperty('right_side_width')] +[Single] +$RightSideWidth, +# Set the right_side_size of OBSAlphaGamingBentCameraShader +[Alias('right_side_size')] +[ComponentModel.DefaultBindingProperty('right_side_size')] +[Single] +$RightSideSize, +# Set the right_side_shadow of OBSAlphaGamingBentCameraShader +[Alias('right_side_shadow')] +[ComponentModel.DefaultBindingProperty('right_side_shadow')] +[Single] +$RightSideShadow, +# Set the right_flip_width of OBSAlphaGamingBentCameraShader +[Alias('right_flip_width')] +[ComponentModel.DefaultBindingProperty('right_flip_width')] +[Single] +$RightFlipWidth, +# Set the right_flip_shadow of OBSAlphaGamingBentCameraShader +[Alias('right_flip_shadow')] +[ComponentModel.DefaultBindingProperty('right_flip_shadow')] +[Single] +$RightFlipShadow, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'alpha-gaming-bent-camera' +$ShaderNoun = 'OBSAlphaGamingBentCameraShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float left_side_width< + string label = "Left side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float left_side_size< + string label = "Left side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float left_side_shadow< + string label = "Left side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float left_flip_width< + string label = "Left flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float left_flip_shadow< + string label = "Left flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +uniform float right_side_width< + string label = "Right side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float right_side_size< + string label = "Right side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float right_side_shadow< + string label = "Right side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float right_flip_width< + string label = "Right flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float right_flip_shadow< + string label = "Right flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos=v_in.uv; + float shadow = 1.0; + if(pos.x < left_side_width){ + pos.y -= 0.5; + pos.y /= left_side_size; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width; + pos.x /= left_side_size; + pos.x += left_side_width + left_flip_width; + shadow = left_side_shadow; + }else if(pos.x < left_side_width + left_flip_width){ + float factor = 1.0 - ((left_side_width + left_flip_width)-pos.x)/left_flip_width*(1.0 - left_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width; + pos.x /= factor; + pos.x += left_side_width + left_flip_width; + shadow = left_flip_shadow; + } + + if(1.0 - pos.x < right_side_width){ + pos.y -= 0.5; + pos.y /= right_side_size; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width); + pos.x /= right_side_size; + pos.x += 1.0 - (right_side_width + right_flip_width); + shadow = right_side_shadow; + }else if(1.0 - pos.x < right_side_width + right_flip_width){ + float factor = 1.0 - ((right_side_width + right_flip_width) - (1.0 - pos.x))/right_flip_width*(1.0 - right_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width); + pos.x /= factor; + pos.x += 1.0 -(right_side_width + right_flip_width); + shadow = right_flip_shadow; + } + float4 p_color = image.Sample(textureSampler, pos); + p_color.rgb *= shadow; + return p_color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAnimatedPathShader { + +[Alias('Set-OBSAnimatedPathShader','Add-OBSAnimatedPathShader')] +param( +# Set the ViewProj of OBSAnimatedPathShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSAnimatedPathShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSAnimatedPathShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSAnimatedPathShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSAnimatedPathShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSAnimatedPathShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSAnimatedPathShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the speed_percent of OBSAnimatedPathShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the path_map of OBSAnimatedPathShader +[Alias('path_map')] +[ComponentModel.DefaultBindingProperty('path_map')] +[String] +$PathMap, +# Set the reverse of OBSAnimatedPathShader +[ComponentModel.DefaultBindingProperty('reverse')] +[Management.Automation.SwitchParameter] +$Reverse, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'animated_path' +$ShaderNoun = 'OBSAnimatedPathShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Path effect By Charles Fettinger (https://github.com/Oncorporation) 3/2019 +//Converted to OpenGL by Q-mii & Exeldro February 24, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; + +uniform int speed_percent = 100; +uniform texture2d path_map; +uniform bool reverse = false; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float4 convert_pmalpha(float4 c) +{ + float4 ret = c; + if (c.a >= 0.001) + ret.xyz /= c.a; + else + ret = float4(0.0, 0.0, 0.0, 0.0); + return ret; +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + float3 pos = v_in.pos.xyz; + float3 current_pos; + float speed = speed_percent * 0.01; + //vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + float t = 1.0 + sin(elapsed_time * speed) ; + // combine luma texture and user defined shine color + float luma = path_map.Sample(textureSampler, v_in.uv).x; + if (reverse) + { + luma = 1.0 - luma; + } + + float time = lerp(0.0f, 1.0f , t - 1.0); + + // set current position in time + current_pos.x = 0; + current_pos.y = 0; + + + float2 offset = uv_offset; + if (speed == 0.0f) + { + offset.x = 0.0f; + offset.y = 0.0f; + } + else + { + offset.x = uv_offset.x + time * luma; + offset.y = uv_offset.y + time * luma; + } + + vert_out.pos = mul(float4(current_pos, 1), ViewProj); + vert_out.uv = v_in.uv * uv_scale + offset; + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAnimatedTextureShader { + +[Alias('Set-OBSAnimatedTextureShader','Add-OBSAnimatedTextureShader')] +param( +# Set the ViewProj of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSAnimatedTextureShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSAnimatedTextureShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSAnimatedTextureShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSAnimatedTextureShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSAnimatedTextureShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSAnimatedTextureShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the notes of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the Animation_Image of OBSAnimatedTextureShader +[Alias('Animation_Image')] +[ComponentModel.DefaultBindingProperty('Animation_Image')] +[String] +$AnimationImage, +# Set the Colorization_Image of OBSAnimatedTextureShader +[Alias('Colorization_Image')] +[ComponentModel.DefaultBindingProperty('Colorization_Image')] +[String] +$ColorizationImage, +# Set the reverse of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('reverse')] +[Management.Automation.SwitchParameter] +$Reverse, +# Set the bounce of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('bounce')] +[Management.Automation.SwitchParameter] +$Bounce, +# Set the center_animation of OBSAnimatedTextureShader +[Alias('center_animation')] +[ComponentModel.DefaultBindingProperty('center_animation')] +[Management.Automation.SwitchParameter] +$CenterAnimation, +# Set the polar_animation of OBSAnimatedTextureShader +[Alias('polar_animation')] +[ComponentModel.DefaultBindingProperty('polar_animation')] +[Management.Automation.SwitchParameter] +$PolarAnimation, +# Set the polar_angle of OBSAnimatedTextureShader +[Alias('polar_angle')] +[ComponentModel.DefaultBindingProperty('polar_angle')] +[Single] +$PolarAngle, +# Set the polar_height of OBSAnimatedTextureShader +[Alias('polar_height')] +[ComponentModel.DefaultBindingProperty('polar_height')] +[Single] +$PolarHeight, +# Set the speed_horizontal_percent of OBSAnimatedTextureShader +[Alias('speed_horizontal_percent')] +[ComponentModel.DefaultBindingProperty('speed_horizontal_percent')] +[Single] +$SpeedHorizontalPercent, +# Set the speed_vertical_percent of OBSAnimatedTextureShader +[Alias('speed_vertical_percent')] +[ComponentModel.DefaultBindingProperty('speed_vertical_percent')] +[Single] +$SpeedVerticalPercent, +# Set the tint_speed_horizontal_percent of OBSAnimatedTextureShader +[Alias('tint_speed_horizontal_percent')] +[ComponentModel.DefaultBindingProperty('tint_speed_horizontal_percent')] +[Single] +$TintSpeedHorizontalPercent, +# Set the tint_speed_vertical_percent of OBSAnimatedTextureShader +[Alias('tint_speed_vertical_percent')] +[ComponentModel.DefaultBindingProperty('tint_speed_vertical_percent')] +[Single] +$TintSpeedVerticalPercent, +# Set the Alpha of OBSAnimatedTextureShader +[ComponentModel.DefaultBindingProperty('Alpha')] +[Single] +$Alpha, +# Set the Use_Animation_Image_Color of OBSAnimatedTextureShader +[Alias('Use_Animation_Image_Color')] +[ComponentModel.DefaultBindingProperty('Use_Animation_Image_Color')] +[Management.Automation.SwitchParameter] +$UseAnimationImageColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'animated_texture' +$ShaderNoun = 'OBSAnimatedTextureShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Animated Texture By Charles Fettinger (https://github.com/Oncorporation) 3/2020 +// Animates a texture with polar sizing and color options +// for use with obs-shaderfilter 1.0 +//Converted to OpenGL by Q-mii & Exeldro February 24, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform string notes; + +uniform texture2d Animation_Image; +uniform texture2d Colorization_Image; +uniform bool reverse = false; +uniform bool bounce = false; +uniform bool center_animation = true; +uniform bool polar_animation = true; +uniform float polar_angle = 90.0; +uniform float polar_height = 1.0; +uniform float speed_horizontal_percent = 50; +uniform float speed_vertical_percent = 5; +uniform float tint_speed_horizontal_percent = 50; +uniform float tint_speed_vertical_percent = 5; +uniform float Alpha = 1.0; +uniform bool Use_Animation_Image_Color = true; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float4 convert_pmalpha(float4 color) +{ + float4 ret = color; + if (color.a >= 0.001) + ret.xyz /= color.a; + else + ret = float4(0.0, 0.0, 0.0, 0.0); + return ret; +} + +float2 time(float2 speed_dir) +{ + float PI = 3.1415926535897932384626433832795; //acos(-1); + + float2 t = (elapsed_time * speed_dir) ; + if (bounce) + { + // coordinates moved from -1.0 to 1.0 to 0.0 to 2.0 then modified to fit screen + t.x = sin(elapsed_time * speed_dir.x * PI * 0.6667) + 1.0; + t.y = cos(elapsed_time * speed_dir.y * PI) + 1.0; + t *= -0.5; + } + + if (reverse) + t = t * -1; + return t; +} + +VertData mainTransform(VertData v_in) +{ + float2 speed_dir = float2(speed_horizontal_percent * 0.01, speed_vertical_percent * 0.01); + + VertData vert_out; + //float2 direction = abs(sin((elapsed_time - 0.001) * speed_dir)); + + float2 offset = uv_offset; + + if (center_animation) + { + vert_out.uv = v_in.uv - 0.5f; + } + else + { + offset += time(speed_dir); + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + offset; + } + + return vert_out; +} + + +float4 mainImage(VertData v_in) : TARGET +{ + float PI = 3.1415926535897932384626433832795; //acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + + float2 speed_dir = float2(speed_horizontal_percent * 0.01, speed_vertical_percent * 0.01); + float2 tint_speed_dir = float2(tint_speed_horizontal_percent * 0.01, tint_speed_vertical_percent * 0.01); + + //compensate for background vertex shader values + float2 background_offset = float2(-.5,-.5); + if (!center_animation) + background_offset = time(speed_dir); + float4 rgba = image.Sample(textureSampler, v_in.uv - background_offset); //float4(0.0,0.0,0.0,0.01); + + // Convert our texture coordinates to polar form: + if (polar_animation) { + + float2 polar = float2( + atan2(v_in.uv.y, v_in.uv.x) / (polar_angle * PI180th * 4), // angle + log(dot(v_in.uv, v_in.uv)) * -1 * (polar_height * PI180th * PI) // log-radius + ); + + // Check how much our texture sampling point changes between + // neighbouring pixels to the sides (ddx) and above/below (ddy) + ///float4 gradient = float4(ddx(polar), ddy(polar)); + + // If our angle wraps around between adjacent samples, + // discard one full rotation from its value and keep the fraction. + ///gradient.xz = frac(gradient.xz + 1.5f) - 0.5f; + + float2 tintUVs = polar * 4; + tintUVs += time(tint_speed_dir); + + // Apply texture scale + polar *= 4; + // Scroll the texture over time. + polar += time(speed_dir); + float4 animation = Animation_Image.Sample(textureSampler, frac(polar)); + + + float keyAmount = distance(animation.rgb,float3(0.0,0.0,0.0)); + float intensity = dot(animation.rgb ,float3(0.299,0.587,0.114)); + //animation.a = clamp((intensity),0.0,1.0); + if (Use_Animation_Image_Color) + { + animation.rgb *= Colorization_Image.Sample(textureSampler, frac(tintUVs)).rgb; + } + else + { + animation.rgb = Colorization_Image.Sample(textureSampler, frac(tintUVs)).rgb; + } + //if (keyAmount > 0.5f) + rgba = lerp(rgba, animation, animation.a * Alpha); + } + + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAsciiShader { + +[Alias('Set-OBSAsciiShader','Add-OBSAsciiShader')] +param( +# Set the scale of OBSAsciiShader +[ComponentModel.DefaultBindingProperty('scale')] +[Int32] +$Scale, +# Set the base_color of OBSAsciiShader +[Alias('base_color')] +[ComponentModel.DefaultBindingProperty('base_color')] +[String] +$BaseColor, +# Set the monochrome of OBSAsciiShader +[ComponentModel.DefaultBindingProperty('monochrome')] +[Management.Automation.SwitchParameter] +$Monochrome, +# Set the character_set of OBSAsciiShader +[Alias('character_set')] +[ComponentModel.DefaultBindingProperty('character_set')] +[Int32] +$CharacterSet, +# Set the note of OBSAsciiShader +[ComponentModel.DefaultBindingProperty('note')] +[String] +$Note, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'ascii' +$ShaderNoun = 'OBSAsciiShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// ASCII shader for use with obs-shaderfilter 7/2020 v1.0 +// https://github.com/Oncorporation/obs-shaderfilter +// Based on the following shaders: +// https://www.shadertoy.com/view/3dtXD8 - Created by DSWebber in 2019-10-24 +// https://www.shadertoy.com/view/lssGDj - Created by movAX13h in 2013-09-22 + +// Modifications of original shaders include: +// - Porting from GLSL to HLSL +// - Combining characters sets from both source shaders +// - Adding support for parameters from OBS for monochrome rendering, scaling and dynamic character set +// +// Add Additional Characters with this tool: http://thrill-project.com/archiv/coding/bitmap/ +// converts a bitmap into int then decodes it to look like text + +uniform int scale< + string label = "Scale"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; // Size of characters +uniform float4 base_color< + string label = "Base color"; +> = {0.0,1.0,0.0,1.0}; // Monochrome base color +uniform bool monochrome< + string label = "Monochrome"; +> = false; +uniform int character_set< + string label = "Character set"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Large set of non-letters"; + int option_1_value = 1; + string option_1_label = "Small set of capital letters"; +> = 0; +uniform string note< + string widget_type = "info"; +> = "Base color is used as monochrome base color."; + +float character(int n, float2 p) +{ + p = floor(p*float2(4.0, 4.0) + 2.5); + if (clamp(p.x, 0.0, 4.0) == p.x) + { + if (clamp(p.y, 0.0, 4.0) == p.y) + { + int a = int(round(p.x) + 5.0 * round(p.y)); + if (((n >> a) & 1) == 1) return 1.0; + } + } + return 0.0; +} + +float2 mod(float2 x, float2 y) +{ + return x - y * floor(x/y); +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 iResolution = uv_size*uv_scale; + float2 pix = v_in.pos.xy; + float4 c = image.Sample(textureSampler, floor(pix/float2(scale*8.0,scale*8.0))*float2(scale*8.0,scale*8.0)/iResolution.xy); + + float gray = 0.3 * c.r + 0.59 * c.g + 0.11 * c.b; + + int n; + int charset = clamp(character_set, 0, 1); + + if (charset==0) + { + if (gray <= 0.2) n = 4096; // . + if (gray > 0.2) n = 65600; // : + if (gray > 0.3) n = 332772; // * + if (gray > 0.4) n = 15255086; // o + if (gray > 0.5) n = 23385164; // & + if (gray > 0.6) n = 15252014; // 8 + if (gray > 0.7) n = 13199452; // @ + if (gray > 0.8) n = 11512810; // # + } + else if (charset==1) + { + if (gray <= 0.1) n = 0; + if (gray > 0.1) n = 9616687; // R + if (gray > 0.3) n = 32012382; // S + if (gray > 0.5) n = 16303663; // D + if (gray > 0.7) n = 15255086; // O + if (gray > 0.8) n = 16301615; // B + } + + float2 p = mod(pix/float2(scale*4.0,scale*4.0),float2(2.0,2.0)) - float2(1.0,1.0); + + if (monochrome) + { + c.rgb = base_color.rgb; + } + c = c*character(n, p); + + return c; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSAspectRatioShader { + +[Alias('Set-OBSAspectRatioShader','Add-OBSAspectRatioShader')] +param( +# Set the ViewProj of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSAspectRatioShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSAspectRatioShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSAspectRatioShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSAspectRatioShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSAspectRatioShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSAspectRatioShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the borderColor of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('borderColor')] +[String] +$BorderColor, +# Set the notes of OBSAspectRatioShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'aspect_ratio' +$ShaderNoun = 'OBSAspectRatioShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 - DO NOT USE THIS IT WAS NEVER COMPLETED +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + + +// variables +uniform float4 borderColor = {0,0,0,0}; +float targetaspect = 1.7777777777777777777777f; //16.0f / 9.0f; +uniform string notes; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + + float2 hw = uv_scale; + // determine the game window''s current aspect ratio + float windowaspect = hw.x / hw.y; + + // current viewport height should be scaled by this amount + float scaleheight = windowaspect / targetaspect; + + + // if scaled height is less than current height, add letterbox + if (scaleheight < 1.0f) + { + Rect rect = camera.rect; + + rect.width = 1.0f; + rect.height = scaleheight; + rect.x = 0; + rect.y = (1.0f - scaleheight) / 2.0f; + + camera.rect = rect; + } + else // add pillarbox + { + float scalewidth = 1.0f / scaleheight; + + Rect rect = camera.rect; + + rect.width = scalewidth; + rect.height = 1.0f; + rect.x = (1.0f - scalewidth) / 2.0f; + rect.y = 0; + + camera.rect = rect; + } + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + if (v_in.uv.x < 0 || v_in.uv.x > 1 || v_in.uv.y < 0 || v_in.uv.y > 1) + { + return borderColor; + } + else + { + return image.Sample(textureSampler, v_in.uv); + } +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBackgroundRemovalShader { + +[Alias('Set-OBSBackgroundRemovalShader','Add-OBSBackgroundRemovalShader')] +param( +# Set the ViewProj of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSBackgroundRemovalShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSBackgroundRemovalShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSBackgroundRemovalShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSBackgroundRemovalShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSBackgroundRemovalShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSBackgroundRemovalShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the notes of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the target of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('target')] +[String] +$Target, +# Set the color of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('color')] +[String] +$Color, +# Set the opacity of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('opacity')] +[Single] +$Opacity, +# Set the invert of OBSBackgroundRemovalShader +[ComponentModel.DefaultBindingProperty('invert')] +[Management.Automation.SwitchParameter] +$Invert, +# Set the Convert_709to601 of OBSBackgroundRemovalShader +[Alias('Convert_709to601')] +[ComponentModel.DefaultBindingProperty('Convert_709to601')] +[Management.Automation.SwitchParameter] +$Convert709to601, +# Set the Convert_601to709 of OBSBackgroundRemovalShader +[Alias('Convert_601to709')] +[ComponentModel.DefaultBindingProperty('Convert_601to709')] +[Management.Automation.SwitchParameter] +$Convert601to709, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'background_removal' +$ShaderNoun = 'OBSBackgroundRemovalShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// background removal effect By Charles Fettinger (https://github.com/Oncorporation) 4/2019 +//Converted to OpenGL by Exeldro February 19, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform string notes = "Opacity between 10 and 20 works. Adjust `Color` from white to fix environmental changes.\r\r\nUsage:\r\n1) Disable `Auto` settings like focus, white balance, etc.\r\n2) Take a video of just the background. \r\n3) Take a frame and use it as the background image. Windows Snipping Tool (%windir%\\system32\\SnippingTool.exe). \r\r\nThis eliminates differences based upon camera/video settings."; + +uniform texture2d target; +uniform float4 color; +uniform float opacity = 15.0; +uniform bool invert; +uniform bool Convert_709to601; +uniform bool Convert_601to709; + + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertDataIn { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct VertDataOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; + float2 uv2 : TEXCOORD1; +}; + +float dot(float3 a,float3 b){ + return a.x*b.x+a.y*b.y+a.z*b.z; +} + +//BT.601 to BT.709 +// Correct video colorspace BT.601 [SD] to BT.709 [HD] for HD video input +// Use this shader only if BT.709 [HD] encoded video is incorrectly matrixed to full range RGB with the BT.601 [SD] colorspace. +float4 Convert601to709(float4 rgba) +{ + float3 s1 = rgba.rgb; + s1 = s1.rrr * float3(0.299, -0.1495 / 0.886, 0.5) + s1.ggg * float3(0.587, -0.2935 / 0.886, -0.2935 / 0.701) + s1.bbb * float3(0.114, 0.5, -0.057 / 0.701); // RGB to Y''CbCr, BT.601 [SD] colorspace + return (s1.rrr + float3(0, -0.1674679 / 0.894, 1.8556) * s1.ggg + float3(1.5748, -0.4185031 / 0.894, 0) * s1.bbb).rgbb; // Y''CbCr to RGB output, BT.709 [HD] colorspace +} + +//BT.709 to BT.601 +float4 Convert709to601(float4 rgba) +{ + float3 s1 = rgba.rgb; + s1 = float3(dot(float3(.2126, .7152, .0722), s1), dot(float3(-.1063 / .9278, -.3576 / .9278, .5), s1), dot(float3(.5, -.3576 / .7874, -.0361 / .7874), s1)); + return float3(s1.x + 1.402*s1.z, dot(s1, float3(1, -.202008 / .587, -.419198 / .587)), s1.x + 1.772*s1.y).rgbb; +} + +VertDataOut VSDefault(VertDataIn v_in) +{ + VertDataOut vert_out; + vert_out.pos = mul(float4(v_in.pos.x, v_in.pos.y, v_in.pos.z, 1.0), ViewProj); + vert_out.uv = v_in.uv; + vert_out.uv2 = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +float4 PSColorMaskRGBA(VertDataOut v_in) : TARGET +{ + float Tolerance = opacity * 0.01; + float4 rgba = image.Sample(textureSampler, v_in.uv); + + float4 targetRGB = target.Sample(textureSampler, v_in.uv2) * color; + if (invert){ + targetRGB.rgb = 1.0 - targetRGB.rgb; + } + if (Convert_709to601) + { + rgba.rgb = Convert709to601(rgba).rgb; + targetRGB.rgb = Convert709to601(targetRGB).rgb; + } + + if (Convert_601to709) + { + rgba.rgb = Convert601to709(rgba).rgb; + targetRGB.rbg = Convert601to709(targetRGB).rgb; + } + + float4 shadowRGB = targetRGB * targetRGB; + + if ((abs(targetRGB.r - rgba.r) <= Tolerance && + abs(targetRGB.g - rgba.g) <= Tolerance && + abs(targetRGB.b - rgba.b) <= Tolerance) + || (abs(shadowRGB.r - rgba.r) <= Tolerance && + abs(shadowRGB.g - rgba.g) <= Tolerance && + abs(shadowRGB.b - rgba.b) <= Tolerance)) + { + rgba.rgba = float4(0,0,0,0); + } + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(v_in); + pixel_shader = PSColorMaskRGBA(v_in); + } +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBlendOpacityShader { + +[Alias('Set-OBSBlendOpacityShader','Add-OBSBlendOpacityShader')] +param( +# Set the Vertical of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the Rotational of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Rotational')] +[Management.Automation.SwitchParameter] +$Rotational, +# Set the Rotation_Offset of OBSBlendOpacityShader +[Alias('Rotation_Offset')] +[ComponentModel.DefaultBindingProperty('Rotation_Offset')] +[Single] +$RotationOffset, +# Set the Opacity_Start_Percent of OBSBlendOpacityShader +[Alias('Opacity_Start_Percent')] +[ComponentModel.DefaultBindingProperty('Opacity_Start_Percent')] +[Single] +$OpacityStartPercent, +# Set the Opacity_End_Percent of OBSBlendOpacityShader +[Alias('Opacity_End_Percent')] +[ComponentModel.DefaultBindingProperty('Opacity_End_Percent')] +[Single] +$OpacityEndPercent, +# Set the Spread of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Spread')] +[Single] +$Spread, +# Set the Speed of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Apply_To_Alpha_Layer of OBSBlendOpacityShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Notes of OBSBlendOpacityShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'blend_opacity' +$ShaderNoun = 'OBSBlendOpacityShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// opacity blend shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 14, 2022 +uniform bool Vertical; +uniform bool Rotational; +uniform float Rotation_Offset< + string label = "Rotation Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 6.28318531; + float step = 0.01; +> = 0.0; +uniform float Opacity_Start_Percent< + string label = "Opacity Start Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 0.0; +uniform float Opacity_End_Percent< + string label = "Opacity End Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; +uniform float Spread< + string label = "Spread"; + string widget_type = "slider"; + float minimum = 0.25; + float maximum = 10.0; + float step = 0.01; +> = 0.5; +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.0; +uniform bool Apply_To_Alpha_Layer = true; +uniform string Notes< + string widget_type = "info"; +> = "Spread is wideness of opacity blend and is limited between .25 and 10. Edit at your own risk. Invert Start and End to Reverse effect."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 point_color = image.Sample(textureSampler, v_in.uv); + float luminance = 0.299*point_color.r+0.587*point_color.g+0.114*point_color.b; + float4 gray = float4(luminance,luminance,luminance, 1); + + float2 lPos = (v_in.uv * uv_scale + uv_offset) / clamp(Spread, 0.25, 10.0); + float time = (elapsed_time * clamp(Speed, -5.0, 5.0)) / clamp(Spread, 0.25, 10.0); + float dist = distance(v_in.uv , (float2(0.99, 0.99) * uv_scale + uv_offset)); + + if (point_color.a > 0.0 || Apply_To_Alpha_Layer == false) + { + //set opacity and direction + float opacity = (-1 * lPos.x) * 0.5; + + if (Rotational && (Vertical == false)) + { + float timeWithOffset = time + Rotation_Offset; + float sine = sin(timeWithOffset); + float cosine = cos(timeWithOffset); + opacity = (lPos.x * cosine + lPos.y * sine) * 0.5; + } + + if (Vertical && (Rotational == false)) + { + opacity = (-1 * lPos.y) * 0.5; + } + + opacity += time; + opacity = frac(opacity); + point_color.a = lerp(Opacity_Start_Percent * 0.01, Opacity_End_Percent * 0.01, clamp(opacity, 0.0, 1.0)); + } + return point_color; +} + + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBlinkShader { + +[Alias('Set-OBSBlinkShader','Add-OBSBlinkShader')] +param( +# Set the speed of OBSBlinkShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'blink' +$ShaderNoun = 'OBSBlinkShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 color = image.Sample(textureSampler, v_in.uv); + float t = elapsed_time * speed; + return float4(color.r, color.g, color.b, color.a * (1 + sin(t)) / 2); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBloomShader { + +[Alias('Set-OBSBloomShader','Add-OBSBloomShader')] +param( +# Set the Angle_Steps of OBSBloomShader +[Alias('Angle_Steps')] +[ComponentModel.DefaultBindingProperty('Angle_Steps')] +[Int32] +$AngleSteps, +# Set the Radius_Steps of OBSBloomShader +[Alias('Radius_Steps')] +[ComponentModel.DefaultBindingProperty('Radius_Steps')] +[Int32] +$RadiusSteps, +# Set the ampFactor of OBSBloomShader +[ComponentModel.DefaultBindingProperty('ampFactor')] +[Single] +$AmpFactor, +# Set the notes of OBSBloomShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'bloom' +$ShaderNoun = 'OBSBloomShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Bloom shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 15, 2022 +uniform int Angle_Steps< + string label = "Angle Steps"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 5; // +uniform int Radius_Steps< + string label = "Radius Steps"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 9; // +uniform float ampFactor< + string label = "amp Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 2.0; +uniform string notes< + string widget_type = "info"; +> = "Steps limited in range from 0 to 20. Edit bloom.shader to remove limits at your own risk."; + +float4 mainImage(VertData v_in) : TARGET +{ + int radiusSteps = clamp(Radius_Steps, 0, 20); + int angleSteps = clamp(Angle_Steps, 1, 20); + float PI = 3.1415926535897932384626433832795;//acos(-1); + float minRadius = (0.0 * uv_pixel_interval.y); + float maxRadius = (10.0 * uv_pixel_interval.y); + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float4 outputPixel = c0; + float4 accumulatedColor = float4(0,0,0,0); + + int totalSteps = radiusSteps * angleSteps; + float angleDelta = (2.0 * PI) / float(angleSteps); + float radiusDelta = (maxRadius - minRadius) / float(radiusSteps); + + for (int radiusStep = 0; radiusStep < radiusSteps; radiusStep++) { + float radius = minRadius + float(radiusStep) * radiusDelta; + + for (float angle=0.0; angle <(2.0*PI); angle += angleDelta) { + float2 currentCoord; + + float xDiff = radius * cos(angle); + float yDiff = radius * sin(angle); + + currentCoord = v_in.uv + float2(xDiff, yDiff); + float4 currentColor =image.Sample(textureSampler, currentCoord); + float currentFraction = float(radiusSteps+1 - radiusStep) / float(radiusSteps + 1); + + accumulatedColor += currentFraction * currentColor / float(totalSteps); + + } + } + + outputPixel += accumulatedColor * ampFactor; + + return outputPixel; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBorderShader { + +[Alias('Set-OBSBorderShader','Add-OBSBorderShader')] +param( +# Set the borderColor of OBSBorderShader +[ComponentModel.DefaultBindingProperty('borderColor')] +[String] +$BorderColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'border' +$ShaderNoun = 'OBSBorderShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4 borderColor; + +float4 mainImage(VertData v_in) : TARGET +{ + if (v_in.uv.x < 0 || v_in.uv.x > 1 || v_in.uv.y < 0 || v_in.uv.y > 1) + { + return borderColor; + } + else + { + return image.Sample(textureSampler, v_in.uv); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBoxBlurShader { + +[Alias('Set-OBSBoxBlurShader','Add-OBSBoxBlurShader')] +param( +# Set the Strength of OBSBoxBlurShader +[ComponentModel.DefaultBindingProperty('Strength')] +[Int32] +$Strength, +# Set the Mask_Left of OBSBoxBlurShader +[Alias('Mask_Left')] +[ComponentModel.DefaultBindingProperty('Mask_Left')] +[Single] +$MaskLeft, +# Set the Mask_Right of OBSBoxBlurShader +[Alias('Mask_Right')] +[ComponentModel.DefaultBindingProperty('Mask_Right')] +[Single] +$MaskRight, +# Set the Mask_Top of OBSBoxBlurShader +[Alias('Mask_Top')] +[ComponentModel.DefaultBindingProperty('Mask_Top')] +[Single] +$MaskTop, +# Set the Mask_Bottom of OBSBoxBlurShader +[Alias('Mask_Bottom')] +[ComponentModel.DefaultBindingProperty('Mask_Bottom')] +[Single] +$MaskBottom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'box-blur' +$ShaderNoun = 'OBSBoxBlurShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int Strength< + string label = "Strength (1)"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 25; + int step = 1; +> = 1; +uniform float Mask_Left< + string label = "Mask left (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Right< + string label = "Mask right (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Top< + string label = "Mask top (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Bottom< + string label = "Mask bottom (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + if(Strength <= 0) + return image.Sample(textureSampler, v_in.uv); + + if(Mask_Left + Mask_Right > 1.0){ + if(v_in.uv.x > Mask_Left || 1.0 - v_in.uv.x > Mask_Right ){ + return image.Sample(textureSampler, v_in.uv); + } + }else{ + if((v_in.uv.x > Mask_Left) && (1.0-v_in.uv.x > Mask_Right)){ + return image.Sample(textureSampler, v_in.uv); + } + } + if(Mask_Top + Mask_Bottom > 1.0){ + if(v_in.uv.y > Mask_Top || 1.0 - v_in.uv.y > Mask_Bottom){ + return image.Sample(textureSampler, v_in.uv); + } + }else { + if((v_in.uv.y > Mask_Top) && (1.0-v_in.uv.y > Mask_Bottom)){ + return image.Sample(textureSampler, v_in.uv); + } + } + float transparent = 0.0; + int count = 1; + float samples = 0.0; + float4 c = float4(0.0, 0.0, 0.0, 0.0); + float Steps = float(Strength); + + [loop] for (int i = -Strength; i <= Strength; i++) { + [loop] for (int k = -Strength; k <= Strength; k++) { + float4 sc = image.Sample(textureSampler, v_in.uv+float2(float(i), float(k))/uv_size*Steps); + transparent += sc.a; + count++; + c += sc * sc.a; + samples += sc.a; + } + } + if(samples > 0.0) + c /= samples; + + c.a = transparent / float(count); + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBulgePinchShader { + +[Alias('Set-OBSBulgePinchShader','Add-OBSBulgePinchShader')] +param( +# Set the radius of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('radius')] +[Single] +$Radius, +# Set the magnitude of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('magnitude')] +[Single] +$Magnitude, +# Set the center_x of OBSBulgePinchShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSBulgePinchShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the animate of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the notes of OBSBulgePinchShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'BulgePinch' +$ShaderNoun = 'OBSBulgePinchShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Created by Radegast Stravinsky for obs-shaderfilter 9/2020 +uniform float radius< + string label = "Radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 0.0; +uniform float magnitude< + string label = "Magnitude"; + string widget_type = "slider"; + float minimum = -1.3333; + float maximum = 1.3333; + float step = 0.01; +> = 0.0; +uniform float center_x< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.01; +> = 0.25; +uniform float center_y< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.01; +> = 0.25; +uniform bool animate = false; + +uniform string notes< + string widget_type = "info"; +> = "Distorts the screen, expanding or drawing in pixels around a point." + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center = float2(center_x, center_y); + VertData v_out; + v_out.pos = v_in.pos; + float2 hw = uv_size; + float ar = 1. * hw.y/hw.x; + v_out.uv = 1. * v_in.uv - center; + + center.x /= ar; + v_out.uv.x /= ar; + + float dist = distance(v_out.uv, center); + if (dist < radius) + { + float anim_mag = (animate ? magnitude * sin(radians(elapsed_time * 20)) : magnitude); + float percent = dist/radius; + if(anim_mag > 0) + v_out.uv = (v_out.uv - center) * lerp(1.0, smoothstep(0.0, radius/dist, percent), anim_mag * 0.75); + else + v_out.uv = (v_out.uv-center) * lerp(1.0, pow(percent, 1.0 + anim_mag * 0.75) * radius/dist, 1.0 - percent); + + v_out.uv += (2 * center); + v_out.uv.x *= ar; + + return image.Sample(textureSampler, v_out.uv); + } + else + { + return image.Sample(textureSampler, v_in.uv); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSBurnShader { + +[Alias('Set-OBSBurnShader','Add-OBSBurnShader')] +param( +# Set the Burn_Gradient of OBSBurnShader +[Alias('Burn_Gradient')] +[ComponentModel.DefaultBindingProperty('Burn_Gradient')] +[String] +$BurnGradient, +# Set the Speed of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Gradient_Adjust of OBSBurnShader +[Alias('Gradient_Adjust')] +[ComponentModel.DefaultBindingProperty('Gradient_Adjust')] +[Single] +$GradientAdjust, +# Set the Dissolve_Value of OBSBurnShader +[Alias('Dissolve_Value')] +[ComponentModel.DefaultBindingProperty('Dissolve_Value')] +[Single] +$DissolveValue, +# Set the Animated of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Animated')] +[Management.Automation.SwitchParameter] +$Animated, +# Set the Apply_to_Channel of OBSBurnShader +[Alias('Apply_to_Channel')] +[ComponentModel.DefaultBindingProperty('Apply_to_Channel')] +[Management.Automation.SwitchParameter] +$ApplyToChannel, +# Set the Apply_Smoke of OBSBurnShader +[Alias('Apply_Smoke')] +[ComponentModel.DefaultBindingProperty('Apply_Smoke')] +[Management.Automation.SwitchParameter] +$ApplySmoke, +# Set the Smoke_Horizonal_Speed of OBSBurnShader +[Alias('Smoke_Horizonal_Speed')] +[ComponentModel.DefaultBindingProperty('Smoke_Horizonal_Speed')] +[Single] +$SmokeHorizonalSpeed, +# Set the Smoke_Vertical_Speed of OBSBurnShader +[Alias('Smoke_Vertical_Speed')] +[ComponentModel.DefaultBindingProperty('Smoke_Vertical_Speed')] +[Single] +$SmokeVerticalSpeed, +# Set the Iterations of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Iterations')] +[Int32] +$Iterations, +# Set the Notes of OBSBurnShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'burn' +$ShaderNoun = 'OBSBurnShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Burn shader by Charles Fettinger (https://github.com/Oncorporation) 4/2019 +//for use with obs-shaderfilter 1.0 +//Converted to OpenGL by Exeldro February 17, 2022 +float4 mod(float4 x, float4 y) +{ + return x - y * floor(x / y); +} +float4 mod289(float4 x) +{ + return x - floor(x / 289.0) * 289.0; +} +float4 permute(float4 x) +{ + return mod289(((x * 34.0) + 1.0) * x); +} +float4 taylorInvSqrt(float4 r) +{ + return 1.79284291400159 - r * 0.85373472095314; +} +float2 fade(float2 t) { + return t * t* t* (t * (t * 6.0 - 15.0) + 10.0); +} + +float dot(float2 a,float2 b){ + return a.x*b.x+a.y*b.y; +} + +// Classic Perlin noise +float cnoise(float2 P) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac(P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0; + float4 gy = abs(gx) - 0.5; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x, gy.x); + float2 g10 = float2(gx.y, gy.y); + float2 g01 = float2(gx.z, gy.z); + float2 g11 = float2(gx.w, gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} +// Classic Perlin noise, periodic variant +float pnoise(float2 P, float2 rep) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac(P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod(Pi, rep.xyxy); // To create noise with explicit period + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0; + float4 gy = abs(gx) - 0.5; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x, gy.x); + float2 g10 = float2(gx.y, gy.y); + float2 g01 = float2(gx.z, gy.z); + float2 g11 = float2(gx.w, gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} + +uniform texture2d Burn_Gradient = "burngradient.png"; +uniform float Speed = 0.33; +uniform float Gradient_Adjust = 0.85; +uniform float Dissolve_Value = 1.43; +uniform bool Animated; +uniform bool Apply_to_Channel; +uniform bool Apply_Smoke = true; +uniform float Smoke_Horizonal_Speed = 0.3; +uniform float Smoke_Vertical_Speed = 0.17; +uniform int Iterations = 4; +uniform string Notes< + string widget_type = "info"; +> = "Animate refers to the burn effect. Speed is general and is reversed with negative numbers. Gradient Adjust is the width of the burn gradient. Use the burngradient.png. Dissolve Value is important. Apply Smoke adds the scrolling smoke."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + float4 smoke = float4(1.0,1.0,1.0,1.0); + float4 result = smoke; + float t = elapsed_time * Speed; + float cycle = 1 - max((sin(t) * 2) - 1, 0); //create a negative cycle time as a delay + float2 dir = float2(Smoke_Horizonal_Speed, Smoke_Vertical_Speed); + //float largestDistance = sqrt(pow(uv_size.x, 2) + pow(uv_size.y, 2)); + + float perlin = 0.5; + float smoke_perlin = 0; + float scale = 1; + float w = 0.5; + + for (int i = 0; i < Iterations; i++) { + //float2 coord = v_in.uv * scale;// (v_in.uv + t * dir)* scale; + float2 coord = (v_in.uv + t * (dir * .1)) * scale; + float2 period = scale * dir; + perlin += pnoise(coord, period) * w; + if (Apply_Smoke) + smoke_perlin += cnoise((v_in.uv + t * dir) * scale) * w * .5; + + scale *= 2.0; + w *= 0.5; + } + + //float toPoint = abs(length(v_in.uv - (v_in.uv * .5)) / ((1.0001 - t) * largestDistance)); + if (!Animated) + cycle = 1; + float d = clamp(((Dissolve_Value * cycle + perlin) ) - 1.0, -.01, 0.99); + float overOne = saturate(d * Gradient_Adjust); + float4 burn = Burn_Gradient.Sample(textureSampler, float2(overOne, 0.5)); + + if (Apply_to_Channel) { + result = c * burn; + } + else { + result = float4(perlin, perlin, perlin, 1.0) * burn; + } + + if (smoke_perlin > 0) { + smoke *= smoke_perlin; + if (result.a <= 0.04) + result = float4(smoke.rgb, smoke_perlin); + result += smoke; + } + + return result; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCartoonShader { + +[Alias('Set-OBSCartoonShader','Add-OBSCartoonShader')] +param( +# Set the ViewProj of OBSCartoonShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSCartoonShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSCartoonShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSCartoonShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSCartoonShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSCartoonShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSCartoonShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSCartoonShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the notes of OBSCartoonShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the hue_steps of OBSCartoonShader +[Alias('hue_steps')] +[ComponentModel.DefaultBindingProperty('hue_steps')] +[Int32] +$HueSteps, +# Set the value_steps of OBSCartoonShader +[Alias('value_steps')] +[ComponentModel.DefaultBindingProperty('value_steps')] +[Int32] +$ValueSteps, +# Set the Apply_To_Alpha_Layer of OBSCartoonShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'cartoon' +$ShaderNoun = 'OBSCartoonShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Darklink''s shader modified to by Charles ''Surn'' Fettinger for use with obs-shaderfilter 3/2019 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform string notes = "5/2 seems reasonable"; + +uniform int hue_steps = 5; +uniform int value_steps = 2; +uniform bool Apply_To_Alpha_Layer = true; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertDataIn { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct VertDataOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertDataOut VSDefault(VertDataIn v_in) +{ + VertDataOut vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv; + return vert_out; +} + +float3 rgb2hsv(float3 c) +{ + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp(float4(c.bg, K.wz), float4(c.gb, K.xy), step(c.b, c.g)); + float4 q = lerp(float4(p.xyw, c.r), float4(c.r, p.yzx), step(p.x, c.r)); + + float d = q.x - min(q.w, q.y); + float e = 1.0e-10; + return float3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); +} + +float3 hsv2rgb(float3 c) +{ + float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * lerp(K.xxx, saturate(p - K.xxx), c.y); +} + +float fit(float v, int factor) +{ + return round(v * factor) / factor; +} + +float hue_wrap(float h) +{ + return fmod(h + 1, 2) - 1; + if(h > 1) + return h - 2; + if(h < -1) + return h + 2; + return h; +} + +float4 PassThrough(VertDataOut v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv); + if (rgba.a > 0.0 || Apply_To_Alpha_Layer == false) + { + float3 hsv = rgb2hsv(rgba.rgb); + hsv = float3(fit(hsv.x, hue_steps), hsv.y, fit(hsv.z, value_steps)); + //hsv = float3(hue_wrap(hsv.x + 0.5), 1, hsv.z); + rgba = float4(hsv2rgb(hsv), rgba.a); + //return float4(fit(rgba.r), fit(rgba.g), fit(rgba.b), rgba.a); + } + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(v_in); + pixel_shader = PassThrough(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCellShadedShader { + +[Alias('Set-OBSCellShadedShader','Add-OBSCellShadedShader')] +param( +# Set the Angle_Steps of OBSCellShadedShader +[Alias('Angle_Steps')] +[ComponentModel.DefaultBindingProperty('Angle_Steps')] +[Int32] +$AngleSteps, +# Set the Radius_Steps of OBSCellShadedShader +[Alias('Radius_Steps')] +[ComponentModel.DefaultBindingProperty('Radius_Steps')] +[Int32] +$RadiusSteps, +# Set the ampFactor of OBSCellShadedShader +[ComponentModel.DefaultBindingProperty('ampFactor')] +[Single] +$AmpFactor, +# Set the notes of OBSCellShadedShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'cell_shaded' +$ShaderNoun = 'OBSCellShadedShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Cell Shaded shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int Angle_Steps< + string label = "Angle Steps"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 5; +uniform int Radius_Steps< + string label = "Radius Steps"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 9; +uniform float ampFactor< + string label = "amp Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 2.0; +uniform string notes< + string widget_type = "info"; +> = "Steps limited in range from 0 to 20. Edit cell_shaded.shader to remove limits at your own risk."; + +float4 mainImage(VertData v_in) : TARGET +{ + float radiusSteps = clamp(Radius_Steps, 0, 20); + float angleSteps = clamp(Angle_Steps, 1, 20); + float PI = 3.1415926535897932384626433832795;//acos(-1); + int totalSteps = int(radiusSteps * angleSteps); + float minRadius = (3 * uv_pixel_interval.y); + float maxRadius = (24 * uv_pixel_interval.y); + + float angleDelta = ((2 * PI) / angleSteps); + float radiusDelta = ((maxRadius - minRadius) / radiusSteps); + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float4 origColor = c0; + float4 accumulatedColor = float4(0,0,0,0); + + for (int radiusStep = 0; radiusStep < radiusSteps; radiusStep++) { + float radius = minRadius + radiusStep * radiusDelta; + + for (float angle=0; angle <(2*PI); angle += angleDelta) { + float2 currentCoord; + + float xDiff = radius * cos(angle); + float yDiff = radius * sin(angle); + + currentCoord = v_in.uv + float2(xDiff, yDiff); + float4 currentColor = image.Sample(textureSampler, currentCoord); + float4 colorDiff = abs(c0 - currentColor); + float currentFraction = (radiusSteps + 1 - radiusStep) / (radiusSteps + 1); + accumulatedColor += currentFraction * colorDiff / totalSteps; + + } + } + accumulatedColor *= ampFactor; + + return c0 - accumulatedColor; // Cell shaded style +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSChromaticAberrationShader { + +[Alias('Set-OBSChromaticAberrationShader','Add-OBSChromaticAberrationShader')] +param( +# Set the power of OBSChromaticAberrationShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# Set the gamma of OBSChromaticAberrationShader +[ComponentModel.DefaultBindingProperty('gamma')] +[Single] +$Gamma, +# Set the num_iter of OBSChromaticAberrationShader +[Alias('num_iter')] +[ComponentModel.DefaultBindingProperty('num_iter')] +[Int32] +$NumIter, +# Set the distort_radial of OBSChromaticAberrationShader +[Alias('distort_radial')] +[ComponentModel.DefaultBindingProperty('distort_radial')] +[Management.Automation.SwitchParameter] +$DistortRadial, +# Set the distort_barrel of OBSChromaticAberrationShader +[Alias('distort_barrel')] +[ComponentModel.DefaultBindingProperty('distort_barrel')] +[Management.Automation.SwitchParameter] +$DistortBarrel, +# Set the offset_spectrum_ycgco of OBSChromaticAberrationShader +[Alias('offset_spectrum_ycgco')] +[ComponentModel.DefaultBindingProperty('offset_spectrum_ycgco')] +[Management.Automation.SwitchParameter] +$OffsetSpectrumYcgco, +# Set the offset_spectrum_yuv of OBSChromaticAberrationShader +[Alias('offset_spectrum_yuv')] +[ComponentModel.DefaultBindingProperty('offset_spectrum_yuv')] +[Management.Automation.SwitchParameter] +$OffsetSpectrumYuv, +# Set the use_random of OBSChromaticAberrationShader +[Alias('use_random')] +[ComponentModel.DefaultBindingProperty('use_random')] +[Management.Automation.SwitchParameter] +$UseRandom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'chromatic-aberration' +$ShaderNoun = 'OBSChromaticAberrationShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/XssGz8 +//Converted to OpenGL by Exeldro February 14, 2022 + black background removed February 23, 2022 +uniform float power< + string label = "Power"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 0.01; +uniform float gamma< + string label = "Gamma"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 3.0; + float step = 0.01; +> = 2.2; +uniform int num_iter< + string label = "Number iterations"; + string widget_type = "slider"; + int minimum = 3; + int maximum = 25; + int step = 1; +> = 7; +uniform bool distort_radial = false; +uniform bool distort_barrel = false; +uniform bool offset_spectrum_ycgco = false; +uniform bool offset_spectrum_yuv = false; +uniform bool use_random = true; + +float2 remap( float2 t, float2 a, float2 b ) { + return clamp( (t - a) / (b - a), 0.0, 1.0 ); +} + +float3 spectrum_offset_rgb( float t ) +{ + float t0 = 3.0 * t - 1.5; + float3 ret = clamp( float3( -t0, 1.0-abs(t0), t0), 0.0, 1.0); + return ret; +} + + +float3 lin2srgb( float3 c ) +{ + return pow( c, float3(gamma, gamma, gamma) ); +} +float3 srgb2lin( float3 c ) +{ + return pow( c, float3(1.0/gamma, 1.0/gamma, 1.0/gamma)); +} + +float3 yCgCo2rgb(float3 ycc) +{ + float R = ycc.x - ycc.y + ycc.z; + float G = ycc.x + ycc.y; + float B = ycc.x - ycc.y - ycc.z; + return float3(R,G,B); +} + +float3 spectrum_offset_ycgco( float t ) +{ + //float3 ygo = float3( 1.0, 1.5*t, 0.0 ); //green-pink + //float3 ygo = float3( 1.0, -1.5*t, 0.0 ); //green-purple + float3 ygo = float3( 1.0, 0.0, -1.25*t ); //cyan-orange + //float3 ygo = float3( 1.0, 0.0, 1.5*t ); //brownyello-blue + return yCgCo2rgb( ygo ); +} + +float3 yuv2rgb( float3 yuv ) +{ + float3 rgb; + rgb.r = yuv.x + yuv.z * 1.13983; + rgb.g = yuv.x + dot( float2(-0.39465, -0.58060), yuv.yz ); + rgb.b = yuv.x + yuv.y * 2.03211; + return rgb; +} + +float2 radialdistort(float2 coord, float2 amt) +{ + float2 cc = coord - 0.5; + return coord + 2.0 * cc * amt; +} + +float2 barrelDistortion( float2 p, float2 amt ) +{ + p = 2.0 * p - 1.0; + + /* + const float maxBarrelPower = 5.0; + //note: http://glsl.heroku.com/e#3290.7 , copied from Little Grasshopper + float theta = atan(p.y, p.x); + float2 radius = float2( length(p) ); + radius = pow(radius, 1.0 + maxBarrelPower * amt); + p.x = radius.x * cos(theta); + p.y = radius.y * sin(theta); + + /*/ + // much faster version + //const float maxBarrelPower = 5.0; + //float radius = length(p); + float maxBarrelPower = sqrt(5.0); + float radius = dot(p,p); //faster but doesn''t match above accurately + p *= pow(float2(radius, radius), maxBarrelPower * amt); + /* */ + + return p * 0.5 + 0.5; +} + +float2 brownConradyDistortion(float2 uv, float dist) +{ + uv = uv * 2.0 - 1.0; + // positive values of K1 give barrel distortion, negative give pincushion + float barrelDistortion1 = 0.1 * dist; // K1 in text books + float barrelDistortion2 = -0.025 * dist; // K2 in text books + + float r2 = dot(uv,uv); + uv *= 1.0 + barrelDistortion1 * r2 + barrelDistortion2 * r2 * r2; + //uv *= 1.0 + barrelDistortion1 * r2; + + // tangential distortion (due to off center lens elements) + // is not modeled in this function, but if it was, the terms would go here + return uv * 0.5 + 0.5; +} + +float2 distort( float2 uv, float t, float2 min_distort, float2 max_distort ) +{ + float2 dist = float2(min_distort.x * (1.0-t) +max_distort.x * t, min_distort.y * (1.0-t) +max_distort.y * t); + //float2 dist = mix( min_distort, max_distort, t ); + if (distort_radial) + return radialdistort( uv, 2.0 * dist ); + + if(distort_barrel) + return barrelDistortion( uv, 1.75 * dist ); //distortion at center + return brownConradyDistortion( uv, 75.0 * dist.x ); +} + +// ==== + +float3 spectrum_offset_yuv( float t ) +{ + //float3 yuv = float3( 1.0, 3.0*t, 0.0 ); //purple-green + //float3 yuv = float3( 1.0, 0.0, 2.0*t ); //purple-green + float3 yuv = float3( 1.0, 0.0, -1.0*t ); //cyan-orange + //float3 yuv = float3( 1.0, -0.75*t, 0.0 ); //brownyello-blue + return yuv2rgb( yuv ); +} + +float3 spectrum_offset( float t ) +{ + if(offset_spectrum_ycgco) + return spectrum_offset_ycgco( t ); + if(offset_spectrum_yuv) + return spectrum_offset_yuv( t ); + return spectrum_offset_rgb( t ); + //return srgb2lin( spectrum_offset_rgb( t ) ); + //return lin2srgb( spectrum_offset_rgb( t ) ); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 max_distort = float2(power, power); + float2 min_distort = 0.5 * max_distort; + + float2 oversiz = distort(float2(1.0, 1.0), 1.0, min_distort, max_distort); + + float2 uv = remap( v_in.uv, 1.0-oversiz, oversiz ); + + //debug oversiz + //float2 distuv = distort( uv, 1.0, max_distort ); + //if ( abs(distuv.x-0.5)>0.5 || abs(distuv.y-0.5)>0.5) + //{ + // fragColor = float4( 1.0, 0.0, 0.0, 1.0 ); return; + //} + + + float stepsiz = 1.0 / (float(num_iter)-1.0); + float rnd = 0.0; + if(use_random) + rnd = rand_f; + + float t = rnd * stepsiz; + + float3 sumcol = float3(0.0, 0.0, 0.0); + float3 sumw = float3(0.0, 0.0, 0.0); + float colA = 0.0; + + for ( int i=0; iAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSChromaUVDistortionShader { + +[Alias('Set-OBSChromaUVDistortionShader','Add-OBSChromaUVDistortionShader')] +param( +# Set the distortion of OBSChromaUVDistortionShader +[ComponentModel.DefaultBindingProperty('distortion')] +[Single] +$Distortion, +# Set the amplitude of OBSChromaUVDistortionShader +[ComponentModel.DefaultBindingProperty('amplitude')] +[Single] +$Amplitude, +# Set the chroma of OBSChromaUVDistortionShader +[ComponentModel.DefaultBindingProperty('chroma')] +[Single] +$Chroma, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Chroma+UV-Distortion' +$ShaderNoun = 'OBSChromaUVDistortionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/WsdyRN + +//Higher values = less distortion +uniform float distortion< + string label = "Distortion"; + string widget_type = "slider"; + float minimum = 5.0; + float maximum = 1000.0; + float step = 0.01; +> = 75.; +//Higher values = tighter distortion +uniform float amplitude< + string label = "Amplitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 10.; +//Higher values = more color distortion +uniform float chroma< + string label = "Chroma"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 6.28318531; + float step = 0.01; +> = .5; + +float2 zoomUv(float2 uv, float zoom) { + float2 uv1 = uv; + uv1 += .5; + uv1 += zoom/2.-1.; + uv1 /= zoom; + return uv1; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uvt = v_in.uv; + + float2 uvtR = uvt; + float2 uvtG = uvt; + float2 uvtB = uvt; + + //Uncomment the following line to get varying chroma distortion + //chroma = sin(elapsed_time)/2.+.5; + + uvtR += float2(sin(uvt.y*amplitude+elapsed_time)/distortion, cos(uvt.x*amplitude+elapsed_time)/distortion); + uvtG += float2(sin(uvt.y*amplitude+elapsed_time+chroma)/distortion, cos(uvt.x*amplitude+elapsed_time+chroma)/distortion); + uvtB += float2(sin(uvt.y*amplitude+elapsed_time+(chroma*2.))/distortion, cos(uvt.x*amplitude+elapsed_time+(chroma*2.))/distortion); + + float2 uvR = zoomUv(uvtR, 1.1); + float2 uvG = zoomUv(uvtG, 1.1); + float2 uvB = zoomUv(uvtB, 1.1); + + float4 colR = image.Sample(textureSampler, uvR); + float4 colG = image.Sample(textureSampler, uvG); + float4 colB = image.Sample(textureSampler, uvB); + + return float4(colR.r, colG.g, colB.b, (colR.a + colG.a + colB.a) / 3.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCircleMaskFilterShader { + +[Alias('Set-OBSCircleMaskFilterShader','Add-OBSCircleMaskFilterShader')] +param( +# Set the Radius of OBSCircleMaskFilterShader +[ComponentModel.DefaultBindingProperty('Radius')] +[Single] +$Radius, +# Set the Circle_Offset_X of OBSCircleMaskFilterShader +[Alias('Circle_Offset_X')] +[ComponentModel.DefaultBindingProperty('Circle_Offset_X')] +[Int32] +$CircleOffsetX, +# Set the Circle_Offset_Y of OBSCircleMaskFilterShader +[Alias('Circle_Offset_Y')] +[ComponentModel.DefaultBindingProperty('Circle_Offset_Y')] +[Int32] +$CircleOffsetY, +# Set the Source_Offset_X of OBSCircleMaskFilterShader +[Alias('Source_Offset_X')] +[ComponentModel.DefaultBindingProperty('Source_Offset_X')] +[Int32] +$SourceOffsetX, +# Set the Source_Offset_Y of OBSCircleMaskFilterShader +[Alias('Source_Offset_Y')] +[ComponentModel.DefaultBindingProperty('Source_Offset_Y')] +[Int32] +$SourceOffsetY, +# Set the Antialiasing of OBSCircleMaskFilterShader +[ComponentModel.DefaultBindingProperty('Antialiasing')] +[Management.Automation.SwitchParameter] +$Antialiasing, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'circle-mask-filter' +$ShaderNoun = 'OBSCircleMaskFilterShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Circle Mask Filter version 1.01, for OBS Shaderfilter +// Copyright 2022 by SkeletonBow +// Twitter: +// Twitch: +// License: GNU GPLv2 +// +// Changelog: +// 1.01 - Don''t saturate() Radius parameter to allow oversizing to cover entire input texture. +// 1.0 - Initial release + +uniform float Radius< + string label = "Radius"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform int Circle_Offset_X< + string label = "Circle Offset X"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0; +uniform int Circle_Offset_Y< + string label = "Circle Offset X"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0; +uniform int Source_Offset_X< + string label = "Source Offset X"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0.0; +uniform int Source_Offset_Y< + string label = "Source Offset Y"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +> = 0.0; + +uniform bool Antialiasing = true; +#define Smoothness 100.00 +#define AAwidth 4 + +#define uv_pi uv_pixel_interval + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float2 coffset = float2(Circle_Offset_X, Circle_Offset_Y)/uv_size; + float2 soffset = float2( Source_Offset_X, Source_Offset_Y )/uv_size; + + float radius = Radius * 0.01; + float smwidth = radius * Smoothness * 0.01; + + float4 obstex = image.Sample( textureSampler, uv - soffset); + float4 color = obstex; + // Account for aspect ratio + uv.x = (uv.x - 0.5) * uv_size.x / uv_size.y + 0.5; + float2 cuv = 0.5 + coffset; + float dist = distance(cuv,uv); + // Anti-aliased or pixelated edge + if( Antialiasing ) { + color.a = smoothstep( radius, (radius+(uv_pi.x)) - (uv_pi.x * AAwidth), dist); + } else { + color.a = step( dist, radius ); + } + + return float4(color.rgb, color.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSClockAnalogShader { + +[Alias('Set-OBSClockAnalogShader','Add-OBSClockAnalogShader')] +param( +# Set the current_time_ms of OBSClockAnalogShader +[Alias('current_time_ms')] +[ComponentModel.DefaultBindingProperty('current_time_ms')] +[Int32] +$CurrentTimeMs, +# Set the current_time_sec of OBSClockAnalogShader +[Alias('current_time_sec')] +[ComponentModel.DefaultBindingProperty('current_time_sec')] +[Int32] +$CurrentTimeSec, +# Set the current_time_min of OBSClockAnalogShader +[Alias('current_time_min')] +[ComponentModel.DefaultBindingProperty('current_time_min')] +[Int32] +$CurrentTimeMin, +# Set the current_time_hour of OBSClockAnalogShader +[Alias('current_time_hour')] +[ComponentModel.DefaultBindingProperty('current_time_hour')] +[Int32] +$CurrentTimeHour, +# Set the hour_handle_color of OBSClockAnalogShader +[Alias('hour_handle_color')] +[ComponentModel.DefaultBindingProperty('hour_handle_color')] +[Single[]] +$HourHandleColor, +# Set the minute_handle_color of OBSClockAnalogShader +[Alias('minute_handle_color')] +[ComponentModel.DefaultBindingProperty('minute_handle_color')] +[Single[]] +$MinuteHandleColor, +# Set the second_handle_color of OBSClockAnalogShader +[Alias('second_handle_color')] +[ComponentModel.DefaultBindingProperty('second_handle_color')] +[Single[]] +$SecondHandleColor, +# Set the outline_color of OBSClockAnalogShader +[Alias('outline_color')] +[ComponentModel.DefaultBindingProperty('outline_color')] +[Single[]] +$OutlineColor, +# Set the top_line_color of OBSClockAnalogShader +[Alias('top_line_color')] +[ComponentModel.DefaultBindingProperty('top_line_color')] +[Single[]] +$TopLineColor, +# Set the background_color of OBSClockAnalogShader +[Alias('background_color')] +[ComponentModel.DefaultBindingProperty('background_color')] +[Single[]] +$BackgroundColor, +# Set the time_offset_hours of OBSClockAnalogShader +[Alias('time_offset_hours')] +[ComponentModel.DefaultBindingProperty('time_offset_hours')] +[Int32] +$TimeOffsetHours, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'clock_analog' +$ShaderNoun = 'OBSClockAnalogShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Based on https://www.shadertoy.com/view/XdKXzy +uniform int current_time_ms; +uniform int current_time_sec; +uniform int current_time_min; +uniform int current_time_hour; +uniform float3 hour_handle_color = {1.0,1.0,1.0}; +uniform float3 minute_handle_color = {1.0,1.0,1.0}; +uniform float3 second_handle_color = {1.0,0.0,0.0}; +uniform float3 outline_color = {1.0,1.0,1.0}; +uniform float3 top_line_color = {1.0,0.0,0.0}; +uniform float3 background_color = {.5,.5,.5}; +uniform int time_offset_hours = 0; + +#ifndef OPENGL +#define mod(x,y) (x - y * floor(x / y)) +#endif +// this is my first try to actually use glsl almost from scratch +// so far all i''ve done is learning by doing / reading glsl docs. +// this is inspired by my non glsl „elapsed_time“ projects +// especially this one: https://www.gottz.de/analoguhr.htm + +// i will most likely use a buffer in future to calculate the elapsed_time +// aswell as to draw the background of the clock only once. +// tell me if thats a bad idea. + +// update: +// screenshot: http://i.imgur.com/dF0nHDk.png +// as soon as i think its in a usefull state i''ll release the source +// of that particular c++ application on github. +// i hope sommeone might find it usefull :D + +#define PI 3.141592653589793238462643383 + +// from https://www.shadertoy.com/view/4s3XDn <3 +float ln(float2 p, float2 a, float2 b) +{ + float2 pa = p - a; + float2 ba = b - a; + float h = clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0); + return length(pa - ba * h); +} + +// i think i should spend some elapsed_time reading docs in order to minimize this. +// hints apreciated +// (Rotated LiNe) +float rln(float2 uv, float start, float end, float perc) { + float inp = perc * PI * 2.0; + float2 coord = float2(sin(inp), cos(inp)); + return ln(uv, coord * start, coord * end); +} + +// i need this to have an alphachannel in the output +// i intend to use an optimized version of this shader for a transparent desktop widget experiment +float4 mixer(float4 c1, float4 c2) { + // please tell me if you think this would boost performance. + // the elapsed_time i implemented mix myself it sure did reduce + // the amount of operations but i''m not sure now + // if (c2.a <= 0.0) return c1; + // if (c2.a >= 1.0) return c2; + return float4(lerp(c1.rgb, c2.rgb, c2.a), c1.a + c2.a); + // in case you are curious how you could implement mix yourself: + // return float4(c2.rgb * c2.a + c1.rgb * (1.0-c2.a), c1.a+c2.a); +} + +float4 styleHandle(float4 color, float px, float dist, float3 handleColor, float width, float shadow) { + if (dist <= width + shadow) { + // lets draw the shadow + color = mixer(color, float4(0.0, 0.0, 0.0, + (1.0-pow(smoothstep(width, width + shadow, dist),0.2))*0.2)); + // now lets draw the antialiased handle + color = mixer(color, float4(handleColor, smoothstep(width, max(width - 3.0 * px, 0.0), dist))); + } + return color; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 R = uv_size; + // calculate the size of a pixel + float px = 1.0 / R.y; + // create percentages of the coordinate system + float2 p = (v_in.uv * uv_size).xy / R; + // center the scene and add perspective + float2 uv = (2.0 * (float2(v_in.uv.x,1.0-v_in.uv.y) * uv_size) - R) / min(R.x, R.y); + + /*float2 uv = -1.0 + 2.0 * p.xy; + // lets add perspective for mobile device support + if (uv_size.x > uv_size.y) + uv.x *= uv_size.x / uv_size.y; + else + uv.y *= uv_size.y / uv_size.x;*/ + + // lets scale the scene a bit down: + uv *= 1.1; + px *= 0.9; + + float width = 0.015; + float dist = 1.0; + float centerdist = length(uv); + + float4 color = image.Sample(textureSampler, v_in.uv); + + // background of the clock + if (centerdist < 1.0 - width) color = mixer(color, float4(background_color, 0.4*(1.8-length(uv)))); + + float isRed = 1.0; + + if (centerdist > 1.0 - 12.0 * width && centerdist <= 1.1) { + // minute bars + for (float i = 0.0; i <= 15.0; i += 1.0) { + if (mod(i, 5.0) == 0.0) { + dist = min(dist, rln(abs(uv), 1.0 - 10.0 * width, 1.0 - 2.0 * width, i / 60.0)); + // draw first bar red + if (i == 0.0 && uv.y > 0.0) { + isRed = dist; + dist = smoothstep(width, max(width - 3.0 * px, 0.0), dist); + color = mixer(color, float4(top_line_color, dist)); + dist = 1.0; + } + } + else { + dist = min(dist, rln(abs(uv), 1.0 - 10.0 * width, 1.0 - 7.0 * width, i / 60.0)); + } + } + + // outline circle + dist = min(dist, abs(1.0-width-length(uv))); + // draw clock shadow + if (centerdist > 1.0) + color = mixer(color, float4(0.0,0.0,0.0, 0.3*smoothstep(1.0 + width*2.0, 1.0, centerdist))); + + // draw outline + minute bars in white + color = mixer(color, float4(0.0, 0.0, 0.0, + (1.0 - pow(smoothstep(width, width + 0.02, min(isRed, dist)), 0.4))*0.2)); + color = mixer(color, float4(outline_color, smoothstep(width, max(width - 3.0 * px, 0.0), dist))); + } + + if (centerdist < 1.0) { + float elapsed_time = float((time_offset_hours+current_time_hour)*3600+current_time_min*60+current_time_sec) + pow(float(current_time_ms)/1000.0,16.0); + // hour + color = styleHandle(color, px, + rln(uv, -0.05, 0.5, elapsed_time / 3600.0 / 12.0), + hour_handle_color, 0.03, 0.02); + + // minute + color = styleHandle(color, px, + rln(uv, -0.075, 0.7, elapsed_time / 3600.0), + minute_handle_color, 0.02, 0.02); + + // second + color = styleHandle(color, px, + min(rln(uv, -0.1, 0.9, elapsed_time / 60.0), length(uv)-0.01), + second_handle_color, 0.01, 0.02); + } + + + return color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSClockDigitalLedShader { + +[Alias('Set-OBSClockDigitalLedShader','Add-OBSClockDigitalLedShader')] +param( +# Set the current_time_sec of OBSClockDigitalLedShader +[Alias('current_time_sec')] +[ComponentModel.DefaultBindingProperty('current_time_sec')] +[Int32] +$CurrentTimeSec, +# Set the current_time_min of OBSClockDigitalLedShader +[Alias('current_time_min')] +[ComponentModel.DefaultBindingProperty('current_time_min')] +[Int32] +$CurrentTimeMin, +# Set the current_time_hour of OBSClockDigitalLedShader +[Alias('current_time_hour')] +[ComponentModel.DefaultBindingProperty('current_time_hour')] +[Int32] +$CurrentTimeHour, +# Set the timeMode of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('timeMode')] +[Int32] +$TimeMode, +# Set the showMatrix of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('showMatrix')] +[Management.Automation.SwitchParameter] +$ShowMatrix, +# Set the showOff of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('showOff')] +[Management.Automation.SwitchParameter] +$ShowOff, +# Set the ampm of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('ampm')] +[Management.Automation.SwitchParameter] +$Ampm, +# Set the ledColor of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('ledColor')] +[String] +$LedColor, +# Set the offsetHours of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('offsetHours')] +[Int32] +$OffsetHours, +# Set the offsetSeconds of OBSClockDigitalLedShader +[ComponentModel.DefaultBindingProperty('offsetSeconds')] +[Int32] +$OffsetSeconds, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'clock_digital_led' +$ShaderNoun = 'OBSClockDigitalLedShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// based on https://www.shadertoy.com/view/MdfGzf +// cmarangu has linked all 7 segments in his comments +// https://www.shadertoy.com/view/3dtSRj + +#ifndef OPENGL +#define mod(x,y) (x - y * floor(x / y)) +#endif + +uniform int current_time_sec; +uniform int current_time_min; +uniform int current_time_hour; + +uniform int timeMode< + string label = "Time mode"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Time"; + int option_1_value = 1; + string option_1_label = "Enable duration"; + int option_2_value = 2; + string option_2_label = "Active duration"; + int option_3_value = 3; + string option_3_label = "Show duration"; + int option_4_value = 4; + string option_4_label = "Load duration"; +> = 0; + +uniform bool showMatrix = false; +uniform bool showOff = false; +uniform bool ampm = false; +uniform float4 ledColor = {1.0,0,0,1.0}; +uniform int offsetHours = 0; +uniform int offsetSeconds = 0; + +float segment(float2 uv, bool On) +{ + if (!On && !showOff) + return 0.0; + + float seg = (1.0-smoothstep(0.08,0.09+float(On)*0.02,abs(uv.x)))* + (1.0-smoothstep(0.46,0.47+float(On)*0.02,abs(uv.y)+abs(uv.x))); + + //Fiddle with lights and matrix + //uv.x += sin(elapsed_time*60.0*6.26)/14.0; + //uv.y += cos(elapsed_time*60.0*6.26)/14.0; + + //led like brightness + if (On){ + seg *= (1.0-length(uv*float2(3.8,0.9)));//-sin(elapsed_time*25.0*6.26)*0.04; + } else { + seg *= -(0.05+length(uv*float2(0.2,0.1))); + } + return seg; +} + +float sevenSegment(float2 uv,int num) +{ + float seg= 0.0; + seg += segment(uv.yx+float2(-1.0, 0.0),num!=-1 && num!=1 && num!=4 ); + seg += segment(uv.xy+float2(-0.5,-0.5),num!=-1 && num!=1 && num!=2 && num!=3 && num!=7); + seg += segment(uv.xy+float2( 0.5,-0.5),num!=-1 && num!=5 && num!=6 ); + seg += segment(uv.yx+float2( 0.0, 0.0),num!=-1 && num!=0 && num!=1 && num!=7 ); + seg += segment(uv.xy+float2(-0.5, 0.5),num==0 || num==2 || num==6 || num==8 ); + seg += segment(uv.xy+float2( 0.5, 0.5),num!=-1 && num!=2 ); + seg += segment(uv.yx+float2( 1.0, 0.0),num!=-1 && num!=1 && num!=4 && num!=7 ); + + return seg; +} + +float showNum(float2 uv,int nr, bool zeroTrim) +{ + //Speed optimization, leave if pixel is not in segment + if (abs(uv.x)>1.5 || abs(uv.y)>1.2) + return 0.0; + + float seg= 0.0; + if (uv.x>0.0) + { + nr /= 10; + if (nr==0 && zeroTrim) + nr = -1; + seg += sevenSegment(uv+float2(-0.75,0.0),nr); + } else { + seg += sevenSegment(uv+float2( 0.75,0.0),int(mod(float(nr),10.0))); + } + + return seg; +} + +float dots(float2 uv) +{ + float seg = 0.0; + uv.y -= 0.5; + seg += (1.0-smoothstep(0.11,0.13,length(uv))) * (1.0-length(uv)*2.0); + uv.y += 1.0; + seg += (1.0-smoothstep(0.11,0.13,length(uv))) * (1.0-length(uv)*2.0); + return seg; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = ((float2(v_in.uv.x, 1.0-v_in.uv.y) * uv_size).xy-0.5*uv_size) / + min(uv_size.x,uv_size.y); + + if (uv_size.x>uv_size.y) + { + uv *= 6.0; + } + else + { + uv *= 12.0; + } + + uv.x *= -1.0; + uv.x += uv.y/12.0; + //wobble + //uv.x += sin(uv.y*3.0+elapsed_time*14.0)/25.0; + //uv.y += cos(uv.x*3.0+elapsed_time*14.0)/25.0; + uv.x += 3.5; + float seg = 0.0; + + if(timeMode == 0){ + seg += showNum(uv,current_time_sec,false); + uv.x -= 1.75; + seg += dots(uv); + uv.x -= 1.75; + seg += showNum(uv,current_time_min,false); + uv.x -= 1.75; + seg += dots(uv); + uv.x -= 1.75; + if (ampm) { + if(current_time_hour == 0){ + seg += showNum(uv,12,true); + }else if(current_time_hour > 12){ + seg += showNum(uv,current_time_hour-12,true); + }else{ + seg += showNum(uv,current_time_hour,true); + } + } else { + seg += showNum(uv,current_time_hour,true); + } + }else{ + float timeSecs = 0.0; + if(timeMode == 1){ + timeSecs = elapsed_time_enable; + }else if(timeMode == 2){ + timeSecs = elapsed_time_active; + }else if(timeMode == 3){ + timeSecs = elapsed_time_show; + }else if(timeMode == 4){ + timeSecs = elapsed_time_start; + } + + timeSecs += offsetSeconds + offsetHours*3600; + if(timeSecs < 0) + timeSecs = 0.9999-timeSecs; + seg += showNum(uv,int(mod(timeSecs,60.0)),false); + + timeSecs = floor(timeSecs/60.0); + + uv.x -= 1.75; + + seg += dots(uv); + + uv.x -= 1.75; + + seg += showNum(uv,int(mod(timeSecs,60.0)),false); + + timeSecs = floor(timeSecs/60.0); + if (ampm) + { + if(timeSecs == 0.0){ + timeSecs = 12.0; + }else if (timeSecs > 12.0){ + timeSecs = mod(timeSecs,12.0); + } + }else if (timeSecs > 24.0) { + timeSecs = mod(timeSecs,24.0); + } + + uv.x -= 1.75; + + seg += dots(uv); + + uv.x -= 1.75; + seg += showNum(uv,int(mod(timeSecs,60.0)),true); + } + + + if (seg==0.0){ + return image.Sample(textureSampler, v_in.uv); + } + // matrix over segment + if (showMatrix) + { + seg *= 0.8+0.2*smoothstep(0.02,0.04,mod(uv.y+uv.x,0.06025)); + //seg *= 0.8+0.2*smoothstep(0.02,0.04,mod(uv.y-uv.x,0.06025)); + } + if (seg<0.0) + { + seg = -seg;; + return float4(seg,seg,seg,1.0); + } + return float4(ledColor.rgb * seg, ledColor.a); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSClockDigitalNixieShader { + +[Alias('Set-OBSClockDigitalNixieShader','Add-OBSClockDigitalNixieShader')] +param( +# Set the current_time_ms of OBSClockDigitalNixieShader +[Alias('current_time_ms')] +[ComponentModel.DefaultBindingProperty('current_time_ms')] +[Int32] +$CurrentTimeMs, +# Set the current_time_sec of OBSClockDigitalNixieShader +[Alias('current_time_sec')] +[ComponentModel.DefaultBindingProperty('current_time_sec')] +[Int32] +$CurrentTimeSec, +# Set the current_time_min of OBSClockDigitalNixieShader +[Alias('current_time_min')] +[ComponentModel.DefaultBindingProperty('current_time_min')] +[Int32] +$CurrentTimeMin, +# Set the current_time_hour of OBSClockDigitalNixieShader +[Alias('current_time_hour')] +[ComponentModel.DefaultBindingProperty('current_time_hour')] +[Int32] +$CurrentTimeHour, +# Set the timeMode of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('timeMode')] +[Int32] +$TimeMode, +# Set the offsetHours of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('offsetHours')] +[Int32] +$OffsetHours, +# Set the offsetSeconds of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('offsetSeconds')] +[Int32] +$OffsetSeconds, +# Set the corecolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('corecolor')] +[Single[]] +$Corecolor, +# Set the halocolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('halocolor')] +[Single[]] +$Halocolor, +# Set the flarecolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('flarecolor')] +[Single[]] +$Flarecolor, +# Set the anodecolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('anodecolor')] +[Single[]] +$Anodecolor, +# Set the anodehighlightscolor of OBSClockDigitalNixieShader +[ComponentModel.DefaultBindingProperty('anodehighlightscolor')] +[Single[]] +$Anodehighlightscolor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'clock_digital_nixie' +$ShaderNoun = 'OBSClockDigitalNixieShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/fsBcRm +uniform int current_time_ms; +uniform int current_time_sec; +uniform int current_time_min; +uniform int current_time_hour; +uniform int timeMode< + string label = "Time mode"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Time"; + int option_1_value = 1; + string option_1_label = "Enable duration"; + int option_2_value = 2; + string option_2_label = "Active duration"; + int option_3_value = 3; + string option_3_label = "Show duration"; + int option_4_value = 4; + string option_4_label = "Load duration"; +> = 0; + +uniform int offsetHours = 0; +uniform int offsetSeconds = 0; + +// Colors as named variables, if you want to tweak them +uniform float3 corecolor = {1.0,0.7,0.0}; +uniform float3 halocolor = {1.0,0.5,0.0}; +uniform float3 flarecolor = {1.0,0.3,0.0}; +uniform float3 anodecolor = {0.2,0.1,0.1}; +uniform float3 anodehighlightscolor = {1.0,0.5,0.0}; + +#ifndef OPENGL +#define mod(x,y) (x - y * floor(x / y)) +#define lessThan(a,b) (a < b) +#define greaterThan(a,b) (a > b) +#endif + +// psrdnoise (c) Stefan Gustavson and Ian McEwan, +// ver. 2021-12-02, published under the MIT license: +// https://github.com/stegu/psrdnoise/ +float psrdnoise(float2 x, float2 period, float alpha, out float2 gradient) +{ + float2 uv = float2(x.x+x.y*0.5, x.y); + float2 i0 = floor(uv), f0 = frac(uv); + float cmp = step(f0.y, f0.x); + float2 o1 = float2(cmp, 1.0-cmp); + float2 i1 = i0 + o1, i2 = i0 + 1.0; + float2 v0 = float2(i0.x - i0.y*0.5, i0.y); + float2 v1 = float2(v0.x + o1.x - o1.y*0.5, v0.y + o1.y); + float2 v2 = float2(v0.x + 0.5, v0.y + 1.0); + float2 x0 = x - v0, x1 = x - v1, x2 = x - v2; + float3 iu, iv, xw, yw; + if(any(greaterThan(period, float2(0.0,0.0)))) { + xw = float3(v0.x, v1.x, v2.x); + yw = float3(v0.y, v1.y, v2.y); + if(period.x > 0.0) + xw = mod(float3(v0.x, v1.x, v2.x), period.x); + if(period.y > 0.0) + yw = mod(float3(v0.y, v1.y, v2.y), period.y); + iu = floor(xw + 0.5*yw + 0.5); iv = floor(yw + 0.5); + } else { + iu = float3(i0.x, i1.x, i2.x); iv = float3(i0.y, i1.y, i2.y); + } + float3 hash = mod(iu, 289.0); + hash = mod((hash*51.0 + 2.0)*hash + iv, 289.0); + hash = mod((hash*34.0 + 10.0)*hash, 289.0); + float3 psi = hash*0.07482 + alpha; + float3 gx = cos(psi); float3 gy = sin(psi); + float2 g0 = float2(gx.x, gy.x); + float2 g1 = float2(gx.y, gy.y); + float2 g2 = float2(gx.z, gy.z); + float3 w = 0.8 - float3(dot(x0, x0), dot(x1, x1), dot(x2, x2)); + w = max(w, 0.0); float3 w2 = w*w; float3 w4 = w2*w2; + float3 gdotx = float3(dot(g0, x0), dot(g1, x1), dot(g2, x2)); + float n = dot(w4, gdotx); + float3 w3 = w2*w; float3 dw = -8.0*w3*gdotx; + float2 dn0 = w4.x*g0 + dw.x*x0; + float2 dn1 = w4.y*g1 + dw.y*x1; + float2 dn2 = w4.z*g2 + dw.z*x2; + gradient = 10.9*(dn0 + dn1 + dn2); + return 10.9*n; +} + +// Compute the shortest distance from p +// to a line segment from p1 to p2. +float lined(float2 p1, float2 p2, float2 p) { + float2 p1p2 = p2 - p1; + float2 v = normalize(p1p2); + float2 s = p - p1; + float t = dot(v, s); + if (t<0.0) return length(s); + if (t>length(p1p2)) return length(p - p2); + return length(s - t*v); +} + +// Compute the shortest distance from p to a circle +// with center at c and radius r. (Extremely simple.) +float circled(float2 c, float r, float2 p) { + return abs(length(p - c) - r); +} + +// Compute the shortest distance from p to a +// circular arc with center c from p1 to p2. +// p1, p2 are in the +angle direction (ccw), +// to resolve the major/minor arc ambiguity, so +// specifying p1, p2 in the wrong order will +// yield the complement to the arc you wanted. +// If p1 = p2, the entire circle is drawn, but +// you don''t want to use this function to draw +// a circle. Use the simple circled() instead. +// If p1 and p2 have different distances to c, +// the end of the arc will not look right. If +// this is inconvenient, uncomment the 3rd line. +float arcd(float2 c, float2 p1, float2 p2, float2 p) { + + float2 v1 = p1 - c; + float2 v2 = p2 - c; + // Optional: make sure p1, p2 are both on the circle + // v2 = normalize(v2)*length(v1); + float2 v = p - c; + + float2 w = float2(dot(v, -float2(-v1.y, v1.x)), dot(v, float2(-v2.y, v2.x))); + + if(dot(v1, float2(-v2.y, v2.x)) >= 0.0) { // Arc angle <= pi + if(all(lessThan(float2(0.0,0.0), w))) { + return min(length(p1-p), length(p2-p)); // nearest end + } else { + return abs(length(v) - length(v1)); // dist to arc + } + } else { // Arc angle > pi + if(any(lessThan(float2(0.0,0.0), w))) { + return min(length(p1-p), length(p2-p)); + } else { + return abs(length(v) - length(v1)); + } + } +} + +// A convenient anti-aliased step() using auto derivatives +float aastep(float threshold, float value) { + float afwidth = 0.7 * length(float2(ddx(value), ddy(value))); + return smoothstep(threshold-afwidth, threshold+afwidth, value); +} + +// A smoothstep() that blends to an aastep() under minification +float aasmoothstep(float t1, float t2, float v) { + float aw = 0.7 * length(float2(ddx(v), ddy(v))); + float sw = max(0.5*(t2-t1), aw); + float st = 0.5*(t1+t2); + return smoothstep(st-sw, st+sw, v); +} + +// Distance field of a hexagonal (simplex) grid +// The return vector contains the distances to the +// three closest points, sorted by magnitude. +float3 hexgrid(float2 p) { + + const float stretch = 1.0/0.8660; + + // v.y = v.y + 0.0001; // needed if no stretching (rounding errors) + p.y = p.y * stretch; + // Transform to grid space (axis-aligned "simplex" grid) + float2 uv = float2(p.x + p.y*0.5, p.y); + // Determine which simplex we''re in, with i0 being the "base" + float2 i0 = floor(uv); + float2 f0 = frac(uv); + // o1 is the offset in simplex space to the second corner + float cmp = step(f0.y, f0.x); + float2 o1 = float2(cmp, 1.0-cmp); + // Enumerate the remaining simplex corners + float2 i1 = i0 + o1; + float2 i2 = i0 + float2(1.0, 1.0); + // Transform corners back to texture space + float2 p0 = float2(i0.x - i0.y * 0.5, i0.y); + float2 p1 = float2(p0.x + o1.x - o1.y * 0.5, p0.y + o1.y); + float2 p2 = float2(p0.x + 0.5, p0.y + 1.0); + float3 d = float3(length(p-p0), length(p-p1), length(p-p2)); + // Only three values - bubble sort is just fine. + d.yz = (d.y < d.z) ? d.yz : d.zy; + d.xy = (d.x < d.y) ? d.xy : d.yx; + d.yz = (d.y < d.z) ? d.yz : d.zy; + return d; +} + +// The digits. Simple functions, only a lot of them. + +// These glyphs and their implementation as distance fields +// are the original work of me (stefan.gustavson@gmail.com), +// and the code below is released under the MIT license: +// https://opensource.org/licenses/MIT +// (If that is inconvenient for you, let me know. I''m reasonable.) +// +// Experts say mortals should not attempt to design character shapes. +// "It''s just ten simple digits", I thought, "How hard can it be?" +// A week later, after countless little tweaks to proportions and +// curvature, and with a notepad full of sketches and pen-and-paper +// math, some of it horribly wrong because it was decades since I +// solved this kind of equations by hand, I know the answer: +// It can be *really* hard. But also loads of fun! +// +float nixie0(float2 p) { + // Special hack instead of pasting together arcs and lines + float d = lined(float2(2.0,2.0), float2(2.0, 6.0), p); + return abs(d - 2.0); +} + +float nixie1(float2 p) { + float d1 = lined(float2(2.0, 0.0), float2(2.0, 8.0), p); + float d2 = lined(float2(2.0, 8.0), float2(1.0, 6.0), p); + return min(d1, d2); +} + +float nixie1alt(float2 p) { // Straight line + return lined(float2(2.0, 0.0), float2(2.0, 8.0), p); +} + +float nixie2(float2 p) { + const float x = 3.2368345; // Icky coordinates, + const float y = 4.4283002; // used twice below + float d1 = lined(float2(4.25, 0.0), float2(-0.25, 0.0), p); + float d2 = arcd(float2(10.657842, -5.001899), // Also icky + float2(x, y), float2(-0.25, 0.0), p); + float d3 = arcd(float2(2.0, 6.0), float2(x, y), float2(0.0, 6.0), p); + return min(min(d1, d2), d3); +} + +float nixie2alt(float2 p) { // Straight neck + float d1 = lined(float2(4.0, 0.0), float2(0.0,0.0), p); + float d2 = lined(float2(0.0,0.0), float2(3.6, 4.8), p); + float d3 = arcd(float2(2.0, 6.0), float2(3.6, 4.8), float2(0.0, 6.0), p); + return min(min(d1, d2), d3); +} + +float nixie3(float2 p) { + // Two round parts: + // float d1 = arcd(float2(2.0, 2.1), float2(-0.1, 2.1), float2(2.0, 4.2), p); + // float d2 = arcd(float2(2.0, 6.1), float2(2.0, 4.2), float2(0.1, 6.1), p); + // Angled top, more like classic Nixie tube digits: + float d1 = arcd(float2(2.0, 2.25), float2(-0.25, 2.25), float2(2.0, 4.5), p); + float d2 = lined(float2(2.0, 4.5), float2(4.0, 7.75), p); + float d3 = lined(float2(4.0, 7.75), float2(0.0, 7.75), p); + return min(min(d1, d2), d3); +} + +float nixie3alt(float2 p) { // Two round parts of the same size + float d1 = arcd(float2(2.0,2.0), float2(0.0, 2.0), float2(2.0, 4.0), p); + float d2 = arcd(float2(2.0, 6.0), float2(2.0, 4.0), float2(0.0, 6.0), p); + return min(d1, d2); +} + +float nixie4(float2 p) { + // This digit is 5.0 units wide, most others are 4.0 or 4.5 + float d1 = lined(float2(4.0, 0.0), float2(4.0, 8.0), p); + float d2 = lined(float2(4.0, 8.0), float2(0.0, 2.0), p); + float d3 = lined(float2(0.0, 2.0), float2(5.0, 2.0), p); + return min(min(d1, d2), d3); +} + +float nixie4alt(float2 p) { + // This digit is 4.0 units wide, but looks cropped + float d1 = lined(float2(4.0, 0.0), float2(4.0, 8.0), p); + float d2 = lined(float2(4.0, 8.0), float2(0.0, 2.0), p); + float d3 = lined(float2(0.0, 2.0), float2(4.0, 2.0), p); + return min(min(d1, d2), d3); +} + +float nixie5(float2 p) { + float d1 = lined(float2(4.0, 7.75), float2(0.5, 7.75), p); + float d2 = lined(float2(0.5, 7.75), float2(0.0, 4.5), p); + float d3 = lined(float2(0.0, 4.5), float2(2.0, 4.5), p); + float d4 = arcd(float2(2.0, 2.25), float2(-0.25, 2.25), float2(2.0, 4.5), p); + return min(min(d1, d2), min(d3, d4)); +} + +float nixie5alt(float2 p) { + float d1 = lined(float2(4.0, 8.0), float2(0.0, 8.0), p); + float d2 = lined(float2(0.0, 8.0), float2(0.0, 5.0), p); + float d3 = lined(float2(0.0, 5.0), float2(2.0, 5.0), p); + float d4 = arcd(float2(2.0, 3.0), float2(4.0, 3.0), float2(2.0, 5.0), p); + float d5 = lined(float2(4.0, 3.0), float2(4.0, 2.0), p); + float d6 = arcd(float2(2.0,2.0), float2(0.0, 2.0), float2(4.0, 2.0), p); + return min(min(min(d1, d2), min(d3, d4)), min(d5, d6)); +} + +float nixie6(float2 p) { + float d1 = arcd(float2(84.0/13.0, 2.25), float2(3.0, 8.0), float2(-0.25, 2.25), p); + float d2 = circled(float2(2.0, 2.25), 2.25, p); + return min(d1, d2); +} + +float nixie6alt(float2 p) { // Straight neck + float d1 = lined(float2(0.4, 3.2), float2(3.0, 8.0), p); + float d2 = circled(float2(2.0,2.0), 2.0, p); + return min(d1, d2); +} + +float nixie7(float2 p) { // Ugly coordinates, but these expressions are exact + float d1 = lined(float2(0.0, 7.75), float2(0.25*sqrt(2259.0)-8.0, 7.75), p); + float d2 = arcd(float2(-8.0, 12.0), float2(2.5, 5.0), float2(0.25*sqrt(2259.0)-8.0, 7.75), p); + float d3 = arcd(float2(10.0, 0.0), float2(2.5, 5.0), float2(10.0-2.5*sqrt(13.0), 0.0), p); + return min(min(d1, d2), d3); +} + +float nixie7alt(float2 p) { // Straight neck + float d1 = lined(float2(0.0, 8.0), float2(4.0, 8.0), p); + float d2 = lined(float2(4.0, 8.0), float2(1.0, 0.0), p); + return min(d1, d2); +} + +float nixie8(float2 p) { + float d1 = circled(float2(2.0, 2.2), 2.2, p); + float d2 = circled(float2(2.0, 6.2), 1.8, p); + return min(d1, d2); +} + +float nixie8alt(float2 p) { // Same size loops + float d1 = circled(float2(2.0,2.0), 2.0, p); + float d2 = circled(float2(2.0, 6.0), 2.0, p); + return min(d1, d2); +} + +float nixie9(float2 p) { + float d1 = arcd(float2(-32.0/13.0, 5.75), float2(1.0, 0.0), float2(4.25, 5.75), p); + float d2 = circled(float2(2.0, 5.75), 2.25, p); + return min(d1, d2); +} + +float nixie9alt(float2 p) { // Straight neck + float d1 = lined(float2(3.6, 4.8), float2(1.0, 0.0), p); + float d2 = circled(float2(2.0, 6.0), 2.0, p); + return min(d1, d2); +} + +float nixieminus(float2 p) { + return lined(float2(0.5, 4.0), float2(3.5, 4.0), p); +} + +float nixieequals(float2 p) { + float d1 = lined(float2(0.5, 3.0), float2(3.5, 3.0), p); + float d2 = lined(float2(0.5, 5.0), float2(3.5, 5.0), p); + return min(d1, d2); +} + +float nixieplus(float2 p) { + float d1 = lined(float2(0.0, 4.0), float2(4.0, 4.0), p); + float d2 = lined(float2(2.0, 2.0), float2(2.0, 6.0), p); + return min(d1, d2); +} + +float nixiedot(float2 p) { + // circled with r=0 yields a point, but with more work + return length(p - float2(2.0, 0.0)); +} + +float nixiecolon(float2 p) { + float d1 = length(p - float2(2.0,2.0)); + float d2 = length(p - float2(2.0, 5.0)); + return min(d1, d2); +} + +// End of MIT-licensed code + +float number(int n, float2 p) { + switch(n) { + case 0: return nixie0(p); + case 1: return nixie1(p); + case 2: return nixie2(p); + case 3: return nixie3(p); + case 4: return nixie4(p); + case 5: return nixie5(p); + case 6: return nixie6(p); + case 7: return nixie7(p); + case 8: return nixie8(p); + case 9: return nixie9(p); + default: return 1e10; + } +} +// Display the current time with a retro Nixie-tube look +// Stefan Gustavson (stegu on shadertoy.com) 2022-01-26 +// All code in the "Image" tab is public domain. +// Functions in the "Common" tab are also public domain, +// except where a separate license is specified. +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = ((float2(v_in.uv.x,1.0-v_in.uv.y) * uv_size)/uv_size.x); + float time = 0.0; + if(timeMode == 0){ + time = float(current_time_hour*3600+current_time_min*60+current_time_sec) + float(current_time_ms)/1000.0; + }else if(timeMode == 1){ + time = elapsed_time_enable; + }else if(timeMode == 2){ + time = elapsed_time_active; + }else if(timeMode == 3){ + time = elapsed_time_show; + }else if(timeMode == 4){ + time = elapsed_time_start; + } + time += offsetSeconds + offsetHours * 3600; + if(time < 0) + time = 0.9999-time; + float2 p = -3.0+uv*50.0 - float2(0.0,9.0); + + float bbox = 1.0-max(max(1.0-aastep(-3.0, p.x), aastep(47.0, p.x)), + max(1.0-aastep(-3.0, p.y), aastep(11.0, p.y))); + + // Some relief for the GPU: exit early if we''re in the black margins + if(bbox == 0.0) { + return float4(float3(0.0,0.0,0.0),1.0); + } + + // If not, well, let''s put that GPU to good use! + float secs = floor(mod(time, 60.0)); + float mins = floor(mod(time, 3600.0)/60.0); + float hrs = floor(time/3600.0); + int h10 = int(floor(hrs/10.0)); + int h1 = int(floor(mod(hrs, 10.0))); + int m10 = int(floor(mins/10.0)); + int m1 = int(floor(mod(mins, 10.0))); + int s10 = int(floor(secs/10.0)); + int s1 = int(floor(mod(secs, 10.0))); + + float2 wspace = float2(6.5, 0.0); + float2 nspace = float2(3.5, 0.0); + float d = 1e10; + d = min(d, number(h10, p)); + d = min(d, number(h1, p-wspace)); + d = min(d, nixiecolon(p-wspace-1.45*nspace)-0.2); + d = min(d, number(m10, p-2.0*wspace-nspace)); + d = min(d, number(m1, p-3.0*wspace-nspace)); + d = min(d, nixiecolon(p-3.0*wspace-2.4*nspace)-0.2); + d = min(d, number(s10, p-4.0*wspace-2.0*nspace)); + d = min(d, number(s1, p-5.0*wspace-2.0*nspace)); + + float2 g; // For gradients returned from psrdnoise() + + // Digit outlines + float core = 1.0-aastep(0.2, d); + // "flare" is a wide blurry region around the characters, and + // "flarenoise" is a spatio-temporal modulation of its extents + // (slight flickering, but not all characters at the same time) + float flarenoise = psrdnoise(float2(p.x*0.1,5.0*elapsed_time), float2(0.0,0.0), 0.0, g); + float flare = 1.0-smoothstep(0.0, 2.5, d + 0.05*flarenoise); + flare *= flare; // A more rapid decline towards the edge + // "glow" is a variation in the intensity of the glowy cathode (core) + float glow = 0.8+0.2*psrdnoise(p - float2(0.0, 2.0*elapsed_time), float2(0.0,0.0), 4.0*time, g); + // Now we mess up the distance field a little for the "halo" effect + d += 0.1*psrdnoise(p - float2(0.0, 2.0*elapsed_time), float2(0.0,0.0), 8.0*time, g); + d += 0.05*psrdnoise(2.0*p - float2(0.0, 4.0*elapsed_time) + 0.15*g, float2(0.0,0.0), -16.0*time, g); + // "halo" is a kind of flame/plasma cloud near the core. A real Nixie tube + // doesn''t have this, but it adds some appealing visual detail. + // Looks more like hot filaments than "cold cathodes", but... oh, well. + float halo = 1.0-smoothstep(-0.3, 0.3, d); + + // Brittle parameters! This scale/shift of p has a strong impact + // on the pattern at the edges of the grid through "anodefade". + float3 anodedists = hexgrid(1.7*p+float2(0.1,0.23)); + float anodedist = anodedists.y - anodedists.x; // Voronoi cell borders + // Fade the hexagonal holes in the anode towards the edges + float anodefade = max(max(1.0-aasmoothstep(-2.2, -1.5, p.x), aasmoothstep(45.5, 46.2, p.x)), + max(1.0-aasmoothstep(-2.0, -1.6, p.y), aasmoothstep(9.4, 10.0, p.y))); + float anode = 1.0 - aastep(0.1, anodedist - anodefade); + + float anodecolornoise = 0.02*psrdnoise(p*float2(0.2,2.0), float2(0.0,0.0), 0.0, g); + float3 anodecolorresult = anodecolor+ anodecolornoise*anodehighlightscolor; // Long variable names, I know + + float3 mixcolor = float3(0.0,0.0,0.0); // Mix additively from black + mixcolor = lerp(mixcolor, flarecolor, 0.5*flare); + mixcolor = lerp(mixcolor, halocolor, 0.9*halo); + mixcolor = lerp(mixcolor, corecolor, core*glow); + mixcolor = lerp(mixcolor, anodecolorresult, anode); + mixcolor *= bbox; // AA-mask to black at the very edge of the bounding box + return float4(mixcolor,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSColorDepthShader { + +[Alias('Set-OBSColorDepthShader','Add-OBSColorDepthShader')] +param( +# Set the colorDepth of OBSColorDepthShader +[ComponentModel.DefaultBindingProperty('colorDepth')] +[Single] +$ColorDepth, +# Set the pixelSize of OBSColorDepthShader +[ComponentModel.DefaultBindingProperty('pixelSize')] +[Single] +$PixelSize, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'color-depth' +$ShaderNoun = 'OBSColorDepthShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/tscfWM +uniform float colorDepth< + string label = "Color depth"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 100.0; + float step = 0.01; +> = 5.0; + +uniform float pixelSize< + string label = "Pixel Size"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 0.01; +> = 5.0; + + +float4 mainImage(VertData v_in) : TARGET +{ + // Change these to change results + float2 size = uv_size / pixelSize; + float2 uv = v_in.uv; + // Maps UV onto grid of variable size to pixilate the image + uv = round(uv*size)/size; + float4 col = image.Sample(textureSampler, uv); + // Maps color onto the specified color depth + return float4(round(col.r * colorDepth) / colorDepth, + round(col.g * colorDepth) / colorDepth, + round(col.b * colorDepth) / colorDepth, 1.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSColorGradeFilterShader { + +[Alias('Set-OBSColorGradeFilterShader','Add-OBSColorGradeFilterShader')] +param( +# Set the notes of OBSColorGradeFilterShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the lut of OBSColorGradeFilterShader +[ComponentModel.DefaultBindingProperty('lut')] +[String] +$Lut, +# Set the lut_amount_percent of OBSColorGradeFilterShader +[Alias('lut_amount_percent')] +[ComponentModel.DefaultBindingProperty('lut_amount_percent')] +[Int32] +$LutAmountPercent, +# Set the lut_scale_percent of OBSColorGradeFilterShader +[Alias('lut_scale_percent')] +[ComponentModel.DefaultBindingProperty('lut_scale_percent')] +[Int32] +$LutScalePercent, +# Set the lut_offset_percent of OBSColorGradeFilterShader +[Alias('lut_offset_percent')] +[ComponentModel.DefaultBindingProperty('lut_offset_percent')] +[Int32] +$LutOffsetPercent, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'color_grade_filter' +$ShaderNoun = 'OBSColorGradeFilterShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Color Grade Filter by Charles Fettinger for obs-shaderfilter plugin 4/2020 +//https://github.com/Oncorporation/obs-shaderfilter +//OBS messed up the LUT system, this is basically the old LUT system +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform string notes< + string widget_type = "info"; +> = "Choose LUT, Default LUT amount is 100, scale = 100, offset = 0. Valid values: -200 to 200"; + +uniform texture2d lut< + string label = "LUT"; +>; +uniform int lut_amount_percent< + string label = "LUT amount percentage"; + string widget_type = "slider"; + int minimum = -200; + int maximum = 200; + int step = 1; +> = 100; +uniform int lut_scale_percent< + string label = "LUT scale percentage"; + string widget_type = "slider"; + int minimum = -200; + int maximum = 200; + int step = 1; +> = 100; +uniform int lut_offset_percent< + string label = "LUT offset percentage"; + string widget_type = "slider"; + int minimum = -200; + int maximum = 200; + int step = 1; +> = 0; + + +float4 mainImage(VertData v_in) : TARGET +{ + float lut_amount = clamp(lut_amount_percent *.01, -2.0, 2.0); + float lut_scale = clamp(lut_scale_percent *.01,-2.0, 2.0); + float lut_offset = clamp(lut_offset_percent *.01,-2.0, 2.0); + + float4 textureColor = image.Sample(textureSampler, v_in.uv); + float lumaLevel = textureColor.r * 0.2126 + textureColor.g * 0.7152 + textureColor.b * 0.0722; + float blueColor = float(lumaLevel);//textureColor.b * 63.0 + + float2 quad1; + quad1.y = floor(floor(float(blueColor)) / 8.0); + quad1.x = floor(float(blueColor)) - (quad1.y * 8.0); + + float2 quad2; + quad2.y = floor(ceil(float(blueColor)) / 8.0); + quad2.x = ceil(float(blueColor)) - (quad2.y * 8.0); + + float2 texPos1; + texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.r); + texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.g); + + float2 texPos2; + texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.r); + texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * textureColor.g); + + float4 newColor1 = lut.Sample(textureSampler, texPos1); + newColor1.rgb = newColor1.rgb * lut_scale + lut_offset; + float4 newColor2 = lut.Sample(textureSampler, texPos2); + newColor2.rgb = newColor2.rgb * lut_scale + lut_offset; + float4 luttedColor = lerp(newColor1, newColor2, frac(float(blueColor))); + + float4 final_color = lerp(textureColor, luttedColor, lut_amount); + return float4(final_color.rgb, textureColor.a); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCornerPinShader { + +[Alias('Set-OBSCornerPinShader','Add-OBSCornerPinShader')] +param( +# Set the Antialias_Edges of OBSCornerPinShader +[Alias('Antialias_Edges')] +[ComponentModel.DefaultBindingProperty('Antialias_Edges')] +[Management.Automation.SwitchParameter] +$AntialiasEdges, +# Set the Top_Left_X of OBSCornerPinShader +[Alias('Top_Left_X')] +[ComponentModel.DefaultBindingProperty('Top_Left_X')] +[Single] +$TopLeftX, +# Set the Top_Left_Y of OBSCornerPinShader +[Alias('Top_Left_Y')] +[ComponentModel.DefaultBindingProperty('Top_Left_Y')] +[Single] +$TopLeftY, +# Set the Top_Right_X of OBSCornerPinShader +[Alias('Top_Right_X')] +[ComponentModel.DefaultBindingProperty('Top_Right_X')] +[Single] +$TopRightX, +# Set the Top_Right_Y of OBSCornerPinShader +[Alias('Top_Right_Y')] +[ComponentModel.DefaultBindingProperty('Top_Right_Y')] +[Single] +$TopRightY, +# Set the Bottom_Left_X of OBSCornerPinShader +[Alias('Bottom_Left_X')] +[ComponentModel.DefaultBindingProperty('Bottom_Left_X')] +[Single] +$BottomLeftX, +# Set the Bottom_Left_Y of OBSCornerPinShader +[Alias('Bottom_Left_Y')] +[ComponentModel.DefaultBindingProperty('Bottom_Left_Y')] +[Single] +$BottomLeftY, +# Set the Bottom_Right_X of OBSCornerPinShader +[Alias('Bottom_Right_X')] +[ComponentModel.DefaultBindingProperty('Bottom_Right_X')] +[Single] +$BottomRightX, +# Set the Bottom_Right_Y of OBSCornerPinShader +[Alias('Bottom_Right_Y')] +[ComponentModel.DefaultBindingProperty('Bottom_Right_Y')] +[Single] +$BottomRightY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'corner-pin' +$ShaderNoun = 'OBSCornerPinShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Corner Pin, Version 0.1, for OBS Shaderfilter +// Copyright ©️ 2022 by SkeletonBow +// License: GNU General Public License, version 2 +// Contact info: +// Twitter: +// Twitch: +// +// Based on: +// Original work by Inigo Quilez: https://www.iquilezles.org/www/articles/ibilinear/ibilinear.htm +// https://www.youtube.com/c/InigoQuilez +// https://iquilezles.org/ +// and the derivative StreamFX Corner Pin effect by Xaymar +// https://github.com/Xaymar/obs-StreamFX +// +// Description: +// Corner Pin allows you to pin the corners of an image onto the corners of an arbitrarily +// angled picture frame, TV screen or other rectangular surface in 3D space in an underlying +// image with proper perspective without distortion. +// +// TODO: +// - Add feature to automatically quantize corners to pixel centers +// +// Changelog: +// 0.1 - Initial release based on the StreamFX Corner Pin effect, as well as the original work by +// Inigo Quilez that it was based upon. + +uniform bool Antialias_Edges = true; + +uniform float Top_Left_X< + string label = "Top left x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Top_Left_Y< + string label = "Top left y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Top_Right_X< + string label = "Top right x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; +uniform float Top_Right_Y< + string label = "Top right y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Bottom_Left_X< + string label = "Bottom left x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = -100.; +uniform float Bottom_Left_Y< + string label = "Bottom left y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; +uniform float Bottom_Right_X< + string label = "Bottom right x"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; +uniform float Bottom_Right_Y< + string label = "Bottom right y"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.1; +> = 100.; + +// DEVELOPMENTAL DEBUGGING OPTIONS +//uniform float AAstrength = 1.0; +//uniform float AAdist = 1.0; +//uniform float debug_psmult = 1.0; +//#define PIXEL_SIZE_MULT 2.0 + +float cross2d(in float2 a, in float2 b) +{ + return (a.x * b.y) - (a.y * b.x); +} + +float2 inverse_bilinear(in float2 p, in float2 a, in float2 b, in float2 c, in float2 d) +{ + float2 result = float2(-1., -1.); + + float2 e = b - a; + float2 f = d - a; + float2 g = a-b+c-d; + float2 h = p-a; + + float k2 = cross2d(g, f); + float k1 = cross2d(e, f) + cross2d(h, g); + float k0 = cross2d(h, e); + + if (abs(k2) < .001) { // Edges are likely parallel, so this is a linear equation. + result = float2( + (h.x * k1 + f.x * k0) / (e.x * k1 - g.x * k0), + -k0 / k1 + ); + } else { // It''s a quadratic equation. + float w = k1 * k1 - 4.0 * k0 * k2; + if (w < 0.0) { // Prevent GPUs from going insane. + return result; + } + w = sqrt(w); + + float ik2 = 0.5/k2; + float v = (-k1 - w) * ik2; + float u = (h.x - f.x * v) / (e.x + g.x * v); + + if (u < 0.0 || u > 1.0 || v < 0.0 || v > 1.0) { + v = (-k1 + w) * ik2; + u = (h.x - f.x * v) / (e.x + g.x * v); + } + + result = float2(u, v); + } + + return result; +} + +// distance to a line segment +float sdSegment( in float2 p, in float2 a, in float2 b ) +{ + p -= a; b -= a; + return length( p-b*saturate(dot(p,b)/dot(b,b)) ); +} + +// Anti-alias edges - EXPERIMENTAL - (SkeletonBow) +float aastepEdgeAlpha(in float alpha, in float2 p, in float2 a, in float2 b) +{ + //float ps = 2.0 * (2.0/uv_size.y); // Original +// float ps = debug_psmult * (2.0/uv_size.y); + float ps = (2.0/uv_size.y); +// float ps = fwidth(p)*2.; // Try using fwidth() - goes haywire on AMD Radeon HD7850 at least, disable for now + return lerp( alpha, 0.0, 1.0 - smoothstep(0.0,ps,sdSegment(p,a,b))); +} + +float4 mainImage( VertData v_in ) : TARGET { + float2 p = 2.* v_in.uv - 1.; + + float2 Top_Left = float2(Top_Left_X, Top_Left_Y) * .01; + float2 Top_Right = float2(Top_Right_X, Top_Right_Y) * .01; + float2 Bottom_Left = float2(Bottom_Left_X, Bottom_Left_Y) * .01; + float2 Bottom_Right = float2(Bottom_Right_X, Bottom_Right_Y) * .01; + + // Convert from screen coords to potential Quad UV coordinates + float2 uv = inverse_bilinear(p, Top_Left, Top_Right, Bottom_Right, Bottom_Left); + + if (max(abs(uv.x - .5), abs(uv.y - .5)) >= .5) { + return float4(0.0, 0.0, 0.0, 0.0); + } + + float4 texel = image.Sample(textureSampler, uv); + + if ( Antialias_Edges ) { + // Anti-alias edges of texture + texel.a = aastepEdgeAlpha(texel.a, p, Top_Left, Top_Right); + texel.a = aastepEdgeAlpha(texel.a, p, Top_Right, Bottom_Right); + texel.a = aastepEdgeAlpha(texel.a, p, Bottom_Right, Bottom_Left); + texel.a = aastepEdgeAlpha(texel.a, p, Bottom_Left, Top_Left); + } + return texel; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCrtCurvatureShader { + +[Alias('Set-OBSCrtCurvatureShader','Add-OBSCrtCurvatureShader')] +param( +# Set the strength of OBSCrtCurvatureShader +[ComponentModel.DefaultBindingProperty('strength')] +[Single] +$Strength, +# Set the border of OBSCrtCurvatureShader +[ComponentModel.DefaultBindingProperty('border')] +[String] +$Border, +# Set the feathering of OBSCrtCurvatureShader +[ComponentModel.DefaultBindingProperty('feathering')] +[Single] +$Feathering, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'crt-curvature' +$ShaderNoun = 'OBSCrtCurvatureShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = 0.; + float maximum = 200.; + float step = 0.01; +> = 33.33; + +uniform float4 border< + string label = "Border Color"; +> = {0., 0., 0., 1.}; + +uniform float feathering< + string label = "Feathering"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 33.33; + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 cc = v_in.uv - float2(0.5, 0.5); + float dist = dot(cc, cc) * strength / 100.0; + float2 bent = v_in.uv + cc * (1.0 + dist) * dist; + if ((bent.x <= 0.0 || bent.x >= 1.0) || (bent.y <= 0.0 || bent.y >= 1.0)) { + return border; + } + if (feathering >= .01) { + float2 borderArea = float2(0.5, 0.5) * feathering / 100.0; + float2 borderDistance = (float2(0.5, 0.5) - abs(bent - float2(0.5, 0.5))) / float2(0.5, 0.5); + borderDistance = (min(borderDistance - float2(0.5, 0.5) * feathering / 100.0, 0) + borderArea) / borderArea; + float borderFade = sin(borderDistance.x * 1.570796326) * sin(borderDistance.y * 1.570796326); + return lerp(border, image.Sample(textureSampler, bent), borderFade); + } + + return image.Sample(textureSampler, bent); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCurveShader { + +[Alias('Set-OBSCurveShader','Add-OBSCurveShader')] +param( +# Set the strength of OBSCurveShader +[ComponentModel.DefaultBindingProperty('strength')] +[Single] +$Strength, +# Set the scale of OBSCurveShader +[ComponentModel.DefaultBindingProperty('scale')] +[Single] +$Scale, +# Set the curve_color of OBSCurveShader +[Alias('curve_color')] +[ComponentModel.DefaultBindingProperty('curve_color')] +[String] +$CurveColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'curve' +$ShaderNoun = 'OBSCurveShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.14159265359 + +uniform float strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +uniform float scale< + string label = "Scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 1.0; + +uniform float4 curve_color = {0,0,0,0}; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + const float ydiff = 1.0; + uv -= float2(0.5,ydiff); + uv.x *= ( uv_size.x / uv_size.y); + uv /= scale; + if(strength > 0.0){ + float d = tan((1.0-strength)*PI/2.0); + float r = length(float2(0.5*(uv_size.x / uv_size.y), d)); + float2 center = float2(0.0,(1.0-ydiff)+d); + float pd = distance(uv, center); + if(pd < r) + return curve_color; + float angle = atan2(center.x-uv.x,center.y-uv.y); + uv = float2(uv.x + sin(angle)*(pd-r),(1.0-ydiff)-(pd-r)); + } + uv.x /= ( uv_size.x / uv_size.y); + uv += float2(0.5,ydiff); + return image.Sample(textureSampler,uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCutRectPerCornerShader { + +[Alias('Set-OBSCutRectPerCornerShader','Add-OBSCutRectPerCornerShader')] +param( +# Set the corner_tl of OBSCutRectPerCornerShader +[Alias('corner_tl')] +[ComponentModel.DefaultBindingProperty('corner_tl')] +[Int32] +$CornerTl, +# Set the corner_tr of OBSCutRectPerCornerShader +[Alias('corner_tr')] +[ComponentModel.DefaultBindingProperty('corner_tr')] +[Int32] +$CornerTr, +# Set the corner_br of OBSCutRectPerCornerShader +[Alias('corner_br')] +[ComponentModel.DefaultBindingProperty('corner_br')] +[Int32] +$CornerBr, +# Set the corner_bl of OBSCutRectPerCornerShader +[Alias('corner_bl')] +[ComponentModel.DefaultBindingProperty('corner_bl')] +[Int32] +$CornerBl, +# Set the border_thickness of OBSCutRectPerCornerShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSCutRectPerCornerShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# Set the border_alpha_start of OBSCutRectPerCornerShader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSCutRectPerCornerShader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSCutRectPerCornerShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'cut_rect_per_corner' +$ShaderNoun = 'OBSCutRectPerCornerShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int corner_tl< + string label = "Corner top left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int corner_tr< + string label = "Corner top right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int corner_br< + string label = "Corner bottom right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int corner_bl< + string label = "Corner bottom left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "Border aplha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float border_alpha_end< + string label = "Border aplha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; +uniform float alpha_cut_off< + string label = "Alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pixel = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(pixel.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + int corner_top = corner_tl>corner_tr?corner_tl:corner_tr; + int corner_right = corner_tr>corner_br?corner_tr:corner_br; + int corner_bottom = corner_bl>corner_br?corner_bl:corner_br; + int corner_left = corner_tl>corner_bl?corner_tl:corner_bl; + + if(image.Sample(textureSampler, v_in.uv + float2(corner_right*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = corner_right; + }else if(image.Sample(textureSampler, v_in.uv + float2(-corner_left*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = -corner_left; + } + if(image.Sample(textureSampler, v_in.uv + float2(0,corner_bottom*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = corner_bottom; + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-corner_top*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = -corner_top; + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return pixel; + } + if(closedEdgeX != 0){ + [loop] for(int x = 1;x 0 && closedEdgeY < 0){ + corner_radius = corner_tr; + }else if(closedEdgeX > 0 && closedEdgeY > 0){ + corner_radius = corner_br; + }else if(closedEdgeX < 0 && closedEdgeY > 0){ + corner_radius = corner_bl; + } + if(closedEdgeXabs > corner_radius && closedEdgeYabs > corner_radius){ + return pixel; + } + if(closedEdgeXabs == 0){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeYabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs == 0){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeXabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeXabs > corner_radius){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeYabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs > corner_radius){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeXabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + float d = closedEdgeXabs+closedEdgeYabs; + if(d>corner_radius){ + if(d-corner_radius <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + ((d-corner_radius)/ float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + return float4(0.0,0.0,0.0,0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCylinderShader { + +[Alias('Set-OBSCylinderShader','Add-OBSCylinderShader')] +param( +# Set the cylinder_factor of OBSCylinderShader +[Alias('cylinder_factor')] +[ComponentModel.DefaultBindingProperty('cylinder_factor')] +[Single] +$CylinderFactor, +# Set the background_cut of OBSCylinderShader +[Alias('background_cut')] +[ComponentModel.DefaultBindingProperty('background_cut')] +[Single] +$BackgroundCut, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'cylinder' +$ShaderNoun = 'OBSCylinderShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float cylinder_factor< + string label = "Cylinder factor"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.2; +uniform float background_cut< + string label = "Background cut"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.1; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv.x -= 0.5; + float bend = sqrt(1.0 - uv.x*uv.x*4); + uv.y = uv.y/(1.0 - cylinder_factor)-bend*cylinder_factor; + uv.y-=cylinder_factor/2; + uv.x /= 2; + uv.x += 0.5; + float4 front_color = image.Sample(textureSampler, uv); + front_color.rgb *= bend/2+0.5; + if(front_color.a >= 1.0) + return front_color; + + uv = v_in.uv; + uv.x -= 0.5; + if(abs(uv.x) < background_cut) + return front_color; + uv.y = uv.y/(1.0 - cylinder_factor)+bend*cylinder_factor; + uv.y-=cylinder_factor/2; + uv.x /= 2; + if(uv.x > 0){ + uv.x = 1.0 - uv.x; + }else{ + uv.x = 0 - uv.x; + } + + float4 back_color = image.Sample(textureSampler, uv); + back_color.rgb *= 0.5-bend/2; + front_color.rgb *= front_color.a; + front_color.rgb += back_color.rgb * (1.0 - front_color.a) * back_color.a; + front_color.a = back_color.a * (1.0 - front_color.a) + front_color.a; + return front_color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDarkenShader { + +[Alias('Set-OBSDarkenShader','Add-OBSDarkenShader')] +param( +# Set the Opacity_Percentage of OBSDarkenShader +[Alias('Opacity_Percentage')] +[ComponentModel.DefaultBindingProperty('Opacity_Percentage')] +[Single] +$OpacityPercentage, +# Set the Fill_Percentage of OBSDarkenShader +[Alias('Fill_Percentage')] +[ComponentModel.DefaultBindingProperty('Fill_Percentage')] +[Single] +$FillPercentage, +# Set the Notes of OBSDarkenShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'darken' +$ShaderNoun = 'OBSDarkenShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Opacity_Percentage = 100.0; +uniform float Fill_Percentage = 100.0; +uniform string Notes = "Simulates a photo editing darken layer blending mode. Fill percentage is the interior alpha and Opacity is the layer alpha."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 other = float4(1.0, 1.0, 1.0, 1.0); + float4 base = image.Sample(textureSampler, v_in.uv); + float luminance = dot(base.rgb, float3(0.299, 0.587, 0.114)); + float4 gray = float4(luminance,luminance,luminance, 1.0); + + return min(base,other); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDeadPixelFixerShader { + +[Alias('Set-OBSDeadPixelFixerShader','Add-OBSDeadPixelFixerShader')] +param( +# Set the Dead_Pixel_X of OBSDeadPixelFixerShader +[Alias('Dead_Pixel_X')] +[ComponentModel.DefaultBindingProperty('Dead_Pixel_X')] +[Int32] +$DeadPixelX, +# Set the Dead_Pixel_Y of OBSDeadPixelFixerShader +[Alias('Dead_Pixel_Y')] +[ComponentModel.DefaultBindingProperty('Dead_Pixel_Y')] +[Int32] +$DeadPixelY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'dead-pixel-fixer' +$ShaderNoun = 'OBSDeadPixelFixerShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Dead Pixel Fixer, Version 0.01, for OBS Shaderfilter +// Copyright ©️ 2022 by SkeletonBow +// License: GNU General Public License, version 2 +// Contact info: +// Twitter: +// Twitch: +// +// Description: Intended for use with an input source that has a dead pixel on its sensor such as a webcam. +// The pixel located at the user configured offset will have its color overridden by taking the average of the +// color of the 8 pixels immediately surrounding it, effectively hiding the dead pixel. +// +// Changelog: +// 0.01 - Initial release + +uniform int Dead_Pixel_X< + string label = "Dead Pixel X"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 2000; + int step = 1; +> = 0; +uniform int Dead_Pixel_Y< + string label = "Dead Pixel Y"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 2000; + int step = 1; +> = 0; + +float3 blur_dead_pixel(in float2 pos) +{ + float3 color; + color = image.Sample(textureSampler, (pos + float2(-1.0, -0.5))/uv_size).rgb; + color += image.Sample(textureSampler, (pos + float2(0.5, -1.0))/uv_size).rgb; + color += image.Sample(textureSampler, (pos + float2(1.0, 0.5))/uv_size).rgb; + color += image.Sample(textureSampler, (pos + float2(-0.5, 1.0))/uv_size).rgb; + return color * 0.25; +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float2 pos = v_in.pos.xy; + float2 dp_pos = clamp( float2(Dead_Pixel_X, Dead_Pixel_Y), float2(0.0,0.0), uv_size - 1); + float4 obstex = image.Sample(textureSampler, uv); + float3 color; + + if(floor(pos.x) == floor(dp_pos.x) && floor(pos.y) == floor(dp_pos.y) ) { + color = blur_dead_pixel(pos); + } else { + color.rgb = obstex.rgb; + } + return float4( color, obstex.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDensitySatHueShader { + +[Alias('Set-OBSDensitySatHueShader','Add-OBSDensitySatHueShader')] +param( +# Set the notes of OBSDensitySatHueShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the density_r of OBSDensitySatHueShader +[Alias('density_r')] +[ComponentModel.DefaultBindingProperty('density_r')] +[Single] +$DensityR, +# Set the saturation_r of OBSDensitySatHueShader +[Alias('saturation_r')] +[ComponentModel.DefaultBindingProperty('saturation_r')] +[Single] +$SaturationR, +# Set the hueShift_r of OBSDensitySatHueShader +[Alias('hueShift_r')] +[ComponentModel.DefaultBindingProperty('hueShift_r')] +[Single] +$HueShiftR, +# Set the density_y of OBSDensitySatHueShader +[Alias('density_y')] +[ComponentModel.DefaultBindingProperty('density_y')] +[Single] +$DensityY, +# Set the saturation_y of OBSDensitySatHueShader +[Alias('saturation_y')] +[ComponentModel.DefaultBindingProperty('saturation_y')] +[Single] +$SaturationY, +# Set the hueShift_y of OBSDensitySatHueShader +[Alias('hueShift_y')] +[ComponentModel.DefaultBindingProperty('hueShift_y')] +[Single] +$HueShiftY, +# Set the density_g of OBSDensitySatHueShader +[Alias('density_g')] +[ComponentModel.DefaultBindingProperty('density_g')] +[Single] +$DensityG, +# Set the saturation_g of OBSDensitySatHueShader +[Alias('saturation_g')] +[ComponentModel.DefaultBindingProperty('saturation_g')] +[Single] +$SaturationG, +# Set the hueShift_g of OBSDensitySatHueShader +[Alias('hueShift_g')] +[ComponentModel.DefaultBindingProperty('hueShift_g')] +[Single] +$HueShiftG, +# Set the density_c of OBSDensitySatHueShader +[Alias('density_c')] +[ComponentModel.DefaultBindingProperty('density_c')] +[Single] +$DensityC, +# Set the saturation_c of OBSDensitySatHueShader +[Alias('saturation_c')] +[ComponentModel.DefaultBindingProperty('saturation_c')] +[Single] +$SaturationC, +# Set the hueShift_c of OBSDensitySatHueShader +[Alias('hueShift_c')] +[ComponentModel.DefaultBindingProperty('hueShift_c')] +[Single] +$HueShiftC, +# Set the density_b of OBSDensitySatHueShader +[Alias('density_b')] +[ComponentModel.DefaultBindingProperty('density_b')] +[Single] +$DensityB, +# Set the saturation_b of OBSDensitySatHueShader +[Alias('saturation_b')] +[ComponentModel.DefaultBindingProperty('saturation_b')] +[Single] +$SaturationB, +# Set the hueShift_b of OBSDensitySatHueShader +[Alias('hueShift_b')] +[ComponentModel.DefaultBindingProperty('hueShift_b')] +[Single] +$HueShiftB, +# Set the density_m of OBSDensitySatHueShader +[Alias('density_m')] +[ComponentModel.DefaultBindingProperty('density_m')] +[Single] +$DensityM, +# Set the saturation_m of OBSDensitySatHueShader +[Alias('saturation_m')] +[ComponentModel.DefaultBindingProperty('saturation_m')] +[Single] +$SaturationM, +# Set the hueShift_m of OBSDensitySatHueShader +[Alias('hueShift_m')] +[ComponentModel.DefaultBindingProperty('hueShift_m')] +[Single] +$HueShiftM, +# Set the global_density of OBSDensitySatHueShader +[Alias('global_density')] +[ComponentModel.DefaultBindingProperty('global_density')] +[Single] +$GlobalDensity, +# Set the global_saturation of OBSDensitySatHueShader +[Alias('global_saturation')] +[ComponentModel.DefaultBindingProperty('global_saturation')] +[Single] +$GlobalSaturation, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'density_sat_hue' +$ShaderNoun = 'OBSDensitySatHueShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Density-Saturation-Hue Shader for OBS Shaderfilter +// Modified by CameraTim for use with obs-shaderfilter 12/2024 v.12 + +uniform string notes< + string widget_type = "info"; +> = "Density adjustment shader: Density reduces luminance, while saturation is subtractively increased to avoid greyish colors."; + +uniform float density_r < + string label = "Red Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_r < + string label = "Red Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_r < + string label = "Red Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_y < + string label = "Yellow Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_y < + string label = "Yellow Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_y < + string label = "Yellow Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_g < + string label = "Green Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_g < + string label = "Green Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_g < + string label = "Green Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_c < + string label = "Cyan Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_c < + string label = "Cyan Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_c < + string label = "Cyan Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_b < + string label = "Blue Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_b < + string label = "Blue Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_b < + string label = "Blue Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float density_m < + string label = "Magenta Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float saturation_m < + string label = "Magenta Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float hueShift_m < + string label = "Magenta Hue Shift"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float global_density < + string label = "Global Density"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float global_saturation < + string label = "Global Sat"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +// Tetrahedral interpolation based on the ordering of the input color channels +float3 applyAdjustments(float3 p) { + // Pre-calculate the flipped density values for each channel: + float d_r = -(density_r + global_density); + float d_y = -(density_y + global_density); + float d_g = -(density_g + global_density); + float d_c = -(density_c + global_density); + float d_b = -(density_b + global_density); + float d_m = -(density_m + global_density); + + // Compute the color vectors for each hue region using the flipped densities: + float3 red = float3( + 1.0 + d_r, + d_r - (saturation_r + global_saturation), + d_r + hueShift_r - (saturation_r + global_saturation) + ); + + float3 yellow = float3( + 1.0 + hueShift_y + d_y, + 1.0 + d_y, + d_y - (saturation_y + global_saturation) + ); + + float3 green = float3( + d_g - (saturation_g + global_saturation), + 1.0 + d_g, + d_g + hueShift_g - (saturation_g + global_saturation) + ); + + float3 cyan = float3( + d_c - (saturation_c + global_saturation), + 1.0 + hueShift_c + d_c, + 1.0 + d_c + ); + + float3 blue = float3( + d_b + hueShift_b - (saturation_b + global_saturation), + d_b - (saturation_b + global_saturation), + 1.0 + d_b + ); + + float3 magenta = float3( + 1.0 + d_m, + d_m - (saturation_m + global_saturation), + 1.0 + hueShift_m + d_m + ); + + // Define the black and white endpoints: + float3 blk = float3(0.0, 0.0, 0.0); + float3 wht = float3(1.0, 1.0, 1.0); + + float3 rgb; + if (p.r > p.g) { + if (p.g > p.b) { + // p.r >= p.g >= p.b + rgb = p.r * (red - blk) + blk + p.g * (yellow - red) + p.b * (wht - yellow); + } else if (p.r > p.b) { + // p.r >= p.b > p.g + rgb = p.r * (red - blk) + blk + p.g * (wht - magenta) + p.b * (magenta - red); + } else { + // p.b >= p.r > p.g + rgb = p.r * (magenta - blue) + p.g * (wht - magenta) + p.b * (blue - blk) + blk; + } + } else { + if (p.b > p.g) { + // p.b >= p.g >= p.r + rgb = p.r * (wht - cyan) + p.g * (cyan - blue) + p.b * (blue - blk) + blk; + } else if (p.b > p.r) { + // p.g >= p.r and p.b > p.r + rgb = p.r * (wht - cyan) + p.g * (green - blk) + blk + p.b * (cyan - green); + } else { + // p.g >= p.b >= p.r + rgb = p.r * (yellow - green) + p.g * (green - blk) + blk + p.b * (wht - yellow); + } + } + return clamp(rgb, 0.0, 1.0); +} + +float4 mainImage(VertData v_in) : TARGET { + float4 inputColor = image.Sample(textureSampler, v_in.uv); + float3 adjustedColor = applyAdjustments(inputColor.rgb); + return float4(adjustedColor, inputColor.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDiffuseTransitionShader { + +[Alias('Set-OBSDiffuseTransitionShader','Add-OBSDiffuseTransitionShader')] +param( +# Set the image_a of OBSDiffuseTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBSDiffuseTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBSDiffuseTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSDiffuseTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the num_samples of OBSDiffuseTransitionShader +[Alias('num_samples')] +[ComponentModel.DefaultBindingProperty('num_samples')] +[Int32] +$NumSamples, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'diffuse_transition' +$ShaderNoun = 'OBSDiffuseTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/4cK3z1 +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time = 0.5; +uniform bool convert_linear = true; + +// Diffuse (move pixels) between two 2D images +// Demo inspired by Iterative-(de)Blending (see Figure 9 in https://arxiv.org/pdf/2305.03486.pdf) +// Note: the approach in this demo is different - rather than randomising paths we use means + +// increase for greater precision - this is O(n^2) :( +uniform int num_samples< + string label = "Number of samples (10)"; + string widget_type = "slider"; + int minimum = 2; + int maximum = 100; + int step = 1; +> = 10; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + + if (transition_time < 0.00001) { + return image_a.Sample(textureSampler, uv); + } + + // we need to normalise the distributions so just sum the samples for a division later + // note: could calculate this once per image in a buffer or something + float3 from_total = float3(0.0,0.0,0.0); + float3 to_total = float3(0.0,0.0,0.0); + + for (int i=0; iAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDigitalRainShader { + +[Alias('Set-OBSDigitalRainShader','Add-OBSDigitalRainShader')] +param( +# Set the font of OBSDigitalRainShader +[ComponentModel.DefaultBindingProperty('font')] +[String] +$Font, +# Set the noise of OBSDigitalRainShader +[ComponentModel.DefaultBindingProperty('noise')] +[String] +$Noise, +# Set the base_color of OBSDigitalRainShader +[Alias('base_color')] +[ComponentModel.DefaultBindingProperty('base_color')] +[String] +$BaseColor, +# Set the rain_speed of OBSDigitalRainShader +[Alias('rain_speed')] +[ComponentModel.DefaultBindingProperty('rain_speed')] +[Single] +$RainSpeed, +# Set the char_speed of OBSDigitalRainShader +[Alias('char_speed')] +[ComponentModel.DefaultBindingProperty('char_speed')] +[Single] +$CharSpeed, +# Set the glow_contrast of OBSDigitalRainShader +[Alias('glow_contrast')] +[ComponentModel.DefaultBindingProperty('glow_contrast')] +[Single] +$GlowContrast, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'digital-rain' +$ShaderNoun = 'OBSDigitalRainShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// based on https://www.shadertoy.com/view/ldccW4 by WillKirkby + + +#ifndef OPENGL +#define fract frac +#define mix lerp +#endif + +uniform texture2d font = "font.png"; +uniform texture2d noise = "noise.png"; +uniform float4 base_color = {.1, 1.0, .35, 1.0}; +uniform float rain_speed< + string label = "Rain Speed"; + string widget_type = "slider"; + float minimum = 0.001; + float maximum = 2.0; + float step = .001; +> = 1.0; + +uniform float char_speed< + string label = "Character Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = .001; +> = 1.0; + +uniform float glow_contrast< + string label = "Glow contrast"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.5; + float step = .001; +> = 1.0; + + +float mod(float x, float y) +{ + return x - y * floor(x/y); +} + +float2 mod2(float2 x, float2 y) +{ + return x - y * floor(x/y); +} + +float text(float2 fragCoord) +{ + float2 uv = mod2(fragCoord, float2(16.0, 16.0) )/16.0; + float2 block = (fragCoord*.0625 - uv)/uv_size*16.0; + uv = uv*.8+.1; // scale the letters up a bit + block += elapsed_time*.002*char_speed; + uv += floor(noise.Sample(textureSampler, fract(block)).xy * 16.); // randomize letters + uv *= .0625; // bring back into 0-1 range + return font.Sample(textureSampler, uv).r; +} + +float3 rain(float2 fragCoord) +{ + fragCoord.x -= mod(fragCoord.x, 16.); + float offset=sin(fragCoord.x*15.); + float speed=(cos(fragCoord.x*3.)*.3+.7)*rain_speed; + + float y = fract(fragCoord.y/uv_size.y + elapsed_time*speed + offset); + return base_color.rgb / pow(y*20.0, glow_contrast); +} + +float4 mainImage(VertData v_in) : TARGET +{ + return mix(image.Sample(textureSampler, v_in.uv),float4(rain(float2(v_in.uv.x,1.0-v_in.uv.y)*uv_size),1.0), text(v_in.uv*uv_size)); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDivideRotateShader { + +[Alias('Set-OBSDivideRotateShader','Add-OBSDivideRotateShader')] +param( +# Set the iChannel0 of OBSDivideRotateShader +[ComponentModel.DefaultBindingProperty('iChannel0')] +[String] +$IChannel0, +# Set the speed_percentage of OBSDivideRotateShader +[Alias('speed_percentage')] +[ComponentModel.DefaultBindingProperty('speed_percentage')] +[Int32] +$SpeedPercentage, +# Set the alpha_percentage of OBSDivideRotateShader +[Alias('alpha_percentage')] +[ComponentModel.DefaultBindingProperty('alpha_percentage')] +[Int32] +$AlphaPercentage, +# Set the Apply_To_Alpha_Layer of OBSDivideRotateShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the notes of OBSDivideRotateShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'divide_rotate' +$ShaderNoun = 'OBSDivideRotateShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// divide and rotate shader for OBS Studio shaderfilter plugin +// originally from shadertoy (https://www.shadertoy.com/view/3sy3Dh) +// Modified by Charles Fettinger (https://github.com/Oncorporation) 10/2019 +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform texture2d iChannel0; +uniform int speed_percentage< + string label = "Speed"; + string widget_type = "slider"; + int minimum = -10; + int maximum = 10; + int step = 1; +> = 5; +uniform int alpha_percentage< + string label = "Opacity Percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform bool Apply_To_Alpha_Layer = true; + +uniform string notes< + string widget_type = "info"; +> = "add rotation and speed"; + + +float2 cm(float2 a, float2 b) { + return float2(a.x * b.x - a.y * b.y, a.x * b.y + a.y * b.x); +} + +float2 iter(float2 uv, float2 rot, float scale) { + float2 gv = frac(cm(uv, rot) * scale); + float boundDist = 1. - max(abs(gv.x), abs(gv.y)); + float mask = step(.03, boundDist); + gv *= mask; + return gv; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float alpha = clamp(alpha_percentage * 0.01, 0.0, 1.0); + float speed = clamp(speed_percentage * 0.01, -10.0, 10.0); + + // Normalize coords + //float2 uv = (v_in.uv * uv_scale + uv_offset); + float2 uv = (float2(v_in.uv.x, (1 - v_in.uv.y)) * uv_scale + uv_offset) - .5 * (v_in.uv * uv_scale + uv_offset);// / v_in.uv.y; + float2 mouse = (v_in.uv.xy - .5 * v_in.uv.xy) / v_in.uv.y; + + // Add some time rotation and offset + float t = elapsed_time * speed; + float2 time = float2(sin(t), cos(t)); + uv += time; + + // Imaginary component has to be mirrored for natural feeling rotation + mouse.y *= -1.0; + + // Draw few layers of this to bend space + float2 rot = cm(mouse, time); + for (float i=1.0; i<=3.0; i++) { + uv = iter(uv, rot, 1.5); + } + + // Combine background with new image + float4 background_color = image.Sample(textureSampler, v_in.uv); + float4 col = iChannel0.Sample(textureSampler, uv); + + // Border + if (uv.x == 0.0 && uv.y == 0.0) { + col = float4(0,0,0,alpha); + } + + // if not appling to alpha layer, set output alpha + if (Apply_To_Alpha_Layer == false) + col.a = alpha; + + //output color is combined with background image + col.rgb = lerp(background_color.rgb,col.rgb,clamp(alpha, 0.0, 1.0)); + + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDoodleShader { + +[Alias('Set-OBSDoodleShader','Add-OBSDoodleShader')] +param( +# Set the ViewProj of OBSDoodleShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSDoodleShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSDoodleShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSDoodleShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSDoodleShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSDoodleShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSDoodleShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSDoodleShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the Doodle_Scale_Percent of OBSDoodleShader +[Alias('Doodle_Scale_Percent')] +[ComponentModel.DefaultBindingProperty('Doodle_Scale_Percent')] +[Single] +$DoodleScalePercent, +# Set the Snap_Percent of OBSDoodleShader +[Alias('Snap_Percent')] +[ComponentModel.DefaultBindingProperty('Snap_Percent')] +[Single] +$SnapPercent, +# Set the Notes of OBSDoodleShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'doodle' +$ShaderNoun = 'OBSDoodleShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// doodle effect by Charles Fettinger (https://github.com/Oncorporation) 5/2019 +// for use with obs-shaderfilter 1.0 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform float Doodle_Scale_Percent< + string label = "Doodle Scale Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 2.5; +uniform float Snap_Percent< + string label = "Snap Percent"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 0.1; +> = 7.5; +uniform string Notes< + string widget_type = "info"; +> = "Doodle skews the image by the Scale Percent, Snap Percent controls the number of doodles per second."; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float3 rand3(float3 co) +{ + float j = 4096.0*sin(dot(co, float3(17.0, 59.4, 15.0))); + float3 result; + result.z = frac(512.0*j); + j *= .125; + result.x = frac(512.0*j); + j *= .125; + result.y = frac(512.0*j); + return result - 0.5; +} + +float snap(float x, float snap) +{ + return snap * round(x / max(0.01,snap)); +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + float time = snap((1 + sin(elapsed_time)) * 0.5, Snap_Percent * .01); + float rand = snap(rand_f, Snap_Percent *.01); + float2 noise = rand3(v_in.pos.xyz + float3(time,0.0,0.0)).xy * (Doodle_Scale_Percent * .01); + vert_out.uv.xy += noise; + + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass p0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDrawingsShader { + +[Alias('Set-OBSDrawingsShader','Add-OBSDrawingsShader')] +param( +# Set the AngleNum of OBSDrawingsShader +[ComponentModel.DefaultBindingProperty('AngleNum')] +[Int32] +$AngleNum, +# Set the SampNum of OBSDrawingsShader +[ComponentModel.DefaultBindingProperty('SampNum')] +[Int32] +$SampNum, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'drawings' +$ShaderNoun = 'OBSDrawingsShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/ldlcWs + +uniform int AngleNum< + string label = "Number of angles"; + string widget_type = "slider"; + int minimum = 0.0; + int maximum = 25; + int step = 1; +> = 3; +uniform int SampNum< + string label = "Number of samples"; + string widget_type = "slider"; + int minimum = 0.0; + int maximum = 25; + int step = 1; +> = 9; + +float4 getCol(float2 pos) +{ + // take aspect ratio into account + float2 uv=pos; + float4 c1=image.Sample(textureSampler, uv); + float4 e=smoothstep(float4(-0.05,-0.05,-0.05,-0.05),float4(-0.0,-0.0,-0.0,-0.0),float4(uv,float2(1,1)-uv)); + c1=lerp(float4(1,1,1,0),c1,e.x*e.y*e.z*e.w); + float d=clamp(dot(c1.xyz,float3(-.5,1.,-.5)),0.0,1.0); + float4 c2=float4(.7,.7,.7,.7); + return min(lerp(c1,c2,1.8*d),.7); +} + +float4 getColHT(float2 pos) +{ + return smoothstep(0.795,1.05,getCol(pos)*.8+.2+1.0); +} + +float getVal(float2 pos) +{ + float4 c=getCol(pos); + return pow(dot(c.xyz,float3(.333,.333,.333)),1.)*1.; +} + +float2 getGrad(float2 pos, float eps) +{ + float2 d=float2(eps,0.); + return float2( + getVal(pos+d.xy)-getVal(pos-d.xy), + getVal(pos+d.yx)-getVal(pos-d.yx) + )/eps/2.; +} + + + float lum( float3 c) { + return dot(c, float3(0.3, 0.59, 0.11)); + } + + + float3 clipcolor( float3 c) { + float l = lum(c); + float n = min(min(c.r, c.g), c.b); + float x = max(max(c.r, c.g), c.b); + + if (n < 0.0) { + c.r = l + ((c.r - l) * l) / (l - n); + c.g = l + ((c.g - l) * l) / (l - n); + c.b = l + ((c.b - l) * l) / (l - n); + } + if (x > 1.25) { + c.r = l + ((c.r - l) * (1.0 - l)) / (x - l); + c.g = l + ((c.g - l) * (1.0 - l)) / (x - l); + c.b = l + ((c.b - l) * (1.0 - l)) / (x - l); + } + return c; + } + + float3 setlum( float3 c, float l) { + float d = l - lum(c); + c = c + float3(d,d,d); + return clipcolor(0.85*c); + } + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + float3 col = float3(0,0,0); + float3 col2 = float3(0,0,0); + float sum=0.; + + for(int i=0;iAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDropShadowShader { + +[Alias('Set-OBSDropShadowShader','Add-OBSDropShadowShader')] +param( +# Set the shadow_offset_x of OBSDropShadowShader +[Alias('shadow_offset_x')] +[ComponentModel.DefaultBindingProperty('shadow_offset_x')] +[Int32] +$ShadowOffsetX, +# Set the shadow_offset_y of OBSDropShadowShader +[Alias('shadow_offset_y')] +[ComponentModel.DefaultBindingProperty('shadow_offset_y')] +[Int32] +$ShadowOffsetY, +# Set the shadow_blur_size of OBSDropShadowShader +[Alias('shadow_blur_size')] +[ComponentModel.DefaultBindingProperty('shadow_blur_size')] +[Int32] +$ShadowBlurSize, +# Set the notes of OBSDropShadowShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the shadow_color of OBSDropShadowShader +[Alias('shadow_color')] +[ComponentModel.DefaultBindingProperty('shadow_color')] +[String] +$ShadowColor, +# Set the is_alpha_premultiplied of OBSDropShadowShader +[Alias('is_alpha_premultiplied')] +[ComponentModel.DefaultBindingProperty('is_alpha_premultiplied')] +[Management.Automation.SwitchParameter] +$IsAlphaPremultiplied, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'drop_shadow' +$ShaderNoun = 'OBSDropShadowShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Drop Shadow shader modified by Charles Fettinger +// impose a limiter to keep from crashing the system +//Converted to OpenGL by Exeldro February 19, 2022 +uniform int shadow_offset_x< + string label = "Shadow offset x"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 5; +uniform int shadow_offset_y< + string label = "Shadow offset y"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 5; +uniform int shadow_blur_size< + string label = "Shadow blur size"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 15; + int step = 1; +> = 3; +uniform string notes< + string widget_type = "info"; +> = "blur size is limited to a max of 15 to ensure GPU"; + +uniform float4 shadow_color; + +uniform bool is_alpha_premultiplied; + +float4 mainImage(VertData v_in) : TARGET +{ + int shadow_blur_size_limited = max(0, min(15, shadow_blur_size)); + int shadow_blur_samples = int(pow(float(shadow_blur_size_limited * 2 + 1), 2.0)); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * float(shadow_offset_x), + v_in.uv.y - uv_pixel_interval.y * float(shadow_offset_y)); + + float sampled_shadow_alpha = 0.0; + + for (int blur_x = -shadow_blur_size_limited; blur_x <= shadow_blur_size_limited; blur_x++) + { + for (int blur_y = -shadow_blur_size_limited; blur_y <= shadow_blur_size_limited; blur_y++) + { + float2 blur_uv = shadow_uv + float2(uv_pixel_interval.x * float(blur_x), uv_pixel_interval.y * float(blur_y)); + sampled_shadow_alpha += image.Sample(textureSampler, blur_uv).a / float(shadow_blur_samples); + } + } + + float4 final_shadow_color = float4(shadow_color.r, shadow_color.g, shadow_color.b, shadow_color.a * sampled_shadow_alpha); + return final_shadow_color * (1.0-color.a) + color * (is_alpha_premultiplied?color.a:1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDrunkShader { + +[Alias('Set-OBSDrunkShader','Add-OBSDrunkShader')] +param( +# Set the color_matrix of OBSDrunkShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the glow_percent of OBSDrunkShader +[Alias('glow_percent')] +[ComponentModel.DefaultBindingProperty('glow_percent')] +[Int32] +$GlowPercent, +# Set the blur of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('blur')] +[Int32] +$Blur, +# Set the min_brightness of OBSDrunkShader +[Alias('min_brightness')] +[ComponentModel.DefaultBindingProperty('min_brightness')] +[Int32] +$MinBrightness, +# Set the max_brightness of OBSDrunkShader +[Alias('max_brightness')] +[ComponentModel.DefaultBindingProperty('max_brightness')] +[Int32] +$MaxBrightness, +# Set the pulse_speed_percent of OBSDrunkShader +[Alias('pulse_speed_percent')] +[ComponentModel.DefaultBindingProperty('pulse_speed_percent')] +[Int32] +$PulseSpeedPercent, +# Set the Apply_To_Alpha_Layer of OBSDrunkShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the glow_color of OBSDrunkShader +[Alias('glow_color')] +[ComponentModel.DefaultBindingProperty('glow_color')] +[String] +$GlowColor, +# Set the ease of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the glitch of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the notes of OBSDrunkShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'drunk' +$ShaderNoun = 'OBSDrunkShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Drunk shader by Charles Fettinger (https://github.com/Oncorporation) 2/2019 +//Converted to OpenGL by Q-mii & Exeldro March 11, 2022 +uniform float4x4 color_matrix; + + +uniform int glow_percent< + string label = "Glow percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 10; +uniform int blur< + string label = "Blur"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 1; +uniform int min_brightness< + string label = "Min brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 27; +uniform int max_brightness< + string label = "Max brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform int pulse_speed_percent< + string label = "Pulse speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool Apply_To_Alpha_Layer = true; +uniform float4 glow_color; +uniform bool ease; +uniform bool glitch; +uniform string notes< + string widget_type = "info"; +> ="''drunk refers to the bad blur effect of using 4 coordinates to blur. ''blur'' - the distance between the 4 copies (recommend 1-4)"; + + +// Gaussian Blur +float Gaussian(float x, float o) { + const float pivalue = 3.1415926535897932384626433832795; + return (1.0 / (o * sqrt(2.0 * pivalue))) * exp((-(x * x)) / (2 * (o * o))); +} + + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2; + if (t < 1) return -c/2 * (sqrt(1 - t*t) - 1) + b; + t -= 2; + return c/2 * (sqrt(1 - t*t) + 1) + b; +} + +float BlurStyler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0,c,d); + return t; +} + +float4 InternalGaussianPrecalculated(float2 p_uv, float2 p_uvStep, int p_radius, + texture2d p_image, float2 p_imageTexel, + texture2d p_kernel, float2 p_kernelTexel) { + float4 l_value = image.Sample(pointClampSampler, p_uv) + * kernel.Sample(pointClampSampler, float2(0, 0)).r; + float2 l_uvoffset = float2(0, 0); + for (int k = 1; k <= p_radius; k++) { + l_uvoffset += p_uvStep; + float l_g = kernel.Sample(pointClampSampler, p_kernelTexel * k).r; + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + } + return l_value; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 offsets[4]; + offsets[0] = float2(-0.05, 0.066); + offsets[1] = float2(-0.05, -0.066); + offsets[2] = float2(0.05, -0.066); + offsets[3] = float2(0.05, 0.066); + + // convert input for vector math + float blur_amount = float(blur) /100; + float glow_amount = float(glow_percent) * 0.1; + float speed = float(pulse_speed_percent) * 0.01; + float luminance_floor = float(min_brightness) * 0.01; + float luminance_ceiling = float(max_brightness) * 0.01; + + float4 color = image.Sample(textureSampler, v_in.uv); + float4 temp_color = color; + bool glitch_on = glitch; + + //circular easing variable + float t = 1 + sin(elapsed_time * speed); + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + //if(color.a <= 0.0) color.rgb = float3(0.0,0.0,0.0); + float4 glitch_color = glow_color; + + for (int n = 0; n < 4; n++){ + //blur sample + b = BlurStyler(t,0,c,d,ease); + float4 ncolor = image.Sample(textureSampler, v_in.uv + (blur_amount * b) * offsets[n]) ; + + //test for rand_f color + if (glitch) { + glitch_color = float4(glow_color.rgb * rand_f,glow_color.a); + if ((color.r == rand_f) || (color.g == rand_f) || (color.b == rand_f)) + { + glitch_on = true; + } + } + + float intensity = ncolor.r * 0.299 + ncolor.g * 0.587 + ncolor.b * 0.114; + if (((intensity >= luminance_floor) && (intensity <= luminance_ceiling)) || // test luminance + ((color.r == glow_color.r) && (color.g == glow_color.g) && (color.b == glow_color.b)) || //test for chosen color + glitch_on) //test for rand color + { + //glow calc + if (ncolor.a > 0.0 || Apply_To_Alpha_Layer == false) + { + ncolor.a = clamp(ncolor.a * glow_amount, 0.0, 1.0); + //temp_color = max(temp_color,ncolor) * glow_color ;//* ((1-ncolor.a) + color * ncolor.a); + //temp_color += (ncolor * float4(glow_color.rbg, glow_amount)); + + // use temp_color as floor, add glow, use highest alpha of blur pixels, then multiply by glow color + // max is used to simulate addition of vector texture color + temp_color = float4(max(temp_color.rgb, ncolor.rgb * (glow_amount * (b / 2))), // color effected by glow over time + max(temp_color.a, (glow_amount * (b / 2)))) // alpha affected by glow over time + * (glitch_color * (b / 2)); // glow color affected by glow over time + } + } + } + // grab lighter color + return max(color,temp_color); +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSDynamicMaskShader { + +[Alias('Set-OBSDynamicMaskShader','Add-OBSDynamicMaskShader')] +param( +# Set the input_source of OBSDynamicMaskShader +[Alias('input_source')] +[ComponentModel.DefaultBindingProperty('input_source')] +[String] +$InputSource, +# Set the red_base_value of OBSDynamicMaskShader +[Alias('red_base_value')] +[ComponentModel.DefaultBindingProperty('red_base_value')] +[Single] +$RedBaseValue, +# Set the red_red_input_value of OBSDynamicMaskShader +[Alias('red_red_input_value')] +[ComponentModel.DefaultBindingProperty('red_red_input_value')] +[Single] +$RedRedInputValue, +# Set the red_green_input_value of OBSDynamicMaskShader +[Alias('red_green_input_value')] +[ComponentModel.DefaultBindingProperty('red_green_input_value')] +[Single] +$RedGreenInputValue, +# Set the red_blue_input_value of OBSDynamicMaskShader +[Alias('red_blue_input_value')] +[ComponentModel.DefaultBindingProperty('red_blue_input_value')] +[Single] +$RedBlueInputValue, +# Set the red_alpha_input_value of OBSDynamicMaskShader +[Alias('red_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('red_alpha_input_value')] +[Single] +$RedAlphaInputValue, +# Set the red_multiplier of OBSDynamicMaskShader +[Alias('red_multiplier')] +[ComponentModel.DefaultBindingProperty('red_multiplier')] +[Single] +$RedMultiplier, +# Set the green_base_value of OBSDynamicMaskShader +[Alias('green_base_value')] +[ComponentModel.DefaultBindingProperty('green_base_value')] +[Single] +$GreenBaseValue, +# Set the green_red_input_value of OBSDynamicMaskShader +[Alias('green_red_input_value')] +[ComponentModel.DefaultBindingProperty('green_red_input_value')] +[Single] +$GreenRedInputValue, +# Set the green_green_input_value of OBSDynamicMaskShader +[Alias('green_green_input_value')] +[ComponentModel.DefaultBindingProperty('green_green_input_value')] +[Single] +$GreenGreenInputValue, +# Set the green_blue_input_value of OBSDynamicMaskShader +[Alias('green_blue_input_value')] +[ComponentModel.DefaultBindingProperty('green_blue_input_value')] +[Single] +$GreenBlueInputValue, +# Set the green_alpha_input_value of OBSDynamicMaskShader +[Alias('green_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('green_alpha_input_value')] +[Single] +$GreenAlphaInputValue, +# Set the green_multiplier of OBSDynamicMaskShader +[Alias('green_multiplier')] +[ComponentModel.DefaultBindingProperty('green_multiplier')] +[Single] +$GreenMultiplier, +# Set the blue_base_value of OBSDynamicMaskShader +[Alias('blue_base_value')] +[ComponentModel.DefaultBindingProperty('blue_base_value')] +[Single] +$BlueBaseValue, +# Set the blue_red_input_value of OBSDynamicMaskShader +[Alias('blue_red_input_value')] +[ComponentModel.DefaultBindingProperty('blue_red_input_value')] +[Single] +$BlueRedInputValue, +# Set the blue_green_input_value of OBSDynamicMaskShader +[Alias('blue_green_input_value')] +[ComponentModel.DefaultBindingProperty('blue_green_input_value')] +[Single] +$BlueGreenInputValue, +# Set the blue_blue_input_value of OBSDynamicMaskShader +[Alias('blue_blue_input_value')] +[ComponentModel.DefaultBindingProperty('blue_blue_input_value')] +[Single] +$BlueBlueInputValue, +# Set the blue_alpha_input_value of OBSDynamicMaskShader +[Alias('blue_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('blue_alpha_input_value')] +[Single] +$BlueAlphaInputValue, +# Set the blue_multiplier of OBSDynamicMaskShader +[Alias('blue_multiplier')] +[ComponentModel.DefaultBindingProperty('blue_multiplier')] +[Single] +$BlueMultiplier, +# Set the alpha_base_value of OBSDynamicMaskShader +[Alias('alpha_base_value')] +[ComponentModel.DefaultBindingProperty('alpha_base_value')] +[Single] +$AlphaBaseValue, +# Set the alpha_red_input_value of OBSDynamicMaskShader +[Alias('alpha_red_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_red_input_value')] +[Single] +$AlphaRedInputValue, +# Set the alpha_green_input_value of OBSDynamicMaskShader +[Alias('alpha_green_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_green_input_value')] +[Single] +$AlphaGreenInputValue, +# Set the alpha_blue_input_value of OBSDynamicMaskShader +[Alias('alpha_blue_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_blue_input_value')] +[Single] +$AlphaBlueInputValue, +# Set the alpha_alpha_input_value of OBSDynamicMaskShader +[Alias('alpha_alpha_input_value')] +[ComponentModel.DefaultBindingProperty('alpha_alpha_input_value')] +[Single] +$AlphaAlphaInputValue, +# Set the alpha_multiplier of OBSDynamicMaskShader +[Alias('alpha_multiplier')] +[ComponentModel.DefaultBindingProperty('alpha_multiplier')] +[Single] +$AlphaMultiplier, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'dynamic-mask' +$ShaderNoun = 'OBSDynamicMaskShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d input_source< + string label = "Input Source"; +>; + +uniform float red_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float red_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float red_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Red Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +uniform float green_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float green_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float green_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Green Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +uniform float blue_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float blue_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float blue_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Blue Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +uniform float alpha_base_value< + string label = "Base Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; +uniform float alpha_red_input_value< + string label = "Red Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_green_input_value< + string label = "Green Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_blue_input_value< + string label = "Blue Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_alpha_input_value< + string label = "Alpha Input Value"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float alpha_multiplier< + string label = "Multiplier"; + string widget_type = "slider"; + string group = "Alpha Channel"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 input_color = input_source.Sample(textureSampler, v_in.uv); + float4 mask; + mask.r = (red_base_value + red_red_input_value * input_color.r + red_green_input_value * input_color.g + red_blue_input_value * input_color.b + red_alpha_input_value * input_color.a) * red_multiplier; + mask.g = (green_base_value + green_red_input_value * input_color.r + green_green_input_value * input_color.g + green_blue_input_value * input_color.b + green_alpha_input_value * input_color.a) * green_multiplier; + mask.b = (blue_base_value + blue_red_input_value * input_color.r + blue_green_input_value * input_color.g + blue_blue_input_value * input_color.b + blue_alpha_input_value * input_color.a) * blue_multiplier; + mask.a = (alpha_base_value + alpha_red_input_value * input_color.r + alpha_green_input_value * input_color.g + alpha_blue_input_value * input_color.b + alpha_alpha_input_value * input_color.a) * alpha_multiplier; + float4 base = image.Sample(textureSampler, v_in.uv); + return base * mask; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSEdgeDetectionShader { + +[Alias('Set-OBSEdgeDetectionShader','Add-OBSEdgeDetectionShader')] +param( +# Set the sensitivity of OBSEdgeDetectionShader +[ComponentModel.DefaultBindingProperty('sensitivity')] +[Single] +$Sensitivity, +# Set the invert_edge of OBSEdgeDetectionShader +[Alias('invert_edge')] +[ComponentModel.DefaultBindingProperty('invert_edge')] +[Management.Automation.SwitchParameter] +$InvertEdge, +# Set the edge_color of OBSEdgeDetectionShader +[Alias('edge_color')] +[ComponentModel.DefaultBindingProperty('edge_color')] +[String] +$EdgeColor, +# Set the edge_multiply of OBSEdgeDetectionShader +[Alias('edge_multiply')] +[ComponentModel.DefaultBindingProperty('edge_multiply')] +[Management.Automation.SwitchParameter] +$EdgeMultiply, +# Set the non_edge_color of OBSEdgeDetectionShader +[Alias('non_edge_color')] +[ComponentModel.DefaultBindingProperty('non_edge_color')] +[String] +$NonEdgeColor, +# Set the non_edge_multiply of OBSEdgeDetectionShader +[Alias('non_edge_multiply')] +[ComponentModel.DefaultBindingProperty('non_edge_multiply')] +[Management.Automation.SwitchParameter] +$NonEdgeMultiply, +# Set the alpha_channel of OBSEdgeDetectionShader +[Alias('alpha_channel')] +[ComponentModel.DefaultBindingProperty('alpha_channel')] +[Management.Automation.SwitchParameter] +$AlphaChannel, +# Set the alpha_level of OBSEdgeDetectionShader +[Alias('alpha_level')] +[ComponentModel.DefaultBindingProperty('alpha_level')] +[Single] +$AlphaLevel, +# Set the alpha_invert of OBSEdgeDetectionShader +[Alias('alpha_invert')] +[ComponentModel.DefaultBindingProperty('alpha_invert')] +[Management.Automation.SwitchParameter] +$AlphaInvert, +# Set the rand_f of OBSEdgeDetectionShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the notes of OBSEdgeDetectionShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'edge_detection' +$ShaderNoun = 'OBSEdgeDetectionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Edge Detection for OBS Studio +// originally from Andersama (https://github.com/Andersama) +// Modified and improved my Charles Fettinger (https://github.com/Oncorporation) 1/2019 +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 +uniform float sensitivity< + string label = "Sensitivity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.05; +uniform bool invert_edge; +uniform float4 edge_color = {1.0,1.0,1.0,1.0}; +uniform bool edge_multiply; +uniform float4 non_edge_color = {0.0,0.0,0.0,0.0}; +uniform bool non_edge_multiply; +uniform bool alpha_channel; +uniform float alpha_level< + string label = "Alpha level"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; +uniform bool alpha_invert; +uniform float rand_f; + +uniform string notes< + string widget_type = "info"; +> = "''sensitivity'' - 0.01 is max and will create the most edges. Increasing this value decreases the number of edges detected. ''edge non edge color'' - the color to recolor vs the original image. ''edge or non edge multiply'' - multiplies the color against the original color giving it a tint instead of replacing the color. White represents no tint. ''invert edge'' - flips the sensativity and is great for testing and fine tuning. ''alpha channel'' - use an alpha channel to replace original color with transparency. ''alpha_level'' - transparency amount modifier where 1.0 = base luminance (recommend 0.00 - 2.00). ''alpha_invert'' - flip what is transparent from darks (default) to lights"; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + + float s = 3; + float hstep = uv_pixel_interval.x; + float vstep = uv_pixel_interval.y; + + float offsetx = (hstep * s) / 2.0; + float offsety = (vstep * s) / 2.0; + + float4 lum = float4(0.30, 0.59, 0.11, 1 ); + float samples[9]; + + int index = 0; + for(int i = 0; i < s; i++){ + for(int j = 0; j < s; j++){ + samples[index] = dot(image.Sample(textureSampler, float2(v_in.uv.x + (i * hstep) - offsetx, v_in.uv.y + (j * vstep) - offsety )), lum); + index++; + } + } + + float vert = samples[2] + samples[8] + (2 * samples[5]) - samples[0] - (2 * samples[3]) - samples[6]; + float hori = samples[6] + (2 * samples[7]) + samples[8] - samples[0] - (2 * samples[1]) - samples[2]; + float4 col; + + float o = ((vert * vert) + (hori * hori)); + bool isEdge = o > sensitivity; + if(invert_edge){ + isEdge = !isEdge; + } + if(isEdge) { + col = edge_color; + if(edge_multiply){ + col *= c; + } + } else { + col = non_edge_color; + if(non_edge_multiply){ + col *= c; + } + } + + if (alpha_invert) { + lum = 1.0 - lum; + } + + if(alpha_channel){ + if (edge_multiply && isEdge) { + return clamp(lerp(c, col, alpha_level), 0.0, 1.0); + } + else { + // use max instead of multiply + return clamp(lerp(c, float4(max(c.r, col.r), max(c.g, col.g), max(c.b, col.b), 1.0), alpha_level), 0.0, 1.0); + } + } else { + // col.a = col.a * alpha_level; + return col; + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSEmbersShader { + +[Alias('Set-OBSEmbersShader','Add-OBSEmbersShader')] +param( +# Set the ViewProj of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSEmbersShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSEmbersShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSEmbersShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_size of OBSEmbersShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the uv_pixel_interval of OBSEmbersShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSEmbersShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSEmbersShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSEmbersShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSEmbersShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the notes of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the Animation_Speed of OBSEmbersShader +[Alias('Animation_Speed')] +[ComponentModel.DefaultBindingProperty('Animation_Speed')] +[Single] +$AnimationSpeed, +# Set the Movement_Direction_Horizontal of OBSEmbersShader +[Alias('Movement_Direction_Horizontal')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Horizontal')] +[Single] +$MovementDirectionHorizontal, +# Set the Movement_Direction_Vertical of OBSEmbersShader +[Alias('Movement_Direction_Vertical')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Vertical')] +[Single] +$MovementDirectionVertical, +# Set the Movement_Speed_Percent of OBSEmbersShader +[Alias('Movement_Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Movement_Speed_Percent')] +[Int32] +$MovementSpeedPercent, +# Set the Layers_Count of OBSEmbersShader +[Alias('Layers_Count')] +[ComponentModel.DefaultBindingProperty('Layers_Count')] +[Int32] +$LayersCount, +# Set the lumaMin of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSEmbersShader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Alpha_Percentage of OBSEmbersShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Alpha_Layer of OBSEmbersShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'embers' +$ShaderNoun = 'OBSEmbersShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Embers effect by Charles Fettinger for obs-shaderfilter plugin 8/2020 v.1 +// https://github.com/Oncorporation/obs-shaderfilter +// https://www.shadertoy.com/view/wl2Gzc - coverted from and updated + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_size; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; +uniform string notes< + string widget_type = "info"; +> = "luma is applied with Apply to Alpha Layer. Movement Speed and Direction can be negatives"; + +#ifndef OPENGL +#define mat2 float2x2 +#define fract frac +#define mix lerp +#endif + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +uniform float Animation_Speed < + string label = "Animation Speed"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; + float scale = 1.; +> = 1.5; + +uniform float Movement_Direction_Horizontal< + string label = "Movement Direction Horizontal"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 1.0; +> = 5.0; +uniform float Movement_Direction_Vertical< + string label = "Movement Direction Vertical"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 1.0; +> = 10.0; + +uniform int Movement_Speed_Percent< + string label = "Movement Speed Percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 5; + +uniform int Layers_Count < + string label = "Layers"; + string widget_type = "slider"; + int minimum = 1.0; + int maximum = 100.0; + int step = 1; +> = 15; +/* ps start +*/ + + +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.01; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; +uniform bool Apply_To_Alpha_Layer = true; + +#define PI 3.1415927 +#define TWO_PI 6.283185 + +#define PARTICLE_SIZE 0.009 + +#define PARTICLE_SCALE float2(0.5, 1.6) +#define PARTICLE_SCALE_VAR float2(0.25, 0.2) + +#define PARTICLE_BLOOM_SCALE float2(0.5, 0.8) +#define PARTICLE_BLOOM_SCALE_VAR float2(0.3, 0.1) + +#define SPARK_COLOR float3(1.0, 0.4, 0.05) * 1.5 +#define BLOOM_COLOR float3(1.0, 0.4, 0.05) * 0.8 +#define SMOKE_COLOR float3(1.0, 0.43, 0.1) * 0.8 + +#define SIZE_MOD 1.05 +#define ALPHA_MOD 0.9 +#define Movement_Direction float2(Movement_Direction_Horizontal, Movement_Direction_Vertical) +#define Movement_Speed Movement_Speed_Percent * 0.01 +#define UV float2(fragCoord.xy / uv_size) + +float hash1_2(float2 x) +{ + return fract(sin(dot(x, float2(52.127, 61.2871))) * 521.582); +} + +float2 hash2_2(float2 x) +{ + mat2 m = mat2(20.52, 24.1994, 70.291, 80.171); + float2 y = mul(x, m); + return fract(sin(y) * 492.194); +} + +//Simple interpolated noise +float2 noise2_2(float2 uv) +{ + //float2 f = fract(uv); + float2 f = smoothstep(0.0, 1.0, fract(uv)); + + float2 uv00 = floor(uv); + float2 uv01 = uv00 + float2(0, 1); + float2 uv10 = uv00 + float2(1, 0); + float2 uv11 = uv00 + 1.0; + float2 v00 = hash2_2(uv00); + float2 v01 = hash2_2(uv01); + float2 v10 = hash2_2(uv10); + float2 v11 = hash2_2(uv11); + + float2 v0 = mix(v00, v01, f.y); + float2 v1 = mix(v10, v11, f.y); + float2 v = mix(v0, v1, f.x); + + return v; +} + +//Simple interpolated noise +float noise1_2(float2 uv) +{ + float2 f = fract(uv); + + float2 uv00 = floor(uv); + float2 uv01 = uv00 + float2(0, 1); + float2 uv10 = uv00 + float2(1, 0); + float2 uv11 = uv00 + 1.0; + + float v00 = hash1_2(uv00); + float v01 = hash1_2(uv01); + float v10 = hash1_2(uv10); + float v11 = hash1_2(uv11); + + float v0 = mix(v00, v01, f.y); + float v1 = mix(v10, v11, f.y); + float v = mix(v0, v1, f.x); + + return v; +} + +float layeredNoise1_2(float2 uv, float sizeMod, float alphaMod, int layers, float animation) +{ + float noise = 0.0; + float alpha = 1.0; + float size = 1.0; + float2 offset; + for (int i = 0; i < layers; i++) + { + offset += hash2_2(float2(alpha, size)) * 10.0; + + //Adding noise with movement + noise += noise1_2(uv * size + elapsed_time * animation * 8.0 * Movement_Direction * Movement_Speed + offset) * alpha; + alpha *= alphaMod; + size *= sizeMod; + } + + noise *= (1.0 - alphaMod) / (1.0 - pow(alphaMod, float(layers))); + return noise; +} + +//Rotates point around 0,0 +float2 rotate(float2 vpoint, float deg) +{ + float s = sin(deg); + float c = cos(deg); + mat2 m = mat2(s, c, -c, s); + return mul(vpoint, m); +} + +//Cell center from point on the grid +float2 voronoiPointFromRoot(float2 root, float deg) +{ + float2 vpoint = hash2_2(root) - 0.5; + float s = sin(deg); + float c = cos(deg); + mat2 m = mat2(s, c, -c, s); + vpoint = mul(vpoint, m) * 0.66; + vpoint += root + 0.5; + return vpoint; +} + +//Voronoi cell point rotation degrees +float degFromRootUV(in float2 uv) +{ + return elapsed_time * Animation_Speed * (hash1_2(uv) - 0.5) * 2.0; +} + +float2 randomAround2_2(in float2 vpoint, in float2 range, in float2 uv) +{ + return vpoint + (hash2_2(uv) - 0.5) * range; +} + + +float3 fireParticles(in float2 uv, in float2 originalUV) +{ + float3 particles = float3(0.0, 0.0, 0.0); + float2 rootUV = floor(uv); + float deg = degFromRootUV(rootUV); + float2 pointUV = voronoiPointFromRoot(rootUV, deg); + float dist = 2.0; + float distBloom = 0.0; + + //UV manipulation for the faster particle movement + float2 tempUV = uv + (noise2_2(uv * 2.0) - 0.5) * 0.1; + tempUV += -(noise2_2(uv * 3.0 + elapsed_time) - 0.5) * 0.07; + + //Sparks sdf + dist = length(rotate(tempUV - pointUV, 0.7) * randomAround2_2(PARTICLE_SCALE, PARTICLE_SCALE_VAR, rootUV)); + + //Bloom sdf + distBloom = length(rotate(tempUV - pointUV, 0.7) * randomAround2_2(PARTICLE_BLOOM_SCALE, PARTICLE_BLOOM_SCALE_VAR, rootUV)); + + //Add sparks + particles += (1.0 - smoothstep(PARTICLE_SIZE * 0.6, PARTICLE_SIZE * 3.0, dist)) * SPARK_COLOR; + + //Add bloom + particles += pow((1.0 - smoothstep(0.0, PARTICLE_SIZE * 6.0, distBloom)) * 1.0, 3.0) * BLOOM_COLOR; + + //Upper disappear curve randomization + float border = (hash1_2(rootUV) - 0.5) * 2.0; + float disappear = 1.0 - smoothstep(border, border + 0.5, originalUV.y); + + //Lower appear curve randomization + border = (hash1_2(rootUV + 0.214) - 1.8) * 0.7; + float appear = smoothstep(border, border + 0.4, originalUV.y); + + return particles * disappear * appear; +} + + +//Layering particles to imitate 3D view +float3 layeredParticles(in float2 uv, in float sizeMod, in float alphaMod, in int layers, in float smoke) +{ + float3 particles = float3(0.0, 0.0, 0.0); + float size = 1.0; + float alpha = 1.0; + float2 offset = float2(0.0, 0.0); + float2 noiseOffset; + float2 bokehUV; + + for (int i = 0; i < layers; i++) + { + //Particle noise movement + noiseOffset = (noise2_2(uv * size * 2.0 + 0.5) - 0.5) * 0.15; + + //UV with applied movement + bokehUV = (uv * size + elapsed_time * Movement_Direction * Movement_Speed) + offset + noiseOffset; + + //Adding particles if there is more smoke, remove smaller particles + particles += fireParticles(bokehUV, uv) * alpha * (1.0 - smoothstep(0.0, 1.0, smoke) * (float(i) / float(layers))); + + //Moving uv origin to avoid generating the same particles + offset += hash2_2(float2(alpha, alpha)) * 10.0; + + alpha *= alphaMod; + size *= sizeMod; + } + + return particles; +} + + +void mainImage(out float4 fragColor, in float2 fragCoord) +{ + float2 uv = (2.0 * fragCoord - uv_size.xy) / uv_size.x; + float vignette = 1.0 - smoothstep(0.4, 1.4, length(uv + float2(0.0, 0.3))); + + uv *= 1.8; + float alpha = clamp(Alpha_Percentage * .01, 0, 1.0); + + float smokeIntensity = layeredNoise1_2(uv * 10.0 + elapsed_time * 4.0 * Movement_Direction * Movement_Speed, 1.7, 0.7, 6, 0.2); + smokeIntensity *= pow(1.0 - smoothstep(-1.0, 1.6, uv.y), 2.0); + float3 smoke = smokeIntensity * SMOKE_COLOR * 0.8 * vignette; + + //Cutting holes in smoke + smoke *= pow(layeredNoise1_2(uv * 4.0 + elapsed_time * 0.5 * Movement_Direction * Movement_Speed, 1.8, 0.5, 3, 0.2), + 2.0) * 1.5; + + float3 particles = layeredParticles(uv, SIZE_MOD, ALPHA_MOD, Layers_Count, smokeIntensity); + + float4 col = float4(particles + smoke + SMOKE_COLOR * 0.02, alpha); + col.rgb *= vignette; + col.rgb = smoothstep(-0.08, 1.0, col.rgb); + + if (Apply_To_Alpha_Layer) + { + float4 original_color = image.Sample(textureSampler, UV); + + float luma = dot(col.rgb, float3(0.299, 0.587, 0.114)); + float luma_min = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma); + col.a = clamp(luma_min, 0.0, 1.0); + + col.rgb = lerp(original_color.rgb, col.rgb, alpha); //apply alpha slider + col = lerp(original_color, col, col.a); //remove black background color + } + + fragColor = col; +} + +/*ps end*/ + +struct VertFragData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertFragData VSDefault(VertFragData vtx) { + vtx.pos = mul(float4(vtx.pos.xyz, 1.0), ViewProj); + return vtx; +} + +float4 PSDefault(VertFragData vtx) : TARGET { + float4 col = float4(1., 1., 1., 1.); + mainImage(col, vtx.uv * uv_size); + return col; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vtx); + pixel_shader = PSDefault(vtx); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSEmbossColorShader { + +[Alias('Set-OBSEmbossColorShader','Add-OBSEmbossColorShader')] +param( +# Set the Angle_Steps of OBSEmbossColorShader +[Alias('Angle_Steps')] +[ComponentModel.DefaultBindingProperty('Angle_Steps')] +[Int32] +$AngleSteps, +# Set the Radius_Steps of OBSEmbossColorShader +[Alias('Radius_Steps')] +[ComponentModel.DefaultBindingProperty('Radius_Steps')] +[Int32] +$RadiusSteps, +# Set the ampFactor of OBSEmbossColorShader +[ComponentModel.DefaultBindingProperty('ampFactor')] +[Single] +$AmpFactor, +# Set the Up_Down_Percent of OBSEmbossColorShader +[Alias('Up_Down_Percent')] +[ComponentModel.DefaultBindingProperty('Up_Down_Percent')] +[Int32] +$UpDownPercent, +# Set the Apply_To_Alpha_Layer of OBSEmbossColorShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the notes of OBSEmbossColorShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'emboss_color' +$ShaderNoun = 'OBSEmbossColorShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Color Emboss shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int Angle_Steps< + string label = "Angle Steps"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 9; // +uniform int Radius_Steps< + string label = "Radius Steps"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 4; // +uniform float ampFactor< + string label = "amp Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 12.0; +uniform int Up_Down_Percent< + string label = "Up Down Percent"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 0; +uniform bool Apply_To_Alpha_Layer = true; +uniform string notes< + string widget_type = "info"; +> = "Steps limited in range from 0 to 20. Edit shader to remove limits at your own risk."; + +float4 mainImage(VertData v_in) : TARGET +{ + float radiusSteps = clamp(Radius_Steps, 0, 20); + float angleSteps = clamp(Angle_Steps, 1, 20); + float PI = 3.1415926535897932384626433832795;//acos(-1); + int totalSteps = int(radiusSteps * angleSteps); + float minRadius = (1 * uv_pixel_interval.y); + float maxRadius = (6 * uv_pixel_interval.y); + + float angleDelta = ((2 * PI) / angleSteps); + float radiusDelta = ((maxRadius - minRadius) / radiusSteps); + float embossAngle = 0.25 * PI; + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float4 origColor = c0; + float4 accumulatedColor = float4(0,0,0,0); + + if (c0.a > 0.0 || Apply_To_Alpha_Layer == false) + { + for (int radiusStep = 0; radiusStep < radiusSteps; radiusStep++) { + float radius = minRadius + radiusStep * radiusDelta; + + for (float angle = 0; angle < (2 * PI); angle += angleDelta) { + float2 currentCoord; + + float xDiff = radius * cos(angle); + float yDiff = radius * sin(angle); + + currentCoord = v_in.uv + float2(xDiff, yDiff); + float4 currentColor = image.Sample(textureSampler, currentCoord); + float4 colorDiff = abs(c0 - currentColor); + float currentFraction = ((radiusSteps + 1 - radiusStep)) / (radiusSteps + 1); + accumulatedColor += currentFraction * colorDiff / totalSteps * sign(angle - PI);; + + } + } + accumulatedColor *= ampFactor; + + c0 = lerp(c0 + accumulatedColor, c0 - accumulatedColor, (Up_Down_Percent * 0.01)); + } + //return c0 + accumulatedColor; // down; + //return c0 - accumulatedColor; // up + return c0; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSEmbossShader { + +[Alias('Set-OBSEmbossShader','Add-OBSEmbossShader')] +param( +# Set the Use_Color of OBSEmbossShader +[Alias('Use_Color')] +[ComponentModel.DefaultBindingProperty('Use_Color')] +[Management.Automation.SwitchParameter] +$UseColor, +# Set the Apply_To_Alpha_Layer of OBSEmbossShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'emboss' +$ShaderNoun = 'OBSEmbossShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Spotlight By Charles Fettinger (https://github.com/Oncorporation) 4/2019 +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 +uniform bool Use_Color; +uniform bool Apply_To_Alpha_Layer = true; + +float4 mainImage(VertData v_in) : TARGET +{ + + float dx = 1 / uv_size.x; + float dy = 1 / uv_size.y; + + float4 c0 = image.Sample(textureSampler, v_in.uv); + if (c0.a > 0.0 || Apply_To_Alpha_Layer == false) + { + float4 c1 = image.Sample(textureSampler, v_in.uv + float2(-dx, -dy)); + float4 c2 = image.Sample(textureSampler, v_in.uv + float2(0, -dy)); + float4 c4 = image.Sample(textureSampler, v_in.uv + float2(-dx, 0)); + float4 c6 = image.Sample(textureSampler, v_in.uv + float2(dx, 0)); + float4 c8 = image.Sample(textureSampler, v_in.uv + float2(0, dy)); + float4 c9 = image.Sample(textureSampler, v_in.uv + float2(dx, dy)); + + c0 = (-c1 - c2 - c4 + c6 + c8 + c9); + float c = (c0.r + c0.g + c0.b) / 3 + 0.5; + c0 = float4(c,c,c,c); + + if (Use_Color) + { + float4 rgba = image.Sample(textureSampler, v_in.uv); + return (0.5 * rgba) + c0; + } + } + return c0; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSExeldroBentCameraShader { + +[Alias('Set-OBSExeldroBentCameraShader','Add-OBSExeldroBentCameraShader')] +param( +# Set the left_side_width of OBSExeldroBentCameraShader +[Alias('left_side_width')] +[ComponentModel.DefaultBindingProperty('left_side_width')] +[Single] +$LeftSideWidth, +# Set the left_side_size of OBSExeldroBentCameraShader +[Alias('left_side_size')] +[ComponentModel.DefaultBindingProperty('left_side_size')] +[Single] +$LeftSideSize, +# Set the left_side_shadow of OBSExeldroBentCameraShader +[Alias('left_side_shadow')] +[ComponentModel.DefaultBindingProperty('left_side_shadow')] +[Single] +$LeftSideShadow, +# Set the left_flip_width of OBSExeldroBentCameraShader +[Alias('left_flip_width')] +[ComponentModel.DefaultBindingProperty('left_flip_width')] +[Single] +$LeftFlipWidth, +# Set the left_flip_shadow of OBSExeldroBentCameraShader +[Alias('left_flip_shadow')] +[ComponentModel.DefaultBindingProperty('left_flip_shadow')] +[Single] +$LeftFlipShadow, +# Set the right_side_width of OBSExeldroBentCameraShader +[Alias('right_side_width')] +[ComponentModel.DefaultBindingProperty('right_side_width')] +[Single] +$RightSideWidth, +# Set the right_side_size of OBSExeldroBentCameraShader +[Alias('right_side_size')] +[ComponentModel.DefaultBindingProperty('right_side_size')] +[Single] +$RightSideSize, +# Set the right_side_shadow of OBSExeldroBentCameraShader +[Alias('right_side_shadow')] +[ComponentModel.DefaultBindingProperty('right_side_shadow')] +[Single] +$RightSideShadow, +# Set the right_flip_width of OBSExeldroBentCameraShader +[Alias('right_flip_width')] +[ComponentModel.DefaultBindingProperty('right_flip_width')] +[Single] +$RightFlipWidth, +# Set the right_flip_shadow of OBSExeldroBentCameraShader +[Alias('right_flip_shadow')] +[ComponentModel.DefaultBindingProperty('right_flip_shadow')] +[Single] +$RightFlipShadow, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'exeldro-bent-camera' +$ShaderNoun = 'OBSExeldroBentCameraShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float left_side_width< + string label = "Left side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float left_side_size< + string label = "Left side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float left_side_shadow< + string label = "Left side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float left_flip_width< + string label = "Left flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float left_flip_shadow< + string label = "Left flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +uniform float right_side_width< + string label = "Right side width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; +uniform float right_side_size< + string label = "Right side size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform float right_side_shadow< + string label = "Right side shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.8; +uniform float right_flip_width< + string label = "Right flip width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.05; +uniform float right_flip_shadow< + string label = "Right flip shadow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos=v_in.uv; + float shadow = 1.0; + if(pos.x < left_side_width){ + pos.y -= 0.5; + pos.y /= left_side_size; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width / 2.0; + pos.x /= left_side_size; + pos.x += left_side_width + left_flip_width / 2.0; + shadow = left_side_shadow; + }else if(pos.x < left_side_width + left_flip_width){ + float factor = 1.0 - ((left_side_width + left_flip_width)-pos.x)/left_flip_width*(1.0 - left_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= left_side_width + left_flip_width; + pos.x /= factor; + pos.x += left_side_width + left_flip_width; + shadow = left_flip_shadow; + } + + if(1.0 - pos.x < right_side_width){ + pos.y -= 0.5; + pos.y /= right_side_size; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width / 2.0); + pos.x /= right_side_size; + pos.x += 1.0 - (right_side_width + right_flip_width / 2.0); + shadow = right_side_shadow; + }else if(1.0 - pos.x < right_side_width + right_flip_width){ + float factor = 1.0 - ((right_side_width + right_flip_width) - (1.0 - pos.x))/right_flip_width*(1.0 - right_side_size); + pos.y -= 0.5; + pos.y /= factor; + pos.y += 0.5; + pos.x -= 1.0 - (right_side_width + right_flip_width); + pos.x /= factor; + pos.x += 1.0 -(right_side_width + right_flip_width); + shadow = right_flip_shadow; + } + float4 p_color = image.Sample(textureSampler, pos); + p_color.rgb *= shadow; + return p_color; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFadeTransitionShader { + +[Alias('Set-OBSFadeTransitionShader','Add-OBSFadeTransitionShader')] +param( +# Set the image_a of OBSFadeTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBSFadeTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBSFadeTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSFadeTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fade-transition' +$ShaderNoun = 'OBSFadeTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time< + string label = "Transittion Time"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform bool convert_linear = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 a_val = image_a.Sample(textureSampler, v_in.uv); + float4 b_val = image_b.Sample(textureSampler, v_in.uv); + float4 rgba = lerp(a_val, b_val, transition_time); + if(convert_linear) + rgba.rgb = srgb_nonlinear_to_linear(rgba.rgb); + return rgba; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFillColorGradientShader { + +[Alias('Set-OBSFillColorGradientShader','Add-OBSFillColorGradientShader')] +param( +# Set the Fill of OBSFillColorGradientShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Gradient_Width of OBSFillColorGradientShader +[Alias('Gradient_Width')] +[ComponentModel.DefaultBindingProperty('Gradient_Width')] +[Single] +$GradientWidth, +# Set the Gradient_Offset of OBSFillColorGradientShader +[Alias('Gradient_Offset')] +[ComponentModel.DefaultBindingProperty('Gradient_Offset')] +[Single] +$GradientOffset, +# Set the Fill_Direction of OBSFillColorGradientShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill_Color of OBSFillColorGradientShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fill_color_gradient' +$ShaderNoun = 'OBSFillColorGradientShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 1; + float step = 0.005; +> = 0.500; + +uniform float Gradient_Width< + string label = "Gradient Width"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 0.15; // Adjust the maximum value as needed + float step = 0.01; +> = 0.05; + +uniform float Gradient_Offset< + string label = "Gradient Offset"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 0.100; // Adjust the maximum value as needed + float step = 0.005; +> = 0.00; + +uniform int Fill_Direction< + string label = "Fill from:"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Left"; + int option_1_value = 1; + string option_1_label = "Right"; + int option_2_value = 2; + string option_2_label = "Bottom"; + int option_3_value = 3; + string option_3_label = "Top"; +> = 0; + +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + float distanceToEdge = 0.0; + + // Calculate distance to the fill edge based on the selected direction + if (Fill_Direction == 0) + distanceToEdge = Fill - v_in.uv.x; + else if (Fill_Direction == 1) + distanceToEdge = v_in.uv.x - (1.0 - Fill); + else if (Fill_Direction == 2) + distanceToEdge = v_in.uv.y - (1.0 - Fill); + else if (Fill_Direction == 3) + distanceToEdge = Fill - v_in.uv.y; + + // Calculate the gradient factor based on the distance to the edge and the gradient width + float gradientOffset = (Fill == 0.0) ? 0.0 : (Fill == 1.0 ? 0.0 : Gradient_Offset); + float gradientWidth = (Fill == 0.0 || Fill == 1.0) ? 0.0 : Gradient_Width; + + // Adjust distanceToEdge by the Gradient_Offset + distanceToEdge += gradientOffset; + + // Normalize the distance to be between 0 and 1 + distanceToEdge = saturate(distanceToEdge); + + // float gradientWidth = Fill < 1.0 ? Gradient_Width : Gradient_Width * (1.0 - Fill); + // float gradientFactor = smoothstep(0.0, gradientWidth, distanceToEdge); + float gradientFactor = clamp(distanceToEdge / gradientWidth, 0.0, 1.0); + + // Blend between the fill color and the original image color using the gradient factor + float4 finalColor = lerp(image.Sample(textureSampler, v_in.uv), Fill_Color, gradientFactor); + + return finalColor; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFillColorLinearShader { + +[Alias('Set-OBSFillColorLinearShader','Add-OBSFillColorLinearShader')] +param( +# Set the Fill of OBSFillColorLinearShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Fill_Direction of OBSFillColorLinearShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill_Color of OBSFillColorLinearShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fill_color_linear' +$ShaderNoun = 'OBSFillColorLinearShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 1; + float step = 0.005; +>; +uniform int Fill_Direction< + string label = "Fill from:"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Left"; + int option_1_value = 1; + string option_1_label = "Right"; + int option_2_value = 2; + string option_2_label = "Top"; + int option_3_value = 3; + string option_3_label = "Bottom"; +> = 0; +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + bool is_inside_fill = true; + + // Check if the pixel is within the specified "fill width" on the left side + if(Fill_Direction == 0){ + is_inside_fill = v_in.uv.x > Fill; + } + if(Fill_Direction == 1) + { + is_inside_fill = v_in.uv.x < (1.0 - Fill); + } + if(Fill_Direction == 2) + { + is_inside_fill = v_in.uv.y > Fill; + } + if(Fill_Direction == 3) + { + is_inside_fill = v_in.uv.y < (1.0 - Fill); + } + + // Invert is_inside_fill + is_inside_fill = !is_inside_fill; + + // If inside the "fill," make the pixel selected colour; otherwise, use the original image color + return is_inside_fill ? Fill_Color : image.Sample(textureSampler, v_in.uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFillColorRadialDegreesShader { + +[Alias('Set-OBSFillColorRadialDegreesShader','Add-OBSFillColorRadialDegreesShader')] +param( +# Set the Fill_Direction of OBSFillColorRadialDegreesShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill of OBSFillColorRadialDegreesShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Start_Angle of OBSFillColorRadialDegreesShader +[Alias('Start_Angle')] +[ComponentModel.DefaultBindingProperty('Start_Angle')] +[Single] +$StartAngle, +# Set the Offset_X of OBSFillColorRadialDegreesShader +[Alias('Offset_X')] +[ComponentModel.DefaultBindingProperty('Offset_X')] +[Single] +$OffsetX, +# Set the Offset_Y of OBSFillColorRadialDegreesShader +[Alias('Offset_Y')] +[ComponentModel.DefaultBindingProperty('Offset_Y')] +[Single] +$OffsetY, +# Set the Fill_Color of OBSFillColorRadialDegreesShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fill_color_radial_degrees' +$ShaderNoun = 'OBSFillColorRadialDegreesShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.141592653589793238 + +uniform int Fill_Direction< + string label = "Fill Direction"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Clockwise"; + int option_1_value = 1; + string option_1_label = "Counter-Clockwise"; +> = 0; + +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 360; + float step = 1.00000; +>; + +uniform float Start_Angle< + string label = "Start Angle"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 720; + float step = 1.00000; +> = 360.0; + +uniform float Offset_X< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float Offset_Y< + string label = "Offset Y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + // Calculate the center of the screen based on aspect ratio + float aspectRatioX = uv_size.x / uv_size.y; + float2 center = float2(0.5 * aspectRatioX + Offset_X, 0.5 + Offset_Y); + + // Normalize the UV coordinates based on aspect ratio + float2 normalizedUV = v_in.uv * float2(aspectRatioX, 1.0); + + // Calculate the direction vector from the center to the current pixel + float2 dir = normalizedUV - center; + + // Calculate the angle in radians + float angle = atan2(dir.y, dir.x); + + // Convert angle from radians to degrees + angle = degrees(angle); + + // Offset the angle to start from the specified starting angle + angle += Start_Angle + 90.0; // Subtract 90 degrees to start at 12 o''clock + if (angle >= 360.0) + angle -= 360.0; + + // Adjust the angle based on the selected fill direction + if (Fill_Direction == 1) { + // Counter-clockwise fill + angle = 360.0 - angle; + } + + // Ensure angle is within [0, 360] range + if (angle < 0.0) + angle += 360.0; + else if (angle >= 360.0) + angle -= 360.0; + + // Check if the angle is within the specified "fill width" + bool is_inside_fill = angle < Fill; + + // If inside the "fill," make the pixel selected color; otherwise, use the original image color + return is_inside_fill ? Fill_Color : image.Sample(textureSampler, v_in.uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFillColorRadialPercentageShader { + +[Alias('Set-OBSFillColorRadialPercentageShader','Add-OBSFillColorRadialPercentageShader')] +param( +# Set the Fill_Direction of OBSFillColorRadialPercentageShader +[Alias('Fill_Direction')] +[ComponentModel.DefaultBindingProperty('Fill_Direction')] +[Int32] +$FillDirection, +# Set the Fill of OBSFillColorRadialPercentageShader +[ComponentModel.DefaultBindingProperty('Fill')] +[Single] +$Fill, +# Set the Start_Angle of OBSFillColorRadialPercentageShader +[Alias('Start_Angle')] +[ComponentModel.DefaultBindingProperty('Start_Angle')] +[Single] +$StartAngle, +# Set the Offset_X of OBSFillColorRadialPercentageShader +[Alias('Offset_X')] +[ComponentModel.DefaultBindingProperty('Offset_X')] +[Single] +$OffsetX, +# Set the Offset_Y of OBSFillColorRadialPercentageShader +[Alias('Offset_Y')] +[ComponentModel.DefaultBindingProperty('Offset_Y')] +[Single] +$OffsetY, +# Set the Fill_Color of OBSFillColorRadialPercentageShader +[Alias('Fill_Color')] +[ComponentModel.DefaultBindingProperty('Fill_Color')] +[String] +$FillColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fill_color_radial_percentage' +$ShaderNoun = 'OBSFillColorRadialPercentageShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.141592653589793238 + +uniform int Fill_Direction< + string label = "Fill Direction"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Clockwise"; + int option_1_value = 1; + string option_1_label = "Counter-Clockwise"; +> = 0; + +uniform float Fill< + string label = "Fill"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.00005; +> = 0.0; + +uniform float Start_Angle< + string label = "Start Angle"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 720; + float step = 1.00000; +> = 360.0; + +uniform float Offset_X< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float Offset_Y< + string label = "Offset Y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float4 Fill_Color; + +float4 mainImage(VertData v_in) : TARGET +{ + // Calculate the center of the screen based on aspect ratio + float aspectRatioX = uv_size.x / uv_size.y; + float2 center = float2(0.5 * aspectRatioX + Offset_X, 0.5 + Offset_Y); + + // Normalize the UV coordinates based on aspect ratio + float2 normalizedUV = v_in.uv * float2(aspectRatioX, 1.0); + + // Calculate the direction vector from the center to the current pixel + float2 dir = normalizedUV - center; + + // Calculate the angle in radians + float angle = atan2(dir.y, dir.x); + + // Convert angle from radians to degrees + angle = degrees(angle); + + // Offset the angle to start from the specified starting angle + angle += Start_Angle + 90.0; // Subtract 90 degrees to start at 12 o''clock + if (angle >= 360.0) + angle -= 360.0; + + // Adjust the angle based on the selected fill direction + if (Fill_Direction == 1) { + // Counter-clockwise fill + angle = 360.0 - angle; + } + + // Ensure angle is within [0, 360] range + if (angle < 0.0) + angle += 360.0; + else if (angle >= 360.0) + angle -= 360.0; + + // Calculate the percentage of the angle + float anglePercentage = angle / 360.0; + + // Check if the angle percentage is within the specified "fill percentage" + bool is_inside_fill = anglePercentage < Fill; + + // If inside the "fill," make the pixel selected color; otherwise, use the original image color + return is_inside_fill ? Fill_Color : image.Sample(textureSampler, v_in.uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFilterTemplateShader { + +[Alias('Set-OBSFilterTemplateShader','Add-OBSFilterTemplateShader')] +param( +# Set the ViewProj of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSFilterTemplateShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSFilterTemplateShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSFilterTemplateShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSFilterTemplateShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSFilterTemplateShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSFilterTemplateShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSFilterTemplateShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSFilterTemplateShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSFilterTemplateShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the notes of OBSFilterTemplateShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'filter_template' +$ShaderNoun = 'OBSFilterTemplateShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//My shader modified by Me for use with obs-shaderfilter month/year v.02 + +//Section to converting GLSL to HLSL - can delete if unneeded +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp +#define iTime float +#define iTime elapsed_time +#define iResolution float4(uv_size,uv_pixel_interval) + +/* +**Shaders have these variables pre loaded by the plugin** +**this section can be deleted** + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; +*/ +uniform string notes< + string widget_type = "info"; +> = "add notes here"; + + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +/* +**Shaders use the built in Draw technique** +**this section can be deleted** + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} +*/ + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFire3Shader { + +[Alias('Set-OBSFire3Shader','Add-OBSFire3Shader')] +param( +# Set the ViewProj of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSFire3Shader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSFire3Shader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSFire3Shader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSFire3Shader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSFire3Shader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSFire3Shader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSFire3Shader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSFire3Shader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSFire3Shader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the Movement_Direction_Horizontal of OBSFire3Shader +[Alias('Movement_Direction_Horizontal')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Horizontal')] +[Single] +$MovementDirectionHorizontal, +# Set the Movement_Direction_Vertical of OBSFire3Shader +[Alias('Movement_Direction_Vertical')] +[ComponentModel.DefaultBindingProperty('Movement_Direction_Vertical')] +[Single] +$MovementDirectionVertical, +# Set the Alpha_Percentage of OBSFire3Shader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Int32] +$AlphaPercentage, +# Set the Speed of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('Speed')] +[Int32] +$Speed, +# Set the Invert of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('Invert')] +[Management.Automation.SwitchParameter] +$Invert, +# Set the lumaMin of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSFire3Shader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Apply_To_Image of OBSFire3Shader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSFire3Shader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Color_To_Replace of OBSFire3Shader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the Apply_To_Specific_Color of OBSFire3Shader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Full_Width of OBSFire3Shader +[Alias('Full_Width')] +[ComponentModel.DefaultBindingProperty('Full_Width')] +[Management.Automation.SwitchParameter] +$FullWidth, +# Set the Flame_Size of OBSFire3Shader +[Alias('Flame_Size')] +[ComponentModel.DefaultBindingProperty('Flame_Size')] +[Single] +$FlameSize, +# Set the Spark_Grid_Height of OBSFire3Shader +[Alias('Spark_Grid_Height')] +[ComponentModel.DefaultBindingProperty('Spark_Grid_Height')] +[Single] +$SparkGridHeight, +# Set the Flame_Modifier of OBSFire3Shader +[Alias('Flame_Modifier')] +[ComponentModel.DefaultBindingProperty('Flame_Modifier')] +[Single] +$FlameModifier, +# Set the Flame_Tongue_Size of OBSFire3Shader +[Alias('Flame_Tongue_Size')] +[ComponentModel.DefaultBindingProperty('Flame_Tongue_Size')] +[Single] +$FlameTongueSize, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fire-3' +$ShaderNoun = 'OBSFire3Shader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//My effect modified by Me for use with obs-shaderfilter month/year v.02 +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +//Section to converting GLSL to HLSL - can delete +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp + + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; + +uniform float Movement_Direction_Horizontal< + string label = "Movement Direction Horizontal"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; +uniform float Movement_Direction_Vertical< + string label = "Movement Direction Vertical"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.01; +> = 0.0; + +#define iTime elapsed_time +#define iResolution float4(uv_size,uv_pixel_interval) +#define Movement_Direction float2(Movement_Direction_Horizontal, Movement_Direction_Vertical) + +uniform int Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform int Speed< + string label = "Speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 80; +uniform bool Invert = false; +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.04; +uniform bool Apply_To_Image = true; +uniform bool Replace_Image_Color = true; +uniform float4 Color_To_Replace; +uniform bool Apply_To_Specific_Color = false; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + float2 uv = v_in.uv; + if(Invert) + uv = 1.0 - v_in.uv; + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +int2 iMouse() +{ + return int2(Movement_Direction.x * uv_size.x, Movement_Direction.y * uv_size.y); +} + + +float mod(float x, float y) +{ + return x - y * floor(x / y); +} + +float2 mod2(float2 x, float2 y) +{ + return x - y * floor(x / y); +} + +/*ps start*/ +#define PI 3.1415926535897932384626433832795 +uniform bool Full_Width = false; + +uniform float Flame_Size< + string label = "Flame Size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; + +uniform float Spark_Grid_Height< + string label = "Spark Grid Size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; + +uniform float Flame_Modifier< + string label = "Flame Modifier"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float Flame_Tongue_Size< + string label = "Flame Tongue Size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 8.5; + +// +// Description : Array and textureless GLSL 2D/3D/4D simplex +// noise functions. +// Author : Ian McEwan, Ashima Arts. +// Maintainer : ijm +// Lastmod : 20110822 (ijm) +// License : Copyright (C) 2011 Ashima Arts. All rights reserved. +// Distributed under the MIT License. See LICENSE file. +// https://github.com/ashima/webgl-noise +// + +vec3 mod2893(vec3 x) +{ + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 mod289(vec4 x) +{ + return x - floor(x * (1.0 / 289.0)) * 289.0; +} + +vec4 permute(vec4 x) +{ + return mod289(((x * 34.0) + 1.0) * x); +} + +vec4 taylorInvSqrt(vec4 r) +{ + return 1.79284291400159 - 0.85373472095314 * r; +} + +float snoise(vec3 v) +{ + const vec2 C = vec2(1.0 / 6.0, 1.0 / 3.0); + const vec4 D = vec4(0.0, 0.5, 1.0, 2.0); + +// First corner + vec3 i = floor(v + dot(v, C.yyy)); + vec3 x0 = v - i + dot(i, C.xxx); + +// Other corners + vec3 g = step(x0.yzx, x0.xyz); + vec3 l = 1.0 - g; + vec3 i1 = min(g.xyz, l.zxy); + vec3 i2 = max(g.xyz, l.zxy); + + // x0 = x0 - 0.0 + 0.0 * C.xxx; + // x1 = x0 - i1 + 1.0 * C.xxx; + // x2 = x0 - i2 + 2.0 * C.xxx; + // x3 = x0 - 1.0 + 3.0 * C.xxx; + vec3 x1 = x0 - i1 + C.xxx; + vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y + vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y + +// Permutations + i = mod2893(i); + vec4 p = permute(permute(permute( + i.z + vec4(0.0, i1.z, i2.z, 1.0)) + + i.y + vec4(0.0, i1.y, i2.y, 1.0)) + + i.x + vec4(0.0, i1.x, i2.x, 1.0)); + +// Gradients: 7x7 points over a square, mapped onto an octahedron. +// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294) + float n_ = 0.142857142857; // 1.0/7.0 + vec3 ns = n_ * D.wyz - D.xzx; + + vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7) + + vec4 x_ = floor(j * ns.z); + vec4 y_ = floor(j - 7.0 * x_); // mod(j,N) + + vec4 x = x_ * ns.x + ns.yyyy; + vec4 y = y_ * ns.x + ns.yyyy; + vec4 h = 1.0 - abs(x) - abs(y); + + vec4 b0 = vec4(x.xy, y.xy); + vec4 b1 = vec4(x.zw, y.zw); + + //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0; + //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0; + vec4 s0 = floor(b0) * 2.0 + 1.0; + vec4 s1 = floor(b1) * 2.0 + 1.0; + vec4 sh = -step(h, vec4(0.0, 0.0, 0.0, 0.0)); + + vec4 a0 = b0.xzyw + s0.xzyw * sh.xxyy; + vec4 a1 = b1.xzyw + s1.xzyw * sh.zzww; + + vec3 p0 = vec3(a0.xy, h.x); + vec3 p1 = vec3(a0.zw, h.y); + vec3 p2 = vec3(a1.xy, h.z); + vec3 p3 = vec3(a1.zw, h.w); + +//Normalise gradients + //vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3))); + vec4 norm = rsqrt(vec4(dot(p0, p0), dot(p1, p1), dot(p2, p2), dot(p3, p3))); + p0 *= norm.x; + p1 *= norm.y; + p2 *= norm.z; + p3 *= norm.w; + +// Mix final noise value + vec4 m = max(0.6 - vec4(dot(x0, x0), dot(x1, x1), dot(x2, x2), dot(x3, x3)), 0.0); + m = m * m; + return 42.0 * dot(m * m, vec4(dot(p0, x0), dot(p1, x1), dot(p2, x2), dot(p3, x3))); +} + +////////////////////////////////////////////////////////////// + +// PRNG +// From https://www.shadertoy.com/view/4djSRW +float prng(in vec2 seed) +{ + seed = fract(seed * vec2(5.3983, 5.4427)); + seed += dot(seed.yx, seed.xy + vec2(21.5351, 14.3137)); + return fract(seed.x * seed.y * 95.4337); +} + +////////////////////////////////////////////////////////////// + +float noiseStack(vec3 pos, int octaves, float falloff) +{ + float noise = snoise(vec3(pos)); + float off = 1.0; + if (octaves > 1) + { + pos *= 2.0; + off *= falloff; + noise = (1.0 - off) * noise + off * snoise(vec3(pos)); + } + if (octaves > 2) + { + pos *= 2.0; + off *= falloff; + noise = (1.0 - off) * noise + off * snoise(vec3(pos)); + } + if (octaves > 3) + { + pos *= 2.0; + off *= falloff; + noise = (1.0 - off) * noise + off * snoise(vec3(pos)); + } + return (1.0 + noise) / 2.0; +} + +vec2 noiseStackUV(vec3 pos, int octaves, float falloff, float diff) +{ + float displaceA = noiseStack(pos, octaves, falloff); + float displaceB = noiseStack(pos + vec3(3984.293, 423.21, 5235.19), octaves, falloff); + return vec2(displaceA, displaceB); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 UV = (1.0 - v_in.uv) * uv_scale; + if (Invert) + UV = v_in.uv * uv_scale; + float alpha = saturate(Alpha_Percentage * .01); + float flame_size = clamp(Flame_Size * .01, 0.0, 4.0); + + vec2 resolution = (.25 * uv_scale * UV.xy) + (0.75 * uv_scale); + if (Full_Width) + { + resolution = (2.0 * (UV.xy)) / 1.0; //iResolution.xy; + + } + resolution.x = mul(resolution.x, 1 / 1); + float time = iTime * (Speed * 0.01); + //vec2 drag = iMouse().xy; + vec2 offset = iMouse().xy; + // + float xpart = UV.x / resolution.x; + float ypart = UV.y / resolution.y; + // + + float ypartClip = UV.y / ( flame_size * 75.0); + float ypartClippedFalloff = clamp(2.0 - ypartClip, 0.0, 1.0); + float ypartClipped = min(ypartClip, 1.0); + float ypartClippedn = (1 - ypartClipped); + // + float xfuel = pow(1.0 - abs(2.0 * xpart - 1.0), 0.5); //pow(1.0-abs(2.0*xpart-1.0),0.5); + // + float timeSpeed = 0.5 * (Speed * 0.01); + float realTime = -1.0 * timeSpeed * time; + // + vec2 coordScaled = -1 * Flame_Tongue_Size * UV - 0.1 * offset; + vec3 position = vec3(coordScaled, 0.0); // +vec3(1223.0, 6434.0, 8425.0); + vec3 flow = vec3(4.1 * (0.5 - xpart) * pow(ypartClippedn, 4.0), -2.0 * xfuel * pow(ypartClippedn, 64.0), 0.0); + vec3 timing = realTime * vec3(0.0, -1.7, 1.1) + flow; + // + vec3 displacePos = vec3(1.0, 0.5, 1.0) * 2.4 * position + realTime * vec3(0.01, -0.7, 1.3); + vec3 displace3 = vec3(noiseStackUV(displacePos, 2, 0.4, 0.1), 0.0); + // + vec3 noiseCoord = (vec3(2.0, 1.0, 1.0) * position + timing + 0.4 * displace3) / 1.0; + float noise = noiseStack(noiseCoord, 3, 0.4); + // + float flames = pow(ypartClipped, 0.3 * xfuel) * pow(noise, 0.3 * xfuel); + // + float f = ypartClippedFalloff * pow(Flame_Modifier - flames * flames * flames, 8.0); + float fff = f * f * f; + vec3 fire = 1.5 * vec3(f, fff, fff * fff); + // + // smoke + float smokeNoise = 0.5 + snoise(0.4 * position + timing * vec3(1.0, 1.0, 0.2)) / 2.0; + float smokePart = 0.3 * pow(xfuel, 3.0) * pow(ypart, 2.0) * (smokeNoise + 0.4 * (1.0 - noise)); + vec3 smoke = vec3(smokePart, smokePart, smokePart); + // + // sparks + float sparkGridSize = Spark_Grid_Height; + vec2 sparkCoord = UV *uv_size - vec2(2.0 * offset.x, 190.0 * sin(realTime)); + sparkCoord -= 30.0 * noiseStackUV(0.01 * vec3(sparkCoord, 15.0 * time), 1, 0.4, 0.1); + sparkCoord += 100.0 * flow.xy; + if (mod(sparkCoord.y / sparkGridSize, 2.0) < 1.0) + sparkCoord.x += 0.5 * sparkGridSize; + vec2 sparkGridIndex = vec2(floor(sparkCoord / sparkGridSize)); + float sparkRandom = prng( sparkGridIndex); + float sparkLife = min(10.0 * (1.0 - min((sparkGridIndex.y + (190.0 * realTime / sparkGridSize)) / (24.0 - 20.0 * sparkRandom), 1.0)), 1.0); + vec3 sparks = vec3(0.0, 0.0, 0.0); + if (sparkLife > 0.0) + { + float sparkSize = xfuel * xfuel * sparkRandom * 0.08; + float sparkRadians = 999.0 * sparkRandom * 2.0 * PI + 2.0 * time; + vec2 sparkCircular = vec2(sin(sparkRadians), cos(sparkRadians)); + vec2 sparkOffset = (0.5 - sparkSize) * sparkGridSize * sparkCircular; + vec2 sparkModulus = mod2(sparkCoord + sparkOffset, float2(sparkGridSize, sparkGridSize)) - 0.5 * float2(sparkGridSize, sparkGridSize); + float sparkLength = length(sparkModulus); + float sparksGray = max(0.0, 1.0 - sparkLength / (sparkSize * sparkGridSize)); + sparks = sparkLife * sparksGray * vec3(1.0, 0.3, 0.0); + } + // + float4 rgba = vec4(max(fire, sparks) + smoke, 1.0); + + // remove dark areas per user + float luma_fire = dot(rgba.rgb, float3(0.299, 0.587, 0.114)); + float luma_min_fire = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma_fire); + rgba.a = clamp(luma_min_fire, 0.0, alpha); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + float4 color = image.Sample(textureSampler, v_in.uv); + float4 original_color = color; + if (color.a > 0.0) + { + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, lerp(original_color,rgba * color,rgba.a), alpha); + } + else + { + rgba = color; + } + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, alpha); + } + + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFireShader { + +[Alias('Set-OBSFireShader','Add-OBSFireShader')] +param( +# Set the Alpha_Percentage of OBSFireShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Int32] +$AlphaPercentage, +# Set the Speed of OBSFireShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Int32] +$Speed, +# Set the Flame_Size of OBSFireShader +[Alias('Flame_Size')] +[ComponentModel.DefaultBindingProperty('Flame_Size')] +[Int32] +$FlameSize, +# Set the Fire_Type of OBSFireShader +[Alias('Fire_Type')] +[ComponentModel.DefaultBindingProperty('Fire_Type')] +[Int32] +$FireType, +# Set the Invert of OBSFireShader +[ComponentModel.DefaultBindingProperty('Invert')] +[Management.Automation.SwitchParameter] +$Invert, +# Set the lumaMin of OBSFireShader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSFireShader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Apply_To_Image of OBSFireShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSFireShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSFireShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSFireShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the Notes of OBSFireShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fire' +$ShaderNoun = 'OBSFireShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//fire shader modified by Charles Fettinger for use with obs-shaderfilter 07/20 v.6 +// https://github.com/Oncorporation/obs-shaderfilter plugin +// https://www.shadertoy.com/view/MtcGD7 original version +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +//v.5 +// flicker +// flame type +// apply to image +// replace image color +// speed +// flame size +// alpha +// invert direction/position + + +//Section to converting GLSL to HLSL - can delete +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp + +uniform int Alpha_Percentage< + string label = "Aplha Percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform int Speed< + string label = "Speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +> = 100; +uniform int Flame_Size< + string label = "Flame Size"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +> = 70; +uniform int Fire_Type< + string label = "Fire Type"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Smaller and more whisps"; + int option_1_value = 1; + string option_1_label = "Larger and more volume"; +> = 1; + +uniform bool Invert < + string name = "Invert"; +> = false; +uniform float lumaMin< + string label = "Luma min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma min smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.04; +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string Notes< + string widget_type = "info"; +> = "Luma cuts reveals background, flame size is percentage screen size, Alpha Percentage adjusts color"; + +vec3 rgb2hsv(vec3 c) +{ + vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g)); + vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r)); + + float d = q.x - min(q.w, q.y); + float e = 1.0e-10; + return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); +} + +vec3 hsv2rgb(vec3 c) +{ + vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y); +} + +float rand(vec2 n) +{ + return fract(sin(cos(dot(n, vec2(12.9898, 12.1414)))) * 83758.5453); + //return sin(rand_f, n); +} + +float noise(vec2 n) +{ + const vec2 d = vec2(0.0, 1.0); + vec2 b = floor(n), f = smoothstep(vec2(0.0, 0.0), vec2(1.0, 1.0), fract(n)); + return mix(mix(rand(b), rand(b + d.yx), f.x), mix(rand(b + d.xy), rand(b + d.yy), f.x), f.y); +} + +float fbm(vec2 n) +{ + float total = 0.0, amplitude = 1.0; + for (int i = 0; i < 5; i++) + { + total += noise(n) * amplitude; + n += n * 1.7; + amplitude *= 0.47; + } + return total; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 iResolution = uv_scale; + float flame_size = clamp(Flame_Size * .01,-5,5); + + // inverting direction is logically inverted to allow the bottom up to be normal + float fire_base = (v_in.uv.y / iResolution.y); + float2 fire_pix = v_in.uv.xy + float2(flame_size -1,0); + float direction = -1.0 * clamp(Speed*.01,-5,5); + if (!Invert) + { + direction *= -1.0; + fire_base = 1 - fire_base; + fire_pix = 1 - fire_pix; + } + float iTime = direction * elapsed_time; + + const vec3 c1 = vec3(0.5, 0.0, 0.1); + const vec3 c2 = vec3(0.9, 0.1, 0.0); + const vec3 c3 = vec3(0.2, 0.1, 0.7); + const vec3 c4 = vec3(1.0, 0.9, 0.1); + const vec3 c5 = vec3(0.1, 0.1, 0.1); + const vec3 c6 = vec3(0.9, 0.9, 0.9); + + vec2 speed = vec2(1.2, 0.1) * clamp(Speed*.01,-5,5); + float shift = 1.327 * (1/flame_size) - sin(iTime * 2.0) / 2.4; + float alpha = saturate(Alpha_Percentage * .01); + + //change the constant term for all kinds of cool distance versions, + //make plus/minus to switch between + //ground fire and fire rain! + float dist = 3.5 - sin(iTime * 0.4) / 1.89; + + vec2 p = fire_pix * dist / iResolution.xx; + p.x -= iTime / 1.1; + float3 black = float3(0,0,0); + vec3 fire; + + if (Fire_Type == 1) + { + //fire version 1 larger and more volume + float q = fbm(p - iTime * 0.01 + 1.0 * sin(iTime) / 10.0); + float qb = fbm(p - iTime * 0.002 + 0.1 * cos(iTime) / 5.0); + float q2 = fbm(p - iTime * 0.44 - 5.0 * cos(iTime) / 7.0) -6.0; + float q3 = fbm(p - iTime * 0.9 - 10.0 * cos(iTime) / 30.0) -4.0; + float q4 = fbm(p - iTime * 2.0 - 20.0 * sin(iTime) / 20.0) +2.0; + q = (q + qb - .4 * q2 - 2.0 * q3 + .6 * q4) / 3.8; + + vec2 r = vec2(fbm(p + q / 2.0 - iTime* speed.x - p.x - p.y), + fbm(p - q - iTime* speed.y)) ; + vec3 c = mix(c1, c2, fbm(p + r)) + mix(c3, c4, r.x) - mix(c5, c6, r.y); + fire = vec3(c * max(cos(shift * fire_base) - (rand_f *.05),0.05)); + + fire += .05; + fire.r *= .8; + vec3 hsv = rgb2hsv(fire); + hsv.y *= hsv.z * 1.1; + hsv.z *= hsv.y * 1.13; + hsv.y = (2.2 - hsv.z * .9) * 1.20; + fire = hsv2rgb(hsv); + } + else + { + // fire version 0 - smaller and more whisps + p += (rand_f *.01); + float q = fbm(p - iTime * 0.3+1.0*sin(iTime+0.5)/2.0); + float qb = fbm(p - iTime * 0.4+0.1*cos(iTime)/2.0); + float q2 = fbm(p - iTime * 0.44 - 5.0*cos(iTime)/2.0) - 6.0; + float q3 = fbm(p - iTime * 0.9 - 10.0*cos(iTime)/15.0)-4.0; + float q4 = fbm(p - iTime * 1.4 - 20.0*sin(iTime)/14.0)+2.0; + q = (q + qb - .4 * q2 -2.0*q3 + .6*q4)/3.8; + + vec2 r = vec2(fbm(p + q /2.0 + iTime * speed.x - p.x - p.y), + fbm(p + q - iTime * speed.y)) * shift; + vec3 c = mix(c1, c2, fbm(p + r)) + mix(c3, c4, r.x) - mix(c5, c6, r.y); + //fire = vec3(1.0/(pow(c+1.61,vec3(4.0,4.0,4.0))) * max(cos(shift * fire_base),0)); + + fire = vec3(1.0,.2,.05)/(pow((r.y+r.y)* max(.0,p.y)+0.1, 4.0)) ;//* max(.1,(cos(shift * fire_base))); + fire += (black*0.01*pow((r.y+r.y)*.65,5.0)+0.055)*mix( vec3(.9,.4,.3),vec3(.7,.5,.2), v_in.uv.y); + fire = fire/(1.0+max(black,fire)); + } + float4 rgba = vec4(fire.x, fire.y, fire.z, alpha); + + // remove dark areas per user + float luma_fire = dot(rgba.rgb,float3(0.299,0.587,0.114)); + float luma_min_fire = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma_fire); + rgba.a = clamp(luma_min_fire,0.0,alpha); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + if (color.a > 0.0) + { + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, lerp(original_color,rgba * color,rgba.a), alpha); + } + else + { + rgba = color; + } + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, alpha); + } + return rgba; +} + + + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFireworks2Shader { + +[Alias('Set-OBSFireworks2Shader','Add-OBSFireworks2Shader')] +param( +# Set the Speed of OBSFireworks2Shader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fireworks2' +$ShaderNoun = 'OBSFireworks2Shader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// based on https://www.shadertoy.com/view/4dBGRw + +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 1.0; +> = 100.0; + +#ifndef OPENGL +#define mat2 float2x2 +#define mix lerp +float mod(float x, float y) +{ + return x - y * floor(x / y); +} +#endif +//Creates a diagonal red-and-white striped pattern. +float3 barberpole(float2 pos, float2 rocketpos){ + float d = (pos.x-rocketpos.x)+(pos.y-rocketpos.y); + float3 col=float3(1.0,1.0,1.0); + + d = mod(d*20.,2.0); + if(d>1.0){ + col=float3(1.0,0.0,0.0); + } + return col; +} + +float4 rocket(float2 pos, float2 rocketpos){ + float4 col = float4(0.0,0.0,0.0,0.0); + float f = 0.; + float absx= abs(rocketpos.x - pos.x); + float absy = abs(rocketpos.y-pos.y); + //wooden stick + if(absx<0.01&&absy<0.22){ + col=float4(1.0,0.5,0.5,1.0); + } + + //Barberpole + + if(absx<0.05&&absy<0.15){ + col=float4(barberpole(pos, rocketpos),1.0); + } + //Rocket Point + float pointw=(rocketpos.y-pos.y-0.25)*-0.7; + if((rocketpos.y-pos.y)>0.1){ + f=smoothstep(pointw-0.001,pointw+0.001,absx); + + col=mix(float4(1.0,0.0,0.0,1.0),col, f); + } + //Shadow + + f =-.5 + smoothstep(-0.05, 0.05, (rocketpos.x-pos.x)); + col.rgb *= 0.7+f; + + return col; +} + + + +float rand(float val, float seed){ + return cos(val*sin(val*seed)*seed); +} + +float distance2( in float2 a, in float2 b ) { return dot(a-b,a-b); } + + + +float4 drawParticles(float2 pos, float3 particolor, float time, float2 cpos, float gravity, float seed, float timelength){ + float4 col= float4(0.0,0.0,0.0,0.0); + float2 pp = float2(1.0,0.0); + mat2 rr = mat2( cos(1.0), -sin(1.0), sin(1.0), cos(1.0) ); + for(float i=1.0;i<=128.0;i++){ + float d=rand(i, seed); + float fade=(i/128.0)*time; + float2 particpos = cpos + time*pp*d; + pp = mul(rr,pp); + col.rgb = mix(particolor/fade, col, smoothstep(0.0, 0.0001, distance2(particpos, pos))); + } + col.rgb*=smoothstep(0.0,1.0,(timelength-time)/timelength); + col.a = col.r+col.g+col.b; + return col; +} +float4 drawFireworks(float time, float2 uv, float3 particolor, float seed){ + + float timeoffset = 2.0; + float4 col=float4(0.0,0.0,0.0,0.0); + if(time<=0.){ + return col; + } + time *= Speed /100.0; + if(mod(time, 6.0)>timeoffset){ + col= drawParticles(uv, particolor, mod(time, 6.0)-timeoffset, float2(rand(ceil(time/6.0),seed),-0.5), 0.5, ceil(time/6.0), seed); + }else{ + + col= rocket(uv*3., float2(3.*rand(ceil(time/6.0),seed),3.*(-0.5+(timeoffset-mod(time, 6.0))))); + } + return col; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv =float2(1.0,1.0) - 2.0* v_in.uv; + uv.y = -uv.y; + uv.x *= uv_size.x/uv_size.y; + float4 col = image.Sample(textureSampler, v_in.uv); + //col.rgb += 0.1*uv.y; + float4 c; + c = drawFireworks(elapsed_time , uv,float3(1.0,0.1,0.1), 1.); + col = mix(col, c, c.a); + c = drawFireworks(elapsed_time-2.0, uv,float3(0.0,1.0,0.5), 2.); + col = mix(col, c, c.a); + c = drawFireworks(elapsed_time-4.0, uv,float3(1.0,1.0,0.1), 3.); + col = mix(col, c, c.a); + + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFireworksShader { + +[Alias('Set-OBSFireworksShader','Add-OBSFireworksShader')] +param( +# Set the show_flash of OBSFireworksShader +[Alias('show_flash')] +[ComponentModel.DefaultBindingProperty('show_flash')] +[Management.Automation.SwitchParameter] +$ShowFlash, +# Set the show_stars of OBSFireworksShader +[Alias('show_stars')] +[ComponentModel.DefaultBindingProperty('show_stars')] +[Management.Automation.SwitchParameter] +$ShowStars, +# Set the use_transparancy of OBSFireworksShader +[Alias('use_transparancy')] +[ComponentModel.DefaultBindingProperty('use_transparancy')] +[Management.Automation.SwitchParameter] +$UseTransparancy, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fireworks' +$ShaderNoun = 'OBSFireworksShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#ifndef OPENGL +#define mat2 float2x2 +#define fract frac +#define mix lerp +#endif + +uniform bool show_flash = true; +uniform bool show_stars = true; +uniform bool use_transparancy = true; + +float distLine(float2 p, float2 a, float2 b) { + float2 pa = p - a; + float2 ba = b - a; + float t = clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0); + return length(pa - ba * t); +} + +float linef(float2 uv, float2 a, float2 b, float w) { + //return smoothstep(w, w - 0.01, distLine(uv, a, b)); + return w / distLine(uv, a, b); +} + +float N21(float2 p) { + p = fract(p * float2(233.34, 851.73)); + p += dot(p, p + 23.45); + return fract(p.x * p.y); +} + +float2 N22(float2 p) { + float n = N21(p); + return float2(n, N21(p + n)); +} + +float N11(float n) { + return fract(sin(dot(float2(cos(n), sin(n)) ,float2(27.9898, 38.233))) * 88.5453); +} + +float particle(float2 uv, float2 p, float2 v, float r, float t) { + float g = -9.81; + float x = p.x + v.x * t; + float y = p.y + v.y * t + g / 2.0 * t * t; + float2 j = (float2(x, y) - uv) * 20.0; + float sparkle = 1.0 / dot(j, j); + return sparkle; +} + +float2 p1(float2 p, float h, float t) { + return float2(p.x, p.y + clamp(pow(t, 5.0), 0.0, h)); +} + +float2 p2(float2 p, float h, float t) { + return float2(p.x, p.y + clamp(pow(0.95 * t, 5.0), 0.0, h)); +} + +float endTime(float h) { + return pow(h, 1.0 / 5.0) * 1.1; +} + +float explosion(float2 uv, float2 p, float s, float n, float f, float t) { + + float m = 0.0; + float dt = 0.5; + float seed2 = 0.32; + for(float i = 0.0; i < n; i++) { + seed2 += i; + float2 rand = float2(1.0, 2.0) * (float2(-1.0, 1.0) + 2.0 * N22(float2(seed2, i))); + float2 v = float2(cos(seed2), sin(seed2)) + rand; + m += particle(uv, p, v, s, t) * smoothstep(2.0, 2.0 - dt, t) * smoothstep(0.0, dt, t); + } + return m; +} + +float fireworks(float2 uv, float2 p, float h, float n, float s, float f, float t) { + float2 p1v = p1(p, h, t); + float e = endTime(h); + return explosion(uv, p1v, s, n, f, t - e * 0.9); +} + +float shaft(float2 uv, float2 p, float w, float h, float t) { + float2 p1v = p1(p, h, t) + float2(0.0, 0.3); + float2 p2v = p2(p, h, t); + float e = 1.0 / 0.95 * endTime(h); + float2 j = (p1v - uv) * 15.0; + float sparkle = 1.0 / dot(j, j); + return (linef(uv, p1v, p2v, w) + sparkle) * smoothstep(e, e - 0.5, t) * 0.5; +} + +float3 base(float2 uv) { + return 0.5 + 0.5 * cos(elapsed_time + uv.xyx + float3(0, 2, 4)); +} + +float back(float2 uv, float2 p, float t) { + float dt = 0.3; + float j = length(p - uv); + float m = exp(-0.005 * j * j); + return 0.2 * m * smoothstep(-dt / 4.0, 0.0, t) * smoothstep(dt, 0.0, t); +} + +float stars(float2 uv) { + float r = N21(uv); + return smoothstep(0.001, 0.0, r); +} + +float mod(float x, float y) +{ + return x - y * floor(x / y); +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv - float2(0.5,0.5); + uv.y = uv.y * -1; + float t = elapsed_time / 10.0; + float scale = 10.0; + uv *= scale; + // + float4 col = image.Sample(textureSampler, v_in.uv); + if(show_stars){ + float c = stars(uv); + if(use_transparancy){ + col += float4(c,c,c,c)*(1.0-col.a); + }else{ + col += float4(c,c,c,c);//*(1.0-orig_col.a); + } + + } + + float a = -0.035 * sin(t * 15.0); + float co = cos(a); + float si = sin(a); + mat2 trans1 = mat2(float2(co, si), float2(-si, co)); + float2 trans2 = float2(-15.0 * a, 0.0); +#ifndef OPENGL + uv = mul(uv, trans1); +#else + uv *= trans1; +#endif + uv += trans2; + + for(float i = 0.0; i < 1.0; i += 1.0 / 8.0) { + float ti = mod(t * 9.0 - i * 5.0, 4.0); + float scale = mix(2.0, 0.3, ti / 4.0); + float2 uvs = uv * scale; + float rand = N11(i); + float h = 10.0 + rand * 4.0; + float w = 0.02; + float n = 80.0; + float s = 0.9; + float f = 1.5; + float2 p = float2(mix(-8.0, 8.0, rand), -10.0); + float fw = fireworks(uvs, p, h, n, s, f, ti); + float3 bc = base(uv); + col += float4(bc*fw, fw); + col += shaft(uvs, p, w, h, ti); + if(show_flash){ + if(use_transparancy){ + col += back(uvs, float2(p.x, p.y + h), ti - 1.8)*col.a; + }else{ + col += back(uvs, float2(p.x, p.y + h), ti - 1.8); + } + } + } + + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFisheyeShader { + +[Alias('Set-OBSFisheyeShader','Add-OBSFisheyeShader')] +param( +# Set the center_x_percent of OBSFisheyeShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Single] +$CenterXPercent, +# Set the center_y_percent of OBSFisheyeShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Single] +$CenterYPercent, +# Set the power of OBSFisheyeShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fisheye' +$ShaderNoun = 'OBSFisheyeShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float center_x_percent< + string label = "Center x percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float center_y_percent< + string label = "Center y percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float power< + string label = "Power"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.75; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + if (power >= 0.0001){ + float b = sqrt(dot(center_pos, center_pos)); + uv = center_pos + normalize(v_in.uv - center_pos) * tan(distance(center_pos, v_in.uv) * power) * b / tan( b * power); + } else if(power <= -0.0001){ + float b; + if (uv_pixel_interval.x < uv_pixel_interval.y){ + b = center_pos.x; + } else { + b = center_pos.y; + } + uv = center_pos + normalize(v_in.uv - center_pos) * atan(distance(center_pos, v_in.uv) * -power * 10.0) * b / atan(-power * b * 10.0); + } + return image.Sample(textureSampler, uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFisheyeXyShader { + +[Alias('Set-OBSFisheyeXyShader','Add-OBSFisheyeXyShader')] +param( +# Set the center_x_percent of OBSFisheyeXyShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Single] +$CenterXPercent, +# Set the center_y_percent of OBSFisheyeXyShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Single] +$CenterYPercent, +# Set the power_x of OBSFisheyeXyShader +[Alias('power_x')] +[ComponentModel.DefaultBindingProperty('power_x')] +[Single] +$PowerX, +# Set the power_y of OBSFisheyeXyShader +[Alias('power_y')] +[ComponentModel.DefaultBindingProperty('power_y')] +[Single] +$PowerY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'fisheye-xy' +$ShaderNoun = 'OBSFisheyeXyShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float center_x_percent< + string label = "Center x percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float center_y_percent< + string label = "Center y percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 50.0; +uniform float power_x< + string label = "Power x"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.75; +uniform float power_y< + string label = "Power y"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.75; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + if (power_x >= 0.0001){ + float b = sqrt(dot(center_pos, center_pos)); + uv.x = (center_pos + normalize(v_in.uv - center_pos) * tan(distance(center_pos, v_in.uv) * power_x) * b / tan( b * power_x)).x; + } else if(power_x <= -0.0001){ + float b; + if (uv_pixel_interval.x < uv_pixel_interval.y){ + b = center_pos.x; + } else { + b = center_pos.y; + } + uv.x = (center_pos + normalize(v_in.uv - center_pos) * atan(distance(center_pos, v_in.uv) * -power_x * 10.0) * b / atan(-power_x * b * 10.0)).x; + } + if (power_y >= 0.0001){ + float b = sqrt(dot(center_pos, center_pos)); + uv.y = (center_pos + normalize(v_in.uv - center_pos) * tan(distance(center_pos, v_in.uv) * power_y) * b / tan( b * power_y)).y; + } else if(power_y <= -0.0001){ + float b; + if (uv_pixel_interval.x < uv_pixel_interval.y){ + b = center_pos.x; + } else { + b = center_pos.y; + } + uv.y = (center_pos + normalize(v_in.uv - center_pos) * atan(distance(center_pos, v_in.uv) * -power_y * 10.0) * b / atan(-power_y * b * 10.0)).y; + } + return image.Sample(textureSampler, uv); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFlipShader { + +[Alias('Set-OBSFlipShader','Add-OBSFlipShader')] +param( +# Set the Horizontal of OBSFlipShader +[ComponentModel.DefaultBindingProperty('Horizontal')] +[Management.Automation.SwitchParameter] +$Horizontal, +# Set the Vertical of OBSFlipShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Flip' +$ShaderNoun = 'OBSFlipShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// A Simple Flip Shader + +uniform bool Horizontal< + string label = "Flip horizontally"; +> = true; +uniform bool Vertical< + string label = "Flip vertically"; +> = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + if (Horizontal == true) { + pos.x = 1 - pos.x; + } + if (Vertical == true) { + pos.y = 1 - pos.y; + } + + return image.Sample(textureSampler, pos); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSFrostedGlassShader { + +[Alias('Set-OBSFrostedGlassShader','Add-OBSFrostedGlassShader')] +param( +# Set the Alpha_Percent of OBSFrostedGlassShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Single] +$AlphaPercent, +# Set the Amount of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('Amount')] +[Single] +$Amount, +# Set the Scale of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('Scale')] +[Single] +$Scale, +# Set the Animate of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('Animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the Horizontal_Border of OBSFrostedGlassShader +[Alias('Horizontal_Border')] +[ComponentModel.DefaultBindingProperty('Horizontal_Border')] +[Management.Automation.SwitchParameter] +$HorizontalBorder, +# Set the Border_Offset of OBSFrostedGlassShader +[Alias('Border_Offset')] +[ComponentModel.DefaultBindingProperty('Border_Offset')] +[Single] +$BorderOffset, +# Set the Border_Color of OBSFrostedGlassShader +[Alias('Border_Color')] +[ComponentModel.DefaultBindingProperty('Border_Color')] +[String] +$BorderColor, +# Set the notes of OBSFrostedGlassShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'frosted_glass' +$ShaderNoun = 'OBSFrostedGlassShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Frosted Glass shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter + +uniform float Alpha_Percent< + string label = "Alpha Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; +uniform float Amount< + string label = "Amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.03; +uniform float Scale< + string label = "Scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 5.1; +uniform bool Animate; +uniform bool Horizontal_Border; +uniform float Border_Offset< + string label = "Border Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.1; +uniform float4 Border_Color = {.8,.5,1.0,1.0}; +uniform string notes< + string widget_type = "info"; +> = "Change shader with Scale and Amount, move Border with Border Offset. Alpha is Opacity of overlay."; + +float rand(float2 co) +{ + float scale = Scale; + if (Animate) + scale *= rand_f; + float2 v1 = float2(92.0,80.0); + float2 v2 = float2(41.0,62.0); + return frac(sin(dot(co.xy ,v1)) + cos(dot(co.xy ,v2)) * scale); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv); + float3 tc = rgba.rgb * Border_Color.rgb; + + float uv_compare = v_in.uv.x; + if (Horizontal_Border) + uv_compare = v_in.uv.y; + + if (uv_compare < (Border_Offset - 0.005)) + { + float2 randv = float2(rand(v_in.uv.yx),rand(v_in.uv.yx)); + tc = image.Sample(textureSampler, v_in.uv + (randv*Amount)).rgb; + } + else if (uv_compare >= (Border_Offset + 0.005)) + { + tc = image.Sample(textureSampler, v_in.uv).rgb; + } + return lerp(rgba,float4(tc,1.0),(Alpha_Percent * 0.01)); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGammaCorrectionShader { + +[Alias('Set-OBSGammaCorrectionShader','Add-OBSGammaCorrectionShader')] +param( +# Set the Red of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('Red')] +[Single] +$Red, +# Set the Green of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('Green')] +[Single] +$Green, +# Set the Blue of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('Blue')] +[Single] +$Blue, +# Set the notes of OBSGammaCorrectionShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gamma_correction' +$ShaderNoun = 'OBSGammaCorrectionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Gamma Correction shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter + +uniform float Red< + string label = "Red"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; +uniform float Green< + string label = "Green"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; +uniform float Blue< + string label = "Blue"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; +uniform string notes< + string widget_type = "info"; +> = "Modify Colors to correct for gamma, use equal values for general correction." + +float4 mainImage(VertData v_in) : TARGET +{ + float3 gammaRGB = float3(clamp(Red,0.1,10.0),clamp(Green,0.1,10.0),clamp(Blue,0.1,10.0)); + float4 c = image.Sample(textureSampler, v_in.uv); + c.rgb = pow(c.rgb, 1.0 / gammaRGB); + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGaussianBlurAdvancedShader { + +[Alias('Set-OBSGaussianBlurAdvancedShader','Add-OBSGaussianBlurAdvancedShader')] +param( +# Set the Directions of OBSGaussianBlurAdvancedShader +[ComponentModel.DefaultBindingProperty('Directions')] +[Single] +$Directions, +# Set the Quality of OBSGaussianBlurAdvancedShader +[ComponentModel.DefaultBindingProperty('Quality')] +[Single] +$Quality, +# Set the Size of OBSGaussianBlurAdvancedShader +[ComponentModel.DefaultBindingProperty('Size')] +[Single] +$Size, +# Set the Mask_Left of OBSGaussianBlurAdvancedShader +[Alias('Mask_Left')] +[ComponentModel.DefaultBindingProperty('Mask_Left')] +[Single] +$MaskLeft, +# Set the Mask_Right of OBSGaussianBlurAdvancedShader +[Alias('Mask_Right')] +[ComponentModel.DefaultBindingProperty('Mask_Right')] +[Single] +$MaskRight, +# Set the Mask_Top of OBSGaussianBlurAdvancedShader +[Alias('Mask_Top')] +[ComponentModel.DefaultBindingProperty('Mask_Top')] +[Single] +$MaskTop, +# Set the Mask_Bottom of OBSGaussianBlurAdvancedShader +[Alias('Mask_Bottom')] +[ComponentModel.DefaultBindingProperty('Mask_Bottom')] +[Single] +$MaskBottom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gaussian-blur-advanced' +$ShaderNoun = 'OBSGaussianBlurAdvancedShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float Directions< + string label = "Directions (16.0)"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 1.0; +> = 16.0; // BLUR DIRECTIONS (Default 16.0 - More is better but slower) +uniform float Quality< + string label = "Quality (4.0)"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 100.0; + float step = 1.0; +> = 4.0; // BLUR QUALITY (Default 4.0 - More is better but slower) +uniform float Size< + string label = "Size (8.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 8.0; // BLUR SIZE (Radius) +uniform float Mask_Left< + string label = "Mask left (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Right< + string label = "Mask right (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Top< + string label = "Mask top (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Bottom< + string label = "Mask bottom (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + if(Mask_Left + Mask_Right > 1.0){ + if(v_in.uv.x > Mask_Left || 1.0 - v_in.uv.x > Mask_Right ){ + return image.Sample(textureSampler, v_in.uv); + } + }else{ + if((v_in.uv.x > Mask_Left) && (1.0-v_in.uv.x > Mask_Right)){ + return image.Sample(textureSampler, v_in.uv); + } + } + if(Mask_Top + Mask_Bottom > 1.0){ + if(v_in.uv.y > Mask_Top || 1.0 - v_in.uv.y > Mask_Bottom){ + return image.Sample(textureSampler, v_in.uv); + } + }else { + if((v_in.uv.y > Mask_Top) && (1.0-v_in.uv.y > Mask_Bottom)){ + return image.Sample(textureSampler, v_in.uv); + } + } + + float Pi = 6.28318530718; // Pi*2 + + float4 c = image.Sample(textureSampler, v_in.uv); + float4 oc = c; + float transparent = oc.a; + int count = 1; + float samples = oc.a; + + // Blur calculations + [loop] for( float d=0.0; d 0.0) + c /= samples; + + c.a = transparent / count; + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGaussianBlurShader { + +[Alias('Set-OBSGaussianBlurShader','Add-OBSGaussianBlurShader')] +param( +# Set the ViewProj of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the imageSize of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('imageSize')] +[Single[]] +$ImageSize, +# Set the imageTexel of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('imageTexel')] +[Single[]] +$ImageTexel, +# Set the u_radius of OBSGaussianBlurShader +[Alias('u_radius')] +[ComponentModel.DefaultBindingProperty('u_radius')] +[Int32] +$URadius, +# Set the u_diameter of OBSGaussianBlurShader +[Alias('u_diameter')] +[ComponentModel.DefaultBindingProperty('u_diameter')] +[Int32] +$UDiameter, +# Set the u_texelDelta of OBSGaussianBlurShader +[Alias('u_texelDelta')] +[ComponentModel.DefaultBindingProperty('u_texelDelta')] +[Single[]] +$UTexelDelta, +# Set the elapsed_time of OBSGaussianBlurShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSGaussianBlurShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSGaussianBlurShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSGaussianBlurShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the kernel of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('kernel')] +[String] +$Kernel, +# Set the kernelTexel of OBSGaussianBlurShader +[ComponentModel.DefaultBindingProperty('kernelTexel')] +[Single[]] +$KernelTexel, +# Set the pixel_size of OBSGaussianBlurShader +[Alias('pixel_size')] +[ComponentModel.DefaultBindingProperty('pixel_size')] +[Single] +$PixelSize, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gaussian-blur' +$ShaderNoun = 'OBSGaussianBlurShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro March 11, 2022 +// OBS Default +uniform float4x4 ViewProj; + +// Settings (Shared) +uniform texture2d image; +uniform float2 imageSize; +uniform float2 imageTexel; +uniform int u_radius; +uniform int u_diameter; +uniform float2 u_texelDelta; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; + +// Settings (Private) +//uniform float registerkernel[25]; +uniform texture2d kernel; +uniform float2 kernelTexel; +uniform float pixel_size = 1.0; + +sampler_state pointClampSampler { + Filter = Point; + AddressU = Clamp; + AddressV = Clamp; +}; + +sampler_state bilinearClampSampler { + Filter = Bilinear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float Gaussian(float x, float o) +{ + float pivalue = 3.1415926535897932384626433832795; + return (1.0 / (o * sqrt(2.0 * pivalue))) * exp((-(x * x)) / (2.0 * (o * o))); +} + +VertData VSDefault(VertData vert_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(vert_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = vert_in.uv; + return vert_out; +} + +float4 InternalGaussian(float2 p_uv, float2 p_uvStep, int p_radius, + texture2d p_image, float2 p_imageTexel) + { + float l_gauss = Gaussian(0.0, 1.0); + float4 l_value = image.Sample(pointClampSampler, p_uv) * l_gauss; + float2 l_uvoffset = float2(0, 0); + for (int k = 1; k <= p_radius; k++) { + l_uvoffset += p_uvStep; + float l_g = Gaussian(float(k), uv_pixel_interval.x + uv_pixel_interval.y); + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + l_gauss += l_g; + } + l_value = l_value * (1.0 / l_gauss); + return l_value; +} + +float4 InternalGaussianPrecalculated(float2 p_uv, float2 p_uvStep, int p_radius, + texture2d p_image, float2 p_imageTexel, + texture2d p_kernel, float2 p_kernelTexel) + { + float4 l_value = image.Sample(pointClampSampler, p_uv) + * kernel.Sample(pointClampSampler, float2(0, 0)).r; + float2 l_uvoffset = float2(0, 0); + for (int k = 1; k <= p_radius; k++) { + l_uvoffset += p_uvStep; + float l_g = kernel.Sample(pointClampSampler, p_kernelTexel * k).r; + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + } + return l_value; +} + +/*float4 InternalGaussianPrecalculatedNVOptimized(float2 p_uv, int pixel_size, + texture2d p_image, float2 p_imageTexel, + texture2d p_kernel, float2 p_kernelTexel) + { + if (pixel_size % 2 == 0) { + float4 l_value = image.Sample(pointClampSampler, p_uv) + * kernel.Sample(pointClampSampler, float2(0, 0)).r; + float2 l_uvoffset = p_texel; + float2 l_koffset = p_kernelTexel; + for (int k = 1; k <= pixel_size; k++) { + float l_g = kernel.Sample(pointClampSampler, l_koffset).r; + float4 l_p = image.Sample(pointClampSampler, p_uv + l_uvoffset) * l_g; + float4 l_n = image.Sample(pointClampSampler, p_uv - l_uvoffset) * l_g; + l_value += l_p + l_n; + l_uvoffset += p_texel; + l_koffset += p_kernelTexel; + } + return l_value; + } else { + return InternalGaussianPrecalculated(p_uv, p_image, p_texel, pixel_size, p_kernel, p_kerneltexel);) + } +}*/ + +float4 PSGaussian(VertData vert_in) : TARGET +{ + + float4 color = image.Sample(pointClampSampler, vert_in.uv); + + float intensity = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + + return InternalGaussian(vert_in.uv, uv_offset, int(sqrt((uv_pixel_interval.x * uv_pixel_interval.x) + (uv_pixel_interval.y * uv_pixel_interval.y))), image, uv_scale); + + /* + return InternalGaussianPrecalculated( + vert_in.uv, u_texelDelta, u_radius, + image, imageTexel, + kernel, kernelTexel); + */ + + /* + return InternalGaussianPrecalculatedNVOptimize( + vert_in.uv, u_texelDelta, u_radius, + image, imageTexel, + kernel, kernelTexel); + */ +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vert_in); + pixel_shader = PSGaussian(vert_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGaussianBlurSimpleShader { + +[Alias('Set-OBSGaussianBlurSimpleShader','Add-OBSGaussianBlurSimpleShader')] +param( +# Set the Strength of OBSGaussianBlurSimpleShader +[ComponentModel.DefaultBindingProperty('Strength')] +[Int32] +$Strength, +# Set the Mask_Left of OBSGaussianBlurSimpleShader +[Alias('Mask_Left')] +[ComponentModel.DefaultBindingProperty('Mask_Left')] +[Single] +$MaskLeft, +# Set the Mask_Right of OBSGaussianBlurSimpleShader +[Alias('Mask_Right')] +[ComponentModel.DefaultBindingProperty('Mask_Right')] +[Single] +$MaskRight, +# Set the Mask_Top of OBSGaussianBlurSimpleShader +[Alias('Mask_Top')] +[ComponentModel.DefaultBindingProperty('Mask_Top')] +[Single] +$MaskTop, +# Set the Mask_Bottom of OBSGaussianBlurSimpleShader +[Alias('Mask_Bottom')] +[ComponentModel.DefaultBindingProperty('Mask_Bottom')] +[Single] +$MaskBottom, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gaussian-blur-simple' +$ShaderNoun = 'OBSGaussianBlurSimpleShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int Strength< + string label = "Strength (1)"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 25; + int step = 1; +> = 1.0; +uniform float Mask_Left< + string label = "Mask left (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Right< + string label = "Mask right (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Top< + string label = "Mask top (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float Mask_Bottom< + string label = "Mask bottom (1.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +float4 mainImage(VertData v_in) : TARGET +{ + if(Strength <= 0) + return image.Sample(textureSampler, v_in.uv); + + if(Mask_Left + Mask_Right > 1.0){ + if(v_in.uv.x > Mask_Left || 1.0 - v_in.uv.x > Mask_Right ){ + return image.Sample(textureSampler, v_in.uv); + } + }else{ + if((v_in.uv.x > Mask_Left) && (1.0-v_in.uv.x > Mask_Right)){ + return image.Sample(textureSampler, v_in.uv); + } + } + if(Mask_Top + Mask_Bottom > 1.0){ + if(v_in.uv.y > Mask_Top || 1.0 - v_in.uv.y > Mask_Bottom){ + return image.Sample(textureSampler, v_in.uv); + } + }else { + if((v_in.uv.y > Mask_Top) && (1.0-v_in.uv.y > Mask_Bottom)){ + return image.Sample(textureSampler, v_in.uv); + } + } + + float Pi = 6.28318530718; // Pi*2 + + float Directions = float(Strength) * 4.0; // BLUR DIRECTIONS (Default 16.0 - More is better but slower) + float Quality = float(Strength); // BLUR QUALITY (Default 4.0 - More is better but slower) + float Size = float(Strength) * float(Strength); // BLUR SIZE (Radius) + + float4 c = image.Sample(textureSampler, v_in.uv); + float4 oc = c; + float transparent = oc.a; + int count = 1; + float samples = oc.a; + + // Blur calculations + [loop] for( float d=0.0; d 0.0) + c /= samples; + + c.a = transparent / count; + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGaussianExampleShader { + +[Alias('Set-OBSGaussianExampleShader','Add-OBSGaussianExampleShader')] +param( +# Set the ViewProj of OBSGaussianExampleShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSGaussianExampleShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSGaussianExampleShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSGaussianExampleShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSGaussianExampleShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_size of OBSGaussianExampleShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the uv_pixel_interval of OBSGaussianExampleShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the initial_image of OBSGaussianExampleShader +[Alias('initial_image')] +[ComponentModel.DefaultBindingProperty('initial_image')] +[String] +$InitialImage, +# Set the before_image of OBSGaussianExampleShader +[Alias('before_image')] +[ComponentModel.DefaultBindingProperty('before_image')] +[String] +$BeforeImage, +# Set the after_image of OBSGaussianExampleShader +[Alias('after_image')] +[ComponentModel.DefaultBindingProperty('after_image')] +[String] +$AfterImage, +# Set the text_color of OBSGaussianExampleShader +[Alias('text_color')] +[ComponentModel.DefaultBindingProperty('text_color')] +[String] +$TextColor, +# Set the max_distance of OBSGaussianExampleShader +[Alias('max_distance')] +[ComponentModel.DefaultBindingProperty('max_distance')] +[Single] +$MaxDistance, +# Set the exp of OBSGaussianExampleShader +[ComponentModel.DefaultBindingProperty('exp')] +[Single] +$Exp, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gaussian-example' +$ShaderNoun = 'OBSGaussianExampleShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_size; +uniform float2 uv_pixel_interval; + +/*-------------------------. +| :: Texture and sampler:: | +''-------------------------*/ + + +uniform texture2d initial_image; +sampler_state initial_sampler +{ + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; + texture2d = initial_image; +}; + +uniform texture2d before_image; +sampler_state before_sampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; + texture2d = before_image; +}; + +uniform texture2d after_image; +sampler_state after_sampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; + texture2d = after_image; +}; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct ColorData { + float4 initial_color : SV_TARGET0; + float4 before_color: SV_TARGET1; + float4 after_color : SV_TARGET2; +}; + +uniform float4 text_color; +uniform float max_distance; +uniform float exp; + +#define PI 3.141592653589793238462643383279502884197169399375105820974 + +VertData mainTransform(VertData v_in) +{ + VertData vert_out = v_in; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +float4 grayscale(float4 color) +{ + float grayscale = color.r * 0.3 + color.g * 0.59 + color.b * 0.11; + return float4(grayscale, grayscale, grayscale, color.a); +} + +float4 gaussian(VertData v_in, float angle) +{ + float rad = radians(angle); + float2 dir = float2(sin(rad), cos(rad)) * (uv_pixel_interval * max_distance); + float2 dir_2 = dir * 2.0; + float4 ret = image.Sample(textureSampler, v_in.uv) * 0.375; + + float4 px_away = image.Sample(textureSampler, v_in.uv + dir); + px_away += image.Sample(textureSampler, v_in.uv - dir); + px_away *= 0.25; + + float4 px_2_away = image.Sample(textureSampler, v_in.uv + dir_2); + px_2_away += image.Sample(textureSampler, v_in.uv + dir_2); + px_2_away *= 0.0625; + + return ret + px_away + px_2_away; +} + +ColorData setColorData(VertData v_in): SV_TARGET0 +{ + //string RenderTarget0 = "initial_image"; + ColorData cd;// = (ColorData)0; + cd.initial_color = image.Sample(textureSampler, v_in.uv); + cd.before_color = float4(0.0,0.0,1.0,1.0); + cd.after_color = float4(1.0,0.0,0.0,1.0); + return cd; +} + +float4 blurImageH(VertData v_in) : SV_TARGET1 +{ + //string RenderTarget1 = "before_image"; + //ColorData cd = (ColorData)0; + //cd.initial_color = image.Sample(textureSampler, v_in.uv); + //cd.before_color = float4(0.0,0.0,1.0,1.0);//gaussian(v_in, 0); + return float4(0.0,0.0,1.0,1.0); +} + +float4 blurImageV(VertData v_in) : SV_TARGET2 +{ + //string RenderTarget2 = "after_image"; + //ColorData cd = (ColorData)0; + //cd.after_color = float4(1.0,0.0,0.0,1.0); //gaussian(v_in, 90); + return float4(1.0,0.0,0.0,1.0); +} + +float4 mainImage(VertData v_in) : SV_TARGET0 +{ + float4 color; + ColorData cd;// = (ColorData)0; + + //cd.initial_color = initial_image.Sample(initial_sampler, v_in.uv); + //cd.before_color = before_image.Sample(before_sampler, v_in.uv); + cd.after_color = after_image.Sample(before_sampler, v_in.uv); + + if (max_distance <= 5) { + color = cd.before_color; + } + else { + color = cd.after_color;//image.Sample(textureSampler, v_in.uv); + } + + float4 gray = grayscale(color); + float4 gray_text = grayscale(text_color); + float d = distance(gray.rgb, gray_text.rgb); + if (d <= dot(max_distance, uv_pixel_interval.x * max_distance)){ + float d_c = pow(d*2, exp) / pow(2, exp); + d_c = sin(d_c * PI / 2); + d = pow(1.0 - sin(d * PI/4), exp); + + color.rgb = float3(d,d,d); + } + + return color; +} + +technique Draw +{ + pass pre + { + vertex_shader = mainTransform(v_in); + pixel_shader = setColorData(v_in); + } + + pass b0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = blurImageH(v_in); + } + + pass b1 + { + vertex_shader = mainTransform(v_in); + pixel_shader = blurImageV(v_in); + } + + pass p0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGaussianSimpleShader { + +[Alias('Set-OBSGaussianSimpleShader','Add-OBSGaussianSimpleShader')] +param( +# Set the ViewProj of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSGaussianSimpleShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSGaussianSimpleShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSGaussianSimpleShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSGaussianSimpleShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSGaussianSimpleShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSGaussianSimpleShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSGaussianSimpleShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSGaussianSimpleShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSGaussianSimpleShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the samples of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('samples')] +[Int32] +$Samples, +# Set the LOD of OBSGaussianSimpleShader +[ComponentModel.DefaultBindingProperty('LOD')] +[Int32] +$LOD, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gaussian-simple' +$ShaderNoun = 'OBSGaussianSimpleShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Single-pass gaussian blur - fast shader modified by Charles Fettinger for use with obs-shaderfilter 7/2020 v.01 +// https://github.com/Oncorporation/obs-shaderfilter +// https://www.shadertoy.com/view/ltScRG Converted inspiration + +//Section to converting GLSL to HLSL - can delete +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp +#define iTime float + +/* +**Shaders have these variables pre loaded by the plugin** +**this section can be deleted** + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; +*/ + +// 16x acceleration of https://www.shadertoy.com/view/4tSyzy +// by applying gaussian at intermediate MIPmap level. + +uniform int samples< + string label = "Samples"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 25; + int step = 1; +> = 16; +uniform int LOD< + string label = "LOD"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 25; + int step = 1; +> = 2; // gaussian done on MIPmap at scale LOD + +float gaussian(vec2 i) +{ + float sigma = (float(samples) * .25); + return exp(-.5 * dot(i /= sigma, i)) / (6.28 * sigma * sigma); +} + +vec4 blur(vec2 U, vec2 scale) +{ + vec4 O = vec4(0,0,0,0); + int sLOD = (1 << LOD); // tile size = 2^LOD + int s = samples / sLOD; + + for (int i = 0; i < s * s; i++) + { + vec2 d = vec2(i % s, i / s) * float(sLOD) - float(samples) * 0.5; + O += gaussian(d) * image.SampleLevel(textureSampler, U + (scale * gaussian(d)), float(LOD)); + //O += gaussian(d) * image.Sample(textureSampler, U + i * d * float(LOD)); + //O += image.Sample(textureSampler, U + gaussian(d) * float(LOD)); + } + + return O / O.a; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 iResolution = uv_scale;//uv_size * uv_scale + uv_offset; + //float2 iResolution = 1 - v_in.uv + 1.0; + //float4 rgba = image.SampleLevel(textureSampler, v_in.uv * uv_scale + uv_offset,4.0); + return blur(v_in.uv / iResolution, 1.0 / iResolution); + //return rgba; +} + + + + + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGbCameraShader { + +[Alias('Set-OBSGbCameraShader','Add-OBSGbCameraShader')] +param( +# Set the pixelSize of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('pixelSize')] +[Single] +$PixelSize, +# Set the dither_factor of OBSGbCameraShader +[Alias('dither_factor')] +[ComponentModel.DefaultBindingProperty('dither_factor')] +[Single] +$DitherFactor, +# Set the alternative_bayer of OBSGbCameraShader +[Alias('alternative_bayer')] +[ComponentModel.DefaultBindingProperty('alternative_bayer')] +[Management.Automation.SwitchParameter] +$AlternativeBayer, +# Set the brightness of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('brightness')] +[Single] +$Brightness, +# Set the contrast of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('contrast')] +[Single] +$Contrast, +# Set the gamma of OBSGbCameraShader +[ComponentModel.DefaultBindingProperty('gamma')] +[Single] +$Gamma, +# Set the color_1 of OBSGbCameraShader +[Alias('color_1')] +[ComponentModel.DefaultBindingProperty('color_1')] +[String] +$Color1, +# Set the color_2 of OBSGbCameraShader +[Alias('color_2')] +[ComponentModel.DefaultBindingProperty('color_2')] +[String] +$Color2, +# Set the color_3 of OBSGbCameraShader +[Alias('color_3')] +[ComponentModel.DefaultBindingProperty('color_3')] +[String] +$Color3, +# Set the color_4 of OBSGbCameraShader +[Alias('color_4')] +[ComponentModel.DefaultBindingProperty('color_4')] +[String] +$Color4, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gb-camera' +$ShaderNoun = 'OBSGbCameraShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +/* + * ------------------------------------------------------------ + * "THE BEERWARE LICENSE" (Revision 42): + * maple wrote this code. As long as you retain this + * notice, you can do whatever you want with this stuff. If we + * meet someday, and you think this stuff is worth it, you can + * buy me a beer in return. + * ------------------------------------------------------------ + * from https://www.shadertoy.com/view/3tSXRh + * adopted for OBS by Exeldro + * ------------------------------------------------------------ + */ + +uniform float pixelSize< + string label = "Pixel Size"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 50.0; + float step = 0.1; +> = 3.0; + +uniform float dither_factor< + string label = "Dither Factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.8; + +uniform bool alternative_bayer; + +uniform float brightness< + string label = "Brightness"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; +uniform float contrast< + string label = "Contrast"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float gamma< + string label = "Gamma"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.6; + +uniform float4 color_1 = {0.18, 0, 0.18, 1.0}; +uniform float4 color_2 = {0.37, 0.15, 0.47, 1.0}; +uniform float4 color_3 = {0.97, 0.56, 0.12, 1.0}; +uniform float4 color_4 = {0.97, 0.94, 0.53, 1.0}; + +// quantize coords to low resolution +float2 pixelize(float2 uv, float2 pixelSize) { + float2 factor = pixelSize / uv_size; + return floor(uv / factor) * factor; +} + +float3 colorLUT(float3 color) { + float gray = color.r*0.3 + color.g*0.59 + color.b*0.11; + if(gray < 0.25) + return color_1.rgb; + if(gray < 0.50) + return color_2.rgb; + if(gray < 0.75) + return color_3.rgb; + return color_4.rgb; +} + +// adjust brightness, contrast and gamma levels of a color +float3 levels(float3 color, float brightness, float contrast, float3 gamma) { + float3 value = (color - 0.5) * contrast + 0.5; + value = clamp(value + brightness, 0.0, 1.0); + return clamp(float3(pow(abs(value.r), gamma.x),pow(abs(value.g), gamma.y),pow(abs(value.b), gamma.z)), 0.0, 1.0); +} +float3 levels(float3 color, float brightness, float contrast, float gamma) { + return levels(color, brightness, contrast, float3(gamma, gamma, gamma)); +} + +// applies the dithering filter to a color map +float3 dither8x8(float2 coord, float3 color, float2 pixelSize) { + // reduces pixel space to the selected pixel size + float2 pixelCoord = floor((coord * uv_size) / pixelSize + float2(0.5, 0.5)); + + // applies the bayer matrix filter to the color map + pixelCoord = pixelCoord - 8.0 * floor(pixelCoord/8.0); + int index = int(pixelCoord.x + (pixelCoord.y * 8.0)); + float bayer; + if (alternative_bayer){ +#ifdef OPENGL + const int[64] bayer8 = int[64]( +#else + const int bayer8[64] = { +#endif + 0, 32, 8, 40, 2, 34, 10, 42, /* 8x8 Bayer ordered dithering */ + 48, 16, 56, 24, 50, 18, 58, 26, /* pattern. Each input pixel */ + 12, 44, 4, 36, 14, 46, 6, 38, /* is scaled to the 0..63 range */ + 60, 28, 52, 20, 62, 30, 54, 22, /* before looking in this table */ + 3, 35, 11, 43, 1, 33, 9, 41, /* to determine the action. */ + 51, 19, 59, 27, 49, 17, 57, 25, + 15, 47, 7, 39, 13, 45, 5, 37, + 63, 31, 55, 23, 61, 29, 53, 21 +#ifdef OPENGL + ); +#else + }; +#endif + bayer = (bayer8[index]-31.0)/32.0; + } else { +#ifdef OPENGL + const int[64] bayer8 = int[64]( +#else + const int bayer8[64] = { +#endif + 0, 48, 12, 60, 3, 51, 15, 63, + 32, 16, 44, 28, 35, 19, 47, 31, + 8, 56, 4, 52, 11, 59, 7, 55, + 40, 24, 36, 20, 43, 27, 39, 23, + 2, 50, 14, 62, 1, 49, 13, 61, + 34, 18, 46, 30, 33, 17, 45, 29, + 10, 58, 6, 54, 9, 57, 5, 53, + 42, 26, 38, 22, 41, 25, 37, 21 +#ifdef OPENGL + ); +#else + }; +#endif + bayer = (bayer8[index]-31.0)/32.0; + } + float3 bayerColor = (color + float3(bayer,bayer,bayer) * (dither_factor / 8.0)); + // limits it to the selected palette + color = colorLUT(bayerColor); + + return color; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 texcoord = pixelize(v_in.uv, float2(pixelSize,pixelSize)); + texcoord = clamp(texcoord, 0.001, 1.0); + float4 c = image.Sample(textureSampler, texcoord); + float3 color = c.rgb; + + color = levels(color, brightness, contrast, float3(gamma, gamma, gamma)); + + color = dither8x8(texcoord, color, float2(pixelSize,pixelSize)); + + return float4(color.r, color.g, color.b, c.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGlassShader { + +[Alias('Set-OBSGlassShader','Add-OBSGlassShader')] +param( +# Set the Alpha_Percent of OBSGlassShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Single] +$AlphaPercent, +# Set the Offset_Amount of OBSGlassShader +[Alias('Offset_Amount')] +[ComponentModel.DefaultBindingProperty('Offset_Amount')] +[Single] +$OffsetAmount, +# Set the xSize of OBSGlassShader +[ComponentModel.DefaultBindingProperty('xSize')] +[Int32] +$XSize, +# Set the ySize of OBSGlassShader +[ComponentModel.DefaultBindingProperty('ySize')] +[Int32] +$YSize, +# Set the Reflection_Offset of OBSGlassShader +[Alias('Reflection_Offset')] +[ComponentModel.DefaultBindingProperty('Reflection_Offset')] +[Int32] +$ReflectionOffset, +# Set the Horizontal_Border of OBSGlassShader +[Alias('Horizontal_Border')] +[ComponentModel.DefaultBindingProperty('Horizontal_Border')] +[Management.Automation.SwitchParameter] +$HorizontalBorder, +# Set the Border_Offset of OBSGlassShader +[Alias('Border_Offset')] +[ComponentModel.DefaultBindingProperty('Border_Offset')] +[Single] +$BorderOffset, +# Set the Border_Color of OBSGlassShader +[Alias('Border_Color')] +[ComponentModel.DefaultBindingProperty('Border_Color')] +[String] +$BorderColor, +# Set the Glass_Color of OBSGlassShader +[Alias('Glass_Color')] +[ComponentModel.DefaultBindingProperty('Glass_Color')] +[String] +$GlassColor, +# Set the notes of OBSGlassShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'glass' +$ShaderNoun = 'OBSGlassShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Glass shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGl by Q-mii & Exeldro February 25, 2022 +uniform float Alpha_Percent< + string label = "Alpha Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; +uniform float Offset_Amount< + string label = "Offset Amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.8; +uniform int xSize< + string label = "x Size"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 100; + int step = 1; +> = 8; +uniform int ySize< + string label = "y Size"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 100; + int step = 1; +> = 8; +uniform int Reflection_Offset< + string label = "Reflection Offset"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 2; +uniform bool Horizontal_Border; +uniform float Border_Offset< + string label = "Border Offset"; + string widget_type = "slider"; + float minimum = -0.01; + float maximum = 1.01; + float step = 0.01; +> = 0.5; +uniform float4 Border_Color = {.8,.5,1.0,1.0}; +uniform float4 Glass_Color; +uniform string notes< + string widget_type = "info"; +> = "xSize, ySize are for distortion. Offset Amount and Reflection Offset change glass properties. Alpha is Opacity of overlay."; + +float mod(float a, float b){ + float d = a / b; + return (d-floor(d))*b; +} + +float4 mainImage(VertData v_in) : TARGET +{ + + + int xSubPixel = int(mod((v_in.uv.x * uv_size.x) , float(clamp(xSize,1,100)))); + int ySubPixel = int(mod((v_in.uv.y * uv_size.y) , float(clamp(ySize,1,100)))); + float2 offsets = float2(Offset_Amount * xSubPixel / uv_size.x, Offset_Amount * ySubPixel / uv_size.y); + float2 uv = v_in.uv + offsets; + float2 uv2 = float2(uv.x + (Reflection_Offset / uv_size.x),uv.y + (Reflection_Offset / uv_size.y)); + + float4 rgba = image.Sample(textureSampler, v_in.uv); + float4 rgba_output = float4(rgba.rgb * Border_Color.rgb, rgba.a); + rgba = image.Sample(textureSampler, uv); + float4 rgba_glass = image.Sample(textureSampler, uv2); + + float uv_compare = v_in.uv.x; + if (Horizontal_Border) + uv_compare = v_in.uv.y; + + if (uv_compare < (Border_Offset - 0.005)) + { + rgba_output = (rgba + rgba_glass) *.5 * Glass_Color; + } + else if (uv_compare >= (Border_Offset + 0.005)) + { + rgba_output = image.Sample(textureSampler, v_in.uv); + } + return lerp(rgba,rgba_output,(Alpha_Percent * 0.01)); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGlitchAnalogShader { + +[Alias('Set-OBSGlitchAnalogShader','Add-OBSGlitchAnalogShader')] +param( +# Set the scan_line_jitter_displacement of OBSGlitchAnalogShader +[Alias('scan_line_jitter_displacement')] +[ComponentModel.DefaultBindingProperty('scan_line_jitter_displacement')] +[Single] +$ScanLineJitterDisplacement, +# Set the scan_line_jitter_threshold_percent of OBSGlitchAnalogShader +[Alias('scan_line_jitter_threshold_percent')] +[ComponentModel.DefaultBindingProperty('scan_line_jitter_threshold_percent')] +[Int32] +$ScanLineJitterThresholdPercent, +# Set the vertical_jump_amount of OBSGlitchAnalogShader +[Alias('vertical_jump_amount')] +[ComponentModel.DefaultBindingProperty('vertical_jump_amount')] +[Single] +$VerticalJumpAmount, +# Set the vertical_speed of OBSGlitchAnalogShader +[Alias('vertical_speed')] +[ComponentModel.DefaultBindingProperty('vertical_speed')] +[Single] +$VerticalSpeed, +# Set the horizontal_shake of OBSGlitchAnalogShader +[Alias('horizontal_shake')] +[ComponentModel.DefaultBindingProperty('horizontal_shake')] +[Single] +$HorizontalShake, +# Set the color_drift_amount of OBSGlitchAnalogShader +[Alias('color_drift_amount')] +[ComponentModel.DefaultBindingProperty('color_drift_amount')] +[Single] +$ColorDriftAmount, +# Set the color_drift_speed of OBSGlitchAnalogShader +[Alias('color_drift_speed')] +[ComponentModel.DefaultBindingProperty('color_drift_speed')] +[Single] +$ColorDriftSpeed, +# Set the pulse_speed_percent of OBSGlitchAnalogShader +[Alias('pulse_speed_percent')] +[ComponentModel.DefaultBindingProperty('pulse_speed_percent')] +[Int32] +$PulseSpeedPercent, +# Set the alpha_percent of OBSGlitchAnalogShader +[Alias('alpha_percent')] +[ComponentModel.DefaultBindingProperty('alpha_percent')] +[Int32] +$AlphaPercent, +# Set the rotate_colors of OBSGlitchAnalogShader +[Alias('rotate_colors')] +[ComponentModel.DefaultBindingProperty('rotate_colors')] +[Management.Automation.SwitchParameter] +$RotateColors, +# Set the Apply_To_Alpha_Layer of OBSGlitchAnalogShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Replace_Image_Color of OBSGlitchAnalogShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSGlitchAnalogShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSGlitchAnalogShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the notes of OBSGlitchAnalogShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'glitch_analog' +$ShaderNoun = 'OBSGlitchAnalogShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// analog glitch shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float scan_line_jitter_displacement< + string label = "Scan line jitter"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 33.0; // (displacement, threshold) +uniform int scan_line_jitter_threshold_percent< + string label = "scan line jitter threshold percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 95; +uniform float vertical_jump_amount< + string label = "Vertical jump amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>; +uniform float vertical_speed< + string label = "Vertical speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>;// (amount, speed) +uniform float horizontal_shake< + string label = "Horizontal shake"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>; +uniform float color_drift_amount< + string label = "Color drift amount"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>; +uniform float color_drift_speed< + string label = "Color drift speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +>;// (amount, speed) +uniform int pulse_speed_percent< + string label = "Pulse speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform int alpha_percent< + string label = "Aplha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform bool rotate_colors; +uniform bool Apply_To_Alpha_Layer = false; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string notes< + string widget_type = "info"; +> ="play with settings!"; + + +float nrand(float x, float y) +{ + float value = dot(float2(x, y), float2(12.9898 , 78.233 )); + return frac(sin(value) * 43758.5453); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float speed = pulse_speed_percent * 0.01; + float alpha = alpha_percent * 0.01; + float scan_line_jitter_threshold = scan_line_jitter_threshold_percent * 0.01; + float u = v_in.uv.x; + float v = v_in.uv.y; + float t = sin(elapsed_time * speed) * 2 - 1; + float4 rgba = image.Sample(textureSampler, v_in.uv); + + // Scan line jitter + float jitter = nrand(v, t) * 2 - 1; + jitter *= step(scan_line_jitter_threshold, abs(jitter)) * scan_line_jitter_displacement; + + // Vertical jump + float jump = lerp(v, frac(v + (t * vertical_speed)), vertical_jump_amount); + + // Horizontal shake + float shake = ((t * (u + rand_f)/2) - 0.5) * horizontal_shake; + + //// Color drift + float drift = sin(jump + color_drift_speed) * color_drift_amount; + + float2 src1 = float2(rgba.x, rgba.z) * clamp(frac(float2(u + jitter + shake, jump)), -10.0, 10.0); + float2 src2 = float2(rgba.y, rgba.w) * frac(float2(u + jitter + shake + drift, jump)); + + if(rotate_colors) + { + // get general time number between 0 and 4 + float tx = (t + 1) * 2; + // 3 steps c1->c2, c2->c3, c3->c1 + //when between 0 - 1 only c1 rises then falls + //(min(tx, 2.0) * 0.5) range between 0-2 converted to 0-1-0 + src1.x = lerp(src1.x, rgba.x, clamp((min(tx, 2.0) * 0.5),0.0,0.5)); + //((min(max(1.0, tx),3.0) - 1) * 0.5) range between 1-3 converted to 0-1-0 + src2.x = lerp(src2.x, rgba.y, clamp(((min(max(1.0, tx),3.0) - 1) * 0.5),0.0,0.5)); + //((min(2.0, tx) -2) * 0.5) range between 2 and 4 converted to 0-1-0 + src1.y = lerp(src1.y, rgba.z, clamp(((min(2.0, tx) -2) * 0.5),0.0,0.5)); + + } + + float4 color = rgba; + float4 original_color = color; + rgba = float4(src1.x, src2.x, src1.y, alpha); + + if (Apply_To_Alpha_Layer) + { + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, rgba * color, alpha); + } + + if (Apply_To_Specific_Color) + { + color = original_color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, alpha); + } + + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGlitchShader { + +[Alias('Set-OBSGlitchShader','Add-OBSGlitchShader')] +param( +# Set the AMT of OBSGlitchShader +[ComponentModel.DefaultBindingProperty('AMT')] +[Single] +$AMT, +# Set the SPEED of OBSGlitchShader +[ComponentModel.DefaultBindingProperty('SPEED')] +[Single] +$SPEED, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'glitch' +$ShaderNoun = 'OBSGlitchShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/MtXBDs +//inputs +uniform float AMT< + string label = "AMT"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.2; //0 - 1 glitch amount +uniform float SPEED< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.6; //0 - 1 speed + +//2D (returns 0 - 1) +float random2d(float2 n) { + return frac(sin(dot(n, float2(12.9898, 4.1414))) * 43758.5453); +} + +float randomRange (in float2 seed, in float min, in float max) { + return min + random2d(seed) * (max - min); +} + +// return 1 if v inside 1d range +float insideRange(float v, float bottom, float top) { + return step(bottom, v) - step(top, v); +} + + + +float4 mainImage(VertData v_in) : TARGET +{ + + float time = floor(elapsed_time * SPEED * 60.0); + float2 uv = v_in.uv; + + //copy orig + float4 outCol = image.Sample(textureSampler, uv); + + //randomly offset slices horizontally + float maxOffset = AMT/2.0; + for (float i = 0.0; i < 10.0 * AMT; i += 1.0) { + float sliceY = random2d(float2(time , 2345.0 + float(i))); + float sliceH = random2d(float2(time , 9035.0 + float(i))) * 0.25; + float hOffset = randomRange(float2(time , 9625.0 + float(i)), -maxOffset, maxOffset); + float2 uvOff = uv; + uvOff.x += hOffset; + if (insideRange(uv.y, sliceY, frac(sliceY+sliceH)) == 1.0 ){ + outCol = image.Sample(textureSampler, uvOff); + } + } + + //do slight offset on one entire channel + float maxColOffset = AMT/6.0; + float rnd = random2d(float2(time , 9545.0)); + float2 colOffset = float2(randomRange(float2(time , 9545.0),-maxColOffset,maxColOffset), + randomRange(float2(time , 7205.0),-maxColOffset,maxColOffset)); + if (rnd < 0.33){ + outCol.r = image.Sample(textureSampler, uv + colOffset).r; + + }else if (rnd < 0.66){ + outCol.g = image.Sample(textureSampler, uv + colOffset).g; + + } else{ + outCol.b = image.Sample(textureSampler, uv + colOffset).b; + } + + return outCol; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGlowShader { + +[Alias('Set-OBSGlowShader','Add-OBSGlowShader')] +param( +# Set the glow_percent of OBSGlowShader +[Alias('glow_percent')] +[ComponentModel.DefaultBindingProperty('glow_percent')] +[Int32] +$GlowPercent, +# Set the blur of OBSGlowShader +[ComponentModel.DefaultBindingProperty('blur')] +[Int32] +$Blur, +# Set the min_brightness of OBSGlowShader +[Alias('min_brightness')] +[ComponentModel.DefaultBindingProperty('min_brightness')] +[Int32] +$MinBrightness, +# Set the max_brightness of OBSGlowShader +[Alias('max_brightness')] +[ComponentModel.DefaultBindingProperty('max_brightness')] +[Int32] +$MaxBrightness, +# Set the pulse_speed of OBSGlowShader +[Alias('pulse_speed')] +[ComponentModel.DefaultBindingProperty('pulse_speed')] +[Int32] +$PulseSpeed, +# Set the ease of OBSGlowShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the notes of OBSGlowShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'glow' +$ShaderNoun = 'OBSGlowShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Exeldro February 21, 2022 +uniform int glow_percent< + string label = "Glow percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 10; +uniform int blur< + string label = "Blur"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 1; +uniform int min_brightness< + string label = "Min brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 27; +uniform int max_brightness< + string label = "Max brightness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform int pulse_speed< + string label = "Pulse speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool ease; +uniform string notes< + string widget_type = "info"; +> = "''ease'' - makes the animation pause at the begin and end for a moment,''glow_percent'' - how much brightness to add (recommend 0-100). ''blur'' - how far should the glow extend (recommend 1-4).''pulse_speed'' - (0-100). ''min/max brightness'' - floor and ceiling brightness level to target for glows."; + + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2.0; + if (t < 1.0) return -c/2.0 * (sqrt(1.0 - t*t) - 1.0) + b; + t -= 2.0; + return c/2.0 * (sqrt(1.0 - t*t) + 1.0) + b; +} + +float BlurStyler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0.0,c,d); + return t; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 offsets[4]; + offsets[0] = float2(-0.1, 0.125); + offsets[1] = float2(-0.1, -0.125); + offsets[2] = float2(0.1, -0.125); + offsets[3] = float2(0.1, 0.125); + + // convert input for vector math + float4 col = image.Sample(textureSampler, v_in.uv); + float blur_amount = float(blur) /100.0; + float glow_amount = float(glow_percent) * 0.01; + float speed = float(pulse_speed) * 0.01; + float luminance_floor = float(min_brightness) /100.0; + float luminance_ceiling = float(max_brightness) /100.0; + + if (col.a > 0.0) + { + //circular easing variable + float t = 1.0 + sin(elapsed_time * speed); + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + // simple glow calc + for (int n = 0; n < 4; n++) { + b = BlurStyler(t, 0, c, d, ease); + float4 ncolor = image.Sample(textureSampler, v_in.uv + (blur_amount * b) * offsets[n]); + float intensity = ncolor.r * 0.299 + ncolor.g * 0.587 + ncolor.b * 0.114; + if ((intensity >= luminance_floor) && (intensity <= luminance_ceiling)) + { + ncolor.a = clamp(ncolor.a * glow_amount, 0.0, 1.0); + col += (ncolor * (glow_amount * b)); + } + } + } + return col; + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGradientShader { + +[Alias('Set-OBSGradientShader','Add-OBSGradientShader')] +param( +# Set the start_color of OBSGradientShader +[Alias('start_color')] +[ComponentModel.DefaultBindingProperty('start_color')] +[String] +$StartColor, +# Set the start_step of OBSGradientShader +[Alias('start_step')] +[ComponentModel.DefaultBindingProperty('start_step')] +[Single] +$StartStep, +# Set the middle_color of OBSGradientShader +[Alias('middle_color')] +[ComponentModel.DefaultBindingProperty('middle_color')] +[String] +$MiddleColor, +# Set the middle_step of OBSGradientShader +[Alias('middle_step')] +[ComponentModel.DefaultBindingProperty('middle_step')] +[Single] +$MiddleStep, +# Set the end_color of OBSGradientShader +[Alias('end_color')] +[ComponentModel.DefaultBindingProperty('end_color')] +[String] +$EndColor, +# Set the end_step of OBSGradientShader +[Alias('end_step')] +[ComponentModel.DefaultBindingProperty('end_step')] +[Single] +$EndStep, +# Set the alpha_percent of OBSGradientShader +[Alias('alpha_percent')] +[ComponentModel.DefaultBindingProperty('alpha_percent')] +[Int32] +$AlphaPercent, +# Set the pulse_speed of OBSGradientShader +[Alias('pulse_speed')] +[ComponentModel.DefaultBindingProperty('pulse_speed')] +[Int32] +$PulseSpeed, +# Set the ease of OBSGradientShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the rotate_colors of OBSGradientShader +[Alias('rotate_colors')] +[ComponentModel.DefaultBindingProperty('rotate_colors')] +[Management.Automation.SwitchParameter] +$RotateColors, +# Set the Apply_To_Alpha_Layer of OBSGradientShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Apply_To_Specific_Color of OBSGradientShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSGradientShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the horizontal of OBSGradientShader +[ComponentModel.DefaultBindingProperty('horizontal')] +[Management.Automation.SwitchParameter] +$Horizontal, +# Set the vertical of OBSGradientShader +[ComponentModel.DefaultBindingProperty('vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the gradient_center_width_percentage of OBSGradientShader +[Alias('gradient_center_width_percentage')] +[ComponentModel.DefaultBindingProperty('gradient_center_width_percentage')] +[Int32] +$GradientCenterWidthPercentage, +# Set the gradient_center_height_percentage of OBSGradientShader +[Alias('gradient_center_height_percentage')] +[ComponentModel.DefaultBindingProperty('gradient_center_height_percentage')] +[Int32] +$GradientCenterHeightPercentage, +# Set the notes of OBSGradientShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'gradient' +$ShaderNoun = 'OBSGradientShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// gradient shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform float4 start_color = { 0.1, 0.3, 0.1, 1.0 }; +uniform float start_step< + string label = "Start step"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.15; +uniform float4 middle_color = { 1.0, 1.0, 1.0, 1.0 }; +uniform float middle_step< + string label = "Middle step"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.4; +uniform float4 end_color = { 0.75, 0.75, 0.75, 1.0}; +uniform float end_step< + string label = "End step"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.9; +uniform int alpha_percent< + string label = "Alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform int pulse_speed< + string label = "Pulse speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool ease; +uniform bool rotate_colors; +uniform bool Apply_To_Alpha_Layer = true; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform bool horizontal; +uniform bool vertical; +uniform int gradient_center_width_percentage< + string label = "gradient center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int gradient_center_height_percentage< + string label = "gradient center height percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform string notes< + string widget_type = "info"; +> = "gradient center items will change the center location. Pulse Speed greater than 0 will animate. Easing seem to be too fast."; + +float EaseInOutCircTimer(float t, float b, float c, float d) { + t /= d / 2; + if (t < 1) return -c / 2 * (sqrt(1 - t * t) - 1) + b; + t -= 2; + return c / 2 * (sqrt(1 - t * t) + 1) + b; +} + +float BlurStyler(float t, float b, float c, float d, bool ease) +{ + if (ease) return EaseInOutCircTimer(t, 0, c, d); + return t; +} + +struct gradient +{ + float4 color; + float step; +}; + + +float4 mainImage(VertData v_in) : TARGET +{ + const float PI = 3.14159265f;//acos(-1); + float speed = float(pulse_speed) * 0.01; + float alpha = float(alpha_percent) * 0.01; + + //circular easing variable + float t = sin(elapsed_time * speed) * 2 - 1; + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + float2 gradient_center = float2(float(gradient_center_width_percentage) * 0.01,float(gradient_center_height_percentage) * 0.01); + float4 color = image.Sample(textureSampler, v_in.uv); + float luminance = color.a * 0.299 + color.g * 0.587 + color.b * 0.114; + float4 gray = float4(luminance,luminance,luminance, 1); + + // skip if (alpha is zero and only apply to alpha layer is true) + if (!(color.a <= 0.0 && Apply_To_Alpha_Layer == true)) + { + b = BlurStyler(t, 0, c, d, ease); + + const int no_colors = 3; + float4 s_color = start_color; + float4 m_color = middle_color; + float4 e_color = end_color; + + if (rotate_colors) + { + // get general time number between 0 and 4 + float tx = (b + 1) * 2; + // 3 steps c1->c2, c2->c3, c3->c1 + //when between 0 - 1 only c1 rises then falls + + if (tx <= 2.0) + { + s_color = lerp(start_color, middle_color, clamp((min(tx, 2.0) * 0.5) * 2, 0.0, 1.0)); + m_color = lerp(middle_color, end_color, clamp((min(tx, 2.0) * 0.5) * 2, 0.0, 1.0)); + e_color = lerp(end_color, start_color, clamp((min(tx, 2.0) * 0.5) * 2, 0.0, 1.0)); + } + + if ((tx >= 1.0) && (tx <= 3.0)) + { + s_color = lerp(middle_color, end_color, clamp(((min(max(1.0, tx), 3.0) - 1) * 0.5) * 2, 0.0, 1.0)); + m_color = lerp(end_color, start_color, clamp(((min(max(1.0, tx), 3.0) - 1) * 0.5) * 2, 0.0, 1.0)); + e_color = lerp(start_color, middle_color, clamp(((min(max(1.0, tx), 3.0) - 1) * 0.5) * 2, 0.0, 1.0)); + } + + if (tx >= 2.0) + { + s_color = lerp(end_color, start_color, clamp(((min(2.0, tx) - 2) * 0.5) * 2, 0.0, 1.0)); + m_color = lerp(start_color, middle_color, clamp(((min(2.0, tx) - 2) * 0.5) * 2, 0.0, 1.0)); + e_color = lerp(middle_color, end_color, clamp(((min(2.0, tx) - 2) * 0.5) * 2, 0.0, 1.0)); + } + + if (tx < 0) + { + s_color = lerp(end_color, start_color, clamp(abs(max(1.0, tx)) * 2, 0.0, 1.0)); + m_color = lerp(start_color, middle_color, clamp(abs(max(1.0, tx)) * 2, 0.0, 1.0)); + e_color = lerp(middle_color, end_color, clamp(abs(max(1.0, tx)) * 2, 0.0, 1.0)); + } + } + + float4 colors[no_colors]; + colors[0] =s_color; + colors[1] = m_color; + colors[2] = e_color; + float step[no_colors]; + step[0] = start_step; + step[1] = middle_step; + step[2] = end_step; + + float redness = max(min(color.r - color.g, color.r - color.b) / color.r, 0); + float greenness = max(min(color.g - color.r, color.g - color.b) / color.g, 0); + float blueness = max(min(color.b - color.r, color.b - color.g) / color.b, 0); + + float dist = distance(v_in.uv, gradient_center); + if (horizontal && (vertical == false)) + { + dist = distance(v_in.uv.y, gradient_center.y); + } + if (vertical && (horizontal == false)) + { + dist = distance(v_in.uv.x, gradient_center.x); + } + + float4 col = colors[0]; + for (int i = 1; i < no_colors; ++i) { + col = lerp(col, colors[i], smoothstep(step[i - 1], step[i], dist)); + } + col.a = clamp(alpha, 0.0, 1.0); + if (Apply_To_Alpha_Layer == false) + color.a = alpha; + if (Apply_To_Specific_Color) + { + col.a = alpha; + float4 original_color = image.Sample(textureSampler, v_in.uv); + col.rgb = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? col.rgb : original_color.rgb; + } + // result = float4(redness, greenness,blueness,1); + //color *= float4(col.r, col.g, col.b, clamp(dot(color, luminance)* alpha, 0.0, 1.0)); + //color.rgb += col * alpha; + //color.a += clamp(1.0 - alpha, 0.0,1.0); + ///color.rgb *= (color.rgb * clamp(1.0- alpha, 0.0, 1.0)) + (col.rgb * clamp(alpha, 0.0, 1.0)); + //color = float4(max(color.r, col.r), max(color.g, col.g), max(color.b, col.b), clamp(dot(color, luminance) * alpha, 0.0, 1.0)); + color.rgb = lerp(color.rgb, col.rgb, clamp(alpha, 0.0, 1.0)); + + } + return color; + + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSHalftoneShader { + +[Alias('Set-OBSHalftoneShader','Add-OBSHalftoneShader')] +param( +# Set the threshold of OBSHalftoneShader +[ComponentModel.DefaultBindingProperty('threshold')] +[Single] +$Threshold, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'halftone' +$ShaderNoun = 'OBSHalftoneShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.1415926535897932384626433832795 +#define PI180 float(PI / 180.0) + +uniform float threshold< + string label = "Threshold"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.6; + +float sind(float a) +{ + return sin(a * PI180); +} + +float cosd(float a) +{ + return cos(a * PI180); +} + +float added(float2 sh, float sa, float ca, float2 c, float d) +{ + return 0.5 + 0.25 * cos((sh.x * sa + sh.y * ca + c.x) * d) + 0.25 * cos((sh.x * ca - sh.y * sa + c.y) * d); +} + +float4 mainImage(VertData v_in) : TARGET +{ + // Halftone dot matrix shader + // @author Tomek Augustyn 2010 + + // Ported from my old PixelBender experiment + // https://github.com/og2t/HiSlope/blob/master/src/hislope/pbk/fx/halftone/Halftone.pbk + + float coordX = v_in.uv.x; + float coordY = v_in.uv.y; + float2 dstCoord = float2(coordX, coordY); + float2 rotationCenter = float2(0.5, 0.5); + float2 shift = dstCoord - rotationCenter; + + float dotSize = 3.0; + float angle = 45.0; + + float rasterPattern = added(shift, sind(angle), cosd(angle), rotationCenter, PI / dotSize * 680.0); + float4 srcPixel = image.Sample(textureSampler, dstCoord); + + float avg = 0.2125 * srcPixel.r + 0.7154 * srcPixel.g + 0.0721 * srcPixel.b; + float gray = (rasterPattern * threshold + avg - threshold) / (1.0 - threshold); + + // uncomment to see how the raster pattern looks + // gray = rasterPattern; + + return float4(gray, gray, gray, 1.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSHeatWaveSimpleShader { + +[Alias('Set-OBSHeatWaveSimpleShader','Add-OBSHeatWaveSimpleShader')] +param( +# Set the Rate of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Rate')] +[Single] +$Rate, +# Set the Strength of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Strength')] +[Single] +$Strength, +# Set the Distortion of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Distortion')] +[Single] +$Distortion, +# Set the Opacity of OBSHeatWaveSimpleShader +[ComponentModel.DefaultBindingProperty('Opacity')] +[Single] +$Opacity, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'heat-wave-simple' +$ShaderNoun = 'OBSHeatWaveSimpleShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Heat Wave Simple, Version 0.03, for OBS Shaderfilter +// Copyright ©️ 2022 by SkeletonBow +// License: GNU General Public License, version 2 +// +// Contact info: +// Twitter: +// Twitch: +// +// Description: +// Generate a crude pseudo heat wave displacement on an image source. +// +// Based on: https://www.shadertoy.com/view/td3GRn by Dombass +// +// Changelog: +// 0.03 - Added Opacity control +// 0.02 - Added crude Rate, Strength, and Distortion controls +// 0.01 - Initial release + +uniform float Rate< + string label = "Rate"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 5.0; +uniform float Strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = -25.0; + float maximum = 25.0; + float step = 0.01; +> = 1.0; +uniform float Distortion< + string label = "Distortion"; + string widget_type = "slider"; + float minimum = 3.0; + float maximum = 20.0; + float step = 0.01; +> = 10.0; +uniform float Opacity< + string label = "Opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.00; + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float distort = clamp(Distortion, 3.0, 20.0); + + // Time varying pixel color + float jacked_time = Rate*elapsed_time; + float2 scale = float2(0.5, 0.5); + float str = clamp(Strength, -25.0, 25.0) * 0.01; + + uv += str * sin(scale*jacked_time + length( uv ) * distort); + float4 c = image.Sample( textureSampler, uv); + c.a *= saturate(Opacity*0.01); + return c; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSHexagonShader { + +[Alias('Set-OBSHexagonShader','Add-OBSHexagonShader')] +param( +# Set the Hex_Color of OBSHexagonShader +[Alias('Hex_Color')] +[ComponentModel.DefaultBindingProperty('Hex_Color')] +[String] +$HexColor, +# Set the Alpha_Percent of OBSHexagonShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Int32] +$AlphaPercent, +# Set the Quantity of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Quantity')] +[Single] +$Quantity, +# Set the Border_Width of OBSHexagonShader +[Alias('Border_Width')] +[ComponentModel.DefaultBindingProperty('Border_Width')] +[Int32] +$BorderWidth, +# Set the Blend of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Blend')] +[Management.Automation.SwitchParameter] +$Blend, +# Set the Equilateral of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Equilateral')] +[Management.Automation.SwitchParameter] +$Equilateral, +# Set the Zoom_Animate of OBSHexagonShader +[Alias('Zoom_Animate')] +[ComponentModel.DefaultBindingProperty('Zoom_Animate')] +[Management.Automation.SwitchParameter] +$ZoomAnimate, +# Set the Speed_Percent of OBSHexagonShader +[Alias('Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Speed_Percent')] +[Int32] +$SpeedPercent, +# Set the Glitch of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('Glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the Distort_X of OBSHexagonShader +[Alias('Distort_X')] +[ComponentModel.DefaultBindingProperty('Distort_X')] +[Single] +$DistortX, +# Set the Distort_Y of OBSHexagonShader +[Alias('Distort_Y')] +[ComponentModel.DefaultBindingProperty('Distort_Y')] +[Single] +$DistortY, +# Set the Offset_X of OBSHexagonShader +[Alias('Offset_X')] +[ComponentModel.DefaultBindingProperty('Offset_X')] +[Single] +$OffsetX, +# Set the Offset_Y of OBSHexagonShader +[Alias('Offset_Y')] +[ComponentModel.DefaultBindingProperty('Offset_Y')] +[Single] +$OffsetY, +# Set the notes of OBSHexagonShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'hexagon' +$ShaderNoun = 'OBSHexagonShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Hexagon shader by Charles Fettinger for obs-shaderfilter plugin 4/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform float4 Hex_Color; +uniform int Alpha_Percent< + string label = "Alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform float Quantity< + string label = "Quantity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 25; +uniform int Border_Width< + string label = "Border Width"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 115; + int step = 1; +> = 15; // <- -15 to 85, -15 off top +uniform bool Blend; +uniform bool Equilateral; +uniform bool Zoom_Animate; +uniform int Speed_Percent< + string label = "Speed Percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 100; +uniform bool Glitch; +uniform float Distort_X< + string label = "Distort X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float Distort_Y< + string label = "Distort Y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float Offset_X< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float Offset_Y< + string label = "Offset X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform string notes< + string widget_type = "info"; +>= "Tiles:equilateral: around 12.33,nonequilateral: square rootable number. Distort of 1 is normal."; + +float mod(float x, float y) +{ + return x - y * floor(x/y); +} + +float2 mod2(float2 x, float2 y) +{ + return x - y * floor(x/y); +} + +// 0 on edges, 1 in non_edge +float hex(float2 p) { + float xyratio = 1; + if (Equilateral) + xyratio = uv_size.x /uv_size.y; + + // calc p + p.x = mul(p.x,xyratio); + p.y += mod(floor(p.x) , 2.0)*0.5; + p = abs((mod2(p , float2(1.0, 1.0)) - 0.5)); + return abs(max(p.x*1.5 + p.y, p.y*2.0) -1); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv * uv_scale + uv_offset); + float alpha = float(Alpha_Percent) * 0.01; + float quantity = sqrt(clamp(Quantity, 0.0, 100.0)); + float border_width = clamp(float(Border_Width - 15), -15, 100) * 0.01; + float speed = float(Speed_Percent) * 0.01; + float time = (1 + sin(elapsed_time * speed))*0.5; + if (Zoom_Animate) + quantity *= time; + + // create a (pos)ition reference, hex radius and smoothstep out the non_edge + float2 pos = float2(v_in.uv.x * max(0,Distort_X), (1 - v_in.uv.y) * max(0,Distort_Y)) * uv_scale + uv_offset + float2(Offset_X, Offset_Y); + if (Glitch) + quantity *= lerp(pos.x, pos.y, rand_f); + float2 p = (pos * quantity); // number of hexes to be created + float r = (1.0 -0.7)*0.5; // cell default radius + float non_edge = smoothstep(0.0, r + border_width, hex(p)); // approach border become edge + + // make the border colorable - non_edge is scaled + float4 c = float4(non_edge, non_edge,non_edge,1.0) ; + if (non_edge < 1) + { + c = Hex_Color; + c.a = alpha; + if (Blend) + c = lerp(rgba, c, 1 - non_edge); + return lerp(rgba,c,alpha); + } + return lerp(rgba, c * rgba, alpha); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSHslHsvSaturationShader { + +[Alias('Set-OBSHslHsvSaturationShader','Add-OBSHslHsvSaturationShader')] +param( +# Set the hslSaturationFactor of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hslSaturationFactor')] +[Single] +$HslSaturationFactor, +# Set the hslGamma of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hslGamma')] +[Single] +$HslGamma, +# Set the hsvSaturationFactor of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hsvSaturationFactor')] +[Single] +$HsvSaturationFactor, +# Set the hsvGamma of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('hsvGamma')] +[Single] +$HsvGamma, +# Set the adjustmentOrder of OBSHslHsvSaturationShader +[ComponentModel.DefaultBindingProperty('adjustmentOrder')] +[Int32] +$AdjustmentOrder, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'hsl_hsv_saturation' +$ShaderNoun = 'OBSHslHsvSaturationShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' + +// Adjusted Saturation Shader for obs-shaderfilter using HLSL conventions + +uniform float hslSaturationFactor< + string label = "HSL Sat Gain"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.01; +> = 1.0; + +uniform float hslGamma< + string label = "HSL Sat Gamma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 1.0; + +uniform float hsvSaturationFactor< + string label = "HSV Sat Gain"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.01; +> = 1.0; + +uniform float hsvGamma< + string label = "HSV Sat Gamma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 1.0; + +uniform int adjustmentOrder< + string label = "Order"; + string widget_type = "select"; + int option_0_value = 1; + string option_0_label = "Parallel adjustment (both HSL and HSV operate on the original image and then blend)"; + int option_1_value = 2; + string option_1_label = "HSL first, then HSV"; + int option_2_value = 3; + string option_2_label = "HSV first, then HSL"; +> = 1; + +// HSV conversion + +float3 rgb2hsv(float3 c) { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp(float4(c.bg, K.wz), float4(c.gb, K.xy), step(c.b, c.g)); + float4 q = lerp(float4(p.xyw, c.r), float4(c.r, p.yzx), step(p.x, c.r)); + + float d = q.x - min(q.w, q.y); + float e = 1.0e-10; + return float3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); +} + +float3 hsv2rgb(float3 c) { + float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * lerp(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y); +} + +// HSL conversion + +float3 rgb2hsl(float3 c) { + float maxVal = max(c.r, max(c.g, c.b)); + float minVal = min(c.r, min(c.g, c.b)); + float delta = maxVal - minVal; + float h = 0.0; + float s = 0.0; + float l = (maxVal + minVal) / 2.0; + + if(delta != 0) { + if(l < 0.5) s = delta / (maxVal + minVal); + else s = delta / (2.0 - maxVal - minVal); + + if(c.r == maxVal) h = (c.g - c.b) / delta + (c.g < c.b ? 6.0 : 0.0); + else if(c.g == maxVal) h = (c.b - c.r) / delta + 2.0; + else h = (c.r - c.g) / delta + 4.0; + + h /= 6.0; + } + + return float3(h, s, l); +} + +float hue2rgb(float p, float q, float t) { + if(t < 0.0) t += 1.0; + if(t > 1.0) t -= 1.0; + if(t < 1.0/6.0) return p + (q - p) * 6.0 * t; + if(t < 1.0/2.0) return q; + if(t < 2.0/3.0) return p + (q - p) * (2.0/3.0 - t) * 6.0; + return p; +} + +float3 hsl2rgb(float3 c) { + float r, g, b; + + if(c.y == 0.0) { + r = g = b = c.z; + } else { + float q = c.z < 0.5 ? c.z * (1.0 + c.y) : c.z + c.y - c.z * c.y; + float p = 2.0 * c.z - q; + r = hue2rgb(p, q, c.x + 1.0/3.0); + g = hue2rgb(p, q, c.x); + b = hue2rgb(p, q, c.x - 1.0/3.0); + } + + return float3(r, g, b); +} + +float3 adjustColorWithOrder(float3 originalColor) { + if (adjustmentOrder == 1) { + // Parallel adjustment (both HSL and HSV operate on the original image and then blend) + float3 hslAdjusted = rgb2hsl(originalColor); + hslAdjusted.y = pow(hslAdjusted.y, (1/hslGamma)); + hslAdjusted.y *= hslSaturationFactor; + float3 hslAdjustedColor = hsl2rgb(hslAdjusted); + + float3 hsvAdjusted = rgb2hsv(originalColor); + hsvAdjusted.y = pow(hsvAdjusted.y, (1/hsvGamma)); + hsvAdjusted.y *= hsvSaturationFactor; + float3 hsvAdjustedColor = hsv2rgb(hsvAdjusted); + + float3 finalColor = (hslAdjustedColor + hsvAdjustedColor) * 0.5; + return finalColor; + } + else if (adjustmentOrder == 2) { + // HSL first, then HSV + float3 hslAdjusted = rgb2hsl(originalColor); + hslAdjusted.y = pow(hslAdjusted.y, (1/hslGamma)); + hslAdjusted.y *= hslSaturationFactor; + float3 afterHSL = hsl2rgb(hslAdjusted); + float3 hsvAdjusted = rgb2hsv(afterHSL); + hsvAdjusted.y = pow(hsvAdjusted.y, (1/hsvGamma)); + hsvAdjusted.y *= hsvSaturationFactor; + return hsv2rgb(hsvAdjusted); + } + else if (adjustmentOrder == 3) { + // HSV first, then HSL + float3 hsvAdjusted = rgb2hsv(originalColor); + hsvAdjusted.y = pow(hsvAdjusted.y, (1/hsvGamma)); + hsvAdjusted.y *= hsvSaturationFactor; + float3 afterHSV = hsv2rgb(hsvAdjusted); + float3 hslAdjusted = rgb2hsl(afterHSV); + hslAdjusted.y = pow(hslAdjusted.y, (1/hslGamma)); + hslAdjusted.y *= hslSaturationFactor; + return hsl2rgb(hslAdjusted); + } + return originalColor; // Default to original color in case of unexpected values +} + +// Final composite + +float4 mainImage(VertData v_in) : TARGET +{ + float3 originalColor = image.Sample(textureSampler, v_in.uv).rgb; + float3 adjustedColor = adjustColorWithOrder(originalColor); + return float4(adjustedColor, 1.0); // preserving the original alpha +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSHueRotatonShader { + +[Alias('Set-OBSHueRotatonShader','Add-OBSHueRotatonShader')] +param( +# Set the Speed of OBSHueRotatonShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Hue_Override of OBSHueRotatonShader +[Alias('Hue_Override')] +[ComponentModel.DefaultBindingProperty('Hue_Override')] +[Management.Automation.SwitchParameter] +$HueOverride, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'hue-rotaton' +$ShaderNoun = 'OBSHueRotatonShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Hue Rotation shader, version 1.0 for OBS Shaderfilter +// Copyright ©️ 2023 by SkeletonBow +// License: GNU General Public License, version 2 +// +// Contact info: +// Twitter: +// Twitch: +// YouTube: +// Soundcloud: +// +// Description: +// Rotates hue of input at a user configurable speed. Negative speed values reverse rotation. A hue +// override option is provided to force a specific rotating hue instead of the original image''s hue. +// +// Changelog: +// 1.0 - Initial release + +/* + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 10.00; +uniform bool Hue_Override = false; + +float3 HUEtoRGB(in float H) +{ + float R = abs(H * 6 - 3) - 1; + float G = 2 - abs(H * 6 - 2); + float B = 2 - abs(H * 6 - 4); + return saturate(float3(R,G,B)); +} + +#define Epsilon 1e-10 + +float3 RGBtoHCV(in float3 RGB) +{ + // Based on work by Sam Hocevar and Emil Persson + float4 P = (RGB.g < RGB.b) ? float4(RGB.bg, -1.0, 2.0/3.0) : float4(RGB.gb, 0.0, -1.0/3.0); + float4 Q = (RGB.r < P.x) ? float4(P.xyw, RGB.r) : float4(RGB.r, P.yzx); + float C = Q.x - min(Q.w, Q.y); + float H = abs((Q.w - Q.y) / (6 * C + Epsilon) + Q.z); + return float3(H, C, Q.x); +} + +float3 HSVtoRGB(in float3 HSV) +{ + float3 RGB = HUEtoRGB(HSV.x); + return ((RGB - 1) * HSV.y + 1) * HSV.z; +} + +float3 RGBtoHSV(in float3 RGB) +{ + float3 HCV = RGBtoHCV(RGB); + float S = HCV.y / (HCV.z + Epsilon); + return float3(HCV.x, S, HCV.z); +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float4 col_in = image.Sample(textureSampler, uv); + float3 col_out; + float3 HSV = RGBtoHSV(col_in.rgb); + + if(Hue_Override) + HSV.x = elapsed_time * Speed * 0.01; + else + HSV.x += elapsed_time * Speed * 0.01; + + // Normalize Hue + HSV.x = frac(HSV.x); + + col_out = HSVtoRGB(HSV); + return float4(col_out, col_in.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSIntensityScopeShader { + +[Alias('Set-OBSIntensityScopeShader','Add-OBSIntensityScopeShader')] +param( +# Set the gain of OBSIntensityScopeShader +[ComponentModel.DefaultBindingProperty('gain')] +[Single] +$Gain, +# Set the blend of OBSIntensityScopeShader +[ComponentModel.DefaultBindingProperty('blend')] +[Single] +$Blend, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'intensity-scope' +$ShaderNoun = 'OBSIntensityScopeShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Robin Green, Dec 2016 +// Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. +// https://www.shadertoy.com/view/XtcSRs adopted for OBS by Exeldro +uniform float gain< + string label = "Gain"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 1.00; + float step = 0.01; +> = 0.3; +uniform float blend< + string label = "Blend"; + string widget_type = "slider"; + float minimum = 0.00; + float maximum = 1.00; + float step = 0.01; +> = 0.6; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv.y = 1.0 - uv.y; + + // calculate the intensity bucket for this pixel based on column height (padded at the top) + const float max_value = 270.0; + const float buckets = 512.0; + float bucket_min = log( max_value * floor(uv.y * buckets) / buckets ); + float bucket_max = log( max_value * floor((uv.y * buckets) + 1.0) / buckets ); + + // count the count the r,g,b and luma in this column that match the bucket + float4 count = float4(0.0, 0.0, 0.0, 0.0); + for( int i=0; i < 512; ++i ) { + float j = float(i) / buckets; + float4 pixel = image.Sample(textureSampler, float2(uv.x, j )) * 256.0; + + // calculate the Rec.709 luma for this pixel + pixel.a = pixel.r * 0.2126 + pixel.g * 0.7152 + pixel.b * 0.0722; + + float4 logpixel = log(pixel); + if( logpixel.r >= bucket_min && logpixel.r < bucket_max) count.r += 1.0; + if( logpixel.g >= bucket_min && logpixel.g < bucket_max) count.g += 1.0; + if( logpixel.b >= bucket_min && logpixel.b < bucket_max) count.b += 1.0; + if( logpixel.a >= bucket_min && logpixel.a < bucket_max) count.a += 1.0; + } + + // sum luma into RGB, tweak log intensity for readability + count.rgb = log(count.rgb * (1.0-blend) + count.aaa * blend) * gain; + + // output + return count; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInvertLumaShader { + +[Alias('Set-OBSInvertLumaShader','Add-OBSInvertLumaShader')] +param( +# Set the Invert_Color of OBSInvertLumaShader +[Alias('Invert_Color')] +[ComponentModel.DefaultBindingProperty('Invert_Color')] +[Management.Automation.SwitchParameter] +$InvertColor, +# Set the Invert_Luma of OBSInvertLumaShader +[Alias('Invert_Luma')] +[ComponentModel.DefaultBindingProperty('Invert_Luma')] +[Management.Automation.SwitchParameter] +$InvertLuma, +# Set the Gamma_Correction of OBSInvertLumaShader +[Alias('Gamma_Correction')] +[ComponentModel.DefaultBindingProperty('Gamma_Correction')] +[Management.Automation.SwitchParameter] +$GammaCorrection, +# Set the Test_Ramp of OBSInvertLumaShader +[Alias('Test_Ramp')] +[ComponentModel.DefaultBindingProperty('Test_Ramp')] +[Management.Automation.SwitchParameter] +$TestRamp, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'invert-luma' +$ShaderNoun = 'OBSInvertLumaShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Invert shader 1.0 - for OBS Shaderfilter +// Copyright 2021 by SkeletonBow +// https://twitter.com/skeletonbowtv +// https://twitch.tv/skeletonbowtv + +// Performs RGB color inversion or YUV luma inversion with optional sRGB gamma handling + +uniform bool Invert_Color = false; +uniform bool Invert_Luma = true; +uniform bool Gamma_Correction = true; +uniform bool Test_Ramp = false; + +float3 encodeSRGB(float3 linearRGB) +{ + float3 a = float3(12.92,12.92,12.92) * linearRGB; + float3 b = float3(1.055,1.055,1.055) * pow(linearRGB, float3(1.0 / 2.4,1.0 / 2.4,1.0 / 2.4)) - float3(0.055,0.055,0.055); + float3 c = step(float3(0.0031308,0.0031308,0.0031308), linearRGB); + return float3(lerp(a, b, c)); +} + +float3 decodeSRGB(float3 screenRGB) +{ + float3 a = screenRGB / float3(12.92,12.92,12.92); + float3 b = pow((screenRGB + float3(0.055,0.055,0.055)) / float3(1.055,1.055,1.055), float3(2.4,2.4,2.4)); + float3 c = step(float3(0.04045,0.04045,0.04045), screenRGB); + return float3(lerp(a, b, c)); +} + +float3 HUEtoRGB(in float H) +{ + float R = abs(H * 6 - 3) - 1; + float G = 2 - abs(H * 6 - 2); + float B = 2 - abs(H * 6 - 4); + return float3(clamp(float3(R,G,B), float3(0.0, 0.0, 0.0), float3(1.0, 1.0, 1.0))); +} + +float3 RGBtoYUV(float3 color) +{ + // YUV matriz (BT709 luma coefficients) +#ifdef OPENGL + float3x3 toYUV = float3x3( + float3(0.2126, -0.09991, 0.615), + float3(0.7152, -0.33609, -0.55861), + float3(0.0722, 0.436, -0.05639)); +#else + float3x3 toYUV = { + { 0.2126, -0.09991, 0.615 }, + { 0.7152, -0.33609, -0.55861 }, + { 0.0722, 0.436, -0.05639 }, + }; +#endif + return mul(color, toYUV); +} + +float3 YUVtoRGB(float3 color) +{ + // YUV matriz (BT709) +#ifdef OPENGL + float3x3 fromYUV = float3x3( + float3(1.000, 1.000, 1.000), + float3(0.0, -0.21482, 2.12798), + float3(1.28033, -0.38059, 0.0)); +#else + float3x3 fromYUV = { + { 1.000, 1.000, 1.000 }, + { 0.0, -0.21482, 2.12798 }, + { 1.28033, -0.38059, 0.0 }, + }; +#endif + return mul(color, fromYUV); +} + +float3 generate_ramps(float3 color, float2 uv) +{ + float3 ramp = float3(0.0, 0.0, 0.0); + if(uv.y < 0.2) + ramp.r = uv.x; // Red ramp + else if(uv.y < 0.4) + ramp.g = uv.x; // Green ramp + else if(uv.y < 0.6) + ramp.b = uv.x; // Blue ramp + else if(uv.y < 0.8) + ramp = float3(uv.x, uv.x, uv.x); // Grey ramp + else + ramp = HUEtoRGB(uv.x); // Hue rainbow + + return ramp; +} + +float4 mainImage( VertData v_in ) : TARGET +{ + float2 uv = v_in.uv; + float4 obstex = image.Sample( textureSampler, uv ); + float3 color = obstex.rgb; + // Apply sRGB gamma transfer encode + if(Gamma_Correction) color = encodeSRGB( color ); + // Override display with test patterns to visually see what is happening + if( Test_Ramp ) color = generate_ramps( obstex.rgb, uv ); + // RGB color invert + if( Invert_Color ) { + color = float3(1.0, 1.0, 1.0) - color; + } + // YUV luma invert + if( Invert_Luma ) { + float3 yuv = RGBtoYUV( color ); + yuv.x = 1.0 - yuv.x; + color = YUVtoRGB(yuv); + } + // Apply sRGB gamma transfer decode + if(Gamma_Correction) color = decodeSRGB( color ); + return float4(color, obstex.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSLuminance2Shader { + +[Alias('Set-OBSLuminance2Shader','Add-OBSLuminance2Shader')] +param( +# Set the color of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('color')] +[String] +$Color, +# Set the lumaMax of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMax')] +[Single] +$LumaMax, +# Set the lumaMin of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMaxSmooth of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMaxSmooth')] +[Single] +$LumaMaxSmooth, +# Set the lumaMinSmooth of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the invertImageColor of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('invertImageColor')] +[Management.Automation.SwitchParameter] +$InvertImageColor, +# Set the invertAlphaChannel of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('invertAlphaChannel')] +[Management.Automation.SwitchParameter] +$InvertAlphaChannel, +# Set the notes of OBSLuminance2Shader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'luminance2' +$ShaderNoun = 'OBSLuminance2Shader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform float4 color; +uniform float lumaMax< + string label = "Luma Max"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.05; +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform float lumaMaxSmooth< + string label = "Luma Max Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.10; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform bool invertImageColor; +uniform bool invertAlphaChannel; +uniform string notes< + string widget_type = "info"; +> = "''luma max'' - anything above will be transparent. ''luma min'' - anything below will be transparent. ''luma(min or max)Smooth - make the transparency fade in or out by a distance. ''invert color'' - inverts the color of the screen. ''invert alpha channel'' - flips all settings on thier head, which is excellent for testing."; + +float4 InvertColor(float4 rgba_in) +{ + rgba_in.r = 1.0 - rgba_in.r; + rgba_in.g = 1.0 - rgba_in.g; + rgba_in.b = 1.0 - rgba_in.b; + rgba_in.a = 1.0 - rgba_in.a; + return rgba_in; +} + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 rgba = image.Sample(textureSampler, v_in.uv); + if (rgba.a > 0.0) + { + + if (invertImageColor) + { + rgba = InvertColor(rgba); + } + float luminance = rgba.r * color.r * 0.299 + rgba.g * color.g * 0.587 + rgba.b * color.b * 0.114; + + //intensity = min(max(intensity,minIntensity),maxIntensity); + float clo = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luminance); + float chi = 1. - smoothstep(lumaMax - lumaMaxSmooth, lumaMax, luminance); + + float amask = clo * chi; + + if (invertAlphaChannel) + { + amask = 1.0 - amask; + } + rgba *= color; + rgba.a = clamp(amask, 0.0, 1.0); + + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSLuminanceAlphaShader { + +[Alias('Set-OBSLuminanceAlphaShader','Add-OBSLuminanceAlphaShader')] +param( +# Set the ViewProj of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSLuminanceAlphaShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSLuminanceAlphaShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSLuminanceAlphaShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSLuminanceAlphaShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSLuminanceAlphaShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSLuminanceAlphaShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the color_matrix of OBSLuminanceAlphaShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the color of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('color')] +[String] +$Color, +# Set the mul_val of OBSLuminanceAlphaShader +[Alias('mul_val')] +[ComponentModel.DefaultBindingProperty('mul_val')] +[Single] +$MulVal, +# Set the add_val of OBSLuminanceAlphaShader +[Alias('add_val')] +[ComponentModel.DefaultBindingProperty('add_val')] +[Single] +$AddVal, +# Set the level of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('level')] +[Single] +$Level, +# Set the invertAlphaChannel of OBSLuminanceAlphaShader +[ComponentModel.DefaultBindingProperty('invertAlphaChannel')] +[Management.Automation.SwitchParameter] +$InvertAlphaChannel, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'luminance_alpha' +$ShaderNoun = 'OBSLuminanceAlphaShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Luminance Alpha Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform float4x4 color_matrix; +uniform float4 color; +uniform float mul_val< + string label = "Mulitply"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; +uniform float add_val< + string label = "Add"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 0.0; +uniform float level< + string label = "Level"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> =1.0; +uniform bool invertAlphaChannel; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertDataIn { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +struct VertDataOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; + float2 uv2 : TEXCOORD1; +}; + +VertDataOut mainTransform(VertDataIn v_in) +{ + VertDataOut vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0 ), ViewProj); + vert_out.uv = v_in.uv * mul_val + add_val; + vert_out.uv2 = v_in.uv ; + return vert_out; +} + +/*float3 GetLuminance(float4 rgba) +{ + float red = rbga.r; + float green = rgba.g; + float blue = rgba.b; + return (.299 * red) + (.587 * green) + (.114 * blue); +}*/ + +float4 PSAlphaMaskRGBA(VertDataOut v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv) ; + if (rgba.a > 0.0) + { + + float intensity = rgba.r * color.r * 0.299 + rgba.g * color.g * 0.587 + rgba.b * color.b * 0.114; + if (invertAlphaChannel) + { + intensity = 1.0 - intensity; + } + rgba *= color; + rgba.a = clamp((intensity * level), 0.0, 1.0); + + } + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = PSAlphaMaskRGBA(v_in); + } +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSLuminanceShader { + +[Alias('Set-OBSLuminanceShader','Add-OBSLuminanceShader')] +param( +# Set the color of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('color')] +[String] +$Color, +# Set the level of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('level')] +[Single] +$Level, +# Set the invertImageColor of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('invertImageColor')] +[Management.Automation.SwitchParameter] +$InvertImageColor, +# Set the invertAlphaChannel of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('invertAlphaChannel')] +[Management.Automation.SwitchParameter] +$InvertAlphaChannel, +# Set the notes of OBSLuminanceShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Luminance' +$ShaderNoun = 'OBSLuminanceShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Exeldro February 22, 2022 +uniform float4 color; +uniform float level< + string label = "Level"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform bool invertImageColor; +uniform bool invertAlphaChannel; + +uniform string notes< + string widget_type = "info"; +> = "''color'' - the color to add to the original image. Multiplies the color against the original color giving it a tint. White represents no tint. ''invertImageColor'' - - inverts the color of the screen, great for testing and fine tuning. ''level'' - transparency amount modifier where 1.0 = base luminance (recommend 0.00 - 10.00). ''invertAlphaChannel'' - flip what is transparent from darks (default) to lights"; + +float4 InvertColor(float4 rgba_in) +{ + rgba_in.r = 1.0 - rgba_in.r; + rgba_in.g = 1.0 - rgba_in.g; + rgba_in.b = 1.0 - rgba_in.b; + rgba_in.a = 1.0 - rgba_in.a; + return rgba_in; +} + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 rgba = image.Sample(textureSampler, v_in.uv); + if (rgba.a > 0.0) + { + + if (invertImageColor) + { + rgba = InvertColor(rgba); + } + float intensity = rgba.r * color.r * 0.299 + rgba.g * color.g * 0.587 + rgba.b * color.b * 0.114; + + //intensity = min(max(intensity,minIntensity),maxIntensity); + + + if (invertAlphaChannel) + { + intensity = 1.0 - intensity; + } + rgba *= color; + rgba.a = clamp((intensity * level), 0.0, 1.0); + + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSMatrixShader { + +[Alias('Set-OBSMatrixShader','Add-OBSMatrixShader')] +param( +# Set the ViewProj of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSMatrixShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSMatrixShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSMatrixShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_size of OBSMatrixShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the uv_pixel_interval of OBSMatrixShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSMatrixShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the rand_instance_f of OBSMatrixShader +[Alias('rand_instance_f')] +[ComponentModel.DefaultBindingProperty('rand_instance_f')] +[Single] +$RandInstanceF, +# Set the rand_activation_f of OBSMatrixShader +[Alias('rand_activation_f')] +[ComponentModel.DefaultBindingProperty('rand_activation_f')] +[Single] +$RandActivationF, +# Set the loops of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('loops')] +[Int32] +$Loops, +# Set the local_time of OBSMatrixShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the mouse of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('mouse')] +[Single[]] +$Mouse, +# Set the Invert_Direction of OBSMatrixShader +[Alias('Invert_Direction')] +[ComponentModel.DefaultBindingProperty('Invert_Direction')] +[Management.Automation.SwitchParameter] +$InvertDirection, +# Set the lumaMin of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('lumaMin')] +[Single] +$LumaMin, +# Set the lumaMinSmooth of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('lumaMinSmooth')] +[Single] +$LumaMinSmooth, +# Set the Ratio of OBSMatrixShader +[ComponentModel.DefaultBindingProperty('Ratio')] +[Single] +$Ratio, +# Set the Alpha_Percentage of OBSMatrixShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Alpha_Layer of OBSMatrixShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'matrix' +$ShaderNoun = 'OBSMatrixShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Matrix effect by Charles Fettinger for obs-shaderfilter plugin 7/2020 v.2 +// https://github.com/Oncorporation/obs-shaderfilter +// https://www.shadertoy.com/view/XljBW3 The cat is a glitch (Matrix) - coverted from and updated + +#define vec2 float2 +#define vec3 float3 +#define vec4 float4 +#define ivec2 int2 +#define ivec3 int3 +#define ivec4 int4 +#define mat2 float2x2 +#define mat3 float3x3 +#define mat4 float4x4 +#define fract frac +#define mix lerp +#define iTime float + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_size; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float rand_instance_f; +uniform float rand_activation_f; +uniform int loops; +uniform float local_time; + + +uniform float2 mouse< + string label = "Virtual Mouse Coordinates"; + string widget_type = "slider"; + float2 minimum = {0, 0}; + float2 maximum = {100., 100.}; + float2 scale = {.01, .01}; + float2 step = {.01, .01}; +> = {0., 0.}; + + +int2 iMouse() { + return int2(mouse.x * uv_size.x, mouse.y * uv_size.y); +} + +sampler_state textureSampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +/* ps start + +*/ + +uniform bool Invert_Direction< + string label = "Invert Direction"; +> = true; + +uniform float lumaMin< + string label = "Luma Min"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform float lumaMinSmooth< + string label = "Luma Min Smooth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.01; +uniform float Ratio< + string label = "Ratio"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 4.0; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100; // +uniform bool Apply_To_Alpha_Layer = true; + +#define PI2 6.28318530718 +#define PI 3.1416 + + +float vorocloud(float2 p){ + float f = 0.0; + float flow = 1.0; + float time = elapsed_time; + if(Invert_Direction){ + flow *= -1; + } + /* + //periodically stop + if (loops % 16 >= 8.0) + { + time = local_time - elapsed_time; + } + */ + + float r = clamp(Ratio,-50,50); + float2 pp = cos(float2(p.x * 14.0, (16.0 * p.y + cos(floor(p.x * 30.0)) + flow * time * PI2)) ); + p = cos(p * 12.1 + pp * r + sin(time/PI)*(r/PI) + 0.5 * cos(pp.x * r + sin(time/PI)*(r/PI))); + + float2 pts[4]; + + pts[0] = float2(0.5, 0.6); + pts[1] = float2(-0.4, 0.4); + pts[2] = float2(0.2, -0.7); + pts[3] = float2(-0.3, -0.4); + + float d = 5.0; + + for(int i = 0; i < 4; i++){ + pts[i].x += 0.03 * cos(float(i)) + p.x; + pts[i].y += 0.03 * sin(float(i)) + p.y; + d = min(d, distance(pts[i], pp)); + } + + f = 2.0 * pow(1.0 - 0.3 * d, 13.0); + + f = min(f, 1.0); + + return f; +} + +vec4 scene(float2 UV){ + float alpha = clamp(Alpha_Percentage *.01 ,0,1.0); + + float x = UV.x; + float y = UV.y; + + float2 p = float2(x, y) - 0.5; + + vec4 col = vec4(0.0,0.0,0.0,0.0); + col.g += 0.02; + + float v = vorocloud(p); + v = 0.2 * floor(v * 5.0); + + col.r += 0.1 * v; + col.g += 0.6 * v; + col.b += 0.5 * pow(v, 5.0); + + + v = vorocloud(p * 2.0); + v = 0.2 * floor(v * 5.0); + + col.r += 0.1 * v; + col.g += 0.2 * v; + col.b += 0.01 * pow(v, 5.0); + + col.a = 1.0; + float luma = dot(col.rgb,float3(0.299,0.587,0.114)); + float luma_min = smoothstep(lumaMin, lumaMin + lumaMinSmooth, luma); + col.a = clamp(luma_min,0.0,1.0); + + float4 original_color = image.Sample(textureSampler, UV); + + // skip if (alpha is zero and only apply to alpha layer is true) + if (!(original_color.a <= 0.0 && Apply_To_Alpha_Layer == true)) + { + if (Apply_To_Alpha_Layer == false) + original_color.a = alpha; + + col.rgb = lerp(original_color.rgb, col.rgb, alpha); //apply alpha slider + col = lerp(original_color, col, col.a); //remove black background color + } + else + { + col.a = original_color.a; + } + + return col; +} + +void mainImage( out vec4 fragColor, in vec2 fragCoord ) +{ + vec2 uv = fragCoord.xy / uv_size; + fragColor = scene(uv); +} + +/*ps end*/ + +struct VertFragData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertFragData VSDefault(VertFragData vtx) { + vtx.pos = mul(float4(vtx.pos.xyz, 1.0), ViewProj); + return vtx; +} + +float4 PSDefault(VertFragData vtx) : TARGET { + float4 col = float4(1., 1., 1., 1.); + mainImage(col, vtx.uv * uv_size); + return col; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vtx); + pixel_shader = PSDefault(vtx); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSMultiplyShader { + +[Alias('Set-OBSMultiplyShader','Add-OBSMultiplyShader')] +param( +# Set the other_image of OBSMultiplyShader +[Alias('other_image')] +[ComponentModel.DefaultBindingProperty('other_image')] +[String] +$OtherImage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'multiply' +$ShaderNoun = 'OBSMultiplyShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d other_image; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 other = other_image.Sample(textureSampler, v_in.uv); + float4 base = image.Sample(textureSampler, v_in.uv); + return base * other; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSNightSkyShader { + +[Alias('Set-OBSNightSkyShader','Add-OBSNightSkyShader')] +param( +# Set the speed of OBSNightSkyShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the Include_Clouds of OBSNightSkyShader +[Alias('Include_Clouds')] +[ComponentModel.DefaultBindingProperty('Include_Clouds')] +[Management.Automation.SwitchParameter] +$IncludeClouds, +# Set the Include_Moon of OBSNightSkyShader +[Alias('Include_Moon')] +[ComponentModel.DefaultBindingProperty('Include_Moon')] +[Management.Automation.SwitchParameter] +$IncludeMoon, +# Set the center_width_percentage of OBSNightSkyShader +[Alias('center_width_percentage')] +[ComponentModel.DefaultBindingProperty('center_width_percentage')] +[Int32] +$CenterWidthPercentage, +# Set the center_height_percentage of OBSNightSkyShader +[Alias('center_height_percentage')] +[ComponentModel.DefaultBindingProperty('center_height_percentage')] +[Int32] +$CenterHeightPercentage, +# Set the Alpha_Percentage of OBSNightSkyShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Image of OBSNightSkyShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSNightSkyShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the number_stars of OBSNightSkyShader +[Alias('number_stars')] +[ComponentModel.DefaultBindingProperty('number_stars')] +[Int32] +$NumberStars, +# Set the SKY_COLOR of OBSNightSkyShader +[Alias('SKY_COLOR')] +[ComponentModel.DefaultBindingProperty('SKY_COLOR')] +[String] +$SKYCOLOR, +# Set the STAR_COLOR of OBSNightSkyShader +[Alias('STAR_COLOR')] +[ComponentModel.DefaultBindingProperty('STAR_COLOR')] +[String] +$STARCOLOR, +# Set the LIGHT_SKY of OBSNightSkyShader +[Alias('LIGHT_SKY')] +[ComponentModel.DefaultBindingProperty('LIGHT_SKY')] +[String] +$LIGHTSKY, +# Set the SKY_LIGHTNESS of OBSNightSkyShader +[Alias('SKY_LIGHTNESS')] +[ComponentModel.DefaultBindingProperty('SKY_LIGHTNESS')] +[Single] +$SKYLIGHTNESS, +# Set the MOON_COLOR of OBSNightSkyShader +[Alias('MOON_COLOR')] +[ComponentModel.DefaultBindingProperty('MOON_COLOR')] +[String] +$MOONCOLOR, +# Set the moon_size of OBSNightSkyShader +[Alias('moon_size')] +[ComponentModel.DefaultBindingProperty('moon_size')] +[Single] +$MoonSize, +# Set the moon_bump_size of OBSNightSkyShader +[Alias('moon_bump_size')] +[ComponentModel.DefaultBindingProperty('moon_bump_size')] +[Single] +$MoonBumpSize, +# Set the Moon_Position_x of OBSNightSkyShader +[Alias('Moon_Position_x')] +[ComponentModel.DefaultBindingProperty('Moon_Position_x')] +[Single] +$MoonPositionX, +# Set the Moon_Position_y of OBSNightSkyShader +[Alias('Moon_Position_y')] +[ComponentModel.DefaultBindingProperty('Moon_Position_y')] +[Single] +$MoonPositionY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'night_sky' +$ShaderNoun = 'OBSNightSkyShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Night Sky shader by Charles Fettinger for obs-shaderfilter plugin 6/2020 v.65 +// https://github.com/Oncorporation/obs-shaderfilter +//https://www.shadertoy.com/view/3tfXRM Simple Night Sky - converted from and updated +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 20.0; +uniform bool Include_Clouds = true; +uniform bool Include_Moon = true; +uniform int center_width_percentage< + string label = "Center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height_percentage< + string label = "Center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 95.0; // +uniform bool Apply_To_Image = false; +uniform bool Replace_Image_Color = false; +uniform int number_stars< + string label = "Number stars"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 20; // + +uniform float4 SKY_COLOR = { 0.027, 0.151, 0.354, 1.0 }; +uniform float4 STAR_COLOR = { 0.92, 0.92, 0.14, 1.0 }; +uniform float4 LIGHT_SKY = { 0.45, 0.61, 0.98, 1.0 }; +uniform float SKY_LIGHTNESS< + string label = "SKY LIGHTNESS"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = .3; + + // Moon +uniform float4 MOON_COLOR = { .4, .25, 0.25, 1.0 }; +uniform float moon_size< + string label = "Moon size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.18; +uniform float moon_bump_size< + string label = "Moon bump size"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.14; +uniform float Moon_Position_x< + string label = "Moon Position x"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = -0.6; +uniform float Moon_Position_y< + string label = "Moon Position y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = -0.3; + +#define PI 3.1416 + +//Noise functions from https://www.youtube.com/watch?v=zXsWftRdsvU +float noise11(float p) { + return frac(sin(p*633.1847) * 9827.95); +} + +float noise21(float2 p) { + return frac(sin(p.x*827.221 + p.y*3228.8275) * 878.121); +} + +float2 noise22(float2 p) { + return frac(float2(sin(p.x*9378.35), sin(p.y*75.589)) * 556.89); +} + +//From https://codepen.io/Tobsta/post/procedural-generation-part-1-1d-perlin-noise +float cosineInterpolation(float a, float b, float x) { + float ft = x * PI; + float f = (1. - cos(ft)) * .5; + return a * (1. - f) + b * f; +} + +float smoothNoise11(float p, float dist) { + float prev = noise11(p-dist); + float next = noise11(p+dist); + + return cosineInterpolation(prev, next, .5); +} + +float smoothNoise21(float2 uv, float cells) { + float2 lv = frac(uv*cells); + float2 id = floor(uv*cells); + + //smoothstep function: maybe change it later! + lv = lv*lv*(3.-2.*lv); + + float bl = noise21(id); + float br = noise21(id+float2(1.,0.)); + float b = lerp(bl, br, lv.x); + + float tl = noise21(id+float2(0.,1.)); + float tr = noise21(id+float2(1.,1.)); + float t = lerp(tl, tr, lv.x); + + return lerp(b, t, lv.y); +} + +float2 smoothNoise22(float2 uv, float cells) { + float2 lv = frac(uv*cells); + float2 id = floor(uv*cells); + + lv = lv*lv*(3.-2.*lv); + + float2 bl = noise22(id); + float2 br = noise22(id+float2(1.,0.)); + float2 b = lerp(bl, br, lv.x); + + float2 tl = noise22(id+float2(0.,1.)); + float2 tr = noise22(id+float2(1.,1.)); + float2 t = lerp(tl, tr, lv.x); + + return lerp(b, t, lv.y); +} + +float valueNoise11(float p) { + float c = smoothNoise11(p, 0.5); + c += smoothNoise11(p, 0.25)*.5; + c += smoothNoise11(p, 0.125)*.25; + c += smoothNoise11(p, 0.0625)*.125; + + return c /= .875; +} + +float valueNoise21(float2 uv) { + float c = smoothNoise21(uv, 4.); + c += smoothNoise21(uv, 8.)*.5; + c += smoothNoise21(uv, 16.)*.25; + c += smoothNoise21(uv, 32.)*.125; + c += smoothNoise21(uv, 64.)*.0625; + + return c /= .9375; +} + +float2 valueNoise22(float2 uv) { + float2 c = smoothNoise22(uv, 4.); + c += smoothNoise22(uv, 8.)*.5; + c += smoothNoise22(uv, 16.)*.25; + c += smoothNoise22(uv, 32.)*.125; + c += smoothNoise22(uv, 64.)*.0625; + + return c /= .9375; +} + +float3 points(float2 p, float2 uv, float3 color, float size, float blur) { + float dist = distance(p, uv); + return color*smoothstep(size, size*(0.999-blur), dist); +} + +float mapInterval(float x, float a, float b, float c, float d) { + return (x-a)/(b-a) * (d-c) + c; +} + +float blink(float time, float timeInterval) { + float halfInterval = timeInterval / 2.0; + //Get relative position in the bucket + float p = fmod(time, timeInterval); + + + if (p <= timeInterval / 2.) { + return smoothstep(0., 1., p/halfInterval); + } else { + return smoothstep(1., 0., (p-halfInterval)/halfInterval); + } +} + +float3 sampleBumps(float2 p, float2 uv, float radius, float spin) { + float dist = distance(p, uv); + float3 BumpSamples = float3(0.,0.,0.); + + if (dist < radius) { + float bumps = (1.-valueNoise21(uv*spin))*.1; + BumpSamples = float3(bumps, bumps, bumps); + } + return BumpSamples; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba;// = image.Sample(textureSampler, v_in.uv); + float alpha = clamp(Alpha_Percentage *.01 ,0,1.0); + float2 center_pixel_coordinates = float2((center_width_percentage * 0.01), (center_height_percentage * 0.01)); + float2 st = v_in.uv* uv_scale; + float2 toCenter = center_pixel_coordinates - st; + + // Normalized pixel coordinates (from 0 to 1) + float2 uv = v_in.uv; + float2 ouv = uv; + uv -= .5; + uv.x *= uv_size.x/uv_size.y; + + float2 seed = toCenter / uv_size.xy; + + float time = elapsed_time + seed.x*speed; + + //float3 col = float3(0.0); + //float m = valueNoise21(uv); + float3 col = lerp(SKY_COLOR.rgb, LIGHT_SKY.rgb, ouv.y-SKY_LIGHTNESS); + + col *= SKY_LIGHTNESS - (1.-ouv.y); + + //Add clouds + if (Include_Clouds) + { + float2 timeUv = uv; + timeUv.x += time*.1; + timeUv.y += valueNoise11(timeUv.x+.352)*.01; + float cloud = valueNoise21(timeUv); + col += cloud*.1; + } + + //Add stars in the top part of the scene + float timeInterval = speed *.5; //5.0 + float timeBucket = floor(time / timeInterval); + + float2 moonPosition = float2(-1000, -1000); + if (Include_Moon) + { + moonPosition = float2(Moon_Position_x, Moon_Position_y); + col += points(moonPosition, uv, MOON_COLOR.rgb,moon_size, 0.3); + // Moon bumps + col += sampleBumps(moonPosition, uv, moon_bump_size, 9. + fmod(time*.1,9)); + } + + for (float i = 0.; i < clamp(number_stars,0,100); i++) { + float2 starPosition = float2(i/10., i/10.); + + starPosition.x = mapInterval(valueNoise11(timeBucket + i*827.913)-.4, 0., 1., 0.825, -0.825); + starPosition.y = mapInterval(valueNoise11(starPosition.x)-.3, 0., 1., 0.445, -0.445); + + float starIntensity = blink(time+ (rand_f * i), timeInterval ); + //Hide stars that are behind the moon + if (distance(starPosition, moonPosition) > moon_size) { + col += points(starPosition, uv, STAR_COLOR.rgb, 0.001, 0.0)*clamp(starIntensity-.1, 0.0, 1.0)*10.0; + col += points(starPosition, uv, STAR_COLOR.rgb, 0.009, 3.5)*starIntensity*3.0; + } + } + //col = float3(blink(time, timeInterval)); + rgba = float4(col,alpha); + + // Output to screen + if (Apply_To_Image) + { + float4 color = image.Sample(textureSampler, v_in.uv); + float4 original_color = color; + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, rgba * color,alpha); + + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSOpacityShader { + +[Alias('Set-OBSOpacityShader','Add-OBSOpacityShader')] +param( +# Set the Opacity of OBSOpacityShader +[ComponentModel.DefaultBindingProperty('Opacity')] +[Single] +$Opacity, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'opacity' +$ShaderNoun = 'OBSOpacityShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Opacity shader - for OBS Shaderfilter +// Copyright 2021 by SkeltonBowTV +// https://twitter.com/skeletonbowtv +// https://twitch.tv/skeletonbowtv + +uniform float Opacity< + string label = "Opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 0.01; +> = 100.00; // 0.00 - 100.00 percent + +float4 mainImage( VertData v_in ) : TARGET +{ + float4 color = image.Sample( textureSampler, v_in.uv ); + return float4( color.rgb, color.a * Opacity * 0.01 ); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPagePeelShader { + +[Alias('Set-OBSPagePeelShader','Add-OBSPagePeelShader')] +param( +# Set the Speed of OBSPagePeelShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Position of OBSPagePeelShader +[ComponentModel.DefaultBindingProperty('Position')] +[Single] +$Position, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'page-peel' +$ShaderNoun = 'OBSPagePeelShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple Page Peel, Version 0.01, for OBS Shaderfilter +// Copyright ©️ 2023 by SkeletonBow +// License: Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License +// Contact info: +// Twitter: +// Twitch: +// YouTube: +// Soundcloud: +// +// Based on Shadertoy shader by droozle +// +// Description: +// +// +// Changelog: +// 0.01 - Initial release + +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 50.0; + float step = 0.001; +> = 1.00; +uniform float Position< + string label = "Position"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 0.0; + +float4 mainImage( VertData v_in ) : TARGET +{ + // Normalized pixel coordinates (from 0 to 1) + float2 aspect = float2( uv_size.x / uv_size.y, 1.0 ); + float2 uv = v_in.uv; + + float t = Position + elapsed_time * Speed; + // Define the fold. + float2 origin = float2( 0.6 + 0.4 * sin( t * 0.2 ), 0.5 + 0.5 * cos( t * 0.13 ) ) * aspect; + float2 normal = normalize( float2( 1.0, 2.0 * sin( t * 0.3 ) ) * aspect ); + + // Sample texture. + float3 col = image.Sample( textureSampler, uv ).rgb; // Front color. + + // Check on which side the pixel lies. + float2 pt = uv * aspect - origin; + float side = dot( pt, normal ); + if( side > 0.0 ) { + col *= 0.25; // Background color (peeled off). + + float shadow = smoothstep( 0.0, 0.05, side ); + col = lerp( col * 0.6, col, shadow ); + } + else { + // Find the mirror pixel. + pt = ( uv * aspect - 2.0 * side * normal ) / aspect; + + // Check if we''re still inside the image bounds. + if( pt.x >= 0.0 && pt.x < 1.0 && pt.y >= 0.0 && pt.y < 1.0 ) { + float4 back = image.Sample( textureSampler, pt ); // Back color. + back.rgb = back.rgb * 0.25 + 0.75; + + float shadow = smoothstep( 0.0, 0.2, -side ); + back.rgb = lerp( back.rgb * 0.2, back.rgb, shadow ); + + // Support for transparency. + col = lerp( col, back.rgb, back.a ); + } + } + + // Output to screen + return float4(col,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPagePeelTransitionShader { + +[Alias('Set-OBSPagePeelTransitionShader','Add-OBSPagePeelTransitionShader')] +param( +# Set the image_a of OBSPagePeelTransitionShader +[Alias('image_a')] +[ComponentModel.DefaultBindingProperty('image_a')] +[String] +$ImageA, +# Set the image_b of OBSPagePeelTransitionShader +[Alias('image_b')] +[ComponentModel.DefaultBindingProperty('image_b')] +[String] +$ImageB, +# Set the transition_time of OBSPagePeelTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSPagePeelTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the page_color of OBSPagePeelTransitionShader +[Alias('page_color')] +[ComponentModel.DefaultBindingProperty('page_color')] +[String] +$PageColor, +# Set the page_transparency of OBSPagePeelTransitionShader +[Alias('page_transparency')] +[ComponentModel.DefaultBindingProperty('page_transparency')] +[Single] +$PageTransparency, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'page-peel-transition' +$ShaderNoun = 'OBSPagePeelTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform texture2d image_a; +uniform texture2d image_b; +uniform float transition_time< + string label = "Transittion Time"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform bool convert_linear = true; +uniform float4 page_color = {1.0, 1.0, 1.0, 1.0}; +uniform float page_transparency< + string label = "Page Transparency"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + // Normalized pixel coordinates (from 0 to 1) + float2 aspect = float2( uv_size.x / uv_size.y, 1.0 ); + float2 uv = v_in.uv; + + float t = transition_time * 12.0 + 11.0; + // Define the fold. + float2 origin = float2( 0.6 + 0.6 * sin( t * 0.2 ), 0.5 + 0.5 * cos( t * 0.13 ) ) * aspect; + float2 normal = normalize( float2( 1.0, 2.0 * sin( t * 0.3 ) ) * aspect ); + + // Sample texture. + float3 col = float3(1.0,0.0,0.0); + + // Check on which side the pixel lies. + float2 pt = uv * aspect - origin; + float side = dot( pt, normal ); + if( side > 0.0 ) { + // Next page + col = image_b.Sample( textureSampler, uv ).rgb; + + float shadow = smoothstep( 0.0, 0.05, side ); + col = lerp( col * 0.6, col, shadow ); + } + else { + + + // Find the mirror pixel. + pt = ( uv * aspect - 2.0 * side * normal ) / aspect; + + // Check if we''re still inside the image bounds. + if( pt.x >= 0.0 && pt.x < 1.0 && pt.y >= 0.0 && pt.y < 1.0 ) { + col = image_a.Sample( textureSampler, pt ).rgb; // Back color. + col = lerp(page_color.rgb, col, page_transparency); + + float shadow = smoothstep( 0.0, 0.2, -side ); + col = lerp( col * 0.2, col, shadow ); + }else{ + col = image_a.Sample( textureSampler, uv ).rgb; + } + } + + // Output to screen + if(convert_linear) + col = srgb_nonlinear_to_linear(col); + return float4(col,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPerlinNoiseShader { + +[Alias('Set-OBSPerlinNoiseShader','Add-OBSPerlinNoiseShader')] +param( +# Set the speed of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the animated of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('animated')] +[Management.Automation.SwitchParameter] +$Animated, +# Set the apply_to_channel of OBSPerlinNoiseShader +[Alias('apply_to_channel')] +[ComponentModel.DefaultBindingProperty('apply_to_channel')] +[Management.Automation.SwitchParameter] +$ApplyToChannel, +# Set the inverted of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('inverted')] +[Management.Automation.SwitchParameter] +$Inverted, +# Set the multiply of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('multiply')] +[Management.Automation.SwitchParameter] +$Multiply, +# Set the speed_horizonal of OBSPerlinNoiseShader +[Alias('speed_horizonal')] +[ComponentModel.DefaultBindingProperty('speed_horizonal')] +[Single] +$SpeedHorizonal, +# Set the speed_vertical of OBSPerlinNoiseShader +[Alias('speed_vertical')] +[ComponentModel.DefaultBindingProperty('speed_vertical')] +[Single] +$SpeedVertical, +# Set the iterations of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('iterations')] +[Int32] +$Iterations, +# Set the white_noise of OBSPerlinNoiseShader +[Alias('white_noise')] +[ComponentModel.DefaultBindingProperty('white_noise')] +[Single] +$WhiteNoise, +# Set the black_noise of OBSPerlinNoiseShader +[Alias('black_noise')] +[ComponentModel.DefaultBindingProperty('black_noise')] +[Single] +$BlackNoise, +# Set the notes of OBSPerlinNoiseShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'perlin_noise' +$ShaderNoun = 'OBSPerlinNoiseShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// +// Noise Shader Library for Unity - https://github.com/keijiro/NoiseShader +// Modified and improved my Charles Fettinger (https://github.com/Oncorporation) 1/2019 +// +// Original work (webgl-noise) Copyright (C) 2011 Stefan Gustavson +// Translation and modification was made by Keijiro Takahashi. +// Conversion for OBS by Charles Fettinger. +// +// This shader is based on the webgl-noise GLSL shader. For further details +// of the original shader, please see the following description from the +// original source code. +// + // +// GLSL textureless classic 2D noise "cnoise", (white_noise) +// with an RSL-style periodic variant "pnoise" (black_noise). +// Author: Stefan Gustavson (stefan.gustavson@liu.se) +// Version: 2011-08-22 +// +// Many thanks to Ian McEwan of Ashima Arts for the +// ideas for permutation and gradient selection. +// +// Copyright (c) 2011 Stefan Gustavson. All rights reserved. +// Distributed under the MIT license. See LICENSE file. +// https://github.com/ashima/webgl-noise +//Converted to OpenGL by Q-mii & Exeldro March 8, 2022 + float4 mod(float4 x, float4 y) +{ + return x - y * floor(x / y); +} + float4 mod289(float4 x) +{ + return x - floor(x / 289.0) * 289.0; +} + float4 permute(float4 x) +{ + return mod289(((x*34.0)+1.0)*x); +} + float4 taylorInvSqrt(float4 r) +{ + return 1.79284291400159 - r * 0.85373472095314; +} + float2 fade(float2 t) { + return t*t*t*(t*(t*6.0-15.0)+10.0); +} + // Classic Perlin noise +float cnoise(float2 P) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac (P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0 ; + float4 gy = abs(gx) - 0.5 ; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x,gy.x); + float2 g10 = float2(gx.y,gy.y); + float2 g01 = float2(gx.z,gy.z); + float2 g11 = float2(gx.w,gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} + // Classic Perlin noise, periodic variant +float pnoise(float2 P, float2 rep) +{ + float4 Pi = floor(P.xyxy) + float4(0.0, 0.0, 1.0, 1.0); + float4 Pf = frac (P.xyxy) - float4(0.0, 0.0, 1.0, 1.0); + Pi = mod(Pi, rep.xyxy); // To create noise with explicit period + Pi = mod289(Pi); // To avoid truncation effects in permutation + float4 ix = Pi.xzxz; + float4 iy = Pi.yyww; + float4 fx = Pf.xzxz; + float4 fy = Pf.yyww; + float4 i = permute(permute(ix) + iy); + float4 gx = frac(i / 41.0) * 2.0 - 1.0 ; + float4 gy = abs(gx) - 0.5 ; + float4 tx = floor(gx + 0.5); + gx = gx - tx; + float2 g00 = float2(gx.x,gy.x); + float2 g10 = float2(gx.y,gy.y); + float2 g01 = float2(gx.z,gy.z); + float2 g11 = float2(gx.w,gy.w); + float4 norm = taylorInvSqrt(float4(dot(g00, g00), dot(g01, g01), dot(g10, g10), dot(g11, g11))); + g00 *= norm.x; + g01 *= norm.y; + g10 *= norm.z; + g11 *= norm.w; + float n00 = dot(g00, float2(fx.x, fy.x)); + float n10 = dot(g10, float2(fx.y, fy.y)); + float n01 = dot(g01, float2(fx.z, fy.z)); + float n11 = dot(g11, float2(fx.w, fy.w)); + float2 fade_xy = fade(Pf.xy); + float2 n_x = lerp(float2(n00, n01), float2(n10, n11), fade_xy.x); + float n_xy = lerp(n_x.x, n_x.y, fade_xy.y); + return 2.3 * n_xy; +} + //The good bits~ adapting the noise generator for the plugin and giving some control over the shader + //todo: pseudorandom number generator w/ seed +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +uniform bool animated; +uniform bool apply_to_channel; +uniform bool inverted; +uniform bool multiply; +uniform float speed_horizonal< + string label = "Speed horizontal"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +uniform float speed_vertical< + string label = "Speed vertical"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0; +uniform int iterations< + string label = "Iterations"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 20; + int step = 1; +> = 4; +//how much c_noise do we want? white +uniform float white_noise< + string label = "White noise"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +//how much p_noise do we want? black +uniform float black_noise< + string label = "Black noise"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.5; +uniform string notes< + string widget_type = "info"; +> = "white noise and black noise and iterations.. enjoy!"; + + float2 noisePosition(float t){ + return float2(sin(2.2 * t) - cos(1.4 * t), cos(1.3 * t) + sin(-1.9 *t)); +} + float4 mainImage(VertData v_in) : TARGET +{ + float4 color = image.Sample(textureSampler, v_in.uv); + float t = elapsed_time * speed; + float2 dir = float2(speed_horizonal,speed_vertical); + + if(!animated){ + float o = 0.5; + float scale = 1.0; + float w = 0.5; + for(int i = 0; i < iterations; i++){ + float2 coord = v_in.uv * scale; + float2 period = float2(scale * 2.0, scale * 2.0); + + if(white_noise == 0.0 && black_noise == 0.0){ + o += pnoise(coord, period) * w; + } else { + if(white_noise != 0.0){ + o += cnoise(coord) * w * white_noise; + } + if(black_noise != 0.0){ + o += pnoise(coord, period) * w * black_noise; + } + } + + //o += pnoise(coord, period) * w; + + scale *= 2.0; + w *= 0.5; + } + if(inverted){ + o = 1 - o; + } + if(apply_to_channel){ + if(multiply){ + return float4(color.r,color.g,color.b,color.a*o); + } else { + return float4(color.r,color.g,color.b,o); + } + } else { + return float4(o,o,o,1.0); + } + } else { + float o = 0.5; + float scale = 1.0; + float w = 0.5; + for(int i = 0; i < iterations; i++){ + float2 coord = (v_in.uv + t*dir) * scale; + float2 period = float2(scale * 2.0, scale * 2.0); + + if(white_noise == 0.0 && black_noise == 0.0){ + o += pnoise(coord, period) * w; + } else { + if(white_noise != 0.0){ + o += cnoise(coord) * w * white_noise; + } + if(black_noise != 0.0){ + o += pnoise(coord, period) * w * black_noise; + } + } + + scale *= 2.0; + w *= 0.5; + } + if(inverted){ + o = 1 - o; + } + if(apply_to_channel){ + if(multiply){ + return float4(color.r,color.g,color.b,color.a*o); + } else { + return float4(color.r,color.g,color.b,o); + } + } else { + return float4(o,o,o,1.0); + } + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPieChartShader { + +[Alias('Set-OBSPieChartShader','Add-OBSPieChartShader')] +param( +# Set the inner_radius of OBSPieChartShader +[Alias('inner_radius')] +[ComponentModel.DefaultBindingProperty('inner_radius')] +[Single] +$InnerRadius, +# Set the outer_radius of OBSPieChartShader +[Alias('outer_radius')] +[ComponentModel.DefaultBindingProperty('outer_radius')] +[Single] +$OuterRadius, +# Set the start_angle of OBSPieChartShader +[Alias('start_angle')] +[ComponentModel.DefaultBindingProperty('start_angle')] +[Single] +$StartAngle, +# Set the total of OBSPieChartShader +[ComponentModel.DefaultBindingProperty('total')] +[Int32] +$Total, +# Set the part_1 of OBSPieChartShader +[Alias('part_1')] +[ComponentModel.DefaultBindingProperty('part_1')] +[Int32] +$Part1, +# Set the color_1 of OBSPieChartShader +[Alias('color_1')] +[ComponentModel.DefaultBindingProperty('color_1')] +[String] +$Color1, +# Set the part_2 of OBSPieChartShader +[Alias('part_2')] +[ComponentModel.DefaultBindingProperty('part_2')] +[Int32] +$Part2, +# Set the color_2 of OBSPieChartShader +[Alias('color_2')] +[ComponentModel.DefaultBindingProperty('color_2')] +[String] +$Color2, +# Set the part_3 of OBSPieChartShader +[Alias('part_3')] +[ComponentModel.DefaultBindingProperty('part_3')] +[Int32] +$Part3, +# Set the color_3 of OBSPieChartShader +[Alias('color_3')] +[ComponentModel.DefaultBindingProperty('color_3')] +[String] +$Color3, +# Set the part_4 of OBSPieChartShader +[Alias('part_4')] +[ComponentModel.DefaultBindingProperty('part_4')] +[Int32] +$Part4, +# Set the color_4 of OBSPieChartShader +[Alias('color_4')] +[ComponentModel.DefaultBindingProperty('color_4')] +[String] +$Color4, +# Set the part_5 of OBSPieChartShader +[Alias('part_5')] +[ComponentModel.DefaultBindingProperty('part_5')] +[Int32] +$Part5, +# Set the color_5 of OBSPieChartShader +[Alias('color_5')] +[ComponentModel.DefaultBindingProperty('color_5')] +[String] +$Color5, +# Set the part_6 of OBSPieChartShader +[Alias('part_6')] +[ComponentModel.DefaultBindingProperty('part_6')] +[Int32] +$Part6, +# Set the color_6 of OBSPieChartShader +[Alias('color_6')] +[ComponentModel.DefaultBindingProperty('color_6')] +[String] +$Color6, +# Set the part_7 of OBSPieChartShader +[Alias('part_7')] +[ComponentModel.DefaultBindingProperty('part_7')] +[Int32] +$Part7, +# Set the color_7 of OBSPieChartShader +[Alias('color_7')] +[ComponentModel.DefaultBindingProperty('color_7')] +[String] +$Color7, +# Set the part_8 of OBSPieChartShader +[Alias('part_8')] +[ComponentModel.DefaultBindingProperty('part_8')] +[Int32] +$Part8, +# Set the color_8 of OBSPieChartShader +[Alias('color_8')] +[ComponentModel.DefaultBindingProperty('color_8')] +[String] +$Color8, +# Set the part_9 of OBSPieChartShader +[Alias('part_9')] +[ComponentModel.DefaultBindingProperty('part_9')] +[Int32] +$Part9, +# Set the color_9 of OBSPieChartShader +[Alias('color_9')] +[ComponentModel.DefaultBindingProperty('color_9')] +[String] +$Color9, +# Set the part_10 of OBSPieChartShader +[Alias('part_10')] +[ComponentModel.DefaultBindingProperty('part_10')] +[Int32] +$Part10, +# Set the color_10 of OBSPieChartShader +[Alias('color_10')] +[ComponentModel.DefaultBindingProperty('color_10')] +[String] +$Color10, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'pie-chart' +$ShaderNoun = 'OBSPieChartShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float inner_radius< + string label = "inner radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 32.0; +uniform float outer_radius< + string label = "outer radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 50.0; +uniform float start_angle< + string label = "Start angle"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 360.0; + float step = 0.1; +> = 90.0; + +uniform int total< + string label = "Total"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 100; +uniform int part_1< + string label = "Part 1"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 50; +uniform float4 color_1 = {0.0,0.26,0.62,1.0}; +uniform int part_2< + string label = "Part 2"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 25; +uniform float4 color_2 = {0.24,0.40,0.68,1.0}; +uniform int part_3< + string label = "Part 3"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 10; +uniform float4 color_3 = {0.38,0.56,0.75,1.0}; +uniform int part_4< + string label = "Part 4"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 5; +uniform float4 color_4 = {0.52,0.72,0.81,1.0}; +uniform int part_5< + string label = "Part 5"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 3; +uniform float4 color_5 = {0.69,0.87,0.86,1.0}; +uniform int part_6< + string label = "Part 6"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 2; +uniform float4 color_6 = {1.0,0.79,0.73,1.0}; +uniform int part_7< + string label = "Part 7"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 1; +uniform float4 color_7 = {0.99,0.57,0.57,1.0}; +uniform int part_8< + string label = "Part 8"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 1; +uniform float4 color_8 = {0.91,0.36,0.44,1.0}; +uniform int part_9< + string label = "Part 9"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 1; +uniform float4 color_9 = {0.77,0.16,0.32,1.0}; +uniform int part_10< + string label = "Part 10"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 1000; + int step = 1; +> = 0; +uniform float4 color_10 = {0.58,0.0,0.23,1.0}; + +float4 mainImage(VertData v_in) : TARGET +{ + const float pi = 3.14159265358979323846; +#ifdef OPENGL + float[10] parts = float[10](part_1, part_2, part_3, part_4, part_5, part_6, part_7, part_8, part_9, part_10); + float4[10] colors = float4[10](color_1, color_2, color_3, color_4, color_5, color_6, color_7, color_8, color_9, color_10); +#else + float parts[] = {part_1, part_2, part_3, part_4, part_5, part_6, part_7, part_8, part_9, part_10}; + float4 colors[] = {color_1, color_2, color_3, color_4, color_5, color_6, color_7, color_8, color_9, color_10}; +#endif + float2 center = float2(0.5, 0.5); + float2 factor; + if(uv_size.x < uv_size.y){ + factor = float2(1.0, uv_size.y/uv_size.x); + }else{ + factor = float2(uv_size.x/uv_size.y, 1.0); + } + center = center * factor; + float d = distance(center, v_in.uv * factor); + if(d > outer_radius/100.0 || d < inner_radius/100.0){ + return image.Sample(textureSampler, v_in.uv); + } + float2 toCenter = center - v_in.uv*factor; + float angle = atan2(toCenter.y ,toCenter.x); + angle = angle - (start_angle / 180.0 * pi); + if(angle < 0.0) + angle = pi + pi + angle; + if(angle < 0.0) + angle = pi + pi + angle; + angle = angle / (pi + pi); + float t = 0.0; + for(int i = 0; i < 10; i+=1) { + float part = parts[i]/total; + if(angle > t && angle <= t+part){ + return colors[i]; + } + t = t + part; + } + return image.Sample(textureSampler, v_in.uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPixelationShader { + +[Alias('Set-OBSPixelationShader','Add-OBSPixelationShader')] +param( +# Set the Target_Width of OBSPixelationShader +[Alias('Target_Width')] +[ComponentModel.DefaultBindingProperty('Target_Width')] +[Single] +$TargetWidth, +# Set the Target_Height of OBSPixelationShader +[Alias('Target_Height')] +[ComponentModel.DefaultBindingProperty('Target_Height')] +[Single] +$TargetHeight, +# Set the notes of OBSPixelationShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'pixelation' +$ShaderNoun = 'OBSPixelationShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// pixelation shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// with help from SkeltonBowTV +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 15, 2022 +uniform float Target_Width< + string label = "Target Width"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2000.0; + float step = 0.1; +> = 320.0; +uniform float Target_Height< + string label = "Target Height"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2000.0; + float step = 0.1; +> = 180.0; +uniform string notes< + string widget_type = "info"; +> = "adjust width and height to your screen dimension"; + +float4 mainImage(VertData v_in) : TARGET +{ + float targetWidth = Target_Width; + if(targetWidth < 2.0) + targetWidth = 2.0; + float targetHeight = Target_Height; + if(targetHeight < 2.0) + targetHeight = 2.0; + float2 tex1; + int pixelSizeX = int(uv_size.x / targetWidth); + int pixelSizeY = int(uv_size.y / targetHeight); + + int pixelX = int(v_in.uv.x * uv_size.x); + int pixelY = int(v_in.uv.y * uv_size.y); + + tex1.x = ((float(pixelX / pixelSizeX)*float(pixelSizeX)) / uv_size.x) + (float(pixelSizeX) / uv_size.x)/2.0; + tex1.y = ((float(pixelY / pixelSizeY)*float(pixelSizeY)) / uv_size.y) + (float(pixelSizeY) / uv_size.y)/2.0; + + float4 c1 = image.Sample(textureSampler, tex1 ); + + return c1; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPixelationTransitionShader { + +[Alias('Set-OBSPixelationTransitionShader','Add-OBSPixelationTransitionShader')] +param( +# Set the transition_time of OBSPixelationTransitionShader +[Alias('transition_time')] +[ComponentModel.DefaultBindingProperty('transition_time')] +[Single] +$TransitionTime, +# Set the convert_linear of OBSPixelationTransitionShader +[Alias('convert_linear')] +[ComponentModel.DefaultBindingProperty('convert_linear')] +[Management.Automation.SwitchParameter] +$ConvertLinear, +# Set the power of OBSPixelationTransitionShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# Set the center_x of OBSPixelationTransitionShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSPixelationTransitionShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'pixelation-transition' +$ShaderNoun = 'OBSPixelationTransitionShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float transition_time< + string label = "Transittion Time"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform bool convert_linear = true; +uniform float power< + string label = "Power"; + string widget_type = "slider"; + float minimum = 0.5; + float maximum = 8.0; + float step = 0.01; +> = 3.0; +uniform float center_x< + string label = "X"; + string widget_type = "slider"; + string group = "Center"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform float center_y< + string label = "Y"; + string widget_type = "slider"; + string group = "Center"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + //1..0..1 + float scale = abs(transition_time - 0.5) * 2.0; + scale = pow(scale, power); + + float2 uv = v_in.uv; + uv -= float2(center_x, center_y); + uv *= uv_size; + uv *= scale; + uv = floor(uv); + uv /= scale; + uv /= uv_size; + uv += float2(center_x, center_y); + uv = clamp(uv, 1.0/uv_size, 1.0); + float4 rgba = image.Sample(textureSampler, uv); + if(convert_linear) + rgba.rgb = srgb_nonlinear_to_linear(rgba.rgb); + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPolarShader { + +[Alias('Set-OBSPolarShader','Add-OBSPolarShader')] +param( +# Set the center_x of OBSPolarShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSPolarShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the point_y of OBSPolarShader +[Alias('point_y')] +[ComponentModel.DefaultBindingProperty('point_y')] +[Single] +$PointY, +# Set the flip of OBSPolarShader +[ComponentModel.DefaultBindingProperty('flip')] +[Management.Automation.SwitchParameter] +$Flip, +# Set the rotate of OBSPolarShader +[ComponentModel.DefaultBindingProperty('rotate')] +[Single] +$Rotate, +# Set the repeat of OBSPolarShader +[ComponentModel.DefaultBindingProperty('repeat')] +[Single] +$Repeat, +# Set the scale of OBSPolarShader +[ComponentModel.DefaultBindingProperty('scale')] +[Single] +$Scale, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'polar' +$ShaderNoun = 'OBSPolarShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +#define PI 3.14159265359 +#define PI_2 6.2831 +#define mod(x,y) (x - y * floor(x / y)) + +uniform float center_x< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform float center_y< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +uniform float point_y< + string label = "Point y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform bool flip; + +uniform float rotate< + string label = "Rotate"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float repeat< + string label = "Repeat"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 20.0; + float step = 0.001; +> = 1.0; + +uniform float scale< + string label = "Scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv.x -= center_x ; + uv.y -= center_y ; + uv.x = uv.x * ( uv_size.x / uv_size.y); + float pixel_angle = atan2(uv.x,uv.y)/PI_2+0.5; + if(repeat < 1.0){ + pixel_angle = mod(pixel_angle+rotate,1.0); + if(pixel_angle > repeat) + return float4(0,0,0,0); + pixel_angle = mod(pixel_angle/repeat,1.0); + } else { + pixel_angle = mod(pixel_angle*repeat+rotate, 1.0); + } + float pixel_distance = length(uv)/ scale - point_y; + float2 uv2 = float2(pixel_angle , pixel_distance); + if(flip) + uv2 = float2(1.0,1.0) - uv2; + return image.Sample(textureSampler,uv2); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPulseShader { + +[Alias('Set-OBSPulseShader','Add-OBSPulseShader')] +param( +# Set the ViewProj of OBSPulseShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSPulseShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSPulseShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSPulseShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSPulseShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSPulseShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSPulseShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSPulseShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the speed of OBSPulseShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the min_growth_pixels of OBSPulseShader +[Alias('min_growth_pixels')] +[ComponentModel.DefaultBindingProperty('min_growth_pixels')] +[Single] +$MinGrowthPixels, +# Set the max_growth_pixels of OBSPulseShader +[Alias('max_growth_pixels')] +[ComponentModel.DefaultBindingProperty('max_growth_pixels')] +[Single] +$MaxGrowthPixels, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'pulse' +$ShaderNoun = 'OBSPulseShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 1.0; +uniform float min_growth_pixels< + string label = "min growth pixels"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1000.0; + float step = 0.1; +> = 0.0; +uniform float max_growth_pixels< + string label = "max growth pixels"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1000.0; + float step = 0.1; +> = 200.0; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + + float3 pos = v_in.pos.xyz; + float3 direction_from_center = float3((v_in.uv.x - 0.5) * uv_pixel_interval.y / uv_pixel_interval.x, v_in.uv.y - 0.5, 0); + float3 min_pos = pos + direction_from_center * min_growth_pixels / 2; + float3 max_pos = pos + direction_from_center * max_growth_pixels / 2; + + float t = (1 + sin(elapsed_time * speed)) / 2; + float3 current_pos = min_pos * (1 - t) + max_pos * t; + + vert_out.pos = mul(float4(current_pos, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRainbowShader { + +[Alias('Set-OBSRainbowShader','Add-OBSRainbowShader')] +param( +# Set the Saturation of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Saturation')] +[Single] +$Saturation, +# Set the Luminosity of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Luminosity')] +[Single] +$Luminosity, +# Set the Spread of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Spread')] +[Single] +$Spread, +# Set the Speed of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Speed')] +[Single] +$Speed, +# Set the Alpha_Percentage of OBSRainbowShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Vertical of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the Rotational of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Rotational')] +[Management.Automation.SwitchParameter] +$Rotational, +# Set the Rotation_Offset of OBSRainbowShader +[Alias('Rotation_Offset')] +[ComponentModel.DefaultBindingProperty('Rotation_Offset')] +[Single] +$RotationOffset, +# Set the Apply_To_Image of OBSRainbowShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSRainbowShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSRainbowShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSRainbowShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the Notes of OBSRainbowShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rainbow' +$ShaderNoun = 'OBSRainbowShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Rainbow shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 13, 2022 +uniform float Saturation< + string label = "Saturation"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.8; // +uniform float Luminosity< + string label = "Luminosity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; // +uniform float Spread< + string label = "Spread"; + string widget_type = "slider"; + float minimum = 0.5; + float maximum = 10.0; + float step = 0.01; +> = 3.8; // +uniform float Speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 2.4; // +uniform float Alpha_Percentage< + string label = "Rotation Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; // +uniform bool Vertical; +uniform bool Rotational; +uniform float Rotation_Offset< + string label = "Rotation Offset"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 6.28318531; + float step = 0.001; +> = 0.0; // +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string Notes< + string widget_type = "info"; +> = "Spread is wideness of color and is limited between .25 and 10. Edit at your own risk"; + +float hueToRGB(float v1, float v2, float vH) { + vH = frac(vH); + if ((6.0 * vH) < 1.0) return (v1 + (v2 - v1) * 6.0 * vH); + if ((2.0 * vH) < 1.0) return (v2); + if ((3.0 * vH) < 2.0) return (v1 + (v2 - v1) * ((0.6666666666666667) - vH) * 6.0); + return clamp(v1, 0.0, 1.0); +} + +float4 HSLtoRGB(float4 hsl) { + float4 rgb = float4(0.0, 0.0, 0.0, hsl.w); + float v1 = 0.0; + float v2 = 0.0; + + if (hsl.y == 0) { + rgb.xyz = hsl.zzz; + } + else { + + if (hsl.z < 0.5) { + v2 = hsl.z * (1 + hsl.y); + } + else { + v2 = (hsl.z + hsl.y) - (hsl.y * hsl.z); + } + + v1 = 2.0 * hsl.z - v2; + + rgb.x = hueToRGB(v1, v2, hsl.x + (0.3333333333333333)); + rgb.y = hueToRGB(v1, v2, hsl.x); + rgb.z = hueToRGB(v1, v2, hsl.x - (0.3333333333333333)); + + } + + return rgb; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 lPos = (v_in.uv * uv_scale + uv_offset)/ clamp(Spread, 0.25, 10.0); + float time = (elapsed_time * clamp(Speed, -5.0, 5.0)) / clamp(Spread, 0.25, 10.0); + + //set colors and direction + float hue = (-1 * lPos.x) / 2.0; + + if (Rotational && (Vertical == false)) + { + float timeWithOffset = time + Rotation_Offset; + float sine = sin(timeWithOffset); + float cosine = cos(timeWithOffset); + hue = (lPos.x * cosine + lPos.y * sine) * 0.5; + } + + if (Vertical && (Rotational == false)) + { + hue = (-1 * lPos.y) * 0.5; + } + + hue += time; + hue = frac(hue); + float4 hsl = float4(hue, clamp(Saturation, 0.0, 1.0), clamp(Luminosity, 0.0, 1.0), 1.0); + float4 rgba = HSLtoRGB(hsl); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + float luma = 0.30*color.r+0.59*color.g+0.11*color.b+1.0*color.a; + float4 luma_color = float4(luma, luma, luma, luma); + if (Replace_Image_Color) + color = luma_color; + rgba = lerp(original_color, rgba * color,clamp(Alpha_Percentage *.01 ,0,1.0)); + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, clamp(Alpha_Percentage * .01, 0, 1.0)); + } + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRainWindowShader { + +[Alias('Set-OBSRainWindowShader','Add-OBSRainWindowShader')] +param( +# Set the size of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('size')] +[Single] +$Size, +# Set the blurSize of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('blurSize')] +[Single] +$BlurSize, +# Set the trail_strength of OBSRainWindowShader +[Alias('trail_strength')] +[ComponentModel.DefaultBindingProperty('trail_strength')] +[Single] +$TrailStrength, +# Set the trail_color of OBSRainWindowShader +[Alias('trail_color')] +[ComponentModel.DefaultBindingProperty('trail_color')] +[Single] +$TrailColor, +# Set the speed of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the debug of OBSRainWindowShader +[ComponentModel.DefaultBindingProperty('debug')] +[Management.Automation.SwitchParameter] +$DebugShader, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rain-window' +$ShaderNoun = 'OBSRainWindowShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// https://www.shadertoy.com/view/slfSzS adopted for OBS by Exeldro +// shader derived from Heartfelt - by Martijn Steinrucken aka BigWings - 2017 +// https://www.shadertoy.com/view/ltffzl +// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. + +uniform float size< + string label = "Rain Drop Size"; + string widget_type = "slider"; + float minimum = 0.001; + float maximum = 0.5; + float step = 0.01; +> = 0.2; +uniform float blurSize< + string label = "Blur Radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 32.0; // BLUR SIZE (Radius) +uniform float trail_strength< + string label = "Trail Strength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.0; +uniform float trail_color< + string label = "Trail Color"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 40.0; +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 0.01; +> = 100.0; +uniform bool debug = false; + + +float fract(float v){ + return v - floor(v); +} + +float2 fract2(float2 v){ + return float2(v.x - floor(v.x), v.y - floor(v.y)); +} + +float3 fract3(float3 v){ + return float3(v.x - floor(v.x), v.y - floor(v.y), v.z - floor(v.z)); +} + +float3 fract4(float4 v){ + return float4(v.x - floor(v.x), v.y - floor(v.y), v.z - floor(v.z), v.w - floor(v.w)); +} + + +float3 N13(float p) { + // from DAVE HOSKINS + float3 p3 = fract3(float3(p, p, p) * float3(.1031,.11369,.13787)); + p3 += dot(p3, p3.yzx + 19.19); + return fract3(float3((p3.x + p3.y)*p3.z, (p3.x+p3.z)*p3.y, (p3.y+p3.z)*p3.x)); +} + +float4 N14(float t) { + return fract4(sin(t*float4(123., 1024., 1456., 264.))*float4(6547., 345., 8799., 1564.)); +} +float N(float t) { + return fract(sin(t*12345.564)*7658.76); +} + +float Saw(float b, float t) { + return smoothstep(0., b, t)*smoothstep(1., b, t); +} + +float2 Drops(float2 uv, float t) { + + float2 UV = uv; + + // DEFINE GRID + uv.y += t*0.8; + float2 a = float2(6., 1.); + float2 grid = a*2.; + float2 id = floor(uv*grid); + + // RANDOM SHIFT Y + float colShift = N(id.x); + uv.y += colShift; + + // DEFINE SPACES + id = floor(uv*grid); + float3 n = N13(id.x*35.2+id.y*2376.1); + float2 st = fract2(uv*grid)-float2(.5, 0); + + // POSITION DROPS + //clamp(2*x,0,2)+clamp(1-x*.5, -1.5, .5)+1.5-2 + float x = n.x-.5; + + float y = UV.y*20.; + + float distort = sin(y+sin(y)); + x += distort*(.5-abs(x))*(n.z-.5); + x *= .7; + float ti = fract(t+n.z); + y = (Saw(.85, ti)-.5)*.9+.5; + float2 p = float2(x, y); + + // DROPS + float d = length((st-p)*a.yx); + + float dSize = size; + + float Drop = smoothstep(dSize, .0, d); + + + float r = sqrt(smoothstep(1., y, st.y)); + float cd = abs(st.x-x); + + // TRAILS + float trail = smoothstep((dSize*.5+.03)*r, (dSize*.5-.05)*r, cd); + float trailFront = smoothstep(-.02, .02, st.y-y); + trail *= trailFront; + + + // DROPLETS + y = UV.y; + y += N(id.x); + float trail2 = smoothstep(dSize*r, .0, cd); + float droplets = max(0., (sin(y*(1.-y)*120.)-st.y))*trail2*trailFront*n.z; + y = fract(y*10.)+(st.y-.5); + float dd = length(st-float2(x, y)); + droplets = smoothstep(dSize*N(id.x), 0., dd); + float m = Drop+droplets*r*trailFront; + if(debug){ + m += st.x>a.y*.45 || st.y>a.x*.165 ? 1.2 : 0.; //DEBUG SPACES + } + + + return float2(m, trail); +} + +float StaticDrops(float2 uv, float t) { + uv *= 30.; + + float2 id = floor(uv); + uv = fract2(uv)-.5; + float3 n = N13(id.x*107.45+id.y*3543.654); + float2 p = (n.xy-.5)*0.5; + float d = length(uv-p); + + float fade = Saw(.025, fract(t+n.z)); + float c = smoothstep(size, 0., d)*fract(n.z*10.)*fade; + + return c; +} + +float2 Rain(float2 uv, float t) { + //float s = StaticDrops(uv, t); + float2 r1 = Drops(uv, t); + float2 r2 = Drops(uv*1.8, t); + float c; + if(debug){ + c = r1.x; + }else{ + c = r1.x+r2.x;//s+r1.x+r2.x; + } + + c = smoothstep(.3, 1., c); + + if(debug){ + return float2(c, r1.y); + }else{ + return float2(c, max(r1.y, r2.y)); + } +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv;//(fragCoord.xy-.5*iResolution.xy) / iResolution.y; + uv.y = 1.0 - uv.y; + uv = uv * uv_scale; + float2 UV = v_in.uv; + float T = elapsed_time * speed / 100.0; + + float t = T*.2; + + UV = (UV-.5)*(.9)+.5; + + float2 c = Rain(uv, t); + + float2 e = float2(.001, 0.); //pixel offset + float cx = Rain(uv+e, t).x; + float cy = Rain(uv+e.yx, t).x; + float2 n = float2(cx-c.x, cy-c.x); //normals + + // BLUR derived from existical https://www.shadertoy.com/view/Xltfzj + float Pi = 6.28318530718; // Pi*2 + + // GAUSSIAN BLUR SETTINGS {{{ + float Directions = 32.0; // BLUR DIRECTIONS (Default 16.0 - More is better but slower) + float Quality = 8.0; // BLUR QUALITY (Default 4.0 - More is better but slower) + // GAUSSIAN BLUR SETTINGS }}} + float2 Radius = blurSize/uv_size; + float3 col = image.Sample(textureSampler, UV).rgb; + + if(blurSize > 0.0){ + // Blur calculations + for(float d=0.0; dAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRectangularDropShadowShader { + +[Alias('Set-OBSRectangularDropShadowShader','Add-OBSRectangularDropShadowShader')] +param( +# Set the shadow_offset_x of OBSRectangularDropShadowShader +[Alias('shadow_offset_x')] +[ComponentModel.DefaultBindingProperty('shadow_offset_x')] +[Int32] +$ShadowOffsetX, +# Set the shadow_offset_y of OBSRectangularDropShadowShader +[Alias('shadow_offset_y')] +[ComponentModel.DefaultBindingProperty('shadow_offset_y')] +[Int32] +$ShadowOffsetY, +# Set the shadow_blur_size of OBSRectangularDropShadowShader +[Alias('shadow_blur_size')] +[ComponentModel.DefaultBindingProperty('shadow_blur_size')] +[Int32] +$ShadowBlurSize, +# Set the shadow_color of OBSRectangularDropShadowShader +[Alias('shadow_color')] +[ComponentModel.DefaultBindingProperty('shadow_color')] +[String] +$ShadowColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rectangular_drop_shadow' +$ShaderNoun = 'OBSRectangularDropShadowShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Exeldro February 22, 2022 +uniform int shadow_offset_x< + string label = "shadow offset x"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +>; +uniform int shadow_offset_y< + string label = "shadow offset y"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +>; +uniform int shadow_blur_size< + string label = "shadow blur size"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 100; + int step = 1; +> = 1; + +uniform float4 shadow_color; + +float4 mainImage(VertData v_in) : TARGET +{ + int shadow_blur_samples = int(pow(shadow_blur_size * 2 + 1, 2)); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * int(shadow_offset_x), + v_in.uv.y - uv_pixel_interval.y * int(shadow_offset_y)); + + float start_of_overlap_x = max(0, shadow_uv.x - shadow_blur_size * uv_pixel_interval.x); + float end_of_overlap_x = min(1, shadow_uv.x + shadow_blur_size * uv_pixel_interval.x); + float x_proportion = (end_of_overlap_x - start_of_overlap_x) / (2 * shadow_blur_size * uv_pixel_interval.x); + + float start_of_overlap_y = max(0, shadow_uv.y - shadow_blur_size * uv_pixel_interval.y); + float end_of_overlap_y = min(1, shadow_uv.y + shadow_blur_size * uv_pixel_interval.y); + float y_proportion = (end_of_overlap_y - start_of_overlap_y) / (2 * shadow_blur_size * uv_pixel_interval.y); + + float4 final_shadow_color = float4(shadow_color.r, shadow_color.g, shadow_color.b, shadow_color.a * x_proportion * y_proportion); + + return final_shadow_color * (1-color.a) + color; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSReflectShader { + +[Alias('Set-OBSReflectShader','Add-OBSReflectShader')] +param( +# Set the Horizontal of OBSReflectShader +[ComponentModel.DefaultBindingProperty('Horizontal')] +[Management.Automation.SwitchParameter] +$Horizontal, +# Set the Vertical of OBSReflectShader +[ComponentModel.DefaultBindingProperty('Vertical')] +[Management.Automation.SwitchParameter] +$Vertical, +# Set the center_x_percent of OBSReflectShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSReflectShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Reflect' +$ShaderNoun = 'OBSReflectShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple Reflect Shader + +// Reflects horizontally and/or vertically. + +uniform bool Horizontal< + string label = "Reflect horizontally"; +> = false; +uniform bool Vertical< + string label = "Reflect vertically"; +> = true; + +uniform int center_x_percent< + string label = "center x percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + + if (Horizontal == true) { + if (pos.x < center_pos.x) { + pos.x = center_pos.x - pos.x; + } else if (pos.x == center_pos.x) { + pos.x = pos.x; + } else { + pos.x = pos.x - center_pos.x; + } + } + if (Vertical == true) { + if (pos.y < center_pos.y) { + pos.y = center_pos.y - pos.y; + } else if (pos.y == center_pos.y) { + pos.y = pos.y; + } else { + pos.y = pos.y - center_pos.y; + } + } + + return image.Sample(textureSampler, pos); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRemovePartialPixelsShader { + +[Alias('Set-OBSRemovePartialPixelsShader','Add-OBSRemovePartialPixelsShader')] +param( +# Set the minimum_alpha_percent of OBSRemovePartialPixelsShader +[Alias('minimum_alpha_percent')] +[ComponentModel.DefaultBindingProperty('minimum_alpha_percent')] +[Int32] +$MinimumAlphaPercent, +# Set the notes of OBSRemovePartialPixelsShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'remove_partial_pixels' +$ShaderNoun = 'OBSRemovePartialPixelsShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Remove Partial Pixels shader by Charles Fettinger for obs-shaderfilter plugin 8/2020 +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGL by Exeldro February 21, 2022 +uniform int minimum_alpha_percent< + string label = "minimum alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform string notes< + string widget_type = "info"; +> = "Removes partial pixels, excellent for cleaning greenscreen. Default Minimum Alpha Percent is 50%, lowering will reveal more pixels"; + +float4 mainImage(VertData v_in) : TARGET +{ + float min_alpha = clamp(minimum_alpha_percent * .01, -1.0, 101.0); + float4 output_color = image.Sample(textureSampler, v_in.uv); + if (output_color.a < min_alpha) + { + return float4(0.0, 0.0, 0.0, 0.0); + } + else + { + return float4(output_color); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRepeatShader { + +[Alias('Set-OBSRepeatShader','Add-OBSRepeatShader')] +param( +# Set the ViewProj of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the color_matrix of OBSRepeatShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the color_range_min of OBSRepeatShader +[Alias('color_range_min')] +[ComponentModel.DefaultBindingProperty('color_range_min')] +[Single[]] +$ColorRangeMin, +# Set the color_range_max of OBSRepeatShader +[Alias('color_range_max')] +[ComponentModel.DefaultBindingProperty('color_range_max')] +[Single[]] +$ColorRangeMax, +# Set the image of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSRepeatShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSRepeatShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSRepeatShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSRepeatShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSRepeatShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSRepeatShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the alpha of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('alpha')] +[Single] +$Alpha, +# Set the copies of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('copies')] +[Single] +$Copies, +# Set the notes of OBSRepeatShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'repeat' +$ShaderNoun = 'OBSRepeatShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Repeat Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 + +uniform float4x4 ViewProj; +uniform float4x4 color_matrix; +uniform float3 color_range_min = {0.0, 0.0, 0.0}; +uniform float3 color_range_max = {1.0, 1.0, 1.0}; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; + +uniform float alpha< + string label = "Alpha"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 3.0; + float step = 0.001; +> = 1.0; +uniform float copies< + string label = "Copies"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 4.0; +uniform string notes< + string widget_type = "info"; +> = ''copies, use a number that has a square root. Alpha adjusts the alpha level of the copies (recommend 0.5-2.0 recommend)''; + +sampler_state def_sampler { + Filter = Linear; + AddressU = Repeat; + AddressV = Repeat; +}; + +struct VertInOut { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertInOut VSDefault(VertInOut vert_in) +{ + VertInOut vert_out; + vert_out.pos = mul(float4(vert_in.pos.xyz, 1 ), ViewProj); + vert_out.uv = vert_in.uv * sqrt(copies); + return vert_out; +} + +float4 PSDrawBare(VertInOut vert_in) : TARGET +{ + float4 rgba = image.Sample(def_sampler, vert_in.uv); + rgba.a *= alpha; + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vert_in); + pixel_shader = PSDrawBare(vert_in); + } +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRepeatTextureShader { + +[Alias('Set-OBSRepeatTextureShader','Add-OBSRepeatTextureShader')] +param( +# Set the ViewProj of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the color_matrix of OBSRepeatTextureShader +[Alias('color_matrix')] +[ComponentModel.DefaultBindingProperty('color_matrix')] +[Single[][]] +$ColorMatrix, +# Set the color_range_min of OBSRepeatTextureShader +[Alias('color_range_min')] +[ComponentModel.DefaultBindingProperty('color_range_min')] +[Single[]] +$ColorRangeMin, +# Set the color_range_max of OBSRepeatTextureShader +[Alias('color_range_max')] +[ComponentModel.DefaultBindingProperty('color_range_max')] +[Single[]] +$ColorRangeMax, +# Set the image of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the tex_image of OBSRepeatTextureShader +[Alias('tex_image')] +[ComponentModel.DefaultBindingProperty('tex_image')] +[String] +$TexImage, +# Set the elapsed_time of OBSRepeatTextureShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSRepeatTextureShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSRepeatTextureShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSRepeatTextureShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the uv_size of OBSRepeatTextureShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the rand_f of OBSRepeatTextureShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the blend of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('blend')] +[Single] +$Blend, +# Set the copies of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('copies')] +[Single] +$Copies, +# Set the notes of OBSRepeatTextureShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the alpha_percentage of OBSRepeatTextureShader +[Alias('alpha_percentage')] +[ComponentModel.DefaultBindingProperty('alpha_percentage')] +[Single] +$AlphaPercentage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'repeat_texture' +$ShaderNoun = 'OBSRepeatTextureShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Repeat Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 + +uniform float4x4 ViewProj; +uniform float4x4 color_matrix; +uniform float3 color_range_min = {0.0, 0.0, 0.0}; +uniform float3 color_range_max = {1.0, 1.0, 1.0}; +uniform texture2d image; +uniform texture2d tex_image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float2 uv_size; +uniform float rand_f; + +uniform float blend< + string label = "Blend"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 3.0; + float step = 0.001; +> = 1.0; +uniform float copies< + string label = "Copies"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 4.0; +uniform string notes< + string widget_type = "info"; +> = ''copies, use a number that has a square root. Blend adjusts the ratio of source and texture''; +uniform float alpha_percentage< + string label = "alpha percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100.0; + +sampler_state tex_sampler { + Filter = Linear; + AddressU = Repeat; + AddressV = Repeat; +}; + +sampler_state base_sampler { + Filter = Linear; + AddressU = Clamp; + AddressV = Clamp; +}; + +struct VertIn { + float4 pos : POSITION; + float2 uv_0 : TEXCOORD0; + float2 uv_1 : TEXCOORD1; +}; + +struct VertOut { + float4 pos : POSITION; + float2 uv_0 : TEXCOORD0; + float2 uv_1 : TEXCOORD1; +}; + +VertOut VSDefault(VertIn vert_in) +{ + VertOut vert_out; + vert_out.pos = mul(float4(vert_in.pos.xyz, 1 ), ViewProj); + vert_out.uv_1 = vert_in.uv_0; + vert_out.uv_0 = vert_in.uv_0 * sqrt(copies); + return vert_out; +} + +float4 PSDrawBare(VertOut vert_in) : TARGET +{ + float alpha = clamp(alpha_percentage * 0.01 ,-1.0,2.0); + float4 tex = tex_image.Sample(tex_sampler, vert_in.uv_0); + float4 base = image.Sample(base_sampler, vert_in.uv_1); + + return (1 - alpha) * base + (alpha) * tex; +} + +technique Draw +{ + pass + { + vertex_shader = VSDefault(vert_in); + pixel_shader = PSDrawBare(vert_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRGBAPercentShader { + +[Alias('Set-OBSRGBAPercentShader','Add-OBSRGBAPercentShader')] +param( +# Set the RedPercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('RedPercent')] +[Single] +$RedPercent, +# Set the GreenPercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('GreenPercent')] +[Single] +$GreenPercent, +# Set the BluePercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('BluePercent')] +[Single] +$BluePercent, +# Set the AlphaPercent of OBSRGBAPercentShader +[ComponentModel.DefaultBindingProperty('AlphaPercent')] +[Single] +$AlphaPercent, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'RGBA_Percent' +$ShaderNoun = 'OBSRGBAPercentShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple RGBA Percent Shader +// Allows Red, Green, or Blue to be adjusted between 0-200% +// Allows Alpha to be adjusted between 0/100% +uniform float RedPercent< + string label = "Red percentage"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 200; + float step = 1.0; +> = 100; + +uniform float GreenPercent< + string label = "Green percentage"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 200; + float step = 1.0; +> = 100; + +uniform float BluePercent< + string label = "Blue percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200; + float step = 1.0; +> = 100.0; + + +uniform float AlphaPercent< + string label = "Alpha percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pos = v_in.uv; + + float4 imageColors = image.Sample(textureSampler, v_in.uv); + float4 adjustedColor = float4( + imageColors.r * (RedPercent * 0.01), + imageColors.g * (GreenPercent * 0.01), + imageColors.b * (BluePercent * 0.01), + imageColors.a * (AlphaPercent * 0.01) + ); + return adjustedColor; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRgbColorWheelShader { + +[Alias('Set-OBSRgbColorWheelShader','Add-OBSRgbColorWheelShader')] +param( +# Set the speed of OBSRgbColorWheelShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the color_depth of OBSRgbColorWheelShader +[Alias('color_depth')] +[ComponentModel.DefaultBindingProperty('color_depth')] +[Single] +$ColorDepth, +# Set the Apply_To_Image of OBSRgbColorWheelShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSRgbColorWheelShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Apply_To_Specific_Color of OBSRgbColorWheelShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSRgbColorWheelShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the Alpha_Percentage of OBSRgbColorWheelShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the center_width_percentage of OBSRgbColorWheelShader +[Alias('center_width_percentage')] +[ComponentModel.DefaultBindingProperty('center_width_percentage')] +[Int32] +$CenterWidthPercentage, +# Set the center_height_percentage of OBSRgbColorWheelShader +[Alias('center_height_percentage')] +[ComponentModel.DefaultBindingProperty('center_height_percentage')] +[Int32] +$CenterHeightPercentage, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rgb_color_wheel' +$ShaderNoun = 'OBSRgbColorWheelShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// RGB Color Wheel shader by Charles Fettinger for obs-shaderfilter plugin 5/2020 +// https://github.com/Oncorporation/obs-shaderfilter +//Converted to OpenGl by Q-mii & Exeldro February 25, 2022 +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 15.0; + float step = 0.1; +> = 2.0; +uniform float color_depth< + string label = "Color Depth"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.1; +> = 2.10; +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform float Alpha_Percentage< + string label = "Alpha Percentage"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.1; +> = 100; // +uniform int center_width_percentage< + string label = "center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height_percentage< + string label = "center height percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + +float3 hsv2rgb(float3 c) +{ + float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); + float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); + return c.z * lerp(K.xxx, saturate(p - K.xxx), c.y); +} + +float mod(float x, float y) +{ + return x - y * floor(x / y); +} + +float4 mainImage(VertData v_in) : TARGET +{ + const float PI = 3.14159265f;//acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + float4 rgba = image.Sample(textureSampler, v_in.uv); + float2 center_pixel_coordinates = float2((center_width_percentage * 0.01), (center_height_percentage * 0.01) ); + float2 st = v_in.uv* uv_scale; + float2 toCenter = center_pixel_coordinates - st ; + float r = length(toCenter) * color_depth; + float angle = atan2(toCenter.y ,toCenter.x ); + float angleMod = (elapsed_time * mod(speed ,18)) / 18; + + rgba.rgb = hsv2rgb(float3((angle / PI*0.5) + angleMod,r,1.0)); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + float luma = color.r * 0.299 + color.g * 0.587 + color.b * 0.114; + if (Replace_Image_Color) + color = float4(luma, luma, luma, luma); + rgba = lerp(original_color, rgba * color,clamp(Alpha_Percentage *.01 ,0,1.0)); + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, clamp(Alpha_Percentage * .01, 0, 1.0)); + } + + return rgba; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRgbSplitShader { + +[Alias('Set-OBSRgbSplitShader','Add-OBSRgbSplitShader')] +param( +# Set the redx of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('redx')] +[Single] +$Redx, +# Set the redy of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('redy')] +[Single] +$Redy, +# Set the greenx of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('greenx')] +[Single] +$Greenx, +# Set the greeny of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('greeny')] +[Single] +$Greeny, +# Set the bluex of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('bluex')] +[Single] +$Bluex, +# Set the bluey of OBSRgbSplitShader +[ComponentModel.DefaultBindingProperty('bluey')] +[Single] +$Bluey, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rgb_split' +$ShaderNoun = 'OBSRgbSplitShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float redx< + string label = "Red X"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 2.00; +uniform float redy< + string label = "Red Y"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; +uniform float greenx< + string label = "Green X"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; +uniform float greeny< + string label = "Green Y"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; +uniform float bluex< + string label = "Blue X"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = -2.00; +uniform float bluey< + string label = "Blue Y"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.01; +> = 0.00; + + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + if(redx != 0.0 || redy != 0.0) + c.r = image.Sample(textureSampler, v_in.uv + float2(redx/100.0, redy/100.0)).r; + if(greenx != 0.0 || greeny != 0.0) + c.g = image.Sample(textureSampler, v_in.uv + float2(greenx/100.0, greeny/100.0)).g; + if(bluex != 0.0 || bluey != 0.0) + c.b = image.Sample(textureSampler, v_in.uv + float2(bluex/100.0, bluey/100.0)).b; + return c; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRgbvisibilityShader { + +[Alias('Set-OBSRgbvisibilityShader','Add-OBSRgbvisibilityShader')] +param( +# Set the Red of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('Red')] +[Single] +$Red, +# Set the Green of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('Green')] +[Single] +$Green, +# Set the Blue of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('Blue')] +[Single] +$Blue, +# Set the RedVisibility of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('RedVisibility')] +[Single] +$RedVisibility, +# Set the GreenVisibility of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('GreenVisibility')] +[Single] +$GreenVisibility, +# Set the BlueVisibility of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('BlueVisibility')] +[Single] +$BlueVisibility, +# Set the notes of OBSRgbvisibilityShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rgbvisibility' +$ShaderNoun = 'OBSRgbvisibilityShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// RGB visibility separation filter, created by EposVox + +uniform float Red< + string label = "Red"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; + +uniform float Green< + string label = "Green"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; + +uniform float Blue< + string label = "Blue"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 10.0; + float step = 0.01; +> = 2.2; + +uniform float RedVisibility< + string label = "Red Visibility"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +uniform float GreenVisibility< + string label = "Green Visibility"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +uniform float BlueVisibility< + string label = "Blue Visibility"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; + +uniform string notes< + string widget_type = "info"; +> = "Modify Colors to correct for gamma, use equal values for general correction."; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + float redChannel = pow(c.r, Red) * RedVisibility; + float greenChannel = pow(c.g, Green) * GreenVisibility; + float blueChannel = pow(c.b, Blue) * BlueVisibility; + + return float4(redChannel, greenChannel, blueChannel, c.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRGSSAAShader { + +[Alias('Set-OBSRGSSAAShader','Add-OBSRGSSAAShader')] +param( +# Set the ColorSigma of OBSRGSSAAShader +[ComponentModel.DefaultBindingProperty('ColorSigma')] +[Single] +$ColorSigma, +# Set the SpatialSigma of OBSRGSSAAShader +[ComponentModel.DefaultBindingProperty('SpatialSigma')] +[Single] +$SpatialSigma, +# Set the notes of OBSRGSSAAShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'RGSSAA' +$ShaderNoun = 'OBSRGSSAAShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// RGSSAA shader by Eliseu Amaro for obs-shaderfilter plugin 2/2024 +// https://github.com/exeldro/obs-shaderfilter/tree/master +// Using edge detection shader as a base, created by Hallatore +// https://forums.unrealengine.com/t/sharper-image-without-the-edge-artifacts/108461 + +uniform float ColorSigma< + string label = "Color Sigma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 1.0; + float step = 0.1; +> = 1.0; + +uniform float SpatialSigma< + string label = "Spatial Sigma"; + string widget_type = "slider"; + float minimum = 0.1; + float maximum = 1.0; + float step = 0.1; +> = 1.0; + +uniform string notes< + string widget_type = "info"; +> = "Performs RGSSAA, a form of anti-aliasing. Implementation roughly follows the original with color and spatial sigma (or strengths) parameters. Useful to apply before a sharpen pass (e.g on a webcam feed)." + +float Luminance(float3 rgb) +{ + return rgb.r * 0.299 + rgb.g * 0.587 + rgb.b * 0.114; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float3 SceneColor = image.Sample(textureSampler, v_in.uv).rgb; + float2 SceneUV = v_in.uv; + float2 TexelScale = 1.0f/uv_size; + + const float SQRT2 = 1.4142135624; + const float PI = 3.141592654; + const float angle = PI / 8.0; + const float cs = cos(angle); + const float sn = sin(angle); + + // Rotated grid samples + float3 C1 = + image.Sample(textureSampler, SceneUV + float2(cs, -sn) * TexelScale).rgb; + float3 C2 = + image.Sample(textureSampler, SceneUV + float2(-cs, -sn) * TexelScale).rgb; + float3 C3 = + image.Sample(textureSampler, SceneUV + float2(-sn, cs) * TexelScale).rgb; + float3 C4 = + image.Sample(textureSampler, SceneUV + float2(sn, cs) * TexelScale).rgb; + float3 C5 = + image.Sample(textureSampler, SceneUV + float2(cs * SQRT2, 0) * TexelScale).rgb; + float3 C6 = + image.Sample(textureSampler, SceneUV + float2(0, sn *SQRT2) * TexelScale).rgb; + float3 C7 = + image.Sample(textureSampler, SceneUV + float2(-cs * SQRT2, 0) * TexelScale).rgb; + float3 C8 = + image.Sample(textureSampler, SceneUV + float2(0, -sn *SQRT2) * TexelScale).rgb; + + // Luminance edge detection + float A0 = Luminance(SceneColor); + float CL1 = Luminance(C1); + float L1 = ((max(CL1, A0)) / (min(CL1, A0) + 0.001) - 1); + float CL2 = Luminance(C2); + float L2 = ((max(CL2, A0)) / (min(CL2, A0) + 0.001) - 1); + float CL3 = Luminance(C3); + float L3 = ((max(CL3, A0)) / (min(CL3, A0) + 0.001) - 1); + float CL4 = Luminance(C4); + float L4 = ((max(CL4, A0)) / (min(CL4, A0) + 0.001) - 1); + float CL5 = Luminance(C5); + float L5 = ((max(CL5, A0)) / (min(CL5, A0) + 0.001) - 1); + float CL6 = Luminance(C6); + float L6 = ((max(CL6, A0)) / (min(CL6, A0) + 0.001) - 1); + float CL7 = Luminance(C7); + float L7 = ((max(CL7, A0)) / (min(CL7, A0) + 0.001) - 1); + float CL8 = Luminance(C8); + float L8 = ((max(CL8, A0)) / (min(CL8, A0) + 0.001) - 1); + float NeighborDifference = max(max(max(L1, L2), max(L3, L4)), max(max(L5, L6), max(L7, L8))); + + // Calculate distance-based weights + float2 Dist1 = float2(cs, -sn); + float2 Dist2 = float2(-cs, -sn); + float2 Dist3 = float2(-sn, cs); + float2 Dist4 = float2(sn, cs); + float2 Dist5 = float2(cs * SQRT2, 0); + float2 Dist6 = float2(0, sn * SQRT2); + float2 Dist7 = float2(-cs * SQRT2, 0); + float2 Dist8 = float2(0, -sn * SQRT2); + float SW1 = exp(-dot(Dist1, Dist1) / (2.0 * SpatialSigma * SpatialSigma)); + float SW2 = exp(-dot(Dist2, Dist2) / (2.0 * SpatialSigma * SpatialSigma)); + float SW3 = exp(-dot(Dist3, Dist3) / (2.0 * SpatialSigma * SpatialSigma)); + float SW4 = exp(-dot(Dist4, Dist4) / (2.0 * SpatialSigma * SpatialSigma)); + float SW5 = exp(-dot(Dist5, Dist5) / (2.0 * SpatialSigma * SpatialSigma)); + float SW6 = exp(-dot(Dist6, Dist6) / (2.0 * SpatialSigma * SpatialSigma)); + float SW7 = exp(-dot(Dist7, Dist7) / (2.0 * SpatialSigma * SpatialSigma)); + float SW8 = exp(-dot(Dist8, Dist8) / (2.0 * SpatialSigma * SpatialSigma)); + + // Color weights + float3 ColorDiff1 = SceneColor.rgb - C1; + float3 ColorDiff2 = SceneColor.rgb - C2; + float3 ColorDiff3 = SceneColor.rgb - C3; + float3 ColorDiff4 = SceneColor.rgb - C4; + float3 ColorDiff5 = SceneColor.rgb - C5; + float3 ColorDiff6 = SceneColor.rgb - C6; + float3 ColorDiff7 = SceneColor.rgb - C7; + float3 ColorDiff8 = SceneColor.rgb - C8; + + float CW1 = exp(-dot(ColorDiff1, ColorDiff1) / (2.0 * ColorSigma * ColorSigma)); + float CW2 = exp(-dot(ColorDiff2, ColorDiff2) / (2.0 * ColorSigma * ColorSigma)); + float CW3 = exp(-dot(ColorDiff3, ColorDiff3) / (2.0 * ColorSigma * ColorSigma)); + float CW4 = exp(-dot(ColorDiff4, ColorDiff4) / (2.0 * ColorSigma * ColorSigma)); + float CW5 = exp(-dot(ColorDiff5, ColorDiff5) / (2.0 * ColorSigma * ColorSigma)); + float CW6 = exp(-dot(ColorDiff6, ColorDiff6) / (2.0 * ColorSigma * ColorSigma)); + float CW7 = exp(-dot(ColorDiff7, ColorDiff7) / (2.0 * ColorSigma * ColorSigma)); + float CW8 = exp(-dot(ColorDiff8, ColorDiff8) / (2.0 * ColorSigma * ColorSigma)); + + // Mixing weights + float W1 = SW1 * CW1; + float W2 = SW2 * CW2; + float W3 = SW3 * CW3; + float W4 = SW4 * CW4; + float W5 = SW5 * CW5; + float W6 = SW6 * CW6; + float W7 = SW7 * CW7; + float W8 = SW8 * CW8; + float TotalWeight = W1 + W2 + W3 + W4 + W5 + W6 + W7 + W8; + + // Weighted color + float3 AAResult = (C1 * W1 + C2 * W2 + C3 * W3 + C4 * W4 + C5 * W5 + C6 * W6 + + C7 * W7 + C8 * W8) / + max(TotalWeight, 0.0001); + + // Blend it + float4 LuminanceNeightbors = float4(CL1, CL2, CL3, CL4); + float4 LuminanceNeightbors2 = float4(CL5, CL6, CL7, CL8); + float4 A0LuminanceNeightbors = abs(A0 - LuminanceNeightbors); + float4 A0LuminanceNeightbors2 = abs(A0 - LuminanceNeightbors2); + float A0Max = max(max(A0LuminanceNeightbors.r, A0LuminanceNeightbors.g), max(A0LuminanceNeightbors.b, A0LuminanceNeightbors.a)); + float A0Max2 = max(max(A0LuminanceNeightbors2.r, A0LuminanceNeightbors2.g), max(A0LuminanceNeightbors2.b, A0LuminanceNeightbors2.a)); + float HDREdge = max(A0Max, A0Max2); + float EdgeMask = saturate(1.0f - HDREdge); + + return float4(lerp(SceneColor.rgb, AAResult, EdgeMask), 1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRippleShader { + +[Alias('Set-OBSRippleShader','Add-OBSRippleShader')] +param( +# Set the distance_factor of OBSRippleShader +[Alias('distance_factor')] +[ComponentModel.DefaultBindingProperty('distance_factor')] +[Single] +$DistanceFactor, +# Set the time_factor of OBSRippleShader +[Alias('time_factor')] +[ComponentModel.DefaultBindingProperty('time_factor')] +[Single] +$TimeFactor, +# Set the power_factor of OBSRippleShader +[Alias('power_factor')] +[ComponentModel.DefaultBindingProperty('power_factor')] +[Single] +$PowerFactor, +# Set the center_pos_x of OBSRippleShader +[Alias('center_pos_x')] +[ComponentModel.DefaultBindingProperty('center_pos_x')] +[Single] +$CenterPosX, +# Set the center_pos_y of OBSRippleShader +[Alias('center_pos_y')] +[ComponentModel.DefaultBindingProperty('center_pos_y')] +[Single] +$CenterPosY, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'ripple' +$ShaderNoun = 'OBSRippleShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform float distance_factor< + string label = "distance factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 12.0; +uniform float time_factor< + string label = "time factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 2.0; +uniform float power_factor< + string label = "power factor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 3.0; +uniform float center_pos_x< + string label = "center pos x"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float center_pos_y< + string label = "center pos y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 cPos = (v_in.uv * 2 ) -1; + float2 center_pos = float2(center_pos_x, center_pos_y); + float cLength = distance(cPos, center_pos); + float2 uv = v_in.uv+(cPos/cLength)*cos(cLength*distance_factor-elapsed_time*time_factor) * power_factor / 100.0; + return image.Sample(textureSampler, uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRotatingSourceShader { + +[Alias('Set-OBSRotatingSourceShader','Add-OBSRotatingSourceShader')] +param( +# Set the spin_speed of OBSRotatingSourceShader +[Alias('spin_speed')] +[ComponentModel.DefaultBindingProperty('spin_speed')] +[Single] +$SpinSpeed, +# Set the rotation of OBSRotatingSourceShader +[ComponentModel.DefaultBindingProperty('rotation')] +[Single] +$Rotation, +# Set the zoomin of OBSRotatingSourceShader +[ComponentModel.DefaultBindingProperty('zoomin')] +[Single] +$Zoomin, +# Set the keep_aspectratio of OBSRotatingSourceShader +[Alias('keep_aspectratio')] +[ComponentModel.DefaultBindingProperty('keep_aspectratio')] +[Management.Automation.SwitchParameter] +$KeepAspectratio, +# Set the x_center of OBSRotatingSourceShader +[Alias('x_center')] +[ComponentModel.DefaultBindingProperty('x_center')] +[Single] +$XCenter, +# Set the y_center of OBSRotatingSourceShader +[Alias('y_center')] +[ComponentModel.DefaultBindingProperty('y_center')] +[Single] +$YCenter, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rotating-source' +$ShaderNoun = 'OBSRotatingSourceShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//spin speed higher the slower +uniform float spin_speed< + string label = "Spin Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; +uniform float rotation< + string label = "Rotation"; + string widget_type = "slider"; + float minimum = -360.0; + float maximum = 360.0; + float step = 0.1; +> = 0.0; +uniform float zoomin< + string label = "Zoom"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform bool keep_aspectratio = true; +uniform float x_center< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform float y_center< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + + +//main fragment code +//from lioran to nutella with love +float4 mainImage(VertData v_in) : TARGET +{ + float x_aspectratio = keep_aspectratio ? uv_size.x : 1.0; + float y_aspectratio = keep_aspectratio ? uv_size.y : 1.0; + //get position on of the texture and focus on the middle + float i_rotation; + if (spin_speed == 0){ + //turn angle number into pi number + i_rotation = rotation/57.295779513; + }else{ + //use elapsed time for spinning if spin speed is not 0 + i_rotation = elapsed_time * spin_speed; + } + float2 i_point; + i_point.x = (v_in.uv.x * x_aspectratio) - (x_aspectratio * x_center); + i_point.y = (v_in.uv.y * y_aspectratio) - (y_aspectratio * y_center); + + //get the angle from center , returns pi number + float i_dir = atan(i_point.y/i_point.x); + if(i_point.x < 0.0){ + i_dir += 3.14159265359; + } + + //get the distance from the centers + float i_distance = sqrt(pow(i_point.x,2) + pow(i_point.y,2)); + //multiple distance by the zoomin value + i_distance *= zoomin; + + //shift the texture position based on angle and distance from the middle + i_point.x = ((x_aspectratio*x_center)+cos(i_dir-i_rotation)*i_distance)/x_aspectratio; + i_point.y = ((y_aspectratio*y_center)+sin(i_dir-i_rotation)*i_distance)/y_aspectratio; + + //draw normally from new point + return image.Sample(textureSampler, i_point); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRotatoeShader { + +[Alias('Set-OBSRotatoeShader','Add-OBSRotatoeShader')] +param( +# Set the ViewProj of OBSRotatoeShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSRotatoeShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSRotatoeShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSRotatoeShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSRotatoeShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSRotatoeShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSRotatoeShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSRotatoeShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the speed_percent of OBSRotatoeShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the Axis_X of OBSRotatoeShader +[Alias('Axis_X')] +[ComponentModel.DefaultBindingProperty('Axis_X')] +[Single] +$AxisX, +# Set the Axis_Y of OBSRotatoeShader +[Alias('Axis_Y')] +[ComponentModel.DefaultBindingProperty('Axis_Y')] +[Single] +$AxisY, +# Set the Axis_Z of OBSRotatoeShader +[Alias('Axis_Z')] +[ComponentModel.DefaultBindingProperty('Axis_Z')] +[Single] +$AxisZ, +# Set the Angle_Degrees of OBSRotatoeShader +[Alias('Angle_Degrees')] +[ComponentModel.DefaultBindingProperty('Angle_Degrees')] +[Single] +$AngleDegrees, +# Set the Rotate_Transform of OBSRotatoeShader +[Alias('Rotate_Transform')] +[ComponentModel.DefaultBindingProperty('Rotate_Transform')] +[Management.Automation.SwitchParameter] +$RotateTransform, +# Set the Rotate_Pixels of OBSRotatoeShader +[Alias('Rotate_Pixels')] +[ComponentModel.DefaultBindingProperty('Rotate_Pixels')] +[Management.Automation.SwitchParameter] +$RotatePixels, +# Set the Rotate_Colors of OBSRotatoeShader +[Alias('Rotate_Colors')] +[ComponentModel.DefaultBindingProperty('Rotate_Colors')] +[Management.Automation.SwitchParameter] +$RotateColors, +# Set the center_width_percentage of OBSRotatoeShader +[Alias('center_width_percentage')] +[ComponentModel.DefaultBindingProperty('center_width_percentage')] +[Int32] +$CenterWidthPercentage, +# Set the center_height_percentage of OBSRotatoeShader +[Alias('center_height_percentage')] +[ComponentModel.DefaultBindingProperty('center_height_percentage')] +[Int32] +$CenterHeightPercentage, +# Set the notes of OBSRotatoeShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rotatoe' +$ShaderNoun = 'OBSRotatoeShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Rotation Effect By Charles Fettinger (https://github.com/Oncorporation) 10/2019 +//Converted to OpenGL by Q-mii, Exeldro, & skeletonbow +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +uniform int speed_percent< + string label = "speed percentage"; + string widget_type = "slider"; + int minimum = -100; + int maximum = 100; + int step = 1; +> = 50; // +uniform float Axis_X< + string label = "Axis X"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.1; +> = 0.0; +uniform float Axis_Y< + string label = "Axis Y"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 0.0; +uniform float Axis_Z< + string label = "Axis Z"; + string widget_type = "slider"; + float minimum = -2.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; +uniform float Angle_Degrees< + string label = "Angle Degrees"; + string widget_type = "slider"; + float minimum = -180.0; + float maximum = 180.0; + float step = 0.01; +> = 45.0; +uniform bool Rotate_Transform = true; +uniform bool Rotate_Pixels = false; +uniform bool Rotate_Colors = false; +uniform int center_width_percentage< + string label = "center width percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height_percentage< + string label = "center height percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; + +uniform string notes< + string widget_type = "info"; +> = " Choose axis, angle and speed, then rotate away! center_width_percentage & center_height_percentage allow you to change the pixel spin axis"; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +float3x3 rotAxis(float3 axis, float a) { + float s=sin(a); + float c=cos(a); + float oc=1.0-c; + + float3 as=axis*s; + + float3x3 p=float3x3(axis.x*axis,axis.y*axis,axis.z*axis); + float3x3 q=float3x3(c,-as.z,as.y,as.z,c,-as.x,-as.y,as.x,c); + return p*oc+q; +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + + float speed = speed_percent * 0.01; + // circular easing variable + float PI = 3.1415926535897932384626433832795; //acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + float direction = abs(sin((elapsed_time - 0.001) * speed)); + float t = sin(elapsed_time * speed); + float angle_degrees = PI180th * Angle_Degrees; + + // use matrix to transform rotation + if (Rotate_Transform) + vert_out.pos.xyz = mul(vert_out.pos.xyz,rotAxis(float3(Axis_X,Axis_Y,Axis_Z), (angle_degrees * t))).xyz; + + vert_out.uv = v_in.uv * uv_scale + uv_offset; + + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 rgba = image.Sample(textureSampler, v_in.uv); + + float speed = speed_percent * 0.01; + // circular easing variable + float PI = 3.1415926535897932384626433832795; //acos(-1); + float PI180th = 0.0174532925; //PI divided by 180 + float direction = abs(sin((elapsed_time - 0.001) * speed)); + float t = sin(elapsed_time * speed); + float angle_degrees = PI180th * Angle_Degrees; + + + // use matrix to transform pixels + if (Rotate_Pixels) + { + float2 center_pixel_coordinates = float2((center_width_percentage * 0.01), (center_height_percentage * 0.01) ); + rgba = image.Sample(textureSampler, mul(float3(v_in.uv - center_pixel_coordinates, 1.0), rotAxis(float3(Axis_X ,Axis_Y, Axis_Z ), (angle_degrees * t))).xy + center_pixel_coordinates); + } + if (Rotate_Colors) + rgba.rgb = mul(rgba.rgb, rotAxis(float3(Axis_X,Axis_Y,Axis_Z), (angle_degrees * t))).xyz; + + return rgba; +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRoundedRect2Shader { + +[Alias('Set-OBSRoundedRect2Shader','Add-OBSRoundedRect2Shader')] +param( +# Set the corner_radius of OBSRoundedRect2Shader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedRect2Shader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRect2Shader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# Set the border_alpha_start of OBSRoundedRect2Shader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSRoundedRect2Shader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSRoundedRect2Shader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# Set the faster_scan of OBSRoundedRect2Shader +[Alias('faster_scan')] +[ComponentModel.DefaultBindingProperty('faster_scan')] +[Management.Automation.SwitchParameter] +$FasterScan, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rounded_rect2' +$ShaderNoun = 'OBSRoundedRect2Shader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "Border alpha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 1.0; +uniform float border_alpha_end< + string label = "Border alpha end"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; +uniform float alpha_cut_off< + string label = "Aplha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.5; +uniform bool faster_scan = true; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pixel = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(pixel.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + float check_dist = float(corner_radius); + if(border_thickness > check_dist) + check_dist = border_thickness; + if(image.Sample(textureSampler, v_in.uv + float2(check_dist*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = int(check_dist); + }else if(image.Sample(textureSampler, v_in.uv + float2(-check_dist*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = int(-check_dist); + } + if(image.Sample(textureSampler, v_in.uv + float2(0,check_dist*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = int(check_dist); + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-check_dist*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = int(-check_dist); + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return pixel; + } + if(!faster_scan || closedEdgeX != 0){ + [loop] for(int x = 1;float(x) check_dist && border_thickness > corner_radius){ + if(closedEdgeXabs < corner_radius && closedEdgeYabs < corner_radius){ + float cd = distance(float2(closedEdgeXabs, closedEdgeYabs), float2(corner_radius,corner_radius)); + if(floor(cd) > corner_radius) + return float4(0.0,0.0,0.0,0.0); + if(cd > corner_radius){ + d = border_thickness + cd - corner_radius; + } else if(d > border_thickness){ + d = border_thickness; + } + }else if(d > border_thickness){ + d = border_thickness; + } + } + if(floor(d) <= check_dist){ + if(border_thickness > 0){ + if(ceil(check_dist-d) <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + ((check_dist-d)/ float(border_thickness))*(border_alpha_start-border_alpha_end); + if(border_alpha_start < border_alpha_end){ + fade_color.rgb = pixel.rgb * (1.0 - fade_color.a) + fade_color.rgb * fade_color.a; + fade_color.a = border_alpha_end + ((check_dist-d) / float(border_thickness))*(pixel.a-border_alpha_end); + } + if(d > check_dist) + fade_color.a *= 1.0 -(d - check_dist); + return fade_color; + }else if(d >= 0 && floor(check_dist-d) <= border_thickness && border_alpha_start >= border_alpha_end){ + float4 fade_color = border_color; + float f; + if(border_thickness > (check_dist-d)) + f = border_thickness - (check_dist-d); + else + f = 1.0 -((check_dist-d) - border_thickness); + fade_color.rgb = pixel.rgb * (1.0 - f) + fade_color.rgb * f; + return fade_color; + } + } + if (d > check_dist) + pixel.a *= 1.0 - (d - check_dist); + return pixel; + + } + return float4(0.0,0.0,0.0,0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRoundedRectPerCornerShader { + +[Alias('Set-OBSRoundedRectPerCornerShader','Add-OBSRoundedRectPerCornerShader')] +param( +# Set the corner_radius_tl of OBSRoundedRectPerCornerShader +[Alias('corner_radius_tl')] +[ComponentModel.DefaultBindingProperty('corner_radius_tl')] +[Int32] +$CornerRadiusTl, +# Set the corner_radius_tr of OBSRoundedRectPerCornerShader +[Alias('corner_radius_tr')] +[ComponentModel.DefaultBindingProperty('corner_radius_tr')] +[Int32] +$CornerRadiusTr, +# Set the corner_radius_br of OBSRoundedRectPerCornerShader +[Alias('corner_radius_br')] +[ComponentModel.DefaultBindingProperty('corner_radius_br')] +[Int32] +$CornerRadiusBr, +# Set the corner_radius_bl of OBSRoundedRectPerCornerShader +[Alias('corner_radius_bl')] +[ComponentModel.DefaultBindingProperty('corner_radius_bl')] +[Int32] +$CornerRadiusBl, +# Set the border_thickness of OBSRoundedRectPerCornerShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRectPerCornerShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# Set the border_alpha_start of OBSRoundedRectPerCornerShader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSRoundedRectPerCornerShader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSRoundedRectPerCornerShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rounded_rect_per_corner' +$ShaderNoun = 'OBSRoundedRectPerCornerShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int corner_radius_tl< + string label = "Corner radius top left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_tr< + string label = "Corner radius top right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_br< + string label = "Corner radius bottom right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_bl< + string label = "Corner radius bottom left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "border alpha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 1.0; +uniform float border_alpha_end< + string label = "border alpha end"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float alpha_cut_off< + string label = "alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 pixel = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(pixel.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + int corner_radius_top = corner_radius_tl>corner_radius_tr?corner_radius_tl:corner_radius_tr; + int corner_radius_right = corner_radius_tr>corner_radius_br?corner_radius_tr:corner_radius_br; + int corner_radius_bottom = corner_radius_bl>corner_radius_br?corner_radius_bl:corner_radius_br; + int corner_radius_left = corner_radius_tl>corner_radius_bl?corner_radius_tl:corner_radius_bl; + + if(image.Sample(textureSampler, v_in.uv + float2(corner_radius_right*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = corner_radius_right; + }else if(image.Sample(textureSampler, v_in.uv + float2(-corner_radius_left*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = -corner_radius_left; + } + if(image.Sample(textureSampler, v_in.uv + float2(0,corner_radius_bottom*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = corner_radius_bottom; + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-corner_radius_top*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = -corner_radius_top; + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return pixel; + } + if(closedEdgeX != 0){ + [loop] for(int x = 1;x 0 && closedEdgeY < 0){ + corner_radius = corner_radius_tr; + }else if(closedEdgeX > 0 && closedEdgeY > 0){ + corner_radius = corner_radius_br; + }else if(closedEdgeX < 0 && closedEdgeY > 0){ + corner_radius = corner_radius_bl; + } + if(closedEdgeXabs > corner_radius && closedEdgeYabs > corner_radius){ + return pixel; + } + if(closedEdgeXabs == 0){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeYabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs == 0){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeXabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeXabs > corner_radius){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeYabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + if(closedEdgeYabs > corner_radius){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (closedEdgeXabs / border_thickness)*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return pixel; + } + } + float d = distance(float2(closedEdgeXabs, closedEdgeYabs), float2(corner_radius,corner_radius)); + if(dAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRoundedRectPerSideShader { + +[Alias('Set-OBSRoundedRectPerSideShader','Add-OBSRoundedRectPerSideShader')] +param( +# Set the corner_radius_bottom of OBSRoundedRectPerSideShader +[Alias('corner_radius_bottom')] +[ComponentModel.DefaultBindingProperty('corner_radius_bottom')] +[Int32] +$CornerRadiusBottom, +# Set the corner_radius_left of OBSRoundedRectPerSideShader +[Alias('corner_radius_left')] +[ComponentModel.DefaultBindingProperty('corner_radius_left')] +[Int32] +$CornerRadiusLeft, +# Set the corner_radius_top of OBSRoundedRectPerSideShader +[Alias('corner_radius_top')] +[ComponentModel.DefaultBindingProperty('corner_radius_top')] +[Int32] +$CornerRadiusTop, +# Set the corner_radius_right of OBSRoundedRectPerSideShader +[Alias('corner_radius_right')] +[ComponentModel.DefaultBindingProperty('corner_radius_right')] +[Int32] +$CornerRadiusRight, +# Set the border_thickness of OBSRoundedRectPerSideShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRectPerSideShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# Set the border_alpha_start of OBSRoundedRectPerSideShader +[Alias('border_alpha_start')] +[ComponentModel.DefaultBindingProperty('border_alpha_start')] +[Single] +$BorderAlphaStart, +# Set the border_alpha_end of OBSRoundedRectPerSideShader +[Alias('border_alpha_end')] +[ComponentModel.DefaultBindingProperty('border_alpha_end')] +[Single] +$BorderAlphaEnd, +# Set the alpha_cut_off of OBSRoundedRectPerSideShader +[Alias('alpha_cut_off')] +[ComponentModel.DefaultBindingProperty('alpha_cut_off')] +[Single] +$AlphaCutOff, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rounded_rect_per_side' +$ShaderNoun = 'OBSRoundedRectPerSideShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int corner_radius_bottom< + string label = "Corner radius bottom"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_left< + string label = "Corner radius left"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_top< + string label = "Corner radius top"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int corner_radius_right< + string label = "Corner radius right"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_color; +uniform float border_alpha_start< + string label = "border alpha start"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 1.0; +uniform float border_alpha_end< + string label = "border alpha end"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float alpha_cut_off< + string label = "alpha cut off"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float4 output_color = image.Sample(textureSampler, v_in.uv); + int closedEdgeX = 0; + int closedEdgeY = 0; + if(output_color.a < alpha_cut_off){ + return float4(1.0,0.0,0.0,0.0); + } + if(image.Sample(textureSampler, v_in.uv + float2(corner_radius_right*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = corner_radius_right; + }else if(image.Sample(textureSampler, v_in.uv + float2(-corner_radius_left*uv_pixel_interval.x,0)).a < alpha_cut_off){ + closedEdgeX = -corner_radius_left; + } + if(image.Sample(textureSampler, v_in.uv + float2(0,corner_radius_bottom*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = corner_radius_bottom; + }else if(image.Sample(textureSampler, v_in.uv + float2(0,-corner_radius_top*uv_pixel_interval.y)).a < alpha_cut_off){ + closedEdgeY = -corner_radius_top; + } + if(closedEdgeX == 0 && closedEdgeY == 0){ + return output_color; + } + if(closedEdgeX != 0){ + [loop] for(int x = 1;x corner_radius){ + closedEdgeXabs = 0; + } + if(closedEdgeYabs > corner_radius){ + closedEdgeYabs = 0; + } + if(closedEdgeXabs == 0 && closedEdgeYabs == 0){ + return output_color; + } + if(closedEdgeXabs == 0){ + if(closedEdgeYabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeYabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return output_color; + } + } + if(closedEdgeYabs == 0){ + if(closedEdgeXabs <= border_thickness){ + float4 fade_color = border_color; + fade_color.a = border_alpha_end + (float(closedEdgeXabs) / float(border_thickness))*(border_alpha_start-border_alpha_end); + return fade_color; + }else{ + return output_color; + } + } + + float closest = closedEdgeXabsAdd|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRoundedRectShader { + +[Alias('Set-OBSRoundedRectShader','Add-OBSRoundedRectShader')] +param( +# Set the corner_radius of OBSRoundedRectShader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedRectShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the border_color of OBSRoundedRectShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rounded_rect' +$ShaderNoun = 'OBSRoundedRectShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGl by Q-mii & Exeldro February 21, 2022 +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; + +uniform float4 border_color; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 mirrored_tex_coord = float2(0.5, 0.5) - abs(v_in.uv - float2(0.5, 0.5)); + float4 output_color = image.Sample(textureSampler, v_in.uv); + + float2 pixel_position = float2(mirrored_tex_coord.x / uv_pixel_interval.x, mirrored_tex_coord.y / uv_pixel_interval.y); + float pixel_distance_from_center = distance(pixel_position, float2(corner_radius, corner_radius)); + + bool is_in_corner = pixel_position.x < corner_radius && pixel_position.y < corner_radius; + bool is_within_radius = pixel_distance_from_center <= corner_radius; + + bool is_within_edge_border = !is_in_corner && (pixel_position.x < 0 && pixel_position.x >= -border_thickness || pixel_position.y < 0 && pixel_position.y >= -border_thickness); + bool is_within_corner_border = is_in_corner && pixel_distance_from_center > corner_radius && pixel_distance_from_center <= (corner_radius + border_thickness); + + return ((!is_in_corner || is_within_radius)?output_color:float4(0,0,0,0)) + ((is_within_edge_border || is_within_corner_border)?border_color:float4(0,0,0,0)); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRoundedStrokeGradientShader { + +[Alias('Set-OBSRoundedStrokeGradientShader','Add-OBSRoundedStrokeGradientShader')] +param( +# Set the corner_radius of OBSRoundedStrokeGradientShader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedStrokeGradientShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the minimum_alpha_percent of OBSRoundedStrokeGradientShader +[Alias('minimum_alpha_percent')] +[ComponentModel.DefaultBindingProperty('minimum_alpha_percent')] +[Int32] +$MinimumAlphaPercent, +# Set the rotation_speed of OBSRoundedStrokeGradientShader +[Alias('rotation_speed')] +[ComponentModel.DefaultBindingProperty('rotation_speed')] +[Int32] +$RotationSpeed, +# Set the border_colorL of OBSRoundedStrokeGradientShader +[Alias('border_colorL')] +[ComponentModel.DefaultBindingProperty('border_colorL')] +[String] +$BorderColorL, +# Set the border_colorR of OBSRoundedStrokeGradientShader +[Alias('border_colorR')] +[ComponentModel.DefaultBindingProperty('border_colorR')] +[String] +$BorderColorR, +# Set the center_width of OBSRoundedStrokeGradientShader +[Alias('center_width')] +[ComponentModel.DefaultBindingProperty('center_width')] +[Int32] +$CenterWidth, +# Set the center_height of OBSRoundedStrokeGradientShader +[Alias('center_height')] +[ComponentModel.DefaultBindingProperty('center_height')] +[Int32] +$CenterHeight, +# Set the notes of OBSRoundedStrokeGradientShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rounded_stroke_gradient' +$ShaderNoun = 'OBSRoundedStrokeGradientShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//rounded rectange shader from https://raw.githubusercontent.com/exeldro/obs-lua/master/rounded_rect.shader +//modified slightly by Surn +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "Border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int minimum_alpha_percent< + string label = "Minimum alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int rotation_speed< + string label = "rotation speed"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform float4 border_colorL; +uniform float4 border_colorR; +//uniform float color_spread = 2.0; +uniform int center_width< + string label = "center width"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_height< + string label = "center height"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform string notes< + string widget_type = "info"; +> = "Outlines the opaque areas with a rounded border. Default Minimum Alpha Percent is 50%, lowering will reveal more"; + +// float3 hsv2rgb(float3 c) +// { +// float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0); +// float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www); +// return c.z * lerp(K.xxx, saturate(p - K.xxx), c.y); +// } + +float mod(float x, float y) +{ + return x - y * floor(x/y); +} + +float4 gradient(float c) { + c = mod(c , 2.0); + if(c < 0.0f){ + c = c * -1.0; + } + if(c > 1.0){ + c = 1.0 - c; + if(c < 0.0f){ + c = c + 1.0; + } + } + return lerp(border_colorL, border_colorR, c); +} + +float4 getBorderColor(float2 toCenter){ + float angle = atan2(toCenter.y ,toCenter.x ); + float angleMod = (elapsed_time * mod(float(rotation_speed) , 18.0)) / 9; + return gradient((angle / 3.14159265f) + angleMod); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 st = v_in.uv * uv_scale; + float2 center_pixel_coordinates = float2((float(center_width) * 0.01), (float(center_height) * 0.01) ); + float2 toCenter = center_pixel_coordinates - st; + + float min_alpha = clamp(minimum_alpha_percent * .01, -1.0, 101.0); + float4 output_color = image.Sample(textureSampler, v_in.uv); + if (output_color.a < min_alpha) + { + return float4(0.0, 0.0, 0.0, 0.0); + } + int closedEdgeX = 0; + if (image.Sample(textureSampler, v_in.uv + float2(corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(-corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + int closedEdgeY = 0; + if (image.Sample(textureSampler, v_in.uv + float2(0, corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(0, -corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + if (closedEdgeX == 0 && closedEdgeY == 0) + { + return output_color; + } + if (closedEdgeX != 0) + { + [loop] + for (int x = 1; x < corner_radius; x++) + { + if (image.Sample(textureSampler, v_in.uv + float2(x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(-x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + } + } + if (closedEdgeY != 0) + { + [loop] + for (int y = 1; y < corner_radius; y++) + { + if (image.Sample(textureSampler, v_in.uv + float2(0, y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(0, -y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + } + } + if (closedEdgeX == 0) + { + if (closedEdgeY < border_thickness) + { + return getBorderColor(toCenter); + } + else + { + return output_color; + } + } + if (closedEdgeY == 0) + { + if (closedEdgeX < border_thickness) + { + return getBorderColor(toCenter); + } + else + { + return output_color; + } + } + + float d = distance(float2(closedEdgeX, closedEdgeY), float2(corner_radius, corner_radius)); + if (d < corner_radius) + { + if (corner_radius - d < border_thickness) + { + return getBorderColor(toCenter); + } + else + { + return output_color; + } + } + return float4(0.0, 0.0, 0.0, 0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRoundedStrokeShader { + +[Alias('Set-OBSRoundedStrokeShader','Add-OBSRoundedStrokeShader')] +param( +# Set the corner_radius of OBSRoundedStrokeShader +[Alias('corner_radius')] +[ComponentModel.DefaultBindingProperty('corner_radius')] +[Int32] +$CornerRadius, +# Set the border_thickness of OBSRoundedStrokeShader +[Alias('border_thickness')] +[ComponentModel.DefaultBindingProperty('border_thickness')] +[Int32] +$BorderThickness, +# Set the minimum_alpha_percent of OBSRoundedStrokeShader +[Alias('minimum_alpha_percent')] +[ComponentModel.DefaultBindingProperty('minimum_alpha_percent')] +[Int32] +$MinimumAlphaPercent, +# Set the border_color of OBSRoundedStrokeShader +[Alias('border_color')] +[ComponentModel.DefaultBindingProperty('border_color')] +[String] +$BorderColor, +# Set the notes of OBSRoundedStrokeShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'rounded_stroke' +$ShaderNoun = 'OBSRoundedStrokeShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//rounded rectange shader from https://raw.githubusercontent.com/exeldro/obs-lua/master/rounded_rect.shader +//modified slightly by Surn +//Converted to OpenGl by Q-mii & Exeldro February 21, 2022 +uniform int corner_radius< + string label = "Corner radius"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 200; + int step = 1; +>; +uniform int border_thickness< + string label = "border thickness"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; +uniform int minimum_alpha_percent< + string label = "Minimum alpha percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float4 border_color; +uniform string notes< + string widget_type = "info"; +> = "Outlines the opaque areas with a rounded border. Default Minimum Alpha Percent is 50%, lowering will reveal more"; + +float4 mainImage(VertData v_in) : TARGET +{ + float min_alpha = clamp(minimum_alpha_percent * .01, -1.0, 101.0); + float4 output_color = image.Sample(textureSampler, v_in.uv); + if (output_color.a < min_alpha) + { + return float4(0.0, 0.0, 0.0, 0.0); + } + int closedEdgeX = 0; + if (image.Sample(textureSampler, v_in.uv + float2(corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(-corner_radius * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = corner_radius; + } + int closedEdgeY = 0; + if (image.Sample(textureSampler, v_in.uv + float2(0, corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + else if (image.Sample(textureSampler, v_in.uv + float2(0, -corner_radius * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = corner_radius; + } + if (closedEdgeX == 0 && closedEdgeY == 0) + { + return float4(output_color); + } + if (closedEdgeX != 0) + { + [loop] + for (int x = 1; x < corner_radius; x++) + { + if (image.Sample(textureSampler, v_in.uv + float2(x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(-x * uv_pixel_interval.x, 0)).a < min_alpha) + { + closedEdgeX = x; + break; + } + } + } + if (closedEdgeY != 0) + { + [loop] + for (int y = 1; y < corner_radius; y++) + { + if (image.Sample(textureSampler, v_in.uv + float2(0, y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + if (image.Sample(textureSampler, v_in.uv + float2(0, -y * uv_pixel_interval.y)).a < min_alpha) + { + closedEdgeY = y; + break; + } + } + } + if (closedEdgeX == 0) + { + if (closedEdgeY < border_thickness) + { + return border_color; + } + else + { + return float4(output_color); + } + } + if (closedEdgeY == 0) + { + if (closedEdgeX < border_thickness) + { + return border_color; + } + else + { + return float4(output_color); + } + } + + float d = distance(float2(closedEdgeX, closedEdgeY), float2(corner_radius, corner_radius)); + if (d < corner_radius) + { + if (corner_radius - d < border_thickness) + { + return border_color; + } + else + { + return output_color; + } + } + return float4(0.0, 0.0, 0.0, 0.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSScanLineShader { + +[Alias('Set-OBSScanLineShader','Add-OBSScanLineShader')] +param( +# Set the lengthwise of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('lengthwise')] +[Management.Automation.SwitchParameter] +$Lengthwise, +# Set the animate of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the speed of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the angle of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('angle')] +[Single] +$Angle, +# Set the shift of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('shift')] +[Management.Automation.SwitchParameter] +$Shift, +# Set the boost of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('boost')] +[Management.Automation.SwitchParameter] +$Boost, +# Set the floor of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('floor')] +[Single] +$Floor, +# Set the period of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('period')] +[Single] +$Period, +# Set the notes of OBSScanLineShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'scan_line' +$ShaderNoun = 'OBSScanLineShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Scan Line Effect for OBS Studio +// originally from Andersama (https://github.com/Andersama) +// Modified and improved my Charles Fettinger (https://github.com/Oncorporation) 1/2019 +//Converted to OpenGL by Q-mii & Exeldro February 21, 2022 +//Count the number of scanlines we want via height or width, adjusts the sin wave period +uniform bool lengthwise; +//Do we want the scanlines to move? +uniform bool animate; +//How fast do we want those scanlines to move? +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10000.0; + float step = 1; +> = 1000; +//What angle should the scanlines come in at (based in degrees) +uniform float angle< + string label = "angle"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 360.0; + float step = 0.1; +> = 45; +//Turns on adjustment of the results, sin returns -1 -> 1 these settings will change the results a bit +//By default values for color range from 0 to 1 +//Boost centers the result of the sin wave on 1*, to help maintain the brightness of the screen +uniform bool shift = true; +uniform bool boost = true; +//Increases the minimum value of the sin wave +uniform float floor< + string label = "Floor"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.001; +> = 0.0; +//final adjustment to the period of the sin wave, we can''t / 0, need to be careful w/ user input +uniform float period< + string label = "Period"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 1000.0; + float step = 1.0; +> = 10.0; +uniform string notes< + string widget_type = "info"; +> = "floor affects the minimum opacity of the scan line"; +float4 mainImage(VertData v_in) : TARGET +{ + //3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481 3.141592653589793238462643383279502884197169399375105820974944592307816406286 + // float pix2 = 6.2831853071795864769252;//86766559005768394338798750211641949 + float nfloor = clamp(floor, 0.0, 100.0) * 0.01; + float nperiod = max(period, 1.0); + float gap = 1 - nfloor; + float pi = 3.1415926535897932384626; + float2 direction = float2( cos(angle * pi / 180.0) , sin(angle * pi / 180.0) ); + float nspeed = 0.0; + if(animate){ + nspeed = speed * 0.0001; + } + + float4 color = image.Sample(textureSampler, v_in.uv); + + float t = elapsed_time * nspeed; + + if(!lengthwise){ + float base_height = 1.0 / uv_pixel_interval.y; + float h_interval = pi * base_height; + + float rh_sin = sin(((v_in.uv.y * direction.y + v_in.uv.x * direction.x) + t) * (h_interval / nperiod)); + if(shift){ + rh_sin = ((1.0 + rh_sin) * 0.5) * gap + nfloor; + if(boost){ + rh_sin += gap * 0.5; + } + } + float4 s_mult = float4(rh_sin,rh_sin,rh_sin,1); + return s_mult * color; + } + else{ + float base_width = 1.0 / uv_pixel_interval.x; + float w_interval = pi * base_width; + + float rh_sin = sin(((v_in.uv.y * direction.y + v_in.uv.x * direction.x) + t) * (w_interval / nperiod)); + if(shift){ + rh_sin = ((1.0 + rh_sin) * 0.5) * gap + nfloor; + if(boost){ + rh_sin += gap * 0.5; + } + } + float4 s_mult = float4(rh_sin,rh_sin,rh_sin,1); + return s_mult * color; + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSeascapeShader { + +[Alias('Set-OBSSeascapeShader','Add-OBSSeascapeShader')] +param( +# Set the AA of OBSSeascapeShader +[ComponentModel.DefaultBindingProperty('AA')] +[Management.Automation.SwitchParameter] +$AA, +# Set the SEA_HEIGHT of OBSSeascapeShader +[Alias('SEA_HEIGHT')] +[ComponentModel.DefaultBindingProperty('SEA_HEIGHT')] +[Single] +$SEAHEIGHT, +# Set the SEA_CHOPPY of OBSSeascapeShader +[Alias('SEA_CHOPPY')] +[ComponentModel.DefaultBindingProperty('SEA_CHOPPY')] +[Single] +$SEACHOPPY, +# Set the SEA_SPEED of OBSSeascapeShader +[Alias('SEA_SPEED')] +[ComponentModel.DefaultBindingProperty('SEA_SPEED')] +[Single] +$SEASPEED, +# Set the SEA_FREQ of OBSSeascapeShader +[Alias('SEA_FREQ')] +[ComponentModel.DefaultBindingProperty('SEA_FREQ')] +[Single] +$SEAFREQ, +# Set the SEA_BASE of OBSSeascapeShader +[Alias('SEA_BASE')] +[ComponentModel.DefaultBindingProperty('SEA_BASE')] +[String] +$SEABASE, +# Set the SEA_WATER_COLOR of OBSSeascapeShader +[Alias('SEA_WATER_COLOR')] +[ComponentModel.DefaultBindingProperty('SEA_WATER_COLOR')] +[String] +$SEAWATERCOLOR, +# Set the CAMERA_SPEED of OBSSeascapeShader +[Alias('CAMERA_SPEED')] +[ComponentModel.DefaultBindingProperty('CAMERA_SPEED')] +[Single] +$CAMERASPEED, +# Set the CAMERA_TURN_SPEED of OBSSeascapeShader +[Alias('CAMERA_TURN_SPEED')] +[ComponentModel.DefaultBindingProperty('CAMERA_TURN_SPEED')] +[Single] +$CAMERATURNSPEED, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'seascape' +$ShaderNoun = 'OBSSeascapeShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +/* + * "Seascape" by Alexander Alekseev aka TDM - 2014 + * License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. + * Contact: tdmaav@gmail.com + * https://www.shadertoy.com/view/Ms2SD1 adapted by Exeldro + */ + +#define NUM_STEPS 8 +#define PI 3.141592 +#define EPSILON 0.001 +uniform bool AA< + string label = "Smooth (more resources)"; +> = false; + +#ifndef OPENGL +#define mat2 float2x2 +#define mat3 float3x3 +#define fract frac +#define mix lerp +#endif + +// sea +#define ITER_GEOMETRY 3 +#define ITER_FRAGMENT 5 +uniform float SEA_HEIGHT< + string label = "Sea Height"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.5; + float step = 0.001; +> = 0.6; +uniform float SEA_CHOPPY< + string label = "Sea Choppy"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 4.0; +uniform float SEA_SPEED< + string label = "Sea Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.8; +uniform float SEA_FREQ< + string label = "Sea Frequency"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.16; +uniform float4 SEA_BASE< + string label = "Sea Base"; +> = {0.0,0.09,0.18,1.0}; +uniform float4 SEA_WATER_COLOR< + string label = "Sea Water"; +> = {0.48,0.54,0.36,1.0}; + +uniform float CAMERA_SPEED< + string label = "Camera Speed"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; + +uniform float CAMERA_TURN_SPEED< + string label = "Camera Turn Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; + + +float SEA_TIME(){ + return 1.0 + elapsed_time * SEA_SPEED; +} + +// math +mat3 fromEuler(float3 ang) { + float2 a1 = float2(sin(ang.x),cos(ang.x)); + float2 a2 = float2(sin(ang.y),cos(ang.y)); + float2 a3 = float2(sin(ang.z),cos(ang.z)); + return mat3(float3(a1.y*a3.y+a1.x*a2.x*a3.x,a1.y*a2.x*a3.x+a3.y*a1.x,-a2.y*a3.x), + float3(-a2.y*a1.x,a1.y*a2.y,a2.x), + float3(a3.y*a1.x*a2.x+a1.y*a3.x,a1.x*a3.x-a1.y*a3.y*a2.x,a2.y*a3.y)); +} + +float hash(float2 p) { + float h = dot(p,float2(127.1,311.7)); + return fract(sin(h)*43758.5453123); +} + +float noise(float2 p) { + float2 i = floor( p ); + float2 f = fract( p ); + float2 u = f*f*(3.0-2.0*f); + return -1.0+2.0*mix( mix( hash( i + float2(0.0,0.0) ), + hash( i + float2(1.0,0.0) ), u.x), + mix( hash( i + float2(0.0,1.0) ), + hash( i + float2(1.0,1.0) ), u.x), u.y); +} + +// lighting +float diffuse(float3 n,float3 l,float p) { + return pow(dot(n,l) * 0.4 + 0.6,p); +} +float specular(float3 n,float3 l,float3 e,float s) { + float nrm = (s + 8.0) / (PI * 8.0); + return pow(max(dot(reflect(e,n),l),0.0),s) * nrm; +} + +// sky +float3 getSkyColor(float3 e) { + e.y = (max(e.y,0.0)*0.8+0.2)*0.8; + return float3(pow(1.0-e.y,2.0), 1.0-e.y, 0.6+(1.0-e.y)*0.4) * 1.1; +} + +// sea +float sea_octave(float2 uv, float choppy) { + uv += noise(uv); + float2 wv = 1.0-abs(sin(uv)); + float2 swv = abs(cos(uv)); + wv = mix(wv,swv,wv); + return pow(1.0-pow(wv.x * wv.y,0.65),choppy); +} + +float map(float3 p) { + float freq = SEA_FREQ; + float amp = SEA_HEIGHT; + float choppy = SEA_CHOPPY; + float2 uv = p.xz; + uv.x *= 0.75; + mat2 octave_m = mat2(1.6,1.2,-1.2,1.6); + + float st = SEA_TIME(); + float d, h = 0.0; + for(int i = 0; i < ITER_GEOMETRY; i++) { + d = sea_octave((uv+float2(st,st))*freq,choppy); + d += sea_octave((uv-float2(st,st))*freq,choppy); + h += d * amp; + uv = mul(uv, octave_m); + freq *= 1.9; + amp *= 0.22; + choppy = mix(choppy,1.0,0.2); + } + return p.y - h; +} + +float map_detailed(float3 p) { + float freq = SEA_FREQ; + float amp = SEA_HEIGHT; + float choppy = SEA_CHOPPY; + float2 uv = p.xz; uv.x *= 0.75; + mat2 octave_m = mat2(1.6,1.2,-1.2,1.6); + float st = SEA_TIME(); + float d, h = 0.0; + for(int i = 0; i < ITER_FRAGMENT; i++) { + d = sea_octave((uv+float2(st,st))*freq,choppy); + d += sea_octave((uv-float2(st,st))*freq,choppy); + h += d * amp; + uv = mul(uv, octave_m); + freq *= 1.9; + amp *= 0.22; + choppy = mix(choppy,1.0,0.2); + } + return p.y - h; +} + +float3 getSeaColor(float3 p, float3 n, float3 l, float3 eye, float3 dist) { + float fresnel = clamp(1.0 - dot(n,-eye), 0.0, 1.0); + fresnel = min(pow(fresnel,3.0), 0.5); + + float3 reflected = getSkyColor(reflect(eye,n)); + float3 refracted = SEA_BASE.rgb + diffuse(n,l,80.0) * SEA_WATER_COLOR.rgb * 0.12; + + float3 color = mix(refracted,reflected,fresnel); + + float atten = max(1.0 - dot(dist,dist) * 0.001, 0.0); + color += SEA_WATER_COLOR.rgb * (p.y - SEA_HEIGHT) * 0.18 * atten; + + float s = specular(n,l,eye,60.0); + color += float3(s,s,s); + + return color; +} + +// tracing +float3 getNormal(float3 p, float eps) { + float3 n; + n.y = map_detailed(p); + n.x = map_detailed(float3(p.x+eps,p.y,p.z)) - n.y; + n.z = map_detailed(float3(p.x,p.y,p.z+eps)) - n.y; + n.y = eps; + return normalize(n); +} + +float heightMapTracing(float3 ori, float3 dir, out float3 p) { + float tm = 0.0; + float tx = 1000.0; + float hx = map(ori + dir * tx); + if(hx > 0.0) { + p = ori + dir * tx; + return tx; + } + float hm = map(ori + dir * tm); + float tmid = 0.0; + for(int i = 0; i < NUM_STEPS; i++) { + tmid = mix(tm,tx, hm/(hm-hx)); + p = ori + dir * tmid; + float hmid = map(p); + if(hmid < 0.0) { + tx = tmid; + hx = hmid; + } else { + tm = tmid; + hm = hmid; + } + } + return tmid; +} + +float3 getPixel(in float2 coord, float time) { + float2 uv = coord / uv_size.xy; + uv = uv * 2.0 - 1.0; + uv.x *= uv_size.x / uv_size.y; + + // ray + float3 ang = float3(sin(time*3.0*CAMERA_TURN_SPEED)*0.1,sin(time*CAMERA_TURN_SPEED)*0.2+0.3,time*CAMERA_TURN_SPEED); + float3 ori = float3(0.0,3.5,time*5.0*CAMERA_SPEED); + float3 dir = normalize(float3(uv.xy,-2.0)); + dir.z += length(uv) * 0.14; + dir = mul(normalize(dir), fromEuler(ang)); + + // tracing + float3 p; + heightMapTracing(ori,dir,p); + float3 dist = p - ori; + float3 n = getNormal(p, dot(dist,dist) * (0.1 / uv_size.x)); + float3 light = normalize(float3(0.0,1.0,0.8)); + + // color + return mix( + getSkyColor(dir), + getSeaColor(p,n,light,dir,dist), + pow(smoothstep(0.0,-0.02,dir.y),0.2)); +} + +// main +float4 mainImage(VertData v_in) : TARGET +{ + float time = elapsed_time * 0.3; + float2 fragCoord = float2(v_in.uv.x * uv_size.x, (1.0 - v_in.uv.y) * uv_size.y); + + float3 color = float3(0.0,0.0,0.0);; + if (AA){ + for(int i = -1; i <= 1; i++) { + for(int j = -1; j <= 1; j++) { + float2 uv = fragCoord+float2(i,j)/3.0; + color += getPixel(uv, time); + } + } + color /= 9.0; + }else{ + color = getPixel(fragCoord, time); + } + + // post + return float4(pow(color,float3(0.65,0.65,0.65)), 1.0); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSeasickShader { + +[Alias('Set-OBSSeasickShader','Add-OBSSeasickShader')] +param( +# Set the notes of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the amplitude of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('amplitude')] +[Single] +$Amplitude, +# Set the speed of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the frequency of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('frequency')] +[Single] +$Frequency, +# Set the opacity of OBSSeasickShader +[ComponentModel.DefaultBindingProperty('opacity')] +[Single] +$Opacity, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'seasick' +$ShaderNoun = 'OBSSeasickShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Seasick - an effect for OBS Studio +// +uniform string notes< + string widget_type = "info"; +> = "Seasick - from the game Snavenger\n\n(available on Google Play/Amazon Fire)"; +uniform float amplitude< + string label = "amplitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.03; +uniform float speed< + string label = "speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 1.0; +uniform float frequency< + string label = "frequency"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 6.0; +uniform float opacity< + string label = "opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 pulse = sin(elapsed_time*speed - frequency * v_in.uv); + float2 coord = v_in.uv + amplitude * float2(pulse.x, -pulse.y); + return image.Sample(textureSampler, coord) * opacity; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSelectiveColorShader { + +[Alias('Set-OBSSelectiveColorShader','Add-OBSSelectiveColorShader')] +param( +# Set the cutoff_Red of OBSSelectiveColorShader +[Alias('cutoff_Red')] +[ComponentModel.DefaultBindingProperty('cutoff_Red')] +[Single] +$CutoffRed, +# Set the cutoff_Green of OBSSelectiveColorShader +[Alias('cutoff_Green')] +[ComponentModel.DefaultBindingProperty('cutoff_Green')] +[Single] +$CutoffGreen, +# Set the cutoff_Blue of OBSSelectiveColorShader +[Alias('cutoff_Blue')] +[ComponentModel.DefaultBindingProperty('cutoff_Blue')] +[Single] +$CutoffBlue, +# Set the cutoff_Yellow of OBSSelectiveColorShader +[Alias('cutoff_Yellow')] +[ComponentModel.DefaultBindingProperty('cutoff_Yellow')] +[Single] +$CutoffYellow, +# Set the acceptance_Amplifier of OBSSelectiveColorShader +[Alias('acceptance_Amplifier')] +[ComponentModel.DefaultBindingProperty('acceptance_Amplifier')] +[Single] +$AcceptanceAmplifier, +# Set the show_Red of OBSSelectiveColorShader +[Alias('show_Red')] +[ComponentModel.DefaultBindingProperty('show_Red')] +[Management.Automation.SwitchParameter] +$ShowRed, +# Set the show_Green of OBSSelectiveColorShader +[Alias('show_Green')] +[ComponentModel.DefaultBindingProperty('show_Green')] +[Management.Automation.SwitchParameter] +$ShowGreen, +# Set the show_Blue of OBSSelectiveColorShader +[Alias('show_Blue')] +[ComponentModel.DefaultBindingProperty('show_Blue')] +[Management.Automation.SwitchParameter] +$ShowBlue, +# Set the show_Yellow of OBSSelectiveColorShader +[Alias('show_Yellow')] +[ComponentModel.DefaultBindingProperty('show_Yellow')] +[Management.Automation.SwitchParameter] +$ShowYellow, +# Set the notes of OBSSelectiveColorShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the background_type of OBSSelectiveColorShader +[Alias('background_type')] +[ComponentModel.DefaultBindingProperty('background_type')] +[Int32] +$BackgroundType, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'selective_color' +$ShaderNoun = 'OBSSelectiveColorShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Selective Color shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +//https://github.com/Oncorporation/obs-shaderfilter +//updated 4/13/2020: take into account the opacity/alpha of input image -thanks Skeletonbow for suggestion +//Converted to OpenGL by Q-mii February 25, 2020 +uniform float cutoff_Red< + string label = "cutoff Red"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.40; +uniform float cutoff_Green< + string label = "cutoff Green"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.025; +uniform float cutoff_Blue< + string label = "cutoff Blue"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.25; +uniform float cutoff_Yellow< + string label = "cutoff Yellow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.25; +uniform float acceptance_Amplifier< + string label = "acceptance Amplifier"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 20.0; + float step = 0.001; +> = 5.0; + +uniform bool show_Red = true; +uniform bool show_Green = true; +uniform bool show_Blue = true; +uniform bool show_Yellow = true; +uniform string notes< + string widget_type = "info"; +> = "defaults: .4,.03,.25,.25, 5.0, true,true, true, true. cuttoff higher = less color, 0 = all 1 = none."; +uniform int background_type< + string label = "background type"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "Grey"; + int option_1_value = 1; + string option_1_label = "Luma"; + int option_2_value = 2; + string option_2_label = "White"; + int option_3_value = 3; + string option_3_label = "Black"; + int option_4_value = 4; + string option_4_label = "Transparent"; + int option_5_value = 5; + string option_5_label = "Background Color"; +> = 0; + +float4 mainImage(VertData v_in) : TARGET +{ + const float PI = 3.1415926535897932384626433832795;//acos(-1); + const float3 coefLuma = float3(0.2126, 0.7152, 0.0722); + float4 color = image.Sample(textureSampler, v_in.uv); + + float luminance = dot(coefLuma, color.rgb); + float4 gray = float4(luminance, luminance, luminance, 1.0); + + if (background_type == 0) + { + luminance = (color.r + color.g + color.b) * 0.3333; + gray = float4(luminance,luminance,luminance, 1.0); + } + //if (background_type == 1) + //{ + // gray = float4(luminance,luminance,luminance, 1.0); + //} + if (background_type == 2) + gray = float4(1.0,1.0,1.0,1.0); + if (background_type == 3) + gray = float4(0.0,0.0,0.0,1.0); + if (background_type == 4) + gray.a = 0.01; + if (background_type == 5) + gray = color; + + float redness = max ( min ( color.r - color.g , color.r - color.b ) / color.r , 0); + float greenness = max ( min ( color.g - color.r , color.g - color.b ) / color.g , 0); + float blueness = max ( min ( color.b - color.r , color.b - color.g ) / color.b , 0); + + float rgLuminance = (color.r*1.4 + color.g*0.6)/2; + float rgDiff = abs(color.r-color.g)*1.4; + + float yellowness = 0.1 + rgLuminance * 1.2 - color.b - rgDiff; + + float4 accept; + accept.r = float(show_Red) * (redness - cutoff_Red); + accept.g = float(show_Green) * (greenness - cutoff_Green); + accept.b = float(show_Blue) * (blueness - cutoff_Blue); + accept[3] = float(show_Yellow) * (yellowness - cutoff_Yellow); + + float acceptance = max (accept.r, max(accept.g, max(accept.b, max(accept[3],0)))); + float modAcceptance = min (acceptance * acceptance_Amplifier, 1); + + float4 result = color; + if (result.a > 0) { + result = modAcceptance * color + (1.0 - modAcceptance) * gray; + //result.a *= gray.a; + } + + return result; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSShakeShader { + +[Alias('Set-OBSShakeShader','Add-OBSShakeShader')] +param( +# Set the ViewProj of OBSShakeShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSShakeShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSShakeShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSShakeShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSShakeShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSShakeShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSShakeShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSShakeShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the local_time of OBSShakeShader +[Alias('local_time')] +[ComponentModel.DefaultBindingProperty('local_time')] +[Single] +$LocalTime, +# Set the random_scale of OBSShakeShader +[Alias('random_scale')] +[ComponentModel.DefaultBindingProperty('random_scale')] +[Single] +$RandomScale, +# Set the worble of OBSShakeShader +[ComponentModel.DefaultBindingProperty('worble')] +[Management.Automation.SwitchParameter] +$Worble, +# Set the speed of OBSShakeShader +[ComponentModel.DefaultBindingProperty('speed')] +[Single] +$Speed, +# Set the min_growth_pixels of OBSShakeShader +[Alias('min_growth_pixels')] +[ComponentModel.DefaultBindingProperty('min_growth_pixels')] +[Single] +$MinGrowthPixels, +# Set the max_growth_pixels of OBSShakeShader +[Alias('max_growth_pixels')] +[ComponentModel.DefaultBindingProperty('max_growth_pixels')] +[Single] +$MaxGrowthPixels, +# Set the randomize_movement of OBSShakeShader +[Alias('randomize_movement')] +[ComponentModel.DefaultBindingProperty('randomize_movement')] +[Management.Automation.SwitchParameter] +$RandomizeMovement, +# Set the notes of OBSShakeShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'shake' +$ShaderNoun = 'OBSShakeShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Shake Effect By Charles Fettinger (https://github.com/Oncorporation) 2/2019 +// Added some randomization based upon random_scale input +// updated for latest version of obs-shaderfilter + +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; +uniform float local_time; + + +uniform float random_scale< + string label = "random scale"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 0.25; +uniform bool worble = false; +uniform float speed< + string label = "Speed"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.001; +> = 1.0; +uniform float min_growth_pixels< + string label = "min growth pixels"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = -2.0; +uniform float max_growth_pixels< + string label = "max growth pixels"; + string widget_type = "slider"; + float minimum = -10.0; + float maximum = 10.0; + float step = 0.001; +> = 2.0; +uniform bool randomize_movement = false; + +uniform string notes< + string widget_type = "info"; +> =''keep the random_scale low for small (0.2-1) for small jerky movements and larger for less often big jumps''; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +//noise values in range if 0.0 to 1.0 + +float noise3D(float x, float y, float z) { + float ptr = 0.0f; + return frac(sin(x*112.9898f + y*179.233f + z*237.212f) * 43758.5453f); +} + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + + float3 pos = v_in.pos.xyz; + float t; + float s; + float noise; + if (randomize_movement) + { + t = (rand_f * 2) - 1.0f; + s = (1 - rand_f * 2) - 1.0f;; + noise = clamp( rand_f * random_scale,-0.99, 0.99); + } + else + { + t = (1 + sin(elapsed_time * speed)) / 2; + s = (1 + cos(elapsed_time * speed)) / 2; + noise = clamp(noise3D(t,s,100) * random_scale,-0.99, 0.99); + } + + float3 direction_from_center = float3((v_in.uv.x - 0.5 + noise) * uv_pixel_interval.y / uv_pixel_interval.x, v_in.uv.y - 0.5 + noise, 1); + float3 min_pos; + float3 max_pos; + if (worble) + { + min_pos = pos + direction_from_center * min_growth_pixels * 0.5; + max_pos = pos + direction_from_center * max_growth_pixels * 0.5; + } + else + { + min_pos = pos + direction_from_center * 0.5; + max_pos = min_pos; + } + + float3 current_pos = min_pos * (1 - t) + max_pos * t; + //current_pos.x = v_in.pos.x + (t * min_pos.x); + current_pos.y = (min_pos.y * (1 - s) + max_pos.y * s); + //current_pos.y = v_in.pos.y + (s * min_pos.y); + //current_pos.z = min_pos.z * (1 - s) + max_pos.z * s; + + float2 offset = uv_offset; + offset.x = uv_offset.x * (1 - t + noise); + offset.y = uv_offset.y * (1 - s + noise); + + vert_out.pos = mul(float4(current_pos, 1), ViewProj); + + //float2 scale = uv_scale; + //scale += dot(pos - current_pos, 1); + + vert_out.uv = v_in.uv * uv_scale + offset; + return vert_out; +} + +float4 mainImage(VertData v_in) : TARGET +{ + return image.Sample(textureSampler, v_in.uv); +} + +technique Draw +{ + pass + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSShineShader { + +[Alias('Set-OBSShineShader','Add-OBSShineShader')] +param( +# Set the l_tex of OBSShineShader +[Alias('l_tex')] +[ComponentModel.DefaultBindingProperty('l_tex')] +[String] +$LTex, +# Set the shine_color of OBSShineShader +[Alias('shine_color')] +[ComponentModel.DefaultBindingProperty('shine_color')] +[String] +$ShineColor, +# Set the speed_percent of OBSShineShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the gradient_percent of OBSShineShader +[Alias('gradient_percent')] +[ComponentModel.DefaultBindingProperty('gradient_percent')] +[Int32] +$GradientPercent, +# Set the delay_percent of OBSShineShader +[Alias('delay_percent')] +[ComponentModel.DefaultBindingProperty('delay_percent')] +[Int32] +$DelayPercent, +# Set the Apply_To_Alpha_Layer of OBSShineShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the ease of OBSShineShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the hide of OBSShineShader +[ComponentModel.DefaultBindingProperty('hide')] +[Management.Automation.SwitchParameter] +$Hide, +# Set the reverse of OBSShineShader +[ComponentModel.DefaultBindingProperty('reverse')] +[Management.Automation.SwitchParameter] +$Reverse, +# Set the One_Direction of OBSShineShader +[Alias('One_Direction')] +[ComponentModel.DefaultBindingProperty('One_Direction')] +[Management.Automation.SwitchParameter] +$OneDirection, +# Set the glitch of OBSShineShader +[ComponentModel.DefaultBindingProperty('glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the notes of OBSShineShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# Set the start_adjust of OBSShineShader +[Alias('start_adjust')] +[ComponentModel.DefaultBindingProperty('start_adjust')] +[Single] +$StartAdjust, +# Set the stop_adjust of OBSShineShader +[Alias('stop_adjust')] +[ComponentModel.DefaultBindingProperty('stop_adjust')] +[Single] +$StopAdjust, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'shine' +$ShaderNoun = 'OBSShineShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Shine Shader By Charles Fettinger (https://github.com/Oncorporation) 3/2019 +// use color to control shine amount, use transition wipes or make your own alpha texture +// slerp not currently used, for circular effects +//Converted to OpenGL by Exeldro February 14, 2022 +uniform texture2d l_tex; +uniform float4 shine_color ; +uniform int speed_percent< + string label = "speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 25; +uniform int gradient_percent< + string label = "gradient percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 20; +uniform int delay_percent< + string label = "delay percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform bool Apply_To_Alpha_Layer = false; +uniform bool ease = false; +uniform bool hide = false; +uniform bool reverse = false; +uniform bool One_Direction = true; +uniform bool glitch = false; +uniform string notes< + string widget_type = "info"; +> = "Use Luma Wipes ( data/obs-plugins/obs-transitions/luma_wipes ) ''ease'' makes the animation pause at the begin and end for a moment, ''hide'' will make the image disappear, ''glitch'' is random and amazing, ''reverse'' quickly allows you to test settings, ''One Direction'' only shows the shine as it travels in one direction, ''delay percentage'' adds a delay between shines (requires adjustment to speed: https://www.desmos.com/calculator/wkgbndweyt )"; + +uniform float start_adjust; +uniform float stop_adjust; + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2.0; + if (t < 1.0) return -c/2.0 * (sqrt(1.0 - t*t) - 1.0) + b; + t -= 2.0; + return c/2.0 * (sqrt(1.0 - t*t) + 1.0) + b; +} + +float Styler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0.0,c,d); + return t; +} + +float4 convert_pmalpha(float4 c) +{ + float4 ret = c; + if (c.a >= 0.001) + ret.xyz /= c.a; + else + ret = float4(0.0, 0.0, 0.0, 0.0); + return ret; +} + +float4 slerp(float4 start, float4 end, float percent) +{ + // Dot product - the cosine of the angle between 2 vectors. + float dotf = start.r*end.r+start.g*end.g+start.b*end.b+start.a*end.a; + // Clamp it to be in the range of Acos() + // This may be unnecessary, but floating point + // precision can be a fickle mistress. + dotf = clamp(dotf, -1.0f, 1.0f); + // Acos(dot) returns the angle between start and end, + // And multiplying that by percent returns the angle between + // start and the final result. + float theta = acos(dotf)*percent; + float4 RelativeVec = normalize(end - start * dotf); + + // Orthonormal basis + // The final result. + return ((start*cos(theta)) + (RelativeVec*sin(theta))); +} + +float4 mainImage(VertData v_in) : TARGET +{ + // convert input for vector math + float4 rgba = convert_pmalpha(image.Sample(textureSampler, v_in.uv)); + float speed = speed_percent * 0.01; + float softness = max(abs(gradient_percent * 0.01), 0.01) * sign(gradient_percent); + float delay = clamp(delay_percent * 0.01, 0.0, 1.0); + + + // circular easing variable + float direction = abs(sin((elapsed_time - 0.001) * speed)); + float t = abs(sin(elapsed_time * speed)); + + // if time is greater than direction, we are going up! + direction = t - direction; + + // split into segments with frac or mod. + // delay is the gap between starting and ending of the sine wave, use speed to compensate + t = (frac(t) - delay) * (1 / (1 - delay)); + t = 1 + max(t,0.0); + + float s = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + if (glitch) t = clamp(t + ((rand_f *2) - 1), 0.0,2.0); + + //if Unidirectional disable on return + if (One_Direction && (direction < 0.0)) + { + s = 0; + } + else + { + s = Styler(t, 0, c, d, ease); + } + + // combine luma texture and user defined shine color + float luma = l_tex.Sample(textureSampler, v_in.uv).x; + + // - adjust for min and max + if ((luma >= (start_adjust)) && (luma <= (1 - stop_adjust))) + { + + if (reverse) + { + luma = 1.0 - luma; + } + + // user color with luma + float4 output_color = float4(shine_color.rgb, luma); + + float time = lerp(0.0f, 1.0f + abs(2*softness), s - 1.0); + + // use luma texture to add alpha and shine + + // if behind glow, consider trailing gradient shine then show underlying image + if (luma <= time - softness) + { + float alpha_behind = clamp(1.0 - (time - softness - luma ) / softness, 0.00, 1.0); + if (Apply_To_Alpha_Layer) + alpha_behind *= rgba.a; + return lerp(rgba, rgba + output_color, alpha_behind); + } + + // if in front of glow, consider if the underlying image is hidden + if (luma >= time) + { + // if hide, make the transition better + if (hide) + { + return float4(rgba.rgb, lerp(0.0, rgba.a, (time + softness) / (1 + abs(2*softness)))); + } + else + { + return rgba; + } + } + + // else show the glow area, with luminance + float alpha_ = (time - luma) / softness; + if (Apply_To_Alpha_Layer) + alpha_ *= rgba.a; + return lerp(rgba, rgba + output_color, alpha_); + } + else + { + return rgba; + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSimpleGradientShader { + +[Alias('Set-OBSSimpleGradientShader','Add-OBSSimpleGradientShader')] +param( +# Set the speed_percentage of OBSSimpleGradientShader +[Alias('speed_percentage')] +[ComponentModel.DefaultBindingProperty('speed_percentage')] +[Int32] +$SpeedPercentage, +# Set the alpha_percentage of OBSSimpleGradientShader +[Alias('alpha_percentage')] +[ComponentModel.DefaultBindingProperty('alpha_percentage')] +[Int32] +$AlphaPercentage, +# Set the Lens_Flair of OBSSimpleGradientShader +[Alias('Lens_Flair')] +[ComponentModel.DefaultBindingProperty('Lens_Flair')] +[Management.Automation.SwitchParameter] +$LensFlair, +# Set the Animate_Lens_Flair of OBSSimpleGradientShader +[Alias('Animate_Lens_Flair')] +[ComponentModel.DefaultBindingProperty('Animate_Lens_Flair')] +[Management.Automation.SwitchParameter] +$AnimateLensFlair, +# Set the Apply_To_Alpha_Layer of OBSSimpleGradientShader +[Alias('Apply_To_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Apply_To_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$ApplyToAlphaLayer, +# Set the Apply_To_Specific_Color of OBSSimpleGradientShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# Set the Color_To_Replace of OBSSimpleGradientShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the notes of OBSSimpleGradientShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'simple_gradient' +$ShaderNoun = 'OBSSimpleGradientShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simple Gradient shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// https://github.com/Oncorporation/obs-shaderfilter + +//lots of room to play here +//Converted to OpenGL by Q-mii & Exeldro February 25, 2022 +uniform int speed_percentage< + string label = "speed percentage"; + string widget_type = "slider"; + int minimum = -500; + int maximum = 500; + int step = 1; +> = 240; // +uniform int alpha_percentage< + string label = "aplha percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 90; +uniform bool Lens_Flair = false; +uniform bool Animate_Lens_Flair = false; +uniform bool Apply_To_Alpha_Layer = false; +uniform bool Apply_To_Specific_Color; +uniform float4 Color_To_Replace; +uniform string notes< + string widget_type = "info"; +> = "This gradient is very basic from the top left corner. Red on horizontal, Green vertical, Blue Diagonal. Apply To Alpha Layer will add the gradient colors to the background. Lens Flair will brighten the scene from the bottom right. There is also a lot of unused code to play with in the shader file, delimted by /* ... */"; + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 background_color = image.Sample(textureSampler, v_in.uv); + int no_colors = 4; + float3 colors[4]; + colors[0] = float3(1.0,0.0,0.0); + colors[1] = float3(0.0,1.0,0.0); + colors[2] = float3(0.0,0.0,1.0); + colors[3] = float3(1.0,1.0,1.0); + float alpha = float(alpha_percentage) * 0.01; + float speed = float(speed_percentage) * 0.01; + + float mx = max(uv_size.x , uv_size.y); + //float2 uv = v_in.uv / mx; + float3 rgb = background_color.rgb; + + // skip if (alpha is zero and only apply to alpha layer is true) + if (!(background_color.a <= 0.0 && Apply_To_Alpha_Layer == true)) + { + rgb = float3(v_in.uv.x, v_in.uv.y, 0.10 + 0.85 * sin(elapsed_time * speed)); + } + + //create lens flare like effect + if (Lens_Flair) + { + float2 lens_flair_coordinates = float2(0.95 ,0.95); + if (Animate_Lens_Flair) + lens_flair_coordinates *= float2(sin(elapsed_time * speed) ,cos(elapsed_time * speed)); + + float dist = distance(v_in.uv, ( lens_flair_coordinates * uv_scale + uv_offset)); + for (int i = 0; i < no_colors; ++i) { + rgb += lerp(rgb, colors[i], dist * 1.5) * 0.25; + } + } + + + //float3 col = colors[0]; +/* for (int i = 1; i < no_colors; ++i) { + float3 hole = float3( + sin(1.5 - distance(v_in.uv.x / mx, colors[i].x / mx) * 2.5 * speed), + sin(1.5 - distance(v_in.uv.y / mx, colors[i].y / mx) * 2.5 * speed), + colors[i].z); + rgb = lerp(rgb, hole, 0.1); +*/ +/* float3 hole = lerp(colors[i-1], colors[i], sin(elapsed_time * speed)); + col = lerp(col, hole, v_in.uv.x); +*/ + //} +// rgb = fflerp(rgb, col, 0.5); + + + + //try prepositioned colors with colors[] array timing + //creates an animated color spotlight +/* int color_index = int(sin(elapsed_time * speed) * no_colors); + float3 start_color = colors[color_index]; + float3 end_color; + if (color_index >= 0) + { + end_color = colors[color_index - 1]; + } + else + { + end_color = colors[no_colors - 1]; + } + + rgb = smoothstep(start_color, end_color, distance(v_in.uv , sin(elapsed_time * speed * no_colors) * (float2(1.0,1.0) * uv_scale + uv_offset))); +*/ + float4 rgba; + if (Apply_To_Alpha_Layer == false) + { + rgba = lerp(background_color,float4(rgb, 1.0),alpha); + } + else + { + rgba = lerp(background_color,background_color * float4(rgb,1.0), alpha); + } + if (Apply_To_Specific_Color) + { + float4 original_color = background_color; + background_color = (distance(background_color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : background_color; + rgba = lerp(original_color, background_color, clamp(alpha, 0, 1.0)); + } + return rgba; +} + + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSimplexNoiseShader { + +[Alias('Set-OBSSimplexNoiseShader','Add-OBSSimplexNoiseShader')] +param( +# Set the Snap_Percent of OBSSimplexNoiseShader +[Alias('Snap_Percent')] +[ComponentModel.DefaultBindingProperty('Snap_Percent')] +[Single] +$SnapPercent, +# Set the Speed_Percent of OBSSimplexNoiseShader +[Alias('Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Speed_Percent')] +[Single] +$SpeedPercent, +# Set the Resolution of OBSSimplexNoiseShader +[ComponentModel.DefaultBindingProperty('Resolution')] +[Single] +$Resolution, +# Set the Fractal of OBSSimplexNoiseShader +[ComponentModel.DefaultBindingProperty('Fractal')] +[Management.Automation.SwitchParameter] +$Fractal, +# Set the Use_Alpha_Layer of OBSSimplexNoiseShader +[Alias('Use_Alpha_Layer')] +[ComponentModel.DefaultBindingProperty('Use_Alpha_Layer')] +[Management.Automation.SwitchParameter] +$UseAlphaLayer, +# Set the Fore_Color of OBSSimplexNoiseShader +[Alias('Fore_Color')] +[ComponentModel.DefaultBindingProperty('Fore_Color')] +[String] +$ForeColor, +# Set the Back_Color of OBSSimplexNoiseShader +[Alias('Back_Color')] +[ComponentModel.DefaultBindingProperty('Back_Color')] +[String] +$BackColor, +# Set the Alpha_Percent of OBSSimplexNoiseShader +[Alias('Alpha_Percent')] +[ComponentModel.DefaultBindingProperty('Alpha_Percent')] +[Single] +$AlphaPercent, +# Set the Notes of OBSSimplexNoiseShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'simplex_noise' +$ShaderNoun = 'OBSSimplexNoiseShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Simplex Noise shader by Charles Fettinger (https://github.com/Oncorporation) 5/2019 +// for use with obs-shaderfilter 1.0 +//based upon: https://www.shadertoy.com/view/XsX3zB + +#ifndef OPENGL +#define fract frac +#endif + +uniform float Snap_Percent< + string label = "Snap Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 7.5; +uniform float Speed_Percent< + string label = "Speed Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 2.5; +uniform float Resolution< + string label = "Resolution"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 16.0; +uniform bool Fractal = false; +uniform bool Use_Alpha_Layer = false; +uniform float4 Fore_Color = {0.95,0.95,0.95, 1.0}; +uniform float4 Back_Color = {0.75, 0.75, 0.75, 1.0}; +uniform float Alpha_Percent< + string label = "Alpha Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.0; +uniform string Notes< + string widget_type = "info"; +> = "Alpha Percentage applies to the shader, Use_Alpha_Layer applies effect with the image alpha layer, Resolution is the amount of detail of noise created.Fractal is a different algorithm. Snap Percent affects how many updates per second. Default values: 7.5%, 2.5%, 16.0, 100%"; + +float dot(float3 a, float3 b){ + return a.r*b.r+a.g*b.g+a.b*b.b; +} + +float dot4(float4 a, float4 b){ + return a.r*b.r+a.g*b.g+a.b*b.b+a.a*b.a; +} +float snap(float x, float snap) +{ + return snap * round(x / max(0.01,snap)); +} + +float3 random3(float3 co) +{ + float j = 4096.0 * sin(dot(co, float3(17.0, 59.4, 15.0))); + float3 result; + result.z = fract(512.0 * j); + j *= .125; + result.x = fract(512.0 * j); + j *= .125; + result.y = fract(512.0 * j); + return result - 0.5; +} + +/* 3d simplex noise */ +float simplex3d(float3 p) { + /* 1. find current tetrahedron T and it''s four vertices */ + /* s, s+i1, s+i2, s+1.0 - absolute skewed (integer) coordinates of T vertices */ + /* x, x1, x2, x3 - unskewed coordinates of p relative to each of T vertices*/ + + /* skew constants for 3d simplex functions */ + float F3 = 0.3333333; + float G3 = 0.1666667; + + /* calculate s and x */ + float3 s = floor(p + dot(p, float3(F3,F3,F3))); + float3 x = p - s + dot(s, float3(G3,G3,G3)); + + /* calculate i1 and i2 */ + float3 e = step(float3(0.0,0.0,0.0), x - x.yzx); + float3 i1 = e * (1.0 - e.zxy); + float3 i2 = 1.0 - e.zxy * (1.0 - e); + + /* x1, x2, x3 */ + float3 x1 = x - i1 + G3; + float3 x2 = x - i2 + 2.0 * G3; + float3 x3 = x - 1.0 + 3.0 * G3; + + /* 2. find four surflets and store them in d */ + float4 w, d; + + /* calculate surflet weights */ + w.x = dot(x, x); + w.y = dot(x1, x1); + w.z = dot(x2, x2); + w.w = dot(x3, x3); + + /* w fades from 0.6 at the center of the surflet to 0.0 at the margin */ + w = max(0.61 - w, 0.0); + + /* calculate surflet components */ + d.x = dot(random3(s), x); + d.y = dot(random3(s + i1), x1); + d.z = dot(random3(s + i2), x2); + d.w = dot(random3(s + 1.0), x3); + + /* multiply d by w^4 */ + w *= w; + w *= w; + d *= w; + + /* 3. return the sum of the four surflets */ + return dot4(d, float4(52.0, 52.0, 52.0, 52.0)); +} + + +/* directional artifacts can be reduced by rotating each octave */ +float simplex3d_fractal(float3 m3) { + /* const matrices for 3d rotation */ +#ifdef OPENGL + float3x3 rot1 = float3x3( + float3(-0.37, 0.36, 0.85), + float3(-0.14, -0.93, 0.34), + float3(0.92, 0.01, 0.4 )); + float3x3 rot2 = float3x3( + float3(-0.55, -0.39, 0.74), + float3(0.33, -0.91, -0.24), + float3(0.77, 0.12, 0.63 )); + float3x3 rot3 = float3x3( + float3(-0.71, 0.52, -0.47), + float3(-0.08, -0.72, -0.68), + float3(-0.7, -0.45, 0.56 )); + + float3 m = float3(m3.x, m3.y, m3.z); +#else + float3x3 rot1 = { + -0.37, 0.36, 0.85, + -0.14, -0.93, 0.34, + 0.92, 0.01, 0.4 }; + float3x3 rot2 = { + -0.55, -0.39, 0.74, + 0.33, -0.91, -0.24, + 0.77, 0.12, 0.63 }; + float3x3 rot3 = { + -0.71, 0.52, -0.47, + -0.08, -0.72, -0.68, + -0.7, -0.45, 0.56 }; + + float3 m = {m3.x, m3.y, m3.z}; +#endif + + return 0.5333333* simplex3d(mul(m, rot1)) + + 0.2666667 * simplex3d(2.0 * mul(m, rot2)) + + 0.1333333 * simplex3d(4.0 * mul(m, rot3)) + + 0.0666667 * simplex3d(8.0 * m); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float time = snap(elapsed_time, Snap_Percent * .01); + float4 rgba = image.Sample(textureSampler, v_in.uv); + float2 p = v_in.uv.xy + float2( 0, -0.5); + float3 p3 = float3(p, time * (Speed_Percent * 0.01)); + + float pixel_alpha = 1.0; + // apply to mainImage rgba + if (Use_Alpha_Layer) { + p3 *= rgba.rgb; + pixel_alpha = rgba.a; + } + + float value; + + if (Fractal) { + value = simplex3d_fractal(p3 * (Resolution * 0.5) + (Resolution * 0.5)); + } + else { + value = simplex3d(p3 * Resolution); + } + + //soften color + value = 0.5 + (0.5 * value); + float intensity = dot(float3(value, value, value), float3(0.299, 0.587, 0.114)); + + //use intensity to apply foreground and background colors + float4 r = lerp(float4(float3(value, value, value), pixel_alpha), Fore_Color, saturate(intensity)); + r = lerp(Back_Color, r, saturate(intensity)); + r.a = pixel_alpha; + + return lerp(rgba, r, Alpha_Percent * 0.01); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSmartDenoiseShader { + +[Alias('Set-OBSSmartDenoiseShader','Add-OBSSmartDenoiseShader')] +param( +# Set the uSigma of OBSSmartDenoiseShader +[ComponentModel.DefaultBindingProperty('uSigma')] +[Single] +$USigma, +# Set the uKSigma of OBSSmartDenoiseShader +[ComponentModel.DefaultBindingProperty('uKSigma')] +[Single] +$UKSigma, +# Set the uThreshold of OBSSmartDenoiseShader +[ComponentModel.DefaultBindingProperty('uThreshold')] +[Single] +$UThreshold, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'smart_denoise' +$ShaderNoun = 'OBSSmartDenoiseShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Smart DeNoise By Michele Morrone (https://github.com/BrutPitt/glslSmartDeNoise) +// Converted to OBS version of HLSL by Euiko on February 10, 2025 + +#define INV_SQRT_OF_2PI 0.39894228040143267793994605993439 // 1.0/SQRT_OF_2PI +#define INV_PI 0.31830988618379067153776752674503 + +uniform float uSigma< + string label = "Sigma"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 3; // max based on the webgl sample, which is 3 + float step = 0.01; +> = 5.0; // default value based on shadertoy +uniform float uKSigma< + string label = "K-Sigma"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 24; // max based on the webgl sample, which is 24 + float step = 0.01; +> = 7.0; // the default value is based on the webgl sample +uniform float uThreshold< + string label = "Edge Threshold"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 2; // max based on the webgl sample, which is 2 + float step = 0.01; +> = 0.190; // the default value is based on the webgl sample + +// smartDeNoise - parameters +//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// float2 uv - actual fragment coord +// float2 size - window size +// float sigma > 0 - sigma Standard Deviation +// float kSigma >= 0 - sigma coefficient +// kSigma * sigma --> radius of the circular kernel +// float threshold - edge sharpening threshold +//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// NOTE: image''s texture2d data will be supplied by the OBS shaderfilter by default +float4 smartDeNoise(float2 uv, float2 size, float sigma, float kSigma, float threshold) +{ + float radius = round(kSigma * sigma); + float radQ = radius * radius; + + float invSigmaQx2 = 0.5 / (sigma * sigma); // 1.0 / (sigma^2 * 2.0) + float invSigmaQx2PI = INV_PI * invSigmaQx2; // 1/(2 * PI * sigma^2) + + float invThresholdSqx2 = 0.5 / (threshold * threshold); // 1.0 / (sigma^2 * 2.0) + float invThresholdSqrt2PI = INV_SQRT_OF_2PI / threshold; // 1.0 / (sqrt(2*PI) * sigma^2) + + float4 centrPx = image.Sample(textureSampler, uv); + + float zBuff = 0.0; + float4 aBuff = float4(0.0, 0.0, 0.0, 0.0); + + float2 d; + for (d.x = -radius; d.x <= radius; d.x += 1.0) + { + float pt = sqrt(radQ - (d.x * d.x)); // pt = yRadius: have circular trend + d.y = -pt; + for (; d.y <= pt; d.y += 1.0) + { + float blurFactor = exp((-dot(d, d)) * invSigmaQx2) * invSigmaQx2PI; + float4 walkPx = image.Sample(textureSampler, uv + (d / size)); + float4 dC = walkPx - centrPx; + float deltaFactor = (exp((-dot(dC.xyz, dC.xyz)) * invThresholdSqx2) * invThresholdSqrt2PI) * blurFactor; + zBuff += deltaFactor; + aBuff += (walkPx * deltaFactor); + } + } + return aBuff / float4(zBuff, zBuff, zBuff, zBuff); +} + +float4 mainImage(VertData v_in) : TARGET +{ + return smartDeNoise(v_in.uv, uv_size, uSigma, uKSigma, uThreshold); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSpecularShineShader { + +[Alias('Set-OBSSpecularShineShader','Add-OBSSpecularShineShader')] +param( +# Set the Hint of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('Hint')] +[String] +$Hint, +# Set the roughness of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('roughness')] +[Single] +$Roughness, +# Set the lightStrength of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('lightStrength')] +[Single] +$LightStrength, +# Set the LightPositionX of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('LightPositionX')] +[Single] +$LightPositionX, +# Set the LightPositionY of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('LightPositionY')] +[Single] +$LightPositionY, +# Set the flattenNormal of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('flattenNormal')] +[Single] +$FlattenNormal, +# Set the stretchNormalX of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('stretchNormalX')] +[Single] +$StretchNormalX, +# Set the stretchNormalY of OBSSpecularShineShader +[ComponentModel.DefaultBindingProperty('stretchNormalY')] +[Single] +$StretchNormalY, +# Set the Light_Color of OBSSpecularShineShader +[Alias('Light_Color')] +[ComponentModel.DefaultBindingProperty('Light_Color')] +[Single[]] +$LightColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'specular-shine' +$ShaderNoun = 'OBSSpecularShineShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Specular Shine shader by Andicraft / Andrea Jörgensen - https://github.com/Andicraft + +uniform string Hint< + string widget_type = "info"; +> = "Try using a black color source with the additive blend mode!"; + +uniform float roughness< + string label = "Roughness"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.25; + +uniform float lightStrength< + string label = "lightStrength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.001; +> = 0.5; + +uniform float LightPositionX< + string label = "Light Position X"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float LightPositionY< + string label = "Light Position Y"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; + +uniform float flattenNormal< + string label = "Flatten Normal"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.01; +> = 0.1; + +uniform float stretchNormalX< + string label = "Stretch Normal X"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 4.0; + float step = 0.01; +> = 1; + +uniform float stretchNormalY< + string label = "Stretch Normal Y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 4.0; + float step = 0.01; +> = 1; + +uniform float3 Light_Color = {1,1,1}; + +float Square(float a) { return a * a; } + +float CookTorrance(float3 lightDir, float3 normal, float roughness) { + float3 h = normalize(lightDir + float3(0,0,1)); + float nh2 = Square(saturate(dot(normal, h))); + float lh2 = Square(saturate(dot(lightDir, h))); + float r2 = Square(roughness); + float d2 = Square(nh2 * (r2 - 1.0) + 1.00001); + float normalization = roughness * 4.0 + 2.0; + return r2 / (d2 * max(0.1, lh2) * normalization); +} + +#define PI 3.14159265 + +float4 mainImage(VertData v_in) : TARGET +{ + + float4 c0 = image.Sample(textureSampler, v_in.uv); + + float3 lightDir = normalize(float3(-LightPositionX*5, -LightPositionY*5, 1)); + + float2 normalUV = v_in.uv - 0.5; + normalUV.x /= stretchNormalX; + normalUV.y /= stretchNormalY; + normalUV += 0.5; + + float3 normal = normalize(float3(normalUV.x * 2 - 1,normalUV.y * 2 - 1,-1)); + normal.z *= -1; + + normal = lerp(normal, float3(0,0,-1), flattenNormal); + + float3 light = CookTorrance(lightDir, normal, roughness)*float3(1,1,1)*lightStrength*Light_Color; + + return float4(c0 + light,c0.a); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSpotlightShader { + +[Alias('Set-OBSSpotlightShader','Add-OBSSpotlightShader')] +param( +# Set the Speed_Percent of OBSSpotlightShader +[Alias('Speed_Percent')] +[ComponentModel.DefaultBindingProperty('Speed_Percent')] +[Single] +$SpeedPercent, +# Set the Focus_Percent of OBSSpotlightShader +[Alias('Focus_Percent')] +[ComponentModel.DefaultBindingProperty('Focus_Percent')] +[Single] +$FocusPercent, +# Set the Glitch of OBSSpotlightShader +[ComponentModel.DefaultBindingProperty('Glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the Spotlight_Color of OBSSpotlightShader +[Alias('Spotlight_Color')] +[ComponentModel.DefaultBindingProperty('Spotlight_Color')] +[String] +$SpotlightColor, +# Set the Horizontal_Offset of OBSSpotlightShader +[Alias('Horizontal_Offset')] +[ComponentModel.DefaultBindingProperty('Horizontal_Offset')] +[Single] +$HorizontalOffset, +# Set the Vertical_Offset of OBSSpotlightShader +[Alias('Vertical_Offset')] +[ComponentModel.DefaultBindingProperty('Vertical_Offset')] +[Single] +$VerticalOffset, +# Set the Notes of OBSSpotlightShader +[ComponentModel.DefaultBindingProperty('Notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'spotlight' +$ShaderNoun = 'OBSSpotlightShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Spotlight By Charles Fettinger (https://github.com/Oncorporation) 4/2019 +uniform float Speed_Percent< + string label = "Speed Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 100.0; +uniform float Focus_Percent< + string label = "Focus Percent"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 0.01; +> = 15.0; +uniform bool Glitch; +uniform float4 Spotlight_Color; +uniform float Horizontal_Offset< + string label = "Horizontal Offset"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = 0.0; +uniform float Vertical_Offset< + string label = "Vertical Offset"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.001; +> = -0.5; +uniform string Notes< + string widget_type = "info"; +> = "use negative Focus Percent to create a shade effect, speed zero is a stationary spotlight"; + +float4 mainImage(VertData v_in) : TARGET +{ + float speed = Speed_Percent * 0.01; + float focus = Focus_Percent; + if (Glitch) + { + speed *= ((rand_f * 2) - 1) * 0.01; + focus *= ((rand_f * 1.1) - 0.1); + } + + float PI = 3.1415926535897932384626433832795;//acos(-1); + float4 c0 = image.Sample( textureSampler, v_in.uv); + float3 lightsrc = float3(sin(elapsed_time * speed * PI * 0.667) *.5 + .5 + Horizontal_Offset, cos(elapsed_time * speed * PI) *.5 + .5 + Vertical_Offset, 1); + float3 light = normalize(lightsrc - float3( v_in.uv.x + (Horizontal_Offset * speed), v_in.uv.y + (Vertical_Offset * speed), 0)); + c0 *= pow(dot(light, float3(0, 0, 1)), focus) * Spotlight_Color; + + return c0; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSwirlShader { + +[Alias('Set-OBSSwirlShader','Add-OBSSwirlShader')] +param( +# Set the radius of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('radius')] +[Single] +$Radius, +# Set the angle of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('angle')] +[Single] +$Angle, +# Set the center_x of OBSSwirlShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSSwirlShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the animate of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('animate')] +[Management.Automation.SwitchParameter] +$Animate, +# Set the inverse of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('inverse')] +[Management.Automation.SwitchParameter] +$Inverse, +# Set the notes of OBSSwirlShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Swirl' +$ShaderNoun = 'OBSSwirlShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Created by Radegast Stravinsky for obs-shaderfilter 9/2020 +uniform float radius< + string label = "Radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; // +uniform float angle< + string label = "Angle"; + string widget_type = "slider"; + float minimum = -360.0; + float maximum = 360.0; + float step = 0.01; +> = 270.0; // + +uniform float center_x< + string label = "Center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; // +uniform float center_y< + string label = "Center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; // + +uniform bool animate = false; +uniform bool inverse = false; + +uniform string notes< + string widget_type = "info"; +> = "Distorts the screen, twisting the image in a circular motion." + +float4 mainImage(VertData v_in) : TARGET +{ + + float2 center = float2(center_x, center_y); + VertData v_out; + v_out.pos = v_in.pos; + float2 hw = uv_size; + float ar = 1. * hw.y/hw.x; + + v_out.uv = 1. * v_in.uv - center; + + center.x /= ar; + v_out.uv.x /= ar; + + float dist = distance(v_out.uv, center); + if (dist < radius) + { + float percent = (radius-dist)/(radius); + percent = inverse == false ? percent : 1 - percent; + + float theta = percent * percent * radians(angle * (animate == true ? sin(elapsed_time) : 1.0)); + float s = sin(theta); + float c = cos(theta); + v_out.uv = float2(dot(v_out.uv-center, float2(c,-s)), dot(v_out.uv-center, float2(s,c))); + v_out.uv += (2 * center); + + v_out.uv.x *= ar; + + return image.Sample(textureSampler, v_out.uv); + } + else + { + return image.Sample(textureSampler, v_in.uv ); + } + +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSTetraShader { + +[Alias('Set-OBSTetraShader','Add-OBSTetraShader')] +param( +# Set the redR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('redR')] +[Single] +$RedR, +# Set the redG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('redG')] +[Single] +$RedG, +# Set the redB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('redB')] +[Single] +$RedB, +# Set the yelR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('yelR')] +[Single] +$YelR, +# Set the yelG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('yelG')] +[Single] +$YelG, +# Set the yelB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('yelB')] +[Single] +$YelB, +# Set the grnR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('grnR')] +[Single] +$GrnR, +# Set the grnG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('grnG')] +[Single] +$GrnG, +# Set the grnB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('grnB')] +[Single] +$GrnB, +# Set the cynR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('cynR')] +[Single] +$CynR, +# Set the cynG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('cynG')] +[Single] +$CynG, +# Set the cynB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('cynB')] +[Single] +$CynB, +# Set the bluR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('bluR')] +[Single] +$BluR, +# Set the bluG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('bluG')] +[Single] +$BluG, +# Set the bluB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('bluB')] +[Single] +$BluB, +# Set the magR of OBSTetraShader +[ComponentModel.DefaultBindingProperty('magR')] +[Single] +$MagR, +# Set the magG of OBSTetraShader +[ComponentModel.DefaultBindingProperty('magG')] +[Single] +$MagG, +# Set the magB of OBSTetraShader +[ComponentModel.DefaultBindingProperty('magB')] +[Single] +$MagB, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'tetra' +$ShaderNoun = 'OBSTetraShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Tetrahedral Interpolation Shader for OBS + +uniform float redR< + string label = "Red in Red"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float redG< + string label = "Green in Red"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float redB< + string label = "Blue in Red"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float yelR< + string label = "Red in Yellow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float yelG< + string label = "Green in Yellow"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float yelB< + string label = "Blue in Yellow"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float grnR< + string label = "Red in Green"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float grnG< + string label = "Green in Green"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float grnB< + string label = "Blue in Green"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float cynR< + string label = "Red in Cyan"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float cynG< + string label = "Green in Cyan"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float cynB< + string label = "Blue in Cyan"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float bluR< + string label = "Red in Blue"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float bluG< + string label = "Green in Blue"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float bluB< + string label = "Blue in Blue"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float magR< + string label = "Red in Magenta"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + +uniform float magG< + string label = "Green in Magenta"; + string widget_type = "slider"; + float minimum = -1.0; + float maximum = 1.0; + float step = 0.01; +> = 0.0; + +uniform float magB< + string label = "Blue in Magenta"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 2.0; + float step = 0.01; +> = 1.0; + + +float3 tetra(float3 RGBimage, float3 red, float3 yel, float3 grn, float3 cyn, float3 blu, float3 mag) { + float r = RGBimage.x; + float g = RGBimage.y; + float b = RGBimage.z; + + float3 wht = float3(1.0, 1.0, 1.0); + + if (r > g) { + if (g > b) { + // r > g > b + return r * red + g * (yel - red) + b * (wht - yel); + } else if (r > b) { + // r > b > g + return r * red + g * (wht - mag) + b * (mag - red); + } else { + // b > r > g + return r * (mag - blu) + g * (wht - mag) + b * blu; + } + } else { + if (b > g) { + // b > g > r + return r * (wht - cyn) + g * (cyn - blu) + b * blu; + } else if (b > r) { + // g > b > r + return r * (wht - cyn) + g * grn + b * (cyn - grn); + } else { + // g > r > b + return r * (yel - grn) + g * grn + b * (wht - yel); + } + } +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 inputColor = image.Sample(textureSampler, v_in.uv); + float alpha = inputColor.a; + + float3 red = float3(redR, redG, redB); + float3 yel = float3(yelR, yelG, yelB); + float3 grn = float3(grnR, grnG, grnB); + float3 cyn = float3(cynR, cynG, cynB); + float3 blu = float3(bluR, bluG, bluB); + float3 mag = float3(magR, magG, magB); + + float3 outputColor = tetra(inputColor.rgb, red, yel, grn, cyn, blu, mag); + return float4(outputColor, alpha); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSThermalShader { + +[Alias('Set-OBSThermalShader','Add-OBSThermalShader')] +param( +# Set the strength of OBSThermalShader +[ComponentModel.DefaultBindingProperty('strength')] +[Single] +$Strength, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'thermal' +$ShaderNoun = 'OBSThermalShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/mdKXzG + +uniform float strength< + string label = "Strength"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 200.0; + float step = 0.1; +> = 100.0; + +float greyScale(float3 c) { + return 0.29 * c.r + 0.60 * c.g + 0.11; +} + +float3 heatMap(float greyValue) { + float3 heat; + heat.r = smoothstep(0.5, 0.8, greyValue); + if(greyValue >= 0.8333) { + heat.r *= (1.1 - greyValue) * 5.0; + } + if(greyValue > 0.6) { + heat.g = smoothstep(1.0, 0.7, greyValue); + } else { + heat.g = smoothstep(0.0, 0.7, greyValue); + } + heat.b = smoothstep(1.0, 0.0, greyValue); + if(greyValue <= 0.3333) { + heat.b *= greyValue / 0.3; + } + return heat; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float4 c = image.Sample(textureSampler, v_in.uv); + float greyValue = greyScale(c.rgb); + float3 h = heatMap(greyValue*(strength/100.0)); + return float4(h.r, h.g, h.b, c.a); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSTvCrtSubpixelShader { + +[Alias('Set-OBSTvCrtSubpixelShader','Add-OBSTvCrtSubpixelShader')] +param( +# Set the channelWidth of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('channelWidth')] +[Int32] +$ChannelWidth, +# Set the channelHeight of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('channelHeight')] +[Int32] +$ChannelHeight, +# Set the hGap of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('hGap')] +[Int32] +$HGap, +# Set the vGap of OBSTvCrtSubpixelShader +[ComponentModel.DefaultBindingProperty('vGap')] +[Int32] +$VGap, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'tv-crt-subpixel' +$ShaderNoun = 'OBSTvCrtSubpixelShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// https://www.shadertoy.com/view/dlBBz1 adopted for OBS by Exeldro + +// width of a single color channel in pixels +uniform int channelWidth< + string label = "Channel Width"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; + +// height of color channels in pixels +uniform int channelHeight< + string label = "Channel Height"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 3; + +// horizontal distance between two neighboring pixels +uniform int hGap< + string label = "Horizontal Gap"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; + +// vertical distance between two neighboring pixels +uniform int vGap< + string label = "Vertical Gap"; + string widget_type = "slider"; + int minimum = 1; + int maximum = 20; + int step = 1; +> = 1; + +float4 mainImage(VertData v_in) : TARGET +{ + float columns = float(channelWidth * 3 + hGap); + float pixelHeight = float(channelHeight + vGap); + + float2 fragCoord = v_in.uv * uv_size; + float2 sampleRes = float2(uv_size.x / columns, uv_size.y / pixelHeight); + float2 pixel = float2(floor(fragCoord.x / columns), floor(fragCoord.y / pixelHeight)); + float2 sampleUv = pixel / sampleRes; + + // color of sample point + float4 col = image.Sample(textureSampler, sampleUv); + + int column = int(fragCoord.x) % (channelWidth * 3 + hGap); + + // set color based on which channel this fragment corresponds to + if (column < channelWidth * 1) col = float4(col.r, 0.0, 0.0, col.a); + else if (column < channelWidth * 2) col = float4(0.0, col.g, 0.0, col.a); + else if (column < channelWidth * 3) col = float4(0.0, 0.0, col.b, col.a); + else col = float4(0.0, 0.0, 0.0, col.a); + + // offset every other column of pixels + int height = int(pixelHeight); + if (int(pixel.x) % 2 == 0) { + if (int(fragCoord.y) % height >= height - vGap) col = float4(0.0, 0.0, 0.0, col.a); + } else { + if (int(fragCoord.y) % height < vGap) col = float4(0.0, 0.0, 0.0, col.a); + } + + // Output to screen + return col; +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSTwistShader { + +[Alias('Set-OBSTwistShader','Add-OBSTwistShader')] +param( +# Set the center_x_percent of OBSTwistShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSTwistShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# Set the power of OBSTwistShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# Set the rotation of OBSTwistShader +[ComponentModel.DefaultBindingProperty('rotation')] +[Single] +$Rotation, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'twist' +$ShaderNoun = 'OBSTwistShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int center_x_percent< + string label = "center x percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percentage"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float power< + string label = "power"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.3; +uniform float rotation< + string label = "rotation"; + string widget_type = "slider"; + float minimum = -100.0; + float maximum = 100.0; + float step = 0.001; +> = 2.0; + +#ifndef OPENGL +#define mat2 float2x2 +#endif + +mat2 rotate(float angle){ + return mat2(float2(cos(angle), -sin(angle)), float2(sin(angle), cos(angle))); +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float d = distance(center_pos,v_in.uv); + if(d > power){ + return image.Sample(textureSampler, v_in.uv); + } + float r = (cos(d*3.14159265359/power) +1)/2 * rotation; + float2 pos = v_in.uv - center_pos; + pos = mul(pos, rotate(r)); + pos += center_pos; + return image.Sample(textureSampler, pos); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSTwoPassDropShadowShader { + +[Alias('Set-OBSTwoPassDropShadowShader','Add-OBSTwoPassDropShadowShader')] +param( +# Set the ViewProj of OBSTwoPassDropShadowShader +[ComponentModel.DefaultBindingProperty('ViewProj')] +[Single[][]] +$ViewProj, +# Set the image of OBSTwoPassDropShadowShader +[ComponentModel.DefaultBindingProperty('image')] +[String] +$Image, +# Set the elapsed_time of OBSTwoPassDropShadowShader +[Alias('elapsed_time')] +[ComponentModel.DefaultBindingProperty('elapsed_time')] +[Single] +$ElapsedTime, +# Set the uv_offset of OBSTwoPassDropShadowShader +[Alias('uv_offset')] +[ComponentModel.DefaultBindingProperty('uv_offset')] +[Single[]] +$UvOffset, +# Set the uv_scale of OBSTwoPassDropShadowShader +[Alias('uv_scale')] +[ComponentModel.DefaultBindingProperty('uv_scale')] +[Single[]] +$UvScale, +# Set the uv_pixel_interval of OBSTwoPassDropShadowShader +[Alias('uv_pixel_interval')] +[ComponentModel.DefaultBindingProperty('uv_pixel_interval')] +[Single[]] +$UvPixelInterval, +# Set the rand_f of OBSTwoPassDropShadowShader +[Alias('rand_f')] +[ComponentModel.DefaultBindingProperty('rand_f')] +[Single] +$RandF, +# Set the uv_size of OBSTwoPassDropShadowShader +[Alias('uv_size')] +[ComponentModel.DefaultBindingProperty('uv_size')] +[Single[]] +$UvSize, +# Set the shadow_offset_x of OBSTwoPassDropShadowShader +[Alias('shadow_offset_x')] +[ComponentModel.DefaultBindingProperty('shadow_offset_x')] +[Int32] +$ShadowOffsetX, +# Set the shadow_offset_y of OBSTwoPassDropShadowShader +[Alias('shadow_offset_y')] +[ComponentModel.DefaultBindingProperty('shadow_offset_y')] +[Int32] +$ShadowOffsetY, +# Set the shadow_blur_size of OBSTwoPassDropShadowShader +[Alias('shadow_blur_size')] +[ComponentModel.DefaultBindingProperty('shadow_blur_size')] +[Int32] +$ShadowBlurSize, +# Set the shadow_color of OBSTwoPassDropShadowShader +[Alias('shadow_color')] +[ComponentModel.DefaultBindingProperty('shadow_color')] +[String] +$ShadowColor, +# Set the is_alpha_premultiplied of OBSTwoPassDropShadowShader +[Alias('is_alpha_premultiplied')] +[ComponentModel.DefaultBindingProperty('is_alpha_premultiplied')] +[Management.Automation.SwitchParameter] +$IsAlphaPremultiplied, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'two-pass-drop-shadow' +$ShaderNoun = 'OBSTwoPassDropShadowShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 22, 2022 +uniform float4x4 ViewProj; +uniform texture2d image; + +uniform float elapsed_time; +uniform float2 uv_offset; +uniform float2 uv_scale; +uniform float2 uv_pixel_interval; +uniform float rand_f; +uniform float2 uv_size; + +sampler_state textureSampler { + Filter = Linear; + AddressU = Border; + AddressV = Border; + BorderColor = 00000000; +}; + +struct VertData { + float4 pos : POSITION; + float2 uv : TEXCOORD0; +}; + +VertData mainTransform(VertData v_in) +{ + VertData vert_out; + vert_out.pos = mul(float4(v_in.pos.xyz, 1.0), ViewProj); + vert_out.uv = v_in.uv * uv_scale + uv_offset; + return vert_out; +} + +uniform int shadow_offset_x< + string label = "shadow offset x"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +>; +uniform int shadow_offset_y< + string label = "shadow offset y"; + string widget_type = "slider"; + int minimum = -1000; + int maximum = 1000; + int step = 1; +>; +uniform int shadow_blur_size< + string label = "shadow blur size"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +>; + +uniform float4 shadow_color; + +uniform bool is_alpha_premultiplied; + +float4 mainImage(VertData v_in) : TARGET +{ + int shadow_blur_samples = int(shadow_blur_size + 1);//pow(shadow_blur_size * 2 + 1, 2); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * int(shadow_offset_x), + v_in.uv.y - uv_pixel_interval.y * int(shadow_offset_y)); + + float sampled_shadow_alpha = 0; + + for (int blur_x = -shadow_blur_size; blur_x <= shadow_blur_size; blur_x++) + { + float2 blur_uv = shadow_uv + float2(uv_pixel_interval.x * blur_x, 0); + sampled_shadow_alpha += image.Sample(textureSampler, blur_uv).a; + } + + sampled_shadow_alpha /= shadow_blur_samples; + + float4 final_shadow_color = float4(shadow_color.rgb, shadow_color.a * sampled_shadow_alpha); + + return final_shadow_color * (1-color.a) + color * (is_alpha_premultiplied?1.0:color.a); +} + +float4 mainImage_2_end(VertData v_in) : TARGET +{ + int shadow_blur_samples = shadow_blur_size + 1;//pow(shadow_blur_size * 2 + 1, 2); + + float4 color = image.Sample(textureSampler, v_in.uv); + float2 shadow_uv = float2(v_in.uv.x - uv_pixel_interval.x * shadow_offset_x, + v_in.uv.y - uv_pixel_interval.y * shadow_offset_y); + + float sampled_shadow_alpha = 0; + + for (int blur_y = -shadow_blur_size; blur_y <= shadow_blur_size; blur_y++) + { + float2 blur_uv = shadow_uv + float2(0, uv_pixel_interval.y * blur_y); + sampled_shadow_alpha += image.Sample(textureSampler, blur_uv).a; + } + + sampled_shadow_alpha /= shadow_blur_samples; + + float4 final_shadow_color = float4(shadow_color.rgb, shadow_color.a * sampled_shadow_alpha); + + return final_shadow_color * (1-color.a) + color * (is_alpha_premultiplied?1.0:color.a); +} + +technique Draw +{ + pass p0 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage(v_in); + } + + pass p1 + { + vertex_shader = mainTransform(v_in); + pixel_shader = mainImage_2_end(v_in); + } +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVCRShader { + +[Alias('Set-OBSVCRShader','Add-OBSVCRShader')] +param( +# Set the vertical_shift of OBSVCRShader +[Alias('vertical_shift')] +[ComponentModel.DefaultBindingProperty('vertical_shift')] +[Single] +$VerticalShift, +# Set the distort of OBSVCRShader +[ComponentModel.DefaultBindingProperty('distort')] +[Single] +$Distort, +# Set the vignet of OBSVCRShader +[ComponentModel.DefaultBindingProperty('vignet')] +[Single] +$Vignet, +# Set the stripe of OBSVCRShader +[ComponentModel.DefaultBindingProperty('stripe')] +[Single] +$Stripe, +# Set the vertical_factor of OBSVCRShader +[Alias('vertical_factor')] +[ComponentModel.DefaultBindingProperty('vertical_factor')] +[Single] +$VerticalFactor, +# Set the vertical_height of OBSVCRShader +[Alias('vertical_height')] +[ComponentModel.DefaultBindingProperty('vertical_height')] +[Single] +$VerticalHeight, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'VCR' +$ShaderNoun = 'OBSVCRShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/ldjGzV +//Converted to OpenGL by Exeldro February 19, 2022 +uniform float vertical_shift< + string label = "vertical shift"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 0.4; +uniform float distort< + string label = "distort"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 5.0; + float step = 0.001; +> = 1.2; +uniform float vignet< + string label = "vignet"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform float stripe< + string label = "stripe"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform float vertical_factor< + string label = "vertical factor"; + string widget_type = "slider"; + float minimum = -5.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform float vertical_height< + string label = "vertical height"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1000.0; + float step = 0.1; +> = 30.0; + +float onOff(float a, float b, float c) +{ + return step(c, sin(elapsed_time + a*cos(elapsed_time*b))); +} + +float ramp(float y, float start, float end) +{ + float inside = step(start,y) - step(end,y); + float fact = (y-start)/(end-start)*inside; + return (1.-fact) * inside; + +} + +float modu(float x, float y) +{ + return (x / y) - floor(x / y); +} + +float stripes(float2 uv) +{ + return ramp(modu(uv.y*4. + elapsed_time/2.+sin(elapsed_time + sin(elapsed_time*0.63)),1.),0.5,0.6)*stripe; +} + +float4 getVideo(float2 uv) +{ + float2 look = uv; + float window = 1./(1.+20.*(look.y-modu(elapsed_time/4.,1.))*(look.y-modu(elapsed_time/4.,1.))); + look.x = look.x + sin(look.y*10. + elapsed_time)/50.*onOff(4.,4.,.3)*(1.+cos(elapsed_time*80.))*window; + float vShift = vertical_shift*onOff(2.,3.,.9)*(sin(elapsed_time)*sin(elapsed_time*20.) + + (0.5 + 0.1*sin(elapsed_time*200.)*cos(elapsed_time))); + look.y = modu((look.y + vShift) , 1.); + return image.Sample(textureSampler, look); +} + +float2 screenDistort(float2 uv) +{ + uv -= float2(.5,.5); + uv = uv*distort*(1./1.2+2.*uv.x*uv.x*uv.y*uv.y); + uv += float2(.5,.5); + return uv; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + uv = screenDistort(uv); + float4 video = getVideo(uv); + float vigAmt = 3.+.3*sin(elapsed_time + 5.*cos(elapsed_time*5.)); + float vignette = ((1.-vigAmt*(uv.y-.5)*(uv.y-.5))*(1.-vigAmt*(uv.x-.5)*(uv.x-.5))-1.)*vignet+1.; + video += stripes(uv); + video *= vignette; + video *= (((12.+modu((uv.y*vertical_height+elapsed_time),1.))/13.)-1.)*vertical_factor+1.; + return float4(video.r, video.g, video.b ,1.0); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVHSShader { + +[Alias('Set-OBSVHSShader','Add-OBSVHSShader')] +param( +# Set the range of OBSVHSShader +[ComponentModel.DefaultBindingProperty('range')] +[Single] +$Range, +# Set the offsetIntensity of OBSVHSShader +[ComponentModel.DefaultBindingProperty('offsetIntensity')] +[Single] +$OffsetIntensity, +# Set the noiseQuality of OBSVHSShader +[ComponentModel.DefaultBindingProperty('noiseQuality')] +[Single] +$NoiseQuality, +# Set the noiseIntensity of OBSVHSShader +[ComponentModel.DefaultBindingProperty('noiseIntensity')] +[Single] +$NoiseIntensity, +# Set the colorOffsetIntensity of OBSVHSShader +[ComponentModel.DefaultBindingProperty('colorOffsetIntensity')] +[Single] +$ColorOffsetIntensity, +# Set the Alpha_Percentage of OBSVHSShader +[Alias('Alpha_Percentage')] +[ComponentModel.DefaultBindingProperty('Alpha_Percentage')] +[Single] +$AlphaPercentage, +# Set the Apply_To_Image of OBSVHSShader +[Alias('Apply_To_Image')] +[ComponentModel.DefaultBindingProperty('Apply_To_Image')] +[Management.Automation.SwitchParameter] +$ApplyToImage, +# Set the Replace_Image_Color of OBSVHSShader +[Alias('Replace_Image_Color')] +[ComponentModel.DefaultBindingProperty('Replace_Image_Color')] +[Management.Automation.SwitchParameter] +$ReplaceImageColor, +# Set the Color_To_Replace of OBSVHSShader +[Alias('Color_To_Replace')] +[ComponentModel.DefaultBindingProperty('Color_To_Replace')] +[String] +$ColorToReplace, +# Set the Apply_To_Specific_Color of OBSVHSShader +[Alias('Apply_To_Specific_Color')] +[ComponentModel.DefaultBindingProperty('Apply_To_Specific_Color')] +[Management.Automation.SwitchParameter] +$ApplyToSpecificColor, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'VHS' +$ShaderNoun = 'OBSVHSShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//based on https://www.shadertoy.com/view/Ms3XWH converted by Exeldro v 1.0 +//updated by Charles ''Surn'' Fettinger for obs-shaderfilter 9/2020 +//Converted to OpenGL by Exeldro February 19, 2022 +//Use improved input fields by Exeldro April 15, 2023 +uniform float range< + string label = "Wave size (0.05)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.20; + float step = 0.01; +> = 0.05; +uniform float offsetIntensity< + string label = "Offset intensity (0.02)"; + string widget_type = "slider"; + float minimum = 0.01; + float maximum = 0.20; + float step = 0.01; +> = 0.02; +uniform float noiseQuality< + string label = "Noise number of lines (250)"; + string widget_type = "slider"; + float minimum = 1.0; + float maximum = 1000.0; + float step = 10.0; +> = 250.0; +uniform float noiseIntensity< + string label = "Noise intensity (0.88)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.01; +> = 0.88; +uniform float colorOffsetIntensity< + string label = "Color offset intensity (1.3)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 10.0; + float step = 0.1; +> = 1.3; +uniform float Alpha_Percentage< + string label = "Aplha percentage (100.0)"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 100.0; + float step = 1.0; +> = 100.0; +uniform bool Apply_To_Image; +uniform bool Replace_Image_Color; +uniform float4 Color_To_Replace; +uniform bool Apply_To_Specific_Color; + +float dot2(float2 a,float2 b){ + return a.x*b.x+a.y*b.y; +} + +float rand(float2 co) +{ + return frac(sin(dot2(co.xy ,float2(12.9898,78.233))) * 43758.5453); +} + +float verticalBar(float pos, float uvY, float offset) +{ + float edge0 = (pos - range); + float edge1 = (pos + range); + + float x = smoothstep(edge0, pos, uvY) * offset; + x -= smoothstep(pos, edge1, uvY) * offset; + return x; +} + +float modu(float x, float y) +{ + return (x / y) - floor(x / y); +} + +float dot4(float4 a,float4 b){ + return a.r*b.r+a.g*b.g+a.b*b.b+a.a*b.a; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float2 uv = v_in.uv; + for (float i = 0.0; i < 0.71; i += 0.1313) + { + float d = modu(elapsed_time * i, 1.7); + float o = sin(1.0 - tan(elapsed_time * 0.24 * i)); + o *= offsetIntensity; + uv.x += verticalBar(d, uv.y, o); + } + float uvY = uv.y; + uvY *= noiseQuality; + uvY = float(int(uvY)) * (1.0 / noiseQuality); + float noise = rand(float2(elapsed_time * 0.00001, uvY)); + uv.x += noise * noiseIntensity / 100.0; + + float2 offsetR = float2(0.006 * sin(elapsed_time), 0.0) * colorOffsetIntensity; + float2 offsetG = float2(0.0073 * (cos(elapsed_time * 0.97)), 0.0) * colorOffsetIntensity; + + float4 rgba = image.Sample(textureSampler, uv); + float r = image.Sample(textureSampler, uv + offsetR).r; + float g = image.Sample(textureSampler, uv + offsetG).g; + float b = rgba.b; + + rgba = float4(r, g, b, rgba.a); + + float4 color; + float4 original_color; + if (Apply_To_Image) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + float luma = dot4(color, float4(0.30, 0.59, 0.11, 1.0)); + if (Replace_Image_Color) + color = float4(luma,luma,luma,luma); + rgba = lerp(original_color, rgba * color, clamp(Alpha_Percentage * .01, 0, 1.0)); + + } + if (Apply_To_Specific_Color) + { + color = image.Sample(textureSampler, v_in.uv); + original_color = color; + color = (distance(color.rgb, Color_To_Replace.rgb) <= 0.075) ? rgba : color; + rgba = lerp(original_color, color, clamp(Alpha_Percentage * .01, 0, 1.0)); + } + + return rgba; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVignettingShader { + +[Alias('Set-OBSVignettingShader','Add-OBSVignettingShader')] +param( +# Set the innerRadius of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('innerRadius')] +[Single] +$InnerRadius, +# Set the outerRadius of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('outerRadius')] +[Single] +$OuterRadius, +# Set the opacity of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('opacity')] +[Single] +$Opacity, +# Set the notes of OBSVignettingShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'vignetting' +$ShaderNoun = 'OBSVignettingShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Converted to OpenGL by Q-mii & Exeldro February 21, 2022 +uniform float innerRadius< + string label = "inner radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.9; +uniform float outerRadius< + string label = "outer radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 1.5; +uniform float opacity< + string label = "opacity"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.8; +uniform string notes< + string widget_type = "info"; +> = "inner radius will always be shown, outer radius is the falloff"; + +float4 mainImage(VertData v_in) : TARGET +{ + float PI = 3.1415926535897932384626433832795;//acos(-1); + + float4 c0 = image.Sample(textureSampler, v_in.uv); + float verticalDim = 0.5 + sin (v_in.uv.y * PI) * 0.9 ; + + float xTrans = (v_in.uv.x * 2) - 1; + float yTrans = 1 - (v_in.uv.y * 2); + + float radius = sqrt(pow(xTrans, 2) + pow(yTrans, 2)); + + float subtraction = max(0, radius - innerRadius) / max((outerRadius - innerRadius), 0.01); + float factor = 1 - subtraction; + + float4 vignetColor = c0 * factor; + vignetColor *= verticalDim; + + vignetColor *= opacity; + c0 *= 1-opacity; + + float4 output_color = c0 + vignetColor; + + return float4(output_color); +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVoronoiPixelationShader { + +[Alias('Set-OBSVoronoiPixelationShader','Add-OBSVoronoiPixelationShader')] +param( +# Set the pixH of OBSVoronoiPixelationShader +[ComponentModel.DefaultBindingProperty('pixH')] +[Single] +$PixH, +# Set the alternative of OBSVoronoiPixelationShader +[ComponentModel.DefaultBindingProperty('alternative')] +[Management.Automation.SwitchParameter] +$Alternative, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'voronoi-pixelation' +$ShaderNoun = 'OBSVoronoiPixelationShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// https://www.shadertoy.com/view/sd3yzn adopted by Exeldro + +uniform float pixH< + string label = "Size"; + string widget_type = "slider"; + float minimum = 4.0; + float maximum = 500.0; + float step = 0.01; +> = 100.0; +uniform bool alternative; + +float2 fract2(float2 v){ + return float2(v.x - floor(v.x), v.y - floor(v.y)); +} + +float2 random2( float2 p ) { + return fract2(sin(float2(dot(p,float2(127.1,311.7)),dot(p,float2(269.5,183.3))))*43758.5453); +} +float2 randomSpin(float2 p, float f){ + return 1.0 * float2( + cos( f * elapsed_time * 3.14159 * sign(random2(p).y - 0.5) + random2(p).y * 3.14159), + sin( f * elapsed_time * 3.14159 * sign(random2(p).x - 0.5) + random2(p).x * 3.14159)); +} +float4 VoronoiPixelation(float2 uv, float pixH ){ + float2 pixInt = fract2(uv * pixH); + float2 pixExt = floor(uv * pixH); + float m_dist = 10.0; + float2 relClos = float2(0.0, 0.0); + float2 relRot = 0.5 * float2(cos(elapsed_time), sin(elapsed_time)); + + + for (int y= -3; y <= 3; y++) { + for (int x= -3; x <= 3; x++) { + float2 neighbor = float2(float(x),float(y)); + + float2 point1 = random2(pixExt + neighbor); + float2 relRot = randomSpin(pixExt + neighbor, 0.5); + float2 diff = neighbor + relRot + point1 - pixInt; + float dist = length(diff); + if(dist < m_dist){ + m_dist = dist; + relClos = neighbor; + } + } + } + float2 nPoint = pixExt + relClos + randomSpin(pixExt + relClos, 0.5) + random2(pixExt + relClos); + nPoint = nPoint / pixH; + nPoint.x = nPoint.x * uv_scale.x ; + + return image.Sample(textureSampler, nPoint); +} +float4 VoronoiPixelation2(float2 uv, float pixH ){ + float2 pixInt = fract2(uv * pixH); + float2 pixExt = floor(uv * pixH); + float m_dist = 10.0; + float2 relClos = float2(0.0, 0.0); + float2 relRot = 0.5 * float2(cos(elapsed_time), sin(elapsed_time)); + + + for (int y= -3; y <= 3; y++) { + for (int x= -3; x <= 3; x++) { + float2 neighbor = float2(float(x),float(y)); + + float2 point2 = random2(pixExt + neighbor); + float2 relRot = randomSpin(pixExt + neighbor, 0.5); + float2 diff = neighbor + relRot + point2 - pixInt; + float dist = length(diff); + if(dist < m_dist){ + m_dist = dist; + relClos = neighbor; + } + } + } + float2 nPoint = pixExt + relClos + random2(pixExt + relClos); + nPoint = nPoint / pixH; + nPoint.x = nPoint.x * uv_scale.x; + + return image.Sample(textureSampler, nPoint); +} + + +float4 mainImage(VertData v_in) : TARGET +{ + if (alternative) { + return VoronoiPixelation2(v_in.uv, pixH); + } else { + return VoronoiPixelation(v_in.uv, pixH); + } +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSZigZagShader { + +[Alias('Set-OBSZigZagShader','Add-OBSZigZagShader')] +param( +# Set the radius of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('radius')] +[Single] +$Radius, +# Set the angle of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('angle')] +[Single] +$Angle, +# Set the period of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('period')] +[Single] +$Period, +# Set the amplitude of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('amplitude')] +[Single] +$Amplitude, +# Set the center_x of OBSZigZagShader +[Alias('center_x')] +[ComponentModel.DefaultBindingProperty('center_x')] +[Single] +$CenterX, +# Set the center_y of OBSZigZagShader +[Alias('center_y')] +[ComponentModel.DefaultBindingProperty('center_y')] +[Single] +$CenterY, +# Set the phase of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('phase')] +[Single] +$Phase, +# Set the animate of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('animate')] +[Int32] +$Animate, +# Set the notes of OBSZigZagShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'ZigZag' +$ShaderNoun = 'OBSZigZagShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +//Created by Radegast Stravinsky for obs-shaderfilter 9/2020 +uniform float radius< + string label = "radius"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.0; +uniform float angle< + string label = "angle"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 360.0; + float step = 0.1; +> = 180.0; +uniform float period< + string label = "period"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 0.5; +uniform float amplitude< + string label = "amplitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; + +uniform float center_x< + string label = "center x"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; +uniform float center_y< + string label = "center y"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 0.5; + float step = 0.001; +> = 0.25; + +uniform float phase< + string label = "phase"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 5.0; + float step = 0.001; +> = 1.0; +uniform int animate< + string label = "animate"; + string widget_type = "select"; + int option_0_value = 0; + string option_0_label = "No"; + int option_1_value = 1; + string option_1_label = "Amplitude"; + int option_2_value = 2; + string option_2_label = "Time"; +> = 0; + + +uniform string notes = "Distorts the screen, creating a rippling effect that moves clockwise and anticlockwise." + + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center = float2(center_x, center_y); + VertData v_out; + v_out.pos = v_in.pos; + float2 hw = uv_size; + float ar = 1. * hw.y/hw.x; + + v_out.uv = 1. * v_in.uv - center; + + center.x /= ar; + v_out.uv.x /= ar; + + float dist = distance(v_out.uv, center); + if (dist < radius) + { + float percent = (radius-dist)/radius; + float theta = percent * percent * + ( + animate == 1 ? + amplitude * sin(elapsed_time) : + amplitude + ) + * sin(percent * percent / period * radians(angle) + (phase + + ( + animate == 2 ? + elapsed_time : + 0 + ))); + + float s = sin(theta); + float c = cos(theta); + v_out.uv = float2(dot(v_out.uv-center, float2(c,-s)), dot(v_out.uv-center, float2(s,c))); + v_out.uv += (2 * center); + + v_out.uv.x *= ar; + + return image.Sample(textureSampler, v_out.uv); + } + else + { + return image.Sample(textureSampler, v_in.uv); + } + +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSZoomBlurShader { + +[Alias('Set-OBSZoomBlurShader','Add-OBSZoomBlurShader')] +param( +# Set the samples of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('samples')] +[Int32] +$Samples, +# Set the magnitude of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('magnitude')] +[Single] +$Magnitude, +# Set the speed_percent of OBSZoomBlurShader +[Alias('speed_percent')] +[ComponentModel.DefaultBindingProperty('speed_percent')] +[Int32] +$SpeedPercent, +# Set the ease of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('ease')] +[Management.Automation.SwitchParameter] +$Ease, +# Set the glitch of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('glitch')] +[Management.Automation.SwitchParameter] +$Glitch, +# Set the notes of OBSZoomBlurShader +[ComponentModel.DefaultBindingProperty('notes')] +[String] +$Notes, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'zoom_blur' +$ShaderNoun = 'OBSZoomBlurShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// zoom blur shader by Charles Fettinger for obs-shaderfilter plugin 3/2019 +// https://github.com/Oncorporation/obs-shaderfilter +// https://github.com/dinfinity/mpc-pixel-shaders/blob/master/PS_Zoom%20Blur.hlsl +//for Media Player Classic HC or BE +//Converted to OpenGL by Q-mii & Exeldro February 18, 2022 +uniform int samples < + string label = "Samples"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 32; +uniform float magnitude< + string label = "Magnitude"; + string widget_type = "slider"; + float minimum = 0.0; + float maximum = 1.0; + float step = 0.001; +> = 0.5; +uniform int speed_percent < + string label = "Speed percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 0; +uniform bool ease; +uniform bool glitch; +uniform string notes< + string widget_type = "info"; +> = "Speed Percent above zero will animate the zoom. Keep samples low to save power"; + +float EaseInOutCircTimer(float t,float b,float c,float d){ + t /= d/2; + if (t < 1) return -c/2 * (sqrt(1 - t*t) - 1) + b; + t -= 2; + return c/2 * (sqrt(1 - t*t) + 1) + b; +} + +float Styler(float t,float b,float c,float d,bool ease) +{ + if (ease) return EaseInOutCircTimer(t,0,c,d); + return t; +} + +float4 mainImage(VertData v_in) : TARGET +{ + float speed = speed_percent * 0.01; + + // circular easing variable + float t = 1.0 + sin(elapsed_time * speed); + float b = 0.0; //start value + float c = 2.0; //change value + float d = 2.0; //duration + + if (glitch) t = clamp(t + ((rand_f *2) - 1), 0.0,2.0); + + b = Styler(t, 0, c, d, ease); + float sample_speed = max(samples * b, 1.0); + + float PI = 3.1415926535897932384626433832795;//acos(-1); + float4 c0 = image.Sample(textureSampler, v_in.uv); + + float xTrans = (v_in.uv.x*2)-1; + float yTrans = 1-(v_in.uv.y*2); + + float angle = atan(yTrans/xTrans) + PI; + if (sign(xTrans) == 1) { + angle+= PI; + } + float radius = sqrt(pow(xTrans,2) + pow(yTrans,2)); + + float2 currentCoord; + float4 accumulatedColor = float4(0,0,0,0); + + float4 currentColor = image.Sample(textureSampler, currentCoord); + accumulatedColor = currentColor; + + accumulatedColor = c0/sample_speed; + for(int i = 1; i< sample_speed; i++) { + float currentRadius ; + // Distance to center dependent + currentRadius = max(0,radius - (radius/1000 * i * magnitude * b)); + + // Continuous; + // currentRadius = max(0,radius - (0.0004 * i)); + + currentCoord.x = (currentRadius * cos(angle)+1.0)/2.0; + currentCoord.y = -1* ((currentRadius * sin(angle)-1.0)/2.0); + + float4 currentColor = image.Sample(textureSampler, currentCoord); + accumulatedColor += currentColor/sample_speed; + + } + + return accumulatedColor; +} + +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSZoomShader { + +[Alias('Set-OBSZoomShader','Add-OBSZoomShader')] +param( +# Set the center_x_percent of OBSZoomShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSZoomShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# Set the power of OBSZoomShader +[ComponentModel.DefaultBindingProperty('power')] +[Single] +$Power, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'zoom' +$ShaderNoun = 'OBSZoomShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +uniform int center_x_percent< + string label = "center x percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float power< + string label = "power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1.75; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + uv.x = (v_in.uv.x - center_pos.x) * power + center_pos.x; + uv.y = (v_in.uv.y - center_pos.y) * power + center_pos.y; + return image.Sample(textureSampler, uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSZoomXYShader { + +[Alias('Set-OBSZoomXYShader','Add-OBSZoomXYShader')] +param( +# Set the center_x_percent of OBSZoomXYShader +[Alias('center_x_percent')] +[ComponentModel.DefaultBindingProperty('center_x_percent')] +[Int32] +$CenterXPercent, +# Set the center_y_percent of OBSZoomXYShader +[Alias('center_y_percent')] +[ComponentModel.DefaultBindingProperty('center_y_percent')] +[Int32] +$CenterYPercent, +# Set the x_power of OBSZoomXYShader +[Alias('x_power')] +[ComponentModel.DefaultBindingProperty('x_power')] +[Single] +$XPower, +# Set the y_power of OBSZoomXYShader +[Alias('y_power')] +[ComponentModel.DefaultBindingProperty('y_power')] +[Single] +$YPower, +# The name of the source. This must be provided when adding an item for the first time +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('SceneItemName')] +[String] +$SourceName, +# The name of the filter. If this is not provided, this will default to the shader name. +[Parameter(ValueFromPipelineByPropertyName)] +[String] +$FilterName, +# The inline value of the shader. This will normally be provided as a default parameter, based off of the name. +[Alias('ShaderContent')] +[String] +$ShaderText, +# If set, will force the recreation of a shader that already exists +[Management.Automation.SwitchParameter] +$Force, +# If set, will pass thru the commands that would be sent to OBS (these can be sent at any time with Send-OBS) +[Management.Automation.SwitchParameter] +$PassThru, +# If set, will not wait for a response from OBS (this will be faster, but will not return anything) +[Management.Automation.SwitchParameter] +$NoResponse, +# If set, use the shader elapsed time, instead of the OBS system elapsed time +[ComponentModel.DefaultBindingProperty('use_shader_elapsed_time')] +[Management.Automation.SwitchParameter] +$UseShaderTime +) + + +process { +$shaderName = 'Zoom_XY' +$ShaderNoun = 'OBSZoomXYShader' +if (-not $psBoundParameters['ShaderText']) { + $psBoundParameters['ShaderText'] = $ShaderText = ' +// Zoom XY Shader + +// A simple twist on the Zoom Shader in https://github.com/exeldro/obs-shaderfilter/ + +// The allow for an independent Horizontal and Vertical Zoom. + +uniform int center_x_percent< + string label = "center x percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform int center_y_percent< + string label = "center y percent"; + string widget_type = "slider"; + int minimum = 0; + int maximum = 100; + int step = 1; +> = 50; +uniform float x_power< + string label = "x power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1; + +uniform float y_power< + string label = "y power"; + string widget_type = "slider"; + float minimum = 0; + float maximum = 20.0; + float step = 0.001; +> = 1; + +float4 mainImage(VertData v_in) : TARGET +{ + float2 center_pos = float2(center_x_percent * .01, center_y_percent * .01); + float2 uv = v_in.uv; + uv.x = (v_in.uv.x - center_pos.x) * x_power + center_pos.x; + uv.y = (v_in.uv.y - center_pos.y) * y_power + center_pos.y; + return image.Sample(textureSampler, uv); +} +' +} +$MyVerb, $myNoun = $MyInvocation.InvocationName -split '-',2 +if (-not $myNoun) { + $myNoun = $myVerb + $myVerb = 'Get' +} +switch -regex ($myVerb) { + Get { + $FilterNamePattern = "(?>$( + if ($FilterName) { + [Regex]::Escape($FilterName) + } + else { + [Regex]::Escape($ShaderNoun -replace '^OBS' -replace 'Shader$'),[Regex]::Escape($shaderName) -join '|' + } + ))" + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } else { + $obs.Inputs | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern + } + } + 'Remove' { + if ($SourceName) { + Get-OBSInput | + Where-Object InputName -eq $SourceName | + Get-OBSSourceFilterList | + Where-Object FilterName -Match $FilterNamePattern | + Remove-OBSSourceFilter + } + } + '(?>Add|Set)' { + $ShaderSettings = [Ordered]@{} + :nextParameter foreach ($parameterMetadata in $MyInvocation.MyCommand.Parameters[@($psBoundParameters.Keys)]) { + foreach ($parameterAttribute in $parameterMetadata.Attributes) { + if ($parameterAttribute -isnot [ComponentModel.DefaultBindingPropertyAttribute]) { continue } + $ShaderSettings[$parameterAttribute.Name] = $PSBoundParameters[$parameterMetadata.Name] + if ($ShaderSettings[$parameterAttribute.Name] -is [switch]) { + $ShaderSettings[$parameterAttribute.Name] = $ShaderSettings[$parameterAttribute.Name] -as [bool] + } + continue nextParameter + } + } + + if (-not $PSBoundParameters['FilterName']) { + $filterName = $PSBoundParameters['FilterName'] = $shaderName + } + + $ShaderFilterSplat = [Ordered]@{ + ShaderSetting = $ShaderSettings + FilterName = $FilterName + SourceName = $SourceName + } + + foreach ($CarryOnParameter in "PassThru", "NoResponse","Force") { + if ($PSBoundParameters.ContainsKey($CarryOnParameter)) { + $ShaderFilterSplat[$CarryOnParameter] = $PSBoundParameters[$CarryOnParameter] + } + } + + if (-not $script:CachedShaderFilesFromCommand) { + $script:CachedShaderFilesFromCommand = @{} + } + + if ($Home -and -not $script:CachedShaderFilesFromCommand[$shaderName]) { + $MyObsPowerShellPath = Join-Path $home ".obs-powershell" + $ThisShaderPath = Join-Path $MyObsPowerShellPath "$shaderName.shader" + $shaderText | Set-Content -LiteralPath $ThisShaderPath + $script:CachedShaderFilesFromCommand[$shaderName] = Get-Item -LiteralPath $ThisShaderPath + } + if ($script:CachedShaderFilesFromCommand[$shaderName]) { + $ShaderFilterSplat.ShaderFile = $script:CachedShaderFilesFromCommand[$shaderName].FullName + } else { + $ShaderFilterSplat.ShaderText = $shaderText + } + + if ($myVerb -eq 'Add') { + Add-OBSShaderFilter @ShaderFilterSplat + } else { + Set-OBSShaderFilter @ShaderFilterSplat + } + } +} + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBS3DFilter { + + + [Alias('Add-OBS3DFilter')] + param( + # The Field of View + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("fov")] + [double] + $FieldOfView, + + # The Rotation along the X-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rot_x")] + [double] + $RotationX, + + # The Rotation along the Y-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rot_y")] + [double] + $RotationY, + + # The Rotation along the Z-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("rot_z")] + [double] + $RotationZ, + + # The Position along the X-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("pos_x")] + [double] + $PositionX, + + # The Position along the Y-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("pos_y")] + [double] + $PositionY, + + # The Position along the Z-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("pos_z")] + [double] + $PositionZ, + + # The scale of the source along the X-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("scale_x")] + [double] + $ScaleX, + + # The scale of the source along the Y-axis + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("scale_y")] + [double] + $ScaleY, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "3Band3D" + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "3d_effect_filter" + filterSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSColorFilter { + + + [Alias('Add-OBSColorFilter','Add-OBSColorCorrectionFilter','Set-OBSColorCorrectionFilter')] + param( + # The opacity, as a number between 0 and 1. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(0,1)] + [ComponentModel.DefaultBindingProperty("opacity")] + [double] + $Opacity, + + # The brightness, as a number between -1 and 1. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(-1,1)] + [ComponentModel.DefaultBindingProperty("brightness")] + [double] + $Brightness, + + # The constrast, as a number between -4 and 4. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(-4,4)] + [ComponentModel.DefaultBindingProperty("contrast")] + [double] + $Contrast, + + # The gamma correction, as a number between -3 and 3. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(-3,3)] + [ComponentModel.DefaultBindingProperty("gamma")] + [double] + $Gamma, + + # The saturation, as a number between -1 and 5. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(-1,5)] + [ComponentModel.DefaultBindingProperty("saturation")] + [double] + $Saturation, + + # The change in hue, as represented in degrees around a color cicrle + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("hue_shift")] + [Alias('Spin')] + [double] + $Hue, + + # Multiply this color by all pixels within the source. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_multiply")] + [string] + $MultiplyColor, + + # Add all this color to all pixels within the source. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("color_add")] + [string] + $AddColor, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + begin { + filter ToOBSColor { + + if ($_ -is [uint32]) { $_ } + elseif ($_ -is [string]) { + if ($_ -match '^\#[a-f0-9]{3,4}$') { + $_ = $_ -replace '[a-f0-9]','$0$0' + } + + if ($_ -match '^#[a-f0-9]{8}$') { + $_ -replace '#','0x' -as [UInt32] + } + elseif ($_ -match '^#[a-f0-9]{6}$') { + $_ -replace '#','0xff' -as [UInt32] + } + } + + } + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $FilterName = $myParameters["FilterName"] = "ColorCorrection" + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + if ($myParameterData.color_add) { + $myParameterData.color_add = $myParameterData.color_add | ToOBSColor + } + + if ($myParameterData.color_multiply) { + $myParameterData.color_multiply = $myParameterData.color_multiply | ToOBSColor + } + + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "color_filter_v2" + filterSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + if ($PassThru) { + return $outputAddedResult + } + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + } + + } +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSEqualizerFilter { + + + [Alias('Add-OBSEqualizierFilter','Add-OBS3BandEqualizerFilter','Set-OBS3BandEqualizerFilter')] + param( + # The change in low frequencies. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("low")] + [ValidateRange(-20,20)] + [double] + $Low, + + # The change in mid frequencies. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("mid")] + [ValidateRange(-20,20)] + [double] + $Mid, + + # The change in high frequencies. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("high")] + [ValidateRange(-20,20)] + [double] + $High, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "3BandEqualizer" + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "basic_eq_filter" + filterSettings = $myParameterData + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSGainFilter { + + + [Alias('Add-OBSGainFilter')] + param( + # The Audio Gain, in decibels. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("db")] + [double] + $Gain, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "Gain" + } + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "gain_filter" + filterSettings = [Ordered]@{db=$Gain} + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSRenderDelayFilter { + + + [Alias('Add-OBSRenderDelayFilter')] + param( + # The RenderDelay. + [Parameter(ValueFromPipelineByPropertyName)] + [timespan] + $RenderDelay, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "RenderDelay" + } + + + $myParameterData = [Ordered]@{ + delay_ms = if ($RenderDelay.Ticks -lt 10kb) { + [int]$RenderDelay.Ticks + } else { + [int]$RenderDelay.TotalMilliseconds + } + } + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "gpu_delay" + filterSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSScaleFilter { + + + [Alias('Add-OBSScaleFilter')] + param( + # The Resolution. Can either width x height (e.g. 1920x1080) or an aspect ratio (16:9). + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("resolution")] + [Alias('Scale')] + [string] + $Resolution, + + # The sampling method. It will default to "lanczos". + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("sampling")] + [string] + $Sampling = 'lanczos', + + # If set, will keep the aspect ratio when scaling. + # This is only valid if the sampling method is set to "lanczos". + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("undistort")] + [Alias('Undistort')] + [switch] + $KeepAspectRatio, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "Scale" + } + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "scale_filter" + filterSettings = [Ordered]@{resolution=$Resolution;sampling=$Sampling;undistort=$KeepAspectRatio -as [bool]} + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSScrollFilter { + + + param( + # The horizontal scroll speed. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("speed_x")] + [Alias('SpeedX', 'Speed_X','HSpeed')] + [double] + $HorizontalSpeed, + + # The vertical scroll speed. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("speed_y")] + [Alias('SpeedY', 'Speed_Y','VSpeed')] + [double] + $VerticalSpeed, + + # If set, will not loop + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("loop")] + [switch] + $NoLoop, + + # If provided, will limit the width. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(-500, 500)] + [ComponentModel.DefaultBindingProperty("cx")] + [Alias('LimitX', 'Limit_CX','WidthLimit')] + [double] + $LimitWidth, + + # If provided, will limit the height. + [Parameter(ValueFromPipelineByPropertyName)] + [ValidateRange(-500, 500)] + [ComponentModel.DefaultBindingProperty("cy")] + [Alias('LimitY', 'Limit_CY','HeightLimit')] + [double] + $LimitHeight, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "Scroll" + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + if ($myParameterData["loop"]) { + $myParameterData["loop"] = -not $myParameterData["loop"] + } + if ($myParameterData["cx"]) { + $myParameterData["limit_cx"] = $true + } + if ($myParameterData["cy"]) { + $myParameterData["limit_cy"] = $true + } + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "scroll_filter" + filterSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSShaderFilter { + + + [Alias('Add-OBSShaderFilter')] + param( + # The text of the shader + [Parameter(ValueFromPipelineByPropertyName)] + [string]$ShaderText, + + # The file path to the shader, or the short file name of the shader. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('ShaderName')] + [string] + $ShaderFile, + + # Any other settings for the shader. + # To see what the name of a shader setting is, change it in the user interface and then get the input's filters. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('ShaderSettings')] + [PSObject] + $ShaderSetting, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "Shader" + } + + $shaderSettings = [Ordered]@{} + if ($ShaderText) { + $shaderSettings.shader_text = $ShaderText + } + elseif ($ShaderFile) { + if ($ShaderFile -match '[\\/]') { + $shaderSettings.shader_file_name = "$($ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($ShaderFile))" -replace "\\", "/" + } else { + if (-not $script:CachedOBSShaderFilters) { + $script:CachedOBSShaderFilters = + Get-OBS | # Get the OBS object + Select-Object -ExpandProperty Process | # which has a process + Split-Path | Split-Path | Split-Path | # from it's parent path, we go up three levels. + Join-Path -ChildPath data | Join-Path -ChildPath obs-plugins | # then down into plugin data. + Get-ChildItem -Filter obs-shaderfilter | + Get-ChildItem -Filter examples | + Get-ChildItem -File # get all of the files in this directory + + } + + $foundShaderFile = $script:CachedOBSShaderFilters | + Where-Object Name -Like "$shaderFile*" | + Select-Object -First 1 + + if ($foundShaderFile) { + $shaderSettings.shader_file_name = $foundShaderFile.FullName -replace "\\", "/" + } + } + } + + if ($shaderSetting) { + if ($shaderSetting -is [Collections.IDictionary]) { + foreach ($kv in $shaderSetting.GetEnumerator()) { + $shaderSettings[$kv.Key] = $kv.Value + } + } elseif ($shaderSetting -is [psobject]) { + foreach ($prop in $shaderSetting.psobject.properties) { + $shaderSettings[$prop.Name] = $prop.Value + } + } + } + + if ($shaderSettings.shader_file_name) { + $shaderSettings.from_file = $true + } + + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "shader_filter" + filterSettings = $shaderSettings + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the filter. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSharpnessFilter { + + + [Alias('Add-OBSSharpnessFilter')] + param( + # The Sharpness. + [Parameter(ValueFromPipelineByPropertyName)] + [ComponentModel.DefaultBindingProperty("sharpness")] + [ValidateRange(0,1)] + [double] + $Sharpness, + + # If set, will remove a filter if one already exists. + # If this is not provided and the filter already exists, the settings of the filter will be changed. + [switch] + $Force + ) + dynamicParam { + $baseCommand = + if (-not $script:AddOBSSourceFilter) { + $script:AddOBSSourceFilter = + $executionContext.SessionState.InvokeCommand.GetCommand('Add-OBSSourceFilter','Function') + $script:AddOBSSourceFilter + } else { + $script:AddOBSSourceFilter + } + $IncludeParameter = @() + $ExcludeParameter = 'FilterKind','FilterSettings' + + + $DynamicParameters = [Management.Automation.RuntimeDefinedParameterDictionary]::new() + :nextInputParameter foreach ($paramName in ([Management.Automation.CommandMetaData]$baseCommand).Parameters.Keys) { + if ($ExcludeParameter) { + foreach ($exclude in $ExcludeParameter) { + if ($paramName -like $exclude) { continue nextInputParameter} + } + } + if ($IncludeParameter) { + $shouldInclude = + foreach ($include in $IncludeParameter) { + if ($paramName -like $include) { $true;break} + } + if (-not $shouldInclude) { continue nextInputParameter } + } + + $DynamicParameters.Add($paramName, [Management.Automation.RuntimeDefinedParameter]::new( + $baseCommand.Parameters[$paramName].Name, + $baseCommand.Parameters[$paramName].ParameterType, + $baseCommand.Parameters[$paramName].Attributes + )) + } + $DynamicParameters + + } + process { + $myParameters = [Ordered]@{} + $PSBoundParameters + + if (-not $myParameters["FilterName"]) { + $filterName = $myParameters["FilterName"] = "Sharpness" + } + + $myParameterData = [Ordered]@{} + foreach ($parameter in $MyInvocation.MyCommand.Parameters.Values) { + + $bindToPropertyName = $null + + foreach ($attribute in $parameter.Attributes) { + if ($attribute -is [ComponentModel.DefaultBindingPropertyAttribute]) { + $bindToPropertyName = $attribute.Name + break + } + } + + if (-not $bindToPropertyName) { continue } + if ($myParameters.Contains($parameter.Name)) { + $myParameterData[$bindToPropertyName] = $myParameters[$parameter.Name] + if ($myParameters[$parameter.Name] -is [switch]) { + $myParameterData[$bindToPropertyName] = $parameter.Name -as [bool] + } + } + } + + $addSplat = @{ + filterName = $myParameters["FilterName"] + SourceName = $myParameters["SourceName"] + filterKind = "Sharpness_filter" + filterSettings = $myParameterData + NoResponse = $myParameters["NoResponse"] + } + + if ($MyParameters["PassThru"]) { + $addSplat.Passthru = $MyParameters["PassThru"] + if ($MyInvocation.InvocationName -like 'Add-*') { + Add-OBSSourceFilter @addSplat + } else { + $addSplat.Remove('FilterKind') + Set-OBSSourceFilterSettings @addSplat + } + return + } + + # Add the input. + $outputAddedResult = Add-OBSSourceFilter @addSplat *>&1 + + # If we got back an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # and that error was saying the source already exists, + if ($outputAddedResult.TargetObject.d.requestStatus.code -eq 601) { + # then check if we use the -Force. + if ($Force) { # If we do, remove the input + Remove-OBSSourceFilter -FilterName $addSplat.FilterName -SourceName $addSplat.SourceName + # and re-add our result. + $outputAddedResult = Add-OBSInput @addSplat *>&1 + } else { + # Otherwise, get the existing filter. + $existingFilter = Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + # then apply the settings + $existingFilter.Set($addSplat.filterSettings) + # and output them + $existingFilter + # (don't forget to null the result, so we don't show this error) + $outputAddedResult = $null + } + } + + # If the output was still an error + if ($outputAddedResult -is [Management.Automation.ErrorRecord]) { + # use $psCmdlet.WriteError so that it shows the error correctly. + $psCmdlet.WriteError($outputAddedResult) + } + + } + # Otherwise, if we had a result + elseif ($outputAddedResult) { + # Otherwise, get the input from the filters. + Get-OBSSourceFilter -SourceName $addSplat.SourceName -FilterName $addSplat.FilterName + + } + + } +} + + + +#.ExternalHelp obs-powershell-Help.xml +function Add-OBSInput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CreateInput')] +[Alias('obs.powershell.websocket.CreateInput')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputKind')] +[string] +$InputKind, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputSettings')] +[PSObject] +$InputSettings, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemEnabled')] +[switch] +$SceneItemEnabled, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Add-OBSProfile { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CreateProfile')] +[Alias('obs.powershell.websocket.CreateProfile')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('profileName')] +[string] +$ProfileName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Add-OBSScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CreateScene')] +[Alias('obs.powershell.websocket.CreateScene')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Add-OBSSceneCollection { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CreateSceneCollection')] +[Alias('obs.powershell.websocket.CreateSceneCollection')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneCollectionName')] +[string] +$SceneCollectionName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Add-OBSSceneItem { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CreateSceneItem')] +[Alias('obs.powershell.websocket.CreateSceneItem')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +[Alias('Add-OBSSceneSource')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemEnabled')] +[switch] +$SceneItemEnabled, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Add-OBSSourceFilter { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CreateSourceFilter')] +[Alias('obs.powershell.websocket.CreateSourceFilter')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterKind')] +[string] +$FilterKind, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterSettings')] +[PSObject] +$FilterSettings, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Copy-OBSSceneItem { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'DuplicateSceneItem')] +[Alias('obs.powershell.websocket.DuplicateSceneItem')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('destinationSceneName')] +[string] +$DestinationSceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('destinationSceneUuid')] +[string] +$DestinationSceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCurrentPreviewScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetCurrentPreviewScene')] +[Alias('obs.powershell.websocket.GetCurrentPreviewScene')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCurrentProgramScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetCurrentProgramScene')] +[Alias('obs.powershell.websocket.GetCurrentProgramScene')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCurrentSceneTransition { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetCurrentSceneTransition')] +[Alias('obs.powershell.websocket.GetCurrentSceneTransition')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSCurrentSceneTransitionCursor { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetCurrentSceneTransitionCursor')] +[Alias('obs.powershell.websocket.GetCurrentSceneTransitionCursor')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGroup { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetGroupList')] +[Alias('obs.powershell.websocket.GetGroupList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSGroupSceneItem { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetGroupSceneItemList')] +[Alias('obs.powershell.websocket.GetGroupSceneItemList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSHotkey { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetHotkeyList')] +[Alias('obs.powershell.websocket.GetHotkeyList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputList')] +[Alias('obs.powershell.websocket.GetInputList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputKind')] +[string] +$InputKind, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputAudioBalance { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputAudioBalance')] +[Alias('obs.powershell.websocket.GetInputAudioBalance')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputAudioMonitorType { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputAudioMonitorType')] +[Alias('obs.powershell.websocket.GetInputAudioMonitorType')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputAudioSyncOffset { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputAudioSyncOffset')] +[Alias('obs.powershell.websocket.GetInputAudioSyncOffset')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputAudioTracks { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputAudioTracks')] +[Alias('obs.powershell.websocket.GetInputAudioTracks')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputDefaultSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputDefaultSettings')] +[Alias('obs.powershell.websocket.GetInputDefaultSettings')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputKind')] +[string] +$InputKind, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputKind { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputKindList')] +[Alias('obs.powershell.websocket.GetInputKindList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('unversioned')] +[switch] +$Unversioned, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputMute { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputMute')] +[Alias('obs.powershell.websocket.GetInputMute')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputPropertiesListPropertyItems { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputPropertiesListPropertyItems')] +[Alias('obs.powershell.websocket.GetInputPropertiesListPropertyItems')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('propertyName')] +[string] +$PropertyName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputSettings')] +[Alias('obs.powershell.websocket.GetInputSettings')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSInputVolume { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetInputVolume')] +[Alias('obs.powershell.websocket.GetInputVolume')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSLastReplayBufferReplay { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetLastReplayBufferReplay')] +[Alias('obs.powershell.websocket.GetLastReplayBufferReplay')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSMediaInputStatus { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetMediaInputStatus')] +[Alias('obs.powershell.websocket.GetMediaInputStatus')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSMonitor { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetMonitorList')] +[Alias('obs.powershell.websocket.GetMonitorList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSOutput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetOutputList')] +[Alias('obs.powershell.websocket.GetOutputList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSOutputSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetOutputSettings')] +[Alias('obs.powershell.websocket.GetOutputSettings')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputName')] +[string] +$OutputName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSOutputStatus { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetOutputStatus')] +[Alias('obs.powershell.websocket.GetOutputStatus')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputName')] +[string] +$OutputName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSPersistentData { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetPersistentData')] +[Alias('obs.powershell.websocket.GetPersistentData')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('realm')] +[string] +$Realm, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('slotName')] +[string] +$SlotName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSProfile { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetProfileList')] +[Alias('obs.powershell.websocket.GetProfileList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSProfileParameter { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetProfileParameter')] +[Alias('obs.powershell.websocket.GetProfileParameter')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('parameterCategory')] +[string] +$ParameterCategory, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('parameterName')] +[string] +$ParameterName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRecordDirectory { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetRecordDirectory')] +[Alias('obs.powershell.websocket.GetRecordDirectory')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSRecordStatus { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetRecordStatus')] +[Alias('obs.powershell.websocket.GetRecordStatus')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSReplayBufferStatus { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetReplayBufferStatus')] +[Alias('obs.powershell.websocket.GetReplayBufferStatus')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneList')] +[Alias('obs.powershell.websocket.GetSceneList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneCollection { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneCollectionList')] +[Alias('obs.powershell.websocket.GetSceneCollectionList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItem { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemList')] +[Alias('obs.powershell.websocket.GetSceneItemList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemBlendMode { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemBlendMode')] +[Alias('obs.powershell.websocket.GetSceneItemBlendMode')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemEnabled { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemEnabled')] +[Alias('obs.powershell.websocket.GetSceneItemEnabled')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemId { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemId')] +[Alias('obs.powershell.websocket.GetSceneItemId')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('searchOffset')] +[ValidateRange(-1,[int]::MaxValue)] +[double] +$SearchOffset, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemIndex { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemIndex')] +[Alias('obs.powershell.websocket.GetSceneItemIndex')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemLocked { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemLocked')] +[Alias('obs.powershell.websocket.GetSceneItemLocked')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemSource { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemSource')] +[Alias('obs.powershell.websocket.GetSceneItemSource')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneItemTransform { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneItemTransform')] +[Alias('obs.powershell.websocket.GetSceneItemTransform')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneSceneTransitionOverride { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneSceneTransitionOverride')] +[Alias('obs.powershell.websocket.GetSceneSceneTransitionOverride')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSceneTransition { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSceneTransitionList')] +[Alias('obs.powershell.websocket.GetSceneTransitionList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSourceActive { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSourceActive')] +[Alias('obs.powershell.websocket.GetSourceActive')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSourceFilter { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSourceFilter')] +[Alias('obs.powershell.websocket.GetSourceFilter')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSourceFilterDefaultSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSourceFilterDefaultSettings')] +[Alias('obs.powershell.websocket.GetSourceFilterDefaultSettings')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterKind')] +[string] +$FilterKind, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSourceFilterKind { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSourceFilterKindList')] +[Alias('obs.powershell.websocket.GetSourceFilterKindList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSourceFilterList { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSourceFilterList')] +[Alias('obs.powershell.websocket.GetSourceFilterList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSourceScreenshot { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSourceScreenshot')] +[Alias('obs.powershell.websocket.GetSourceScreenshot')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageFormat')] +[string] +$ImageFormat, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageWidth')] +[ValidateRange(8,4096)] +[double] +$ImageWidth, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageHeight')] +[ValidateRange(8,4096)] +[double] +$ImageHeight, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageCompressionQuality')] +[ValidateRange(-1,100)] +[double] +$ImageCompressionQuality, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSSpecialInputs { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetSpecialInputs')] +[Alias('obs.powershell.websocket.GetSpecialInputs')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSStats { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetStats')] +[Alias('obs.powershell.websocket.GetStats')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSStreamServiceSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetStreamServiceSettings')] +[Alias('obs.powershell.websocket.GetStreamServiceSettings')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSStreamStatus { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetStreamStatus')] +[Alias('obs.powershell.websocket.GetStreamStatus')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSStudioModeEnabled { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetStudioModeEnabled')] +[Alias('obs.powershell.websocket.GetStudioModeEnabled')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSTransitionKind { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetTransitionKindList')] +[Alias('obs.powershell.websocket.GetTransitionKindList')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVersion { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetVersion')] +[Alias('obs.powershell.websocket.GetVersion')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVideoSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetVideoSettings')] +[Alias('obs.powershell.websocket.GetVideoSettings')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSVirtualCamStatus { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'GetVirtualCamStatus')] +[Alias('obs.powershell.websocket.GetVirtualCamStatus')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Open-OBSInputFiltersDialog { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'OpenInputFiltersDialog')] +[Alias('obs.powershell.websocket.OpenInputFiltersDialog')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Open-OBSInputInteractDialog { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'OpenInputInteractDialog')] +[Alias('obs.powershell.websocket.OpenInputInteractDialog')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Open-OBSInputPropertiesDialog { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'OpenInputPropertiesDialog')] +[Alias('obs.powershell.websocket.OpenInputPropertiesDialog')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Open-OBSSourceProjector { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'OpenSourceProjector')] +[Alias('obs.powershell.websocket.OpenSourceProjector')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('monitorIndex')] +[double] +$MonitorIndex, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('projectorGeometry')] +[string] +$ProjectorGeometry, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Open-OBSVideoMixProjector { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'OpenVideoMixProjector')] +[Alias('obs.powershell.websocket.OpenVideoMixProjector')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('videoMixType')] +[string] +$VideoMixType, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('monitorIndex')] +[double] +$MonitorIndex, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('projectorGeometry')] +[string] +$ProjectorGeometry, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBSInput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'RemoveInput')] +[Alias('obs.powershell.websocket.RemoveInput')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBSProfile { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'RemoveProfile')] +[Alias('obs.powershell.websocket.RemoveProfile')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('profileName')] +[string] +$ProfileName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBSScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'RemoveScene')] +[Alias('obs.powershell.websocket.RemoveScene')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBSSceneItem { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'RemoveSceneItem')] +[Alias('obs.powershell.websocket.RemoveSceneItem')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBSSourceFilter { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'RemoveSourceFilter')] +[Alias('obs.powershell.websocket.RemoveSourceFilter')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Resume-OBSRecord { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ResumeRecord')] +[Alias('obs.powershell.websocket.ResumeRecord')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Save-OBSReplayBuffer { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SaveReplayBuffer')] +[Alias('obs.powershell.websocket.SaveReplayBuffer')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Save-OBSSourceScreenshot { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SaveSourceScreenshot')] +[Alias('obs.powershell.websocket.SaveSourceScreenshot')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageFormat')] +[string] +$ImageFormat, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageFilePath')] +[string] +$ImageFilePath, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageWidth')] +[ValidateRange(8,4096)] +[double] +$ImageWidth, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageHeight')] +[ValidateRange(8,4096)] +[double] +$ImageHeight, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('imageCompressionQuality')] +[ValidateRange(-1,100)] +[double] +$ImageCompressionQuality, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + + + Get-Item $paramCopy["imageFilePath"] | + Add-Member NoteProperty InputName $paramCopy["SourceName"] -Force -PassThru | + Add-Member NoteProperty SourceName $paramCopy["SourceName"] -Force -PassThru | + Add-Member NoteProperty ImageWidth $paramCopy["ImageWidth"] -Force -PassThru | + Add-Member NoteProperty ImageHeight $paramCopy["ImageHeight"] -Force -PassThru + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSCallVendorRequest { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'CallVendorRequest')] +[Alias('obs.powershell.websocket.CallVendorRequest')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('vendorName')] +[string] +$VendorName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('requestType')] +[string] +$RequestType, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('requestData')] +[PSObject] +$RequestData, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSCustomEvent { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'BroadcastCustomEvent')] +[Alias('obs.powershell.websocket.BroadcastCustomEvent')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('eventData')] +[PSObject] +$EventData, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSOffsetMediaInputCursor { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'OffsetMediaInputCursor')] +[Alias('obs.powershell.websocket.OffsetMediaInputCursor')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('mediaCursorOffset')] +[double] +$MediaCursorOffset, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSPauseRecord { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'PauseRecord')] +[Alias('obs.powershell.websocket.PauseRecord')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSPressInputPropertiesButton { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'PressInputPropertiesButton')] +[Alias('obs.powershell.websocket.PressInputPropertiesButton')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('propertyName')] +[string] +$PropertyName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSSleep { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'Sleep')] +[Alias('obs.powershell.websocket.Sleep')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sleepMillis')] +[ValidateRange(0,50000)] +[double] +$SleepMillis, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sleepFrames')] +[ValidateRange(0,10000)] +[double] +$SleepFrames, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSStreamCaption { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SendStreamCaption')] +[Alias('obs.powershell.websocket.SendStreamCaption')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('captionText')] +[string] +$CaptionText, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSTriggerHotkeyByKeySequence { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'TriggerHotkeyByKeySequence')] +[Alias('obs.powershell.websocket.TriggerHotkeyByKeySequence')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('keyId')] +[string] +$KeyId, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('keyModifiers')] +[PSObject] +$KeyModifiers, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('keyModifiers.shift')] +[switch] +$KeyModifiersshift, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('keyModifiers.control')] +[switch] +$KeyModifierscontrol, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('keyModifiers.alt')] +[switch] +$KeyModifiersalt, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('keyModifiers.command')] +[switch] +$KeyModifierscommand, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSTriggerHotkeyByName { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'TriggerHotkeyByName')] +[Alias('obs.powershell.websocket.TriggerHotkeyByName')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('hotkeyName')] +[string] +$HotkeyName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('contextName')] +[string] +$ContextName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSTriggerMediaInputAction { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'TriggerMediaInputAction')] +[Alias('obs.powershell.websocket.TriggerMediaInputAction')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('mediaAction')] +[string] +$MediaAction, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Send-OBSTriggerStudioModeTransition { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'TriggerStudioModeTransition')] +[Alias('obs.powershell.websocket.TriggerStudioModeTransition')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentPreviewScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentPreviewScene')] +[Alias('obs.powershell.websocket.SetCurrentPreviewScene')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentProfile { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentProfile')] +[Alias('obs.powershell.websocket.SetCurrentProfile')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('profileName')] +[string] +$ProfileName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentProgramScene { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentProgramScene')] +[Alias('obs.powershell.websocket.SetCurrentProgramScene')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentSceneCollection { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentSceneCollection')] +[Alias('obs.powershell.websocket.SetCurrentSceneCollection')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneCollectionName')] +[string] +$SceneCollectionName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentSceneTransition { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentSceneTransition')] +[Alias('obs.powershell.websocket.SetCurrentSceneTransition')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('transitionName')] +[string] +$TransitionName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentSceneTransitionDuration { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentSceneTransitionDuration')] +[Alias('obs.powershell.websocket.SetCurrentSceneTransitionDuration')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('transitionDuration')] +[ValidateRange(50,20000)] +[double] +$TransitionDuration, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSCurrentSceneTransitionSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetCurrentSceneTransitionSettings')] +[Alias('obs.powershell.websocket.SetCurrentSceneTransitionSettings')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('transitionSettings')] +[PSObject] +$TransitionSettings, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('overlay')] +[switch] +$Overlay, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputAudioBalance { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputAudioBalance')] +[Alias('obs.powershell.websocket.SetInputAudioBalance')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputAudioBalance')] +[ValidateRange(0,1)] +[double] +$InputAudioBalance, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputAudioMonitorType { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputAudioMonitorType')] +[Alias('obs.powershell.websocket.SetInputAudioMonitorType')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('monitorType')] +[string] +$MonitorType, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputAudioSyncOffset { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputAudioSyncOffset')] +[Alias('obs.powershell.websocket.SetInputAudioSyncOffset')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputAudioSyncOffset')] +[ValidateRange(-950,20000)] +[double] +$InputAudioSyncOffset, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputAudioTracks { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputAudioTracks')] +[Alias('obs.powershell.websocket.SetInputAudioTracks')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputAudioTracks')] +[PSObject] +$InputAudioTracks, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputMute { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputMute')] +[Alias('obs.powershell.websocket.SetInputMute')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputMuted')] +[switch] +$InputMuted, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputName { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputName')] +[Alias('obs.powershell.websocket.SetInputName')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('newInputName')] +[string] +$NewInputName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputSettings')] +[Alias('obs.powershell.websocket.SetInputSettings')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputSettings')] +[PSObject] +$InputSettings, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('overlay')] +[switch] +$Overlay, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSInputVolume { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetInputVolume')] +[Alias('obs.powershell.websocket.SetInputVolume')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputVolumeMul')] +[ValidateRange(0,20)] +[double] +$InputVolumeMul, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputVolumeDb')] +[ValidateRange(-100,26)] +[double] +$InputVolumeDb, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSMediaInputCursor { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetMediaInputCursor')] +[Alias('obs.powershell.websocket.SetMediaInputCursor')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('mediaCursor')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$MediaCursor, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSOutputSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetOutputSettings')] +[Alias('obs.powershell.websocket.SetOutputSettings')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputName')] +[string] +$OutputName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputSettings')] +[PSObject] +$OutputSettings, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSPersistentData { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetPersistentData')] +[Alias('obs.powershell.websocket.SetPersistentData')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('realm')] +[string] +$Realm, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('slotName')] +[string] +$SlotName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('slotValue')] +[PSObject] +$SlotValue, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSProfileParameter { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetProfileParameter')] +[Alias('obs.powershell.websocket.SetProfileParameter')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('parameterCategory')] +[string] +$ParameterCategory, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('parameterName')] +[string] +$ParameterName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('parameterValue')] +[string] +$ParameterValue, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSRecordDirectory { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetRecordDirectory')] +[Alias('obs.powershell.websocket.SetRecordDirectory')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('recordDirectory')] +[string] +$RecordDirectory, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneItemBlendMode { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneItemBlendMode')] +[Alias('obs.powershell.websocket.SetSceneItemBlendMode')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemBlendMode')] +[string] +$SceneItemBlendMode, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneItemEnabled { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneItemEnabled')] +[Alias('obs.powershell.websocket.SetSceneItemEnabled')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemEnabled')] +[switch] +$SceneItemEnabled, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneItemIndex { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneItemIndex')] +[Alias('obs.powershell.websocket.SetSceneItemIndex')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemIndex')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemIndex, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneItemLocked { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneItemLocked')] +[Alias('obs.powershell.websocket.SetSceneItemLocked')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemLocked')] +[switch] +$SceneItemLocked, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneItemTransform { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneItemTransform')] +[Alias('obs.powershell.websocket.SetSceneItemTransform')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemId')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$SceneItemId, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneItemTransform')] +[PSObject] +$SceneItemTransform, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneName { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneName')] +[Alias('obs.powershell.websocket.SetSceneName')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('newSceneName')] +[string] +$NewSceneName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSceneSceneTransitionOverride { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSceneSceneTransitionOverride')] +[Alias('obs.powershell.websocket.SetSceneSceneTransitionOverride')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneName')] +[string] +$SceneName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sceneUuid')] +[string] +$SceneUuid, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('transitionName')] +[string] +$TransitionName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('transitionDuration')] +[ValidateRange(50,20000)] +[double] +$TransitionDuration, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSourceFilterEnabled { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSourceFilterEnabled')] +[Alias('obs.powershell.websocket.SetSourceFilterEnabled')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterEnabled')] +[switch] +$FilterEnabled, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSourceFilterIndex { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSourceFilterIndex')] +[Alias('obs.powershell.websocket.SetSourceFilterIndex')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterIndex')] +[ValidateRange(0,[int]::MaxValue)] +[double] +$FilterIndex, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSourceFilterName { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSourceFilterName')] +[Alias('obs.powershell.websocket.SetSourceFilterName')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('newFilterName')] +[string] +$NewFilterName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSSourceFilterSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetSourceFilterSettings')] +[Alias('obs.powershell.websocket.SetSourceFilterSettings')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceName')] +[string] +$SourceName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('sourceUuid')] +[string] +$SourceUuid, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterName')] +[string] +$FilterName, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('filterSettings')] +[PSObject] +$FilterSettings, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('overlay')] +[switch] +$Overlay, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSStreamServiceSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetStreamServiceSettings')] +[Alias('obs.powershell.websocket.SetStreamServiceSettings')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('streamServiceType')] +[string] +$StreamServiceType, + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('streamServiceSettings')] +[PSObject] +$StreamServiceSettings, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSStudioModeEnabled { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetStudioModeEnabled')] +[Alias('obs.powershell.websocket.SetStudioModeEnabled')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('studioModeEnabled')] +[switch] +$StudioModeEnabled, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSTBarPosition { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetTBarPosition')] +[Alias('obs.powershell.websocket.SetTBarPosition')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('position')] +[ValidateRange(0,1)] +[double] +$Position, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('release')] +[switch] +$Release, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Set-OBSVideoSettings { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'SetVideoSettings')] +[Alias('obs.powershell.websocket.SetVideoSettings')] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('fpsNumerator')] +[ValidateRange(1,[int]::MaxValue)] +[double] +$FpsNumerator, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('fpsDenominator')] +[ValidateRange(1,[int]::MaxValue)] +[double] +$FpsDenominator, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('baseWidth')] +[ValidateRange(1,4096)] +[double] +$BaseWidth, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('baseHeight')] +[ValidateRange(1,4096)] +[double] +$BaseHeight, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputWidth')] +[ValidateRange(1,4096)] +[double] +$OutputWidth, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputHeight')] +[ValidateRange(1,4096)] +[double] +$OutputHeight, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Start-OBSOutput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StartOutput')] +[Alias('obs.powershell.websocket.StartOutput')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputName')] +[string] +$OutputName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Start-OBSRecord { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StartRecord')] +[Alias('obs.powershell.websocket.StartRecord')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Start-OBSReplayBuffer { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StartReplayBuffer')] +[Alias('obs.powershell.websocket.StartReplayBuffer')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Start-OBSStream { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StartStream')] +[Alias('obs.powershell.websocket.StartStream')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Start-OBSVirtualCam { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StartVirtualCam')] +[Alias('obs.powershell.websocket.StartVirtualCam')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Stop-OBSOutput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StopOutput')] +[Alias('obs.powershell.websocket.StopOutput')] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputName')] +[string] +$OutputName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Stop-OBSRecord { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StopRecord')] +[Alias('obs.powershell.websocket.StopRecord')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Stop-OBSReplayBuffer { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StopReplayBuffer')] +[Alias('obs.powershell.websocket.StopReplayBuffer')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Stop-OBSStream { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StopStream')] +[Alias('obs.powershell.websocket.StopStream')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Stop-OBSVirtualCam { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'StopVirtualCam')] +[Alias('obs.powershell.websocket.StopVirtualCam')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSInputMute { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleInputMute')] +[Alias('obs.powershell.websocket.ToggleInputMute')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputName')] +[string] +$InputName, + +[Parameter(ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('inputUuid')] +[string] +$InputUuid, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSOutput { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleOutput')] +[Alias('obs.powershell.websocket.ToggleOutput')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( + +[Parameter(Mandatory,ValueFromPipelineByPropertyName)] +[ComponentModel.DefaultBindingProperty('outputName')] +[string] +$OutputName, +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSRecord { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleRecord')] +[Alias('obs.powershell.websocket.ToggleRecord')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSRecordPause { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleRecordPause')] +[Alias('obs.powershell.websocket.ToggleRecordPause')] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSReplayBuffer { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleReplayBuffer')] +[Alias('obs.powershell.websocket.ToggleReplayBuffer')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSStream { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleStream')] +[Alias('obs.powershell.websocket.ToggleStream')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Switch-OBSVirtualCam { + + +[Reflection.AssemblyMetadata('OBS.WebSocket.RequestType', 'ToggleVirtualCam')] +[Alias('obs.powershell.websocket.ToggleVirtualCam')] +[Reflection.AssemblyMetadata('OBS.WebSocket.ExpectingResponse', $true)] +param( +# If set, will return the information that would otherwise be sent to OBS. +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('OutputRequest','OutputInput')] +[switch] +$PassThru, +# If set, will not attempt to receive a response from OBS. +# This can increase performance, and also silently ignore critical errors +[Parameter(ValueFromPipelineByPropertyName)] +[Alias('NoReceive','IgnoreResponse','IgnoreReceive','DoNotReceiveResponse')] +[switch] +$NoResponse +) + + +process { + + + # Create a copy of the parameters (that are part of the payload) + $paramCopy = [Ordered]@{} + # get a reference to this command + $myCmd = $MyInvocation.MyCommand + + # Keep track of how many requests we have done of a given type + # (this makes creating RequestIDs easy) + if (-not $script:ObsRequestsCounts) { + $script:ObsRequestsCounts = @{} + } + + # Set my requestType to blank + $myRequestType = '' + # and indicate we are not expecting a response + $responseExpected = $false + # Then walk over this commands' attributes, + foreach ($attr in $myCmd.ScriptBlock.Attributes) { + if ($attr -is [Reflection.AssemblyMetadataAttribute]) { + if ($attr.Key -eq 'OBS.WebSocket.RequestType') { + $myRequestType = $attr.Value # set the requestType, + } + elseif ($attr.Key -eq 'OBS.WebSocket.ExpectingResponse') { + # and determine if we are expecting a response. + $responseExpected = + if ($attr.Value -eq 'false') { + $false + } else { $true } + } + } + } + + # Walk over each parameter + :nextParam foreach ($keyValue in $PSBoundParameters.GetEnumerator()) { + # and walk over each of it's attributes to see if it part of the payload + foreach ($attr in $myCmd.Parameters[$keyValue.Key].Attributes) { + # If the parameter is bound to part of the payload + if ($attr -is [ComponentModel.DefaultBindingPropertyAttribute]) { + # copy it into our payload dicitionary. + $paramCopy[$attr.Name] = $keyValue.Value + # (don't forget to turn switches into booleans) + if ($paramCopy[$attr.Name] -is [switch]) { + $paramCopy[$attr.Name] = [bool]$paramCopy[$attr.Name] + } + if ($attr.Name -like '*path') { + $paramCopy[$attr.Name] = + "$($ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($paramCopy[$attr.Name]))" + } + continue nextParam + } + } + } + + # and make a request ID from that. + $myRequestId = "$myRequestType.$([Guid]::newGuid())" + + # Construct the payload object + $requestPayload = [Ordered]@{ + # It must include a request ID + requestId = $myRequestId + # request type + requestType = $myRequestType + # and optional data + requestData = $paramCopy + } + + if ($PassThru) { + [PSCustomObject]$requestPayload + } else { + [PSCustomObject]$requestPayload | + Send-OBS -NoResponse:$NoResponse + } + +} + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Get-OBSEffect +{ + + param( + # The name of the effect. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('EffectName')] + [string] + $Name + ) + + begin { + if (-not $script:OBSFX) { + $script:OBSFX = [Ordered]@{} + } + } + + process { + + if (-not $Name) { + $script:OBSFX.Values + } elseif ($script:OBSFX[$name]) { + $script:OBSFX[$name] + } + } +} +#.ExternalHelp obs-powershell-Help.xml +function Import-OBSEffect { + + + param( + # The source location of the effect. + # This can be a string, file, directory, command, or module. + [Parameter(Mandatory,ValueFromPipeline,ValueFromPipelineByPropertyName)] + [Alias( + 'FromPath', + 'FromModule', + 'FromScript', + 'FromFunction', + 'FullName', + 'Path', + 'Source' + )] + [ValidateScript({ + $validTypeList = [System.String],[System.IO.FileInfo],[System.IO.DirectoryInfo],[System.Management.Automation.CommandInfo],[System.Management.Automation.PSModuleInfo] + + $thisType = $_.GetType() + $IsTypeOk = + $(@( foreach ($validType in $validTypeList) { + if ($_ -as $validType) { + $true;break + } + })) + + if (-not $isTypeOk) { + throw "Unexpected type '$(@($thisType)[0])'. Must be 'string','System.IO.FileInfo','System.IO.DirectoryInfo','System.Management.Automation.CommandInfo','psmoduleinfo'." + } + return $true + })] + + $From + ) + + begin { + if (-not $script:OBSFX) { + $script:OBSFX = [Ordered]@{} + } + + $newEffects = @() + $obsEffectsPattern = [Regex]::new(' + (?> + ^OBS.(?>fx|effects?)\p{P} + | + [\p{P}-[-]]OBS\.(?>fx|effects?)$ + | + \p{P}OBS.(?>fx|effects?)\.(?>ps1|json)$ + ) + ','IgnoreCase,IgnorePatternWhitespace') + } + + process { + # Since -From can be many things, but a metric has to be a command, + # the purpose of this function is to essentially resolve many things to a command, + # and then cache that command. + + # If -From was a string + if ($From -is [string]) { + # It could be a module, so check those first. + :ResolveFromString do { + foreach ($loadedModule in @(Get-Module)) { + # If we find the module, don't try to resolve -From as a path + if ($loadedModule.Name -eq $from) { + # (just set -From again and let the function continue) + $from = $fromModule = $loadedModule;break ResolveFromString + } + + } + # If we think from was a path + $resolvedPath = $ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($from) + # attempt to resolve it + if ($resolvedPath) { + $from = Get-Item -LiteralPath $resolvedPath + } + } while ($false) + } + + # If -From is a module + if ($from -is [Management.Automation.PSModuleInfo]) { + # recursively call ourselves with all matching commands + @($from.ExportedCommands.Values) -match $obsEffectsPattern | + Import-OBSEffect + # then, make -From a directory + if ($from.Path) { + $from = Get-Item ($from.Path | Split-Path) -ErrorAction SilentlyContinue + } + } + + # If -From is a directory + if ($from -is [IO.DirectoryInfo]) { + $FromDirectory = $from + # recursively call ourselves with all matching scripts + Get-ChildItem -LiteralPath $from.FullName -Recurse -File | + Where-Object Name -match '\.obs\.(?>fx|effects?).(?>ps1|json)$' | + Import-OBSEffect + return + } + + # If -From is a file + if ($from -is [IO.FileInfo]) { + # and it matches the naming convention + if ($from.Name -notmatch '\.obs\.(?>fx|effects?).(?>ps1|json)$') { return } + # make -From a command. + $from = $ExecutionContext.SessionState.InvokeCommand.GetCommand($from.FullName, 'ExternalScript,Application') + } + + # If -From is a command + if ($from -is [Management.Automation.CommandInfo]) { + # decorate the command + if ($from.pstypenames -notcontains 'OBS.PowerShell.Effect') { + $from.pstypenames.insert(0,'OBS.PowerShell.Effect') + } + + if ($from -is [Management.Automation.ApplicationInfo]) { + $effectName = $from.Name -replace '\.obs\.(?>fx|effects?).(?>ps1|json)$' + $newEffect = [PSCustomObject][Ordered]@{ + PSTypeName = 'OBS.PowerShell.Effect' + Messages = Get-Content -Raw -Path $From.Source | ConvertFrom-Json + EffectName = $effectName + TypeName = $TypeName + } + $script:OBSFX[$effectName] = $newEffect + $newEffects += $newEffect + $newEffect + } else { + if ($from.pstypenames -notcontains 'OBS.PowerShell.Effect.Command') { + $from.pstypenames.insert(0,'OBS.PowerShell.Effect.Command') + } + # and add it to our list of new metrics + $newEffects+= $from + $script:OBSFX[$from.EffectName] = $from + $from + } + } + } + + + +} + + +#.ExternalHelp obs-powershell-Help.xml +function Remove-OBSEffect +{ + + param( + # The name of the effect. + [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [Alias('Name')] + [string] + $EffectName + ) + + begin { + if (-not $script:OBSFX) { + $script:OBSFX = [Ordered]@{} + } + } + + process { + if ($script:OBSFX[$name]) { + $script:OBSFX.Stop() + $script:OBSFX.Remove($name) + } + } +} + +#.ExternalHelp obs-powershell-Help.xml +function Start-OBSEffect +{ + + [CmdletBinding(PositionalBinding=$false)] + param( + # The name of the effect. + [ArgumentCompleter({ + param ( $commandName, + $parameterName, + $wordToComplete, + $commandAst, + $fakeBoundParameters ) + $effectNames = @(Get-OBSEffect| + Select-Object -Unique -ExpandProperty EffectName) + if ($wordToComplete) { + $toComplete = $wordToComplete -replace "^'" -replace "'$" + return @($effectNames -like "$toComplete*" -replace '^', "'" -replace '$',"'") + } else { + return @($effectNames -replace '^', "'" -replace '$',"'") + } + })] + [Parameter(Mandatory)] + [string[]] + $EffectName, + + # The duration of the effect. + # If provided, all effects should use this duration. + # If not provided, each effect should use it's own duration. + [Timespan] + $Duration, + + # The parameters passed to the effect. + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('EffectParameters')] + [Collections.IDictionary] + $EffectParameter = @{}, + + # The arguments passed to the effect. + [Parameter(ValueFromRemainingArguments)] + [Alias('EffectArguments')] + [PSObject[]] + $EffectArgument = @(), + + # If provided, will step thru running + [Parameter(ValueFromPipelineByPropertyName)] + [Alias('ticks')] + [int] + $Step, + + # The SceneItemID. If this is provided, the effect will be given a target. + [Parameter(ValueFromPipelineByPropertyName)] + [int] + $SceneItemID, + + # The SceneName. If this is provided with a -SceneItemID or -SourceName, the effect will be given a target. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $SceneName, + + # The Filter Name. If this is provided with a -SourceName, the effect will be given a target. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $FilterName, + + # The Source Name. If this is provided with a -FitlerName -or -SceneName, the effect will be given a target. + [Parameter(ValueFromPipelineByPropertyName)] + [string] + $SourceName, + + # If set, will loop the effect. + [switch] + $Loop, + + # If provided, will loop the effect a number of times. + [int] + $LoopCount, + + # If set, will bounce the effect (flip it / reverse it) + [switch] + $Bounce, + + # If set, will reverse an effect. + [switch] + $Reverse + ) + + process { + foreach ($NameOfEffect in $EffectName) { + $obsEffect = Get-OBSEffect -EffectName $NameOfEffect + + if (-not $obsEffect) { + Write-Warning "No Effect named '$NameOfEffect'" + continue + } + + if ($LoopCount) { + $obsEffect | Add-Member -MemberType NoteProperty LoopCount $LoopCount -Force + } + + if ($loop -or $Bounce) { + $obsEffect | Add-Member -MemberType NoteProperty Mode "$(if ($Bounce) {"Bounce"})$(if ($loop) {"Loop"})" -Force + if (-not $LoopCount) { + $obsEffect | Add-Member -MemberType NoteProperty LoopCount -1 -Force + } + } else { + $obsEffect | Add-Member -MemberType NoteProperty Mode "Once" -Force + } + + if ($Reverse) { + $obsEffect.Reversed = $true + } + + if ($obsEffect -isnot [Management.Automation.CommandInfo]) { + if ($step -and $obsEffect.Messages) { + $obsEffect.Step($step) + continue + } + + $obsEffect.Start() + + } else { + if ($step -and $obsEffect.Messages) { + $obsEffect.Step($step) + continue + } + + if (-not $this) { + if ($_.pstypenames -like '*.GetSourceFilter*') { + $this = $_ + } elseif ($FilterName -and $SourceName) { + $this = Get-OBSSourceFilter -SourceName $SourceName -FilterName $FilterName + } + + if ($_.pstypenames -like '*.GetSceneItem*') { + $this = $_ + } elseif ($SceneName -and ($SceneItemID -or $SourceName)) { + $this = + foreach ($sceneItem in Get-OBSSceneItem -SceneName $SceneName) { + if ($SceneItemID -and $sceneItem.SceneItemID -eq $SceneItemID) { + $sceneItem;break + } + elseif ($SceneName -and $sceneItem.SceneName -eq $SceneName) { + $sceneItem;break + } + } + } + } + + if ($Duration -and $obsEffect.Parameters.Duration) { + $EffectParameter.Duration = $Duration + } + + $obsEffectOutput = . $obsEffect @EffectParameter @EffectArgument + if ($obsEffectOutput) { + $obsEffect | Add-Member NoteProperty Messages $obsEffectOutput -Force + if ($step) { + $obsEffect.Step($step) + } else { + $obsEffect.Start() + } + } + } + $obsEffect + } + + + } +} +#.ExternalHelp obs-powershell-Help.xml +function Stop-OBSEffect +{ + + param( + # The name of the effect. + [Parameter(Mandatory,ValueFromPipelineByPropertyName)] + [string] + $EffectName) + + process { + $obsEffect = Get-OBSEffect -EffectName $EffectName + + if (-not $obsEffect) { return } + + $obsEffect | Add-Member -MemberType NoteProperty Mode 'Stopped' -Force + } +} \ No newline at end of file From 295f24512b85532945f29738420a361dd946c7de Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Thu, 20 Mar 2025 17:19:41 -0700 Subject: [PATCH 3914/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- obs-powershell.ps.psm1 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/obs-powershell.ps.psm1 b/obs-powershell.ps.psm1 index e1b8734ea..3c18952c8 100644 --- a/obs-powershell.ps.psm1 +++ b/obs-powershell.ps.psm1 @@ -1,5 +1,13 @@ -$CommandsPath = (Join-Path $PSScriptRoot "Commands") -[Include('*-*.ps1')]$CommandsPath +param() + +if ((-not (Test-Path '.git')) -or $args -match 'production') { + . $PSScriptRoot/allcommands.ps1 +} else { + $CommandsPath = (Join-Path $PSScriptRoot "Commands") + [Include('*-*.ps1')]$CommandsPath +} + + $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { Get-OBSEffect | Stop-OBSEffect @@ -18,6 +26,7 @@ if ($home) { New-PSDrive -Name "my-$($MyModule.Name)" -Root (Join-Path $home ".$($myModule.Name)") -Description "My $MyModule" @NewDriveSplat } +#region obs-powershell startup foreach ($noun in 'Streaming','Recording') { foreach ($verb in 'Start', 'Stop') { Set-Alias "$verb-$noun" "$verb-OBS$($noun -replace 'ing')" @@ -38,4 +47,6 @@ if (Test-Path $ModuleProfilePath) { . $ModuleProfilePath } +#endregion obs-powershell startup + Export-ModuleMember -Function * -Variable $script:variablesToExport -Alias * \ No newline at end of file From 030c430c66d20218cf92c8743ef68f4e310dcb9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:07 +0000 Subject: [PATCH 3915/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- obs-powershell.psm1 | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/obs-powershell.psm1 b/obs-powershell.psm1 index 6ff18be11..237dfc667 100644 --- a/obs-powershell.psm1 +++ b/obs-powershell.psm1 @@ -1,15 +1,23 @@ -$CommandsPath = (Join-Path $PSScriptRoot "Commands") -:ToIncludeFiles foreach ($file in (Get-ChildItem -Path "$CommandsPath" -Filter "*-*.ps1" -Recurse)) { - if ($file.Extension -ne '.ps1') { continue } # Skip if the extension is not .ps1 - foreach ($exclusion in '\.[^\.]+\.ps1$') { - if (-not $exclusion) { continue } - if ($file.Name -match $exclusion) { - continue ToIncludeFiles # Skip excluded files - } - } - . $file.FullName +param() + +if ((-not (Test-Path '.git')) -or $args -match 'production') { + . $PSScriptRoot/allcommands.ps1 +} else { + $CommandsPath = (Join-Path $PSScriptRoot "Commands") + :ToIncludeFiles foreach ($file in (Get-ChildItem -Path "$CommandsPath" -Filter "*-*.ps1" -Recurse)) { + if ($file.Extension -ne '.ps1') { continue } # Skip if the extension is not .ps1 + foreach ($exclusion in '\.[^\.]+\.ps1$') { + if (-not $exclusion) { continue } + if ($file.Name -match $exclusion) { + continue ToIncludeFiles # Skip excluded files + } + } + . $file.FullName + } } + + $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = { Get-OBSEffect | Stop-OBSEffect if (${obs-powershell}.Beat.Timer) { @@ -27,6 +35,7 @@ if ($home) { New-PSDrive -Name "my-$($MyModule.Name)" -Root (Join-Path $home ".$($myModule.Name)") -Description "My $MyModule" @NewDriveSplat } +#region obs-powershell startup foreach ($noun in 'Streaming','Recording') { foreach ($verb in 'Start', 'Stop') { Set-Alias "$verb-$noun" "$verb-OBS$($noun -replace 'ing')" @@ -47,4 +56,6 @@ if (Test-Path $ModuleProfilePath) { . $ModuleProfilePath } +#endregion obs-powershell startup + Export-ModuleMember -Function * -Variable $script:variablesToExport -Alias * From d9e63a153c2f4fcf04f398515de5e61e6651c287 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:21 +0000 Subject: [PATCH 3916/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBS3dSwapTransitionShader.md | 47 ++++++++++++--------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBS3dSwapTransitionShader.md b/docs/Get-OBS3dSwapTransitionShader.md index b06a53c24..7e003b128 100644 --- a/docs/Get-OBS3dSwapTransitionShader.md +++ b/docs/Get-OBS3dSwapTransitionShader.md @@ -2,7 +2,6 @@ Get-OBS3dSwapTransitionShader ----------------------------- ### Synopsis - Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Trans |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |background_color| +|`[String]`|false |named |False |background_color| #### **ConvertLinear** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **Depth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Perspective** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Reflection** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBS3dSwapTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 251f4cf9564f3e5d02c4a9e382022eec33528026 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:21 +0000 Subject: [PATCH 3917/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBS3dSwapTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBS3dSwapTransitionShader.json b/docs/_data/Help/Get-OBS3dSwapTransitionShader.json index e7595fbe4..9304b6700 100644 --- a/docs/_data/Help/Get-OBS3dSwapTransitionShader.json +++ b/docs/_data/Help/Get-OBS3dSwapTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 331192ce4b0e99120452ef51385e5db2be385022 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:21 +0000 Subject: [PATCH 3918/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAddShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSAddShader.md b/docs/Get-OBSAddShader.md index a2db12cab..3273079cd 100644 --- a/docs/Get-OBSAddShader.md +++ b/docs/Get-OBSAddShader.md @@ -2,7 +2,6 @@ Get-OBSAddShader ---------------- ### Synopsis - Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OtherImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |other_image| +|`[String]`|false |named |False |other_image| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAddShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From da0ab2353977199bf5540a8ce4ab70a774f73778 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:21 +0000 Subject: [PATCH 3919/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAddShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAddShader.json b/docs/_data/Help/Get-OBSAddShader.json index 705b8a877..65dcd33b8 100644 --- a/docs/_data/Help/Get-OBSAddShader.json +++ b/docs/_data/Help/Get-OBSAddShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 765349e546e2d6b4035cae8653057b32cedc09f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:22 +0000 Subject: [PATCH 3920/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAlphaBorderShader.md | 37 +++++++++++++------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSAlphaBorderShader.md b/docs/Get-OBSAlphaBorderShader.md index 5184bf5c5..7670315ad 100644 --- a/docs/Get-OBSAlphaBorderShader.md +++ b/docs/Get-OBSAlphaBorderShader.md @@ -2,7 +2,6 @@ Get-OBSAlphaBorderShader ------------------------ ### Synopsis - Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |2 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |0 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAlphaBorderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2a19fe06c6857a55633d8947dfd469749e73c8c1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:22 +0000 Subject: [PATCH 3921/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAlphaBorderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAlphaBorderShader.json b/docs/_data/Help/Get-OBSAlphaBorderShader.json index a1a1e027f..4b5d0cbfc 100644 --- a/docs/_data/Help/Get-OBSAlphaBorderShader.json +++ b/docs/_data/Help/Get-OBSAlphaBorderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8e50c78b66ac1753bcc72bae3b4b85da343594fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:22 +0000 Subject: [PATCH 3922/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAlphaGamingBentCameraShader.md | 51 ++++++++++------------ 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Get-OBSAlphaGamingBentCameraShader.md b/docs/Get-OBSAlphaGamingBentCameraShader.md index 82845c34b..761886161 100644 --- a/docs/Get-OBSAlphaGamingBentCameraShader.md +++ b/docs/Get-OBSAlphaGamingBentCameraShader.md @@ -2,7 +2,6 @@ Get-OBSAlphaGamingBentCameraShader ---------------------------------- ### Synopsis - Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,105 +13,105 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LeftFlipShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |left_flip_shadow| +|`[Float]`|false |named |False |left_flip_shadow| #### **LeftFlipWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |3 |false |left_flip_width| +|`[Float]`|false |named |False |left_flip_width| #### **LeftSideShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |2 |false |left_side_shadow| +|`[Float]`|false |named |False |left_side_shadow| #### **LeftSideSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |left_side_size| +|`[Float]`|false |named |False |left_side_size| #### **LeftSideWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |left_side_width| +|`[Float]`|false |named |False |left_side_width| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RightFlipShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |right_flip_shadow| +|`[Float]`|false |named |False |right_flip_shadow| #### **RightFlipWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |8 |false |right_flip_width| +|`[Float]`|false |named |False |right_flip_width| #### **RightSideShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |7 |false |right_side_shadow| +|`[Float]`|false |named |False |right_side_shadow| #### **RightSideSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |6 |false |right_side_size| +|`[Float]`|false |named |False |right_side_size| #### **RightSideWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |5 |false |right_side_width| +|`[Float]`|false |named |False |right_side_width| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAlphaGamingBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ed46b6fdf0d3c0ed71a347a9867c3b7cad053d5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:22 +0000 Subject: [PATCH 3923/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json b/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json index d0540bf7b..e40b97e64 100644 --- a/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json +++ b/docs/_data/Help/Get-OBSAlphaGamingBentCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d6d93b05b7b59ad26b1d068688a7694082f65447 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:22 +0000 Subject: [PATCH 3924/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAnimatedPathShader.md | 67 ++++++++++++++----------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Get-OBSAnimatedPathShader.md b/docs/Get-OBSAnimatedPathShader.md index 43304efaf..c2855cb1c 100644 --- a/docs/Get-OBSAnimatedPathShader.md +++ b/docs/Get-OBSAnimatedPathShader.md @@ -2,7 +2,6 @@ Get-OBSAnimatedPathShader ------------------------- ### Synopsis - Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PathMap** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |8 |false |path_map| +|`[String]`|false |named |False |path_map| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |7 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAnimatedPathShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [-Reverse ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From fbb6fe3643b70e173d025e33b27e7a6b02ada1fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:22 +0000 Subject: [PATCH 3925/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAnimatedPathShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAnimatedPathShader.json b/docs/_data/Help/Get-OBSAnimatedPathShader.json index e880f077f..c3060fe1d 100644 --- a/docs/_data/Help/Get-OBSAnimatedPathShader.json +++ b/docs/_data/Help/Get-OBSAnimatedPathShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 519ab5dcaf0aab818ea5e639b2bfc29d82954ef4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:23 +0000 Subject: [PATCH 3926/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAnimatedTextureShader.md | 97 +++++++++++++--------------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/docs/Get-OBSAnimatedTextureShader.md b/docs/Get-OBSAnimatedTextureShader.md index 2dc81b3d2..3eba62697 100644 --- a/docs/Get-OBSAnimatedTextureShader.md +++ b/docs/Get-OBSAnimatedTextureShader.md @@ -2,7 +2,6 @@ Get-OBSAnimatedTextureShader ---------------------------- ### Synopsis - Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,181 +15,181 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **AnimationImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |9 |false |Animation_Image| +|`[String]`|false |named |False |Animation_Image| #### **Bounce** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterAnimation** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |center_animation| +|`[Switch]`|false |named |False |center_animation| #### **ColorizationImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[string]`|false |10 |false |Colorization_Image| +|`[String]`|false |named |False |Colorization_Image| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |19 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PolarAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |11 |false |polar_angle| +|`[Float]`|false |named |False |polar_angle| #### **PolarAnimation** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |polar_animation| +|`[Switch]`|false |named |False |polar_animation| #### **PolarHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |12 |false |polar_height| +|`[Float]`|false |named |False |polar_height| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |20 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedHorizontalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------------| -|`[float]`|false |13 |false |speed_horizontal_percent| +|`[Float]`|false |named |False |speed_horizontal_percent| #### **SpeedVerticalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |14 |false |speed_vertical_percent| +|`[Float]`|false |named |False |speed_vertical_percent| #### **TintSpeedHorizontalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |15 |false |tint_speed_horizontal_percent| +|`[Float]`|false |named |False |tint_speed_horizontal_percent| #### **TintSpeedVerticalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |16 |false |tint_speed_vertical_percent| +|`[Float]`|false |named |False |tint_speed_vertical_percent| #### **UseAnimationImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------------| -|`[switch]`|false |Named |false |Use_Animation_Image_Color| +|`[Switch]`|false |named |False |Use_Animation_Image_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -206,11 +205,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAnimatedTextureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [-Reverse ] [-Bounce ] [-CenterAnimation ] [-PolarAnimation ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [-UseAnimationImageColor ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f301273bcba86665bb7f40f7eaefe9e9f30cdf8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:23 +0000 Subject: [PATCH 3927/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAnimatedTextureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAnimatedTextureShader.json b/docs/_data/Help/Get-OBSAnimatedTextureShader.json index b0e5f975f..31ace01a0 100644 --- a/docs/_data/Help/Get-OBSAnimatedTextureShader.json +++ b/docs/_data/Help/Get-OBSAnimatedTextureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9af565029c3964cc4319e60d2a320ec550f99f75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:23 +0000 Subject: [PATCH 3928/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAsciiShader.md | 41 ++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSAsciiShader.md b/docs/Get-OBSAsciiShader.md index c6fa59029..fb5b5cfa9 100644 --- a/docs/Get-OBSAsciiShader.md +++ b/docs/Get-OBSAsciiShader.md @@ -2,7 +2,6 @@ Get-OBSAsciiShader ------------------ ### Synopsis - Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-BaseColor] ] [-Monochrome ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e5ec501afb0f666c7b080e529a00e3d2a1bd108f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:23 +0000 Subject: [PATCH 3929/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAsciiShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAsciiShader.json b/docs/_data/Help/Get-OBSAsciiShader.json index 4d6d14224..f55fcc6aa 100644 --- a/docs/_data/Help/Get-OBSAsciiShader.json +++ b/docs/_data/Help/Get-OBSAsciiShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c7a826e88fd1be5c8b468f6900042e2c46d7f425 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:23 +0000 Subject: [PATCH 3930/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSAspectRatioShader.md | 71 ++++++++++++++------------------ 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/docs/Get-OBSAspectRatioShader.md b/docs/Get-OBSAspectRatioShader.md index 6b11f78ca..06e75861e 100644 --- a/docs/Get-OBSAspectRatioShader.md +++ b/docs/Get-OBSAspectRatioShader.md @@ -2,7 +2,6 @@ Get-OBSAspectRatioShader ------------------------ ### Synopsis - Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAspectRatioShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bc9fc1bea7cd5921db4331b16370bc6f82ddb3d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:23 +0000 Subject: [PATCH 3931/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSAspectRatioShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSAspectRatioShader.json b/docs/_data/Help/Get-OBSAspectRatioShader.json index fd3cf291f..2affb92f9 100644 --- a/docs/_data/Help/Get-OBSAspectRatioShader.json +++ b/docs/_data/Help/Get-OBSAspectRatioShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 17a5a511fdb89e8cf33b9d7503da7766b6084e43 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3932/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBackgroundRemovalShader.md | 81 ++++++++++++-------------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/docs/Get-OBSBackgroundRemovalShader.md b/docs/Get-OBSBackgroundRemovalShader.md index c793634cc..a49d8ebfe 100644 --- a/docs/Get-OBSBackgroundRemovalShader.md +++ b/docs/Get-OBSBackgroundRemovalShader.md @@ -2,7 +2,6 @@ Get-OBSBackgroundRemovalShader ------------------------------ ### Synopsis - Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,133 +15,133 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **Convert601to709** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Convert_601to709| +|`[Switch]`|false |named |False |Convert_601to709| #### **Convert709to601** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Convert_709to601| +|`[Switch]`|false |named |False |Convert_709to601| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Invert** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Target** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -158,11 +157,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBackgroundRemovalShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [-Invert ] [-Convert709to601 ] [-Convert601to709 ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f891b3488182ee2a72ea5c3f4022cf43e9370910 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3933/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBackgroundRemovalShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBackgroundRemovalShader.json b/docs/_data/Help/Get-OBSBackgroundRemovalShader.json index 205be77d5..2d460871b 100644 --- a/docs/_data/Help/Get-OBSBackgroundRemovalShader.json +++ b/docs/_data/Help/Get-OBSBackgroundRemovalShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 118ef93ee7dc9078bdc35b3277d489bd58d9cb40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3934/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBlendOpacityShader.md | 59 ++++++++++++++----------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Get-OBSBlendOpacityShader.md b/docs/Get-OBSBlendOpacityShader.md index e33409d5c..57f3bbaba 100644 --- a/docs/Get-OBSBlendOpacityShader.md +++ b/docs/Get-OBSBlendOpacityShader.md @@ -2,7 +2,6 @@ Get-OBSBlendOpacityShader ------------------------- ### Synopsis - Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [-Rotational ] [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6d5ec9fbc525103a1620362afbbbae9a8a93befe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3935/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBlendOpacityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBlendOpacityShader.json b/docs/_data/Help/Get-OBSBlendOpacityShader.json index 7bbf047ed..a6d378c06 100644 --- a/docs/_data/Help/Get-OBSBlendOpacityShader.json +++ b/docs/_data/Help/Get-OBSBlendOpacityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 272cee861bc1390b92d52e87c5df65e1187483a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3936/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBlinkShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSBlinkShader.md b/docs/Get-OBSBlinkShader.md index 5389fb6c4..4c2ef4b14 100644 --- a/docs/Get-OBSBlinkShader.md +++ b/docs/Get-OBSBlinkShader.md @@ -2,7 +2,6 @@ Get-OBSBlinkShader ------------------ ### Synopsis - Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 0c581f51c193fe97eae12db9f917eea08f14d4db Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3937/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBlinkShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBlinkShader.json b/docs/_data/Help/Get-OBSBlinkShader.json index 2973e5079..376fc91b5 100644 --- a/docs/_data/Help/Get-OBSBlinkShader.json +++ b/docs/_data/Help/Get-OBSBlinkShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4dc60b4a981fb5c7f6507cb9bdf11491e2524905 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3938/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBloomShader.md | 39 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSBloomShader.md b/docs/Get-OBSBloomShader.md index e4fc8bba8..9508b71d4 100644 --- a/docs/Get-OBSBloomShader.md +++ b/docs/Get-OBSBloomShader.md @@ -2,7 +2,6 @@ Get-OBSBloomShader ------------------ ### Synopsis - Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 48ea826582e31b7d7306e1413cc9837c9012b341 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:24 +0000 Subject: [PATCH 3939/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBloomShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBloomShader.json b/docs/_data/Help/Get-OBSBloomShader.json index b705909c3..b0ed430cd 100644 --- a/docs/_data/Help/Get-OBSBloomShader.json +++ b/docs/_data/Help/Get-OBSBloomShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 68b4fb63b18ba4e066a0b880df04ffff00aa1de8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3940/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBorderShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSBorderShader.md b/docs/Get-OBSBorderShader.md index 88a592d7b..1a0c697e1 100644 --- a/docs/Get-OBSBorderShader.md +++ b/docs/Get-OBSBorderShader.md @@ -2,7 +2,6 @@ Get-OBSBorderShader ------------------- ### Synopsis - Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,49 +15,49 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBorderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 467d38b5d5f36e57be7b02becde7284e8ad737bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3941/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBorderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBorderShader.json b/docs/_data/Help/Get-OBSBorderShader.json index 868dca86d..e916649e4 100644 --- a/docs/_data/Help/Get-OBSBorderShader.json +++ b/docs/_data/Help/Get-OBSBorderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7240cc3bc38f8f7c758f29e170a94d3cddf1155a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3942/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBoxBlurShader.md | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSBoxBlurShader.md b/docs/Get-OBSBoxBlurShader.md index fb293b9a4..1de90563b 100644 --- a/docs/Get-OBSBoxBlurShader.md +++ b/docs/Get-OBSBoxBlurShader.md @@ -2,7 +2,6 @@ Get-OBSBoxBlurShader -------------------- ### Synopsis - Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5cd62e60501fe1fcede9fb9bb2fb6c72c67b4689 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3943/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBoxBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBoxBlurShader.json b/docs/_data/Help/Get-OBSBoxBlurShader.json index e4f7d736f..b7c6450ad 100644 --- a/docs/_data/Help/Get-OBSBoxBlurShader.json +++ b/docs/_data/Help/Get-OBSBoxBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8da47561ca6e5d64a0e55c49a88a07c0b99d06c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3944/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBulgePinchShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSBulgePinchShader.md b/docs/Get-OBSBulgePinchShader.md index a946bf65a..a0c99f99e 100644 --- a/docs/Get-OBSBulgePinchShader.md +++ b/docs/Get-OBSBulgePinchShader.md @@ -2,7 +2,6 @@ Get-OBSBulgePinchShader ----------------------- ### Synopsis - Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Magnitude** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBulgePinchShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [-Animate ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 24d2849ec71dc5a28c519433753e93459cfe22f8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3945/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBulgePinchShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBulgePinchShader.json b/docs/_data/Help/Get-OBSBulgePinchShader.json index 7ee877a41..be8927cc5 100644 --- a/docs/_data/Help/Get-OBSBulgePinchShader.json +++ b/docs/_data/Help/Get-OBSBulgePinchShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4d7a582fa06809b21b2c635b6b2fdb523ef3cff1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:25 +0000 Subject: [PATCH 3946/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSBurnShader.md | 53 +++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Get-OBSBurnShader.md b/docs/Get-OBSBurnShader.md index dc9a2b771..db2f92fb7 100644 --- a/docs/Get-OBSBurnShader.md +++ b/docs/Get-OBSBurnShader.md @@ -2,7 +2,6 @@ Get-OBSBurnShader ----------------- ### Synopsis - Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ApplySmoke** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |Apply_Smoke| +|`[Switch]`|false |named |False |Apply_Smoke| #### **ApplyToChannel** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Apply_to_Channel| +|`[Switch]`|false |named |False |Apply_to_Channel| #### **BurnGradient** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |0 |false |Burn_Gradient| +|`[String]`|false |named |False |Burn_Gradient| #### **DissolveValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |3 |false |Dissolve_Value| +|`[Float]`|false |named |False |Dissolve_Value| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |Gradient_Adjust| +|`[Float]`|false |named |False |Gradient_Adjust| #### **Iterations** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SmokeHorizonalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |4 |false |Smoke_Horizonal_Speed| +|`[Float]`|false |named |False |Smoke_Horizonal_Speed| #### **SmokeVerticalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |5 |false |Smoke_Vertical_Speed| +|`[Float]`|false |named |False |Smoke_Vertical_Speed| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBurnShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [-Animated ] [-ApplyToChannel ] [-ApplySmoke ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 450b0913473379885cb14ff457ea75e2735ec309 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:26 +0000 Subject: [PATCH 3947/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSBurnShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSBurnShader.json b/docs/_data/Help/Get-OBSBurnShader.json index 0e5ad04b6..5ba3887fa 100644 --- a/docs/_data/Help/Get-OBSBurnShader.json +++ b/docs/_data/Help/Get-OBSBurnShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4132d95a8de6748c3e584f36a51659b2048d662a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:26 +0000 Subject: [PATCH 3948/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCartoonShader.md | 75 ++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/docs/Get-OBSCartoonShader.md b/docs/Get-OBSCartoonShader.md index 0235e1b80..14b56e4cb 100644 --- a/docs/Get-OBSCartoonShader.md +++ b/docs/Get-OBSCartoonShader.md @@ -2,7 +2,6 @@ Get-OBSCartoonShader -------------------- ### Synopsis - Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,115 +15,115 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HueSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |9 |false |hue_steps| +|`[Int]`|false |named |False |hue_steps| #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ValueSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |10 |false |value_steps| +|`[Int]`|false |named |False |value_steps| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -140,11 +139,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCartoonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 70a8d759711736eb260d720eb116c054feaec509 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:26 +0000 Subject: [PATCH 3949/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCartoonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCartoonShader.json b/docs/_data/Help/Get-OBSCartoonShader.json index 38965ebad..88074a631 100644 --- a/docs/_data/Help/Get-OBSCartoonShader.json +++ b/docs/_data/Help/Get-OBSCartoonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6abaf9b51016b34f1ea6a9eabaa0f11060584bff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:26 +0000 Subject: [PATCH 3950/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCellShadedShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSCellShadedShader.md b/docs/Get-OBSCellShadedShader.md index 7b68ec729..004a4eeca 100644 --- a/docs/Get-OBSCellShadedShader.md +++ b/docs/Get-OBSCellShadedShader.md @@ -2,7 +2,6 @@ Get-OBSCellShadedShader ----------------------- ### Synopsis - Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **AngleSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |0 |false |Angle_Steps| +|`[Int]`|false |named |False |Angle_Steps| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RadiusSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Radius_Steps| +|`[Int]`|false |named |False |Radius_Steps| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCellShadedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c4642f1cc4cfe355ed50c9ebc63cb821b1876c77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:26 +0000 Subject: [PATCH 3951/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCellShadedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCellShadedShader.json b/docs/_data/Help/Get-OBSCellShadedShader.json index 3d50c192f..f58cef3f2 100644 --- a/docs/_data/Help/Get-OBSCellShadedShader.json +++ b/docs/_data/Help/Get-OBSCellShadedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8ad91c1e6a8d93b498beb439b51d2f0eb0cc3775 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:26 +0000 Subject: [PATCH 3952/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSChromaticAberrationShader.md | 47 ++++++++++-------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBSChromaticAberrationShader.md b/docs/Get-OBSChromaticAberrationShader.md index d2e270d01..16ec8a6c1 100644 --- a/docs/Get-OBSChromaticAberrationShader.md +++ b/docs/Get-OBSChromaticAberrationShader.md @@ -2,7 +2,6 @@ Get-OBSChromaticAberrationShader -------------------------------- ### Synopsis - Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |distort_barrel| +|`[Switch]`|false |named |False |distort_barrel| #### **DistortRadial** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |distort_radial| +|`[Switch]`|false |named |False |distort_radial| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gamma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumIter** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------| -|`[int]`|false |2 |false |num_iter| +|`[Int]`|false |named |False |num_iter| #### **OffsetSpectrumYcgco** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------------| -|`[switch]`|false |Named |false |offset_spectrum_ycgco| +|`[Switch]`|false |named |False |offset_spectrum_ycgco| #### **OffsetSpectrumYuv** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |offset_spectrum_yuv| +|`[Switch]`|false |named |False |offset_spectrum_yuv| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseRandom** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |use_random| +|`[Switch]`|false |named |False |use_random| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSChromaticAberrationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [-DistortRadial ] [-DistortBarrel ] [-OffsetSpectrumYcgco ] [-OffsetSpectrumYuv ] [-UseRandom ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d47c2afa29159de886a43508da8c08d9ec54d146 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3953/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSChromaticAberrationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSChromaticAberrationShader.json b/docs/_data/Help/Get-OBSChromaticAberrationShader.json index daa15776e..6cc5a22fa 100644 --- a/docs/_data/Help/Get-OBSChromaticAberrationShader.json +++ b/docs/_data/Help/Get-OBSChromaticAberrationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 14a1583eba465526307d262ded22ebb26b13c114 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3954/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSChromaUVDistortionShader.md | 37 ++++++++++--------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSChromaUVDistortionShader.md b/docs/Get-OBSChromaUVDistortionShader.md index 00901d12d..036fe326d 100644 --- a/docs/Get-OBSChromaUVDistortionShader.md +++ b/docs/Get-OBSChromaUVDistortionShader.md @@ -2,7 +2,6 @@ Get-OBSChromaUVDistortionShader ------------------------------- ### Synopsis - Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Chroma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Distortion** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSChromaUVDistortionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 090b51b3196a5c994e41991a601ea371c6458341 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3955/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSChromaUVDistortionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSChromaUVDistortionShader.json b/docs/_data/Help/Get-OBSChromaUVDistortionShader.json index 66e162085..b44fc1c65 100644 --- a/docs/_data/Help/Get-OBSChromaUVDistortionShader.json +++ b/docs/_data/Help/Get-OBSChromaUVDistortionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1601a7219c5e7cd44055b2e0da10247161a08593 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3956/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCircleMaskFilterShader.md | 43 +++++++++++---------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSCircleMaskFilterShader.md b/docs/Get-OBSCircleMaskFilterShader.md index 7d6a01076..510c1b8cc 100644 --- a/docs/Get-OBSCircleMaskFilterShader.md +++ b/docs/Get-OBSCircleMaskFilterShader.md @@ -2,7 +2,6 @@ Get-OBSCircleMaskFilterShader ----------------------------- ### Synopsis - Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CircleOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |1 |false |Circle_Offset_X| +|`[Int]`|false |named |False |Circle_Offset_X| #### **CircleOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |2 |false |Circle_Offset_Y| +|`[Int]`|false |named |False |Circle_Offset_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SourceOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |3 |false |Source_Offset_X| +|`[Int]`|false |named |False |Source_Offset_X| #### **SourceOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |4 |false |Source_Offset_Y| +|`[Int]`|false |named |False |Source_Offset_Y| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCircleMaskFilterShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [-Antialiasing ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a568675a60fa54fec508d0823a5b4b67089b64f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3957/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCircleMaskFilterShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCircleMaskFilterShader.json b/docs/_data/Help/Get-OBSCircleMaskFilterShader.json index 50ea58fd9..fb16ac976 100644 --- a/docs/_data/Help/Get-OBSCircleMaskFilterShader.json +++ b/docs/_data/Help/Get-OBSCircleMaskFilterShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d111c18657e369919d55519d3653dc2bab9d68f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3958/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSClockAnalogShader.md | 77 +++++++++++++++----------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Get-OBSClockAnalogShader.md b/docs/Get-OBSClockAnalogShader.md index 5e56201df..2cf894bac 100644 --- a/docs/Get-OBSClockAnalogShader.md +++ b/docs/Get-OBSClockAnalogShader.md @@ -2,7 +2,6 @@ Get-OBSClockAnalogShader ------------------------ ### Synopsis - Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,111 +13,111 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-C ### Parameters #### **BackgroundColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|----------------| -|`[float[]]`|false |9 |false |background_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|----------------| +|`[System.Single[]]`|false |named |False |background_color| #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeMs** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |current_time_ms| +|`[Int]`|false |named |False |current_time_ms| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HourHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |4 |false |hour_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |hour_handle_color| #### **MinuteHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------------| -|`[float[]]`|false |5 |false |minute_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------------| +|`[System.Single[]]`|false |named |False |minute_handle_color| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OutlineColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------| -|`[float[]]`|false |7 |false |outline_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------| +|`[System.Single[]]`|false |named |False |outline_color| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SecondHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------------| -|`[float[]]`|false |6 |false |second_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------------| +|`[System.Single[]]`|false |named |False |second_handle_color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeOffsetHours** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |10 |false |time_offset_hours| +|`[Int]`|false |named |False |time_offset_hours| #### **TopLineColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------------| -|`[float[]]`|false |8 |false |top_line_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------------| +|`[System.Single[]]`|false |named |False |top_line_color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockAnalogShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e00251d247427b5e9b961e2e062bc53ae2bd962e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:27 +0000 Subject: [PATCH 3959/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSClockAnalogShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSClockAnalogShader.json b/docs/_data/Help/Get-OBSClockAnalogShader.json index c188ec73d..ec1db7dfd 100644 --- a/docs/_data/Help/Get-OBSClockAnalogShader.json +++ b/docs/_data/Help/Get-OBSClockAnalogShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b8da6bba0f2b428442e6c793a7ab5dcb76e8e833 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:28 +0000 Subject: [PATCH 3960/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSClockDigitalLedShader.md | 51 ++++++++++++---------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Get-OBSClockDigitalLedShader.md b/docs/Get-OBSClockDigitalLedShader.md index 739d5a131..5c31ba02b 100644 --- a/docs/Get-OBSClockDigitalLedShader.md +++ b/docs/Get-OBSClockDigitalLedShader.md @@ -2,7 +2,6 @@ Get-OBSClockDigitalLedShader ---------------------------- ### Synopsis - Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |2 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LedColor** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetHours** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |5 |false | +|`[Int]`|false |named |False | #### **OffsetSeconds** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowMatrix** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShowOff** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeMode** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [-ShowMatrix ] [-ShowOff ] [-Ampm ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 55cebc6ae7407aec6cbe14c6c454c0ef4815e462 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:28 +0000 Subject: [PATCH 3961/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSClockDigitalLedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSClockDigitalLedShader.json b/docs/_data/Help/Get-OBSClockDigitalLedShader.json index a0948321d..419b04585 100644 --- a/docs/_data/Help/Get-OBSClockDigitalLedShader.json +++ b/docs/_data/Help/Get-OBSClockDigitalLedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8585941c3311cda613e8a3fedb8af4d4f43985a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:28 +0000 Subject: [PATCH 3962/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSClockDigitalNixieShader.md | 75 ++++++++++++-------------- 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/docs/Get-OBSClockDigitalNixieShader.md b/docs/Get-OBSClockDigitalNixieShader.md index e73968e07..5af84a4da 100644 --- a/docs/Get-OBSClockDigitalNixieShader.md +++ b/docs/Get-OBSClockDigitalNixieShader.md @@ -2,7 +2,6 @@ Get-OBSClockDigitalNixieShader ------------------------------ ### Synopsis - Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,117 +13,117 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ### Parameters #### **Anodecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |10 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Anodehighlightscolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |11 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Corecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |7 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeMs** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |current_time_ms| +|`[Int]`|false |named |False |current_time_ms| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Flarecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |9 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Halocolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |8 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetHours** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |5 |false | +|`[Int]`|false |named |False | #### **OffsetSeconds** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeMode** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |4 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -140,11 +139,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockDigitalNixieShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From cf3e2d6388ab5c195915ce6f1c7c3d9cc5083479 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:28 +0000 Subject: [PATCH 3963/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSClockDigitalNixieShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSClockDigitalNixieShader.json b/docs/_data/Help/Get-OBSClockDigitalNixieShader.json index 1cb0ec481..21739b95a 100644 --- a/docs/_data/Help/Get-OBSClockDigitalNixieShader.json +++ b/docs/_data/Help/Get-OBSClockDigitalNixieShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 353f7daf184a4c892298024703391718aa10178f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:28 +0000 Subject: [PATCH 3964/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSColorDepthShader.md | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSColorDepthShader.md b/docs/Get-OBSColorDepthShader.md index 09a9a7a91..7a2c10ffb 100644 --- a/docs/Get-OBSColorDepthShader.md +++ b/docs/Get-OBSColorDepthShader.md @@ -2,7 +2,6 @@ Get-OBSColorDepthShader ----------------------- ### Synopsis - Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSColorDepthShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 23b2fe2399cf8aa2308d0a36a0083dfe291d0a18 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:28 +0000 Subject: [PATCH 3965/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSColorDepthShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSColorDepthShader.json b/docs/_data/Help/Get-OBSColorDepthShader.json index 571d37737..f27fcb23a 100644 --- a/docs/_data/Help/Get-OBSColorDepthShader.json +++ b/docs/_data/Help/Get-OBSColorDepthShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8e8d2331d96b737703ecc8ddfca5650725b40c6e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:29 +0000 Subject: [PATCH 3966/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSColorGradeFilterShader.md | 41 +++++++++++---------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSColorGradeFilterShader.md b/docs/Get-OBSColorGradeFilterShader.md index c8b096fa0..c6a05c9a1 100644 --- a/docs/Get-OBSColorGradeFilterShader.md +++ b/docs/Get-OBSColorGradeFilterShader.md @@ -2,7 +2,6 @@ Get-OBSColorGradeFilterShader ----------------------------- ### Synopsis - Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Lut** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LutAmountPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |2 |false |lut_amount_percent| +|`[Int]`|false |named |False |lut_amount_percent| #### **LutOffsetPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |4 |false |lut_offset_percent| +|`[Int]`|false |named |False |lut_offset_percent| #### **LutScalePercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |lut_scale_percent| +|`[Int]`|false |named |False |lut_scale_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSColorGradeFilterShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 0ed010d2788970fe829bd36d52abfc65216506fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:29 +0000 Subject: [PATCH 3967/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSColorGradeFilterShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSColorGradeFilterShader.json b/docs/_data/Help/Get-OBSColorGradeFilterShader.json index 12b6a9177..b06631ebe 100644 --- a/docs/_data/Help/Get-OBSColorGradeFilterShader.json +++ b/docs/_data/Help/Get-OBSColorGradeFilterShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4937a7386129de3e6afff0fd83ed9dbe5ca68729 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:29 +0000 Subject: [PATCH 3968/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCornerPinShader.md | 49 +++++++++++++++------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSCornerPinShader.md b/docs/Get-OBSCornerPinShader.md index 1a122c1ea..6fc77671d 100644 --- a/docs/Get-OBSCornerPinShader.md +++ b/docs/Get-OBSCornerPinShader.md @@ -2,7 +2,6 @@ Get-OBSCornerPinShader ---------------------- ### Synopsis - Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |Antialias_Edges| +|`[Switch]`|false |named |False |Antialias_Edges| #### **BottomLeftX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |4 |false |Bottom_Left_X| +|`[Float]`|false |named |False |Bottom_Left_X| #### **BottomLeftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Bottom_Left_Y| +|`[Float]`|false |named |False |Bottom_Left_Y| #### **BottomRightX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |6 |false |Bottom_Right_X| +|`[Float]`|false |named |False |Bottom_Right_X| #### **BottomRightY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |7 |false |Bottom_Right_Y| +|`[Float]`|false |named |False |Bottom_Right_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TopLeftX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |Top_Left_X| +|`[Float]`|false |named |False |Top_Left_X| #### **TopLeftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |Top_Left_Y| +|`[Float]`|false |named |False |Top_Left_Y| #### **TopRightX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Top_Right_X| +|`[Float]`|false |named |False |Top_Right_X| #### **TopRightY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |Top_Right_Y| +|`[Float]`|false |named |False |Top_Right_Y| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCornerPinShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCornerPinShader [-AntialiasEdges ] [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2b69e4fe97c1838e1fc3ad1dacffe805377470ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:29 +0000 Subject: [PATCH 3969/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCornerPinShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCornerPinShader.json b/docs/_data/Help/Get-OBSCornerPinShader.json index d5d734e67..b86acea1f 100644 --- a/docs/_data/Help/Get-OBSCornerPinShader.json +++ b/docs/_data/Help/Get-OBSCornerPinShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f3effed609ced1d56c7ad8fb081f1a54a465cc7b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:29 +0000 Subject: [PATCH 3970/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCrtCurvatureShader.md | 37 +++++++++++++------------------ 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSCrtCurvatureShader.md b/docs/Get-OBSCrtCurvatureShader.md index 16cd6a949..ab0280728 100644 --- a/docs/Get-OBSCrtCurvatureShader.md +++ b/docs/Get-OBSCrtCurvatureShader.md @@ -2,7 +2,6 @@ Get-OBSCrtCurvatureShader ------------------------- ### Synopsis - Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Feathering** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCrtCurvatureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1360919f64b40db2fc97ee64eae485010cda6283 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:29 +0000 Subject: [PATCH 3971/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCrtCurvatureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCrtCurvatureShader.json b/docs/_data/Help/Get-OBSCrtCurvatureShader.json index 727f5e96c..f22cd33ef 100644 --- a/docs/_data/Help/Get-OBSCrtCurvatureShader.json +++ b/docs/_data/Help/Get-OBSCrtCurvatureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dbe26d1c399b747e4bab1ba5ee3454ef18598ce8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:30 +0000 Subject: [PATCH 3972/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCurveShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSCurveShader.md b/docs/Get-OBSCurveShader.md index e164f1b6e..b2adf5321 100644 --- a/docs/Get-OBSCurveShader.md +++ b/docs/Get-OBSCurveShader.md @@ -2,7 +2,6 @@ Get-OBSCurveShader ------------------ ### Synopsis - Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 41be03b953eaa32bd7124babf83588c7d2f8e7fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:30 +0000 Subject: [PATCH 3973/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCurveShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCurveShader.json b/docs/_data/Help/Get-OBSCurveShader.json index 0a2b63e17..bdde1131c 100644 --- a/docs/_data/Help/Get-OBSCurveShader.json +++ b/docs/_data/Help/Get-OBSCurveShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0a496e3e9094a97101f93a9b00f34f4b21eaddc4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:30 +0000 Subject: [PATCH 3974/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCutRectPerCornerShader.md | 49 ++++++++++++--------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSCutRectPerCornerShader.md b/docs/Get-OBSCutRectPerCornerShader.md index c76a7c6d2..2afa0f284 100644 --- a/docs/Get-OBSCutRectPerCornerShader.md +++ b/docs/Get-OBSCutRectPerCornerShader.md @@ -2,7 +2,6 @@ Get-OBSCutRectPerCornerShader ----------------------------- ### Synopsis - Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerBl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |3 |false |corner_bl| +|`[Int]`|false |named |False |corner_bl| #### **CornerBr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |2 |false |corner_br| +|`[Int]`|false |named |False |corner_br| #### **CornerTl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |0 |false |corner_tl| +|`[Int]`|false |named |False |corner_tl| #### **CornerTr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |1 |false |corner_tr| +|`[Int]`|false |named |False |corner_tr| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCutRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From cc9d086f67003edfbda00cf8d98aba0df3219579 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:30 +0000 Subject: [PATCH 3975/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCutRectPerCornerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCutRectPerCornerShader.json b/docs/_data/Help/Get-OBSCutRectPerCornerShader.json index 38453760e..1de0ae52d 100644 --- a/docs/_data/Help/Get-OBSCutRectPerCornerShader.json +++ b/docs/_data/Help/Get-OBSCutRectPerCornerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 149805e443a70686e9b953079b81b467e9dd5c40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:30 +0000 Subject: [PATCH 3976/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSCylinderShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSCylinderShader.md b/docs/Get-OBSCylinderShader.md index 07a2cacf1..873c78048 100644 --- a/docs/Get-OBSCylinderShader.md +++ b/docs/Get-OBSCylinderShader.md @@ -2,7 +2,6 @@ Get-OBSCylinderShader --------------------- ### Synopsis - Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |background_cut| +|`[Float]`|false |named |False |background_cut| #### **CylinderFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |cylinder_factor| +|`[Float]`|false |named |False |cylinder_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCylinderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c1658edf2435e74853d851020f6ab5e670f6f106 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:30 +0000 Subject: [PATCH 3977/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSCylinderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSCylinderShader.json b/docs/_data/Help/Get-OBSCylinderShader.json index 6f6a0f013..5774b470e 100644 --- a/docs/_data/Help/Get-OBSCylinderShader.json +++ b/docs/_data/Help/Get-OBSCylinderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7656f8152b856fc4cb7fec121be60fda31be1b2f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3978/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDarkenShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSDarkenShader.md b/docs/Get-OBSDarkenShader.md index a3eab1244..0d45d9a78 100644 --- a/docs/Get-OBSDarkenShader.md +++ b/docs/Get-OBSDarkenShader.md @@ -2,7 +2,6 @@ Get-OBSDarkenShader ------------------- ### Synopsis - Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |1 |false |Fill_Percentage| +|`[Float]`|false |named |False |Fill_Percentage| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **OpacityPercentage** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |0 |false |Opacity_Percentage| +|`[Float]`|false |named |False |Opacity_Percentage| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDarkenShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e84807a5d45cbddcc51aa56d1ee705777a00b5f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3979/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDarkenShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDarkenShader.json b/docs/_data/Help/Get-OBSDarkenShader.json index 73897b41b..9f2837528 100644 --- a/docs/_data/Help/Get-OBSDarkenShader.json +++ b/docs/_data/Help/Get-OBSDarkenShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From be2403e6ef4ea08c3937bee4233c70deae90a182 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3980/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDeadPixelFixerShader.md | 35 ++++++++++++----------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSDeadPixelFixerShader.md b/docs/Get-OBSDeadPixelFixerShader.md index 52de7278a..7a0e34a40 100644 --- a/docs/Get-OBSDeadPixelFixerShader.md +++ b/docs/Get-OBSDeadPixelFixerShader.md @@ -2,7 +2,6 @@ Get-OBSDeadPixelFixerShader --------------------------- ### Synopsis - Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |0 |false |Dead_Pixel_X| +|`[Int]`|false |named |False |Dead_Pixel_X| #### **DeadPixelY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Dead_Pixel_Y| +|`[Int]`|false |named |False |Dead_Pixel_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDeadPixelFixerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9491a087d619fd1fbf5ece2e99a9a499886a7be5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3981/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDeadPixelFixerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDeadPixelFixerShader.json b/docs/_data/Help/Get-OBSDeadPixelFixerShader.json index aa2307b6c..5e80f1339 100644 --- a/docs/_data/Help/Get-OBSDeadPixelFixerShader.json +++ b/docs/_data/Help/Get-OBSDeadPixelFixerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c05ffcc7573b0dc0a78c32d43929bbbf8f7a25dc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3982/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDensitySatHueShader.md | 73 ++++++++++++++---------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Get-OBSDensitySatHueShader.md b/docs/Get-OBSDensitySatHueShader.md index 4880aadca..a30556382 100644 --- a/docs/Get-OBSDensitySatHueShader.md +++ b/docs/Get-OBSDensitySatHueShader.md @@ -2,7 +2,6 @@ Get-OBSDensitySatHueShader -------------------------- ### Synopsis - Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,169 +15,169 @@ Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-Saturati |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |13 |false |density_b| +|`[Float]`|false |named |False |density_b| #### **DensityC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |10 |false |density_c| +|`[Float]`|false |named |False |density_c| #### **DensityG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |7 |false |density_g| +|`[Float]`|false |named |False |density_g| #### **DensityM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |16 |false |density_m| +|`[Float]`|false |named |False |density_m| #### **DensityR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |1 |false |density_r| +|`[Float]`|false |named |False |density_r| #### **DensityY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |4 |false |density_y| +|`[Float]`|false |named |False |density_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |22 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlobalDensity** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |19 |false |global_density| +|`[Float]`|false |named |False |global_density| #### **GlobalSaturation** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |20 |false |global_saturation| +|`[Float]`|false |named |False |global_saturation| #### **HueShiftB** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |15 |false |hueShift_b| +|`[Float]`|false |named |False |hueShift_b| #### **HueShiftC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |12 |false |hueShift_c| +|`[Float]`|false |named |False |hueShift_c| #### **HueShiftG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |9 |false |hueShift_g| +|`[Float]`|false |named |False |hueShift_g| #### **HueShiftM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |18 |false |hueShift_m| +|`[Float]`|false |named |False |hueShift_m| #### **HueShiftR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |3 |false |hueShift_r| +|`[Float]`|false |named |False |hueShift_r| #### **HueShiftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |6 |false |hueShift_y| +|`[Float]`|false |named |False |hueShift_y| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SaturationB** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |14 |false |saturation_b| +|`[Float]`|false |named |False |saturation_b| #### **SaturationC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |11 |false |saturation_c| +|`[Float]`|false |named |False |saturation_c| #### **SaturationG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |8 |false |saturation_g| +|`[Float]`|false |named |False |saturation_g| #### **SaturationM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |17 |false |saturation_m| +|`[Float]`|false |named |False |saturation_m| #### **SaturationR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |saturation_r| +|`[Float]`|false |named |False |saturation_r| #### **SaturationY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |5 |false |saturation_y| +|`[Float]`|false |named |False |saturation_y| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |23 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -194,11 +193,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDensitySatHueShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 474064c9265efaa63134ee05eede440e761d156e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3983/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDensitySatHueShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDensitySatHueShader.json b/docs/_data/Help/Get-OBSDensitySatHueShader.json index ca5255638..91dc11503 100644 --- a/docs/_data/Help/Get-OBSDensitySatHueShader.json +++ b/docs/_data/Help/Get-OBSDensitySatHueShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7c30243aebf2d20980f8f9fc43ccf4ed3300c6d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3984/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDiffuseTransitionShader.md | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSDiffuseTransitionShader.md b/docs/Get-OBSDiffuseTransitionShader.md index 43a253369..75675e21b 100644 --- a/docs/Get-OBSDiffuseTransitionShader.md +++ b/docs/Get-OBSDiffuseTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSDiffuseTransitionShader ------------------------------ ### Synopsis - Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tran |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumSamples** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |3 |false |num_samples| +|`[Int]`|false |named |False |num_samples| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDiffuseTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b5b8e1646a5b4fd27070e598b8ee7768c582977b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:31 +0000 Subject: [PATCH 3985/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDiffuseTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDiffuseTransitionShader.json b/docs/_data/Help/Get-OBSDiffuseTransitionShader.json index af344a64e..60618b4a7 100644 --- a/docs/_data/Help/Get-OBSDiffuseTransitionShader.json +++ b/docs/_data/Help/Get-OBSDiffuseTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 76dc202d404ce6bfbb6de95721a1c082ae59685d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3986/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDigitalRainShader.md | 47 ++++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBSDigitalRainShader.md b/docs/Get-OBSDigitalRainShader.md index 2cf2d3177..7260531c5 100644 --- a/docs/Get-OBSDigitalRainShader.md +++ b/docs/Get-OBSDigitalRainShader.md @@ -2,7 +2,6 @@ Get-OBSDigitalRainShader ------------------------ ### Synopsis - Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a38e70b4d9a181957d5f4bcb7946d0dcda55f2c3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3987/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDigitalRainShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDigitalRainShader.json b/docs/_data/Help/Get-OBSDigitalRainShader.json index 9f8c5f9b2..92e7f0912 100644 --- a/docs/_data/Help/Get-OBSDigitalRainShader.json +++ b/docs/_data/Help/Get-OBSDigitalRainShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6691f609e51bc255b478fde9f7d56b4473b9fbb6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3988/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDivideRotateShader.md | 41 +++++++++++++------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSDivideRotateShader.md b/docs/Get-OBSDivideRotateShader.md index 651cec3c6..38615db21 100644 --- a/docs/Get-OBSDivideRotateShader.md +++ b/docs/Get-OBSDivideRotateShader.md @@ -2,7 +2,6 @@ Get-OBSDivideRotateShader ------------------------- ### Synopsis - Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |alpha_percentage| +|`[Int]`|false |named |False |alpha_percentage| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IChannel0** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |speed_percentage| +|`[Int]`|false |named |False |speed_percentage| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDivideRotateShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ecca858e03d333bd0d9d04bb241dbb35c4d9c7d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3989/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDivideRotateShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDivideRotateShader.json b/docs/_data/Help/Get-OBSDivideRotateShader.json index 9f95b286b..41662a5db 100644 --- a/docs/_data/Help/Get-OBSDivideRotateShader.json +++ b/docs/_data/Help/Get-OBSDivideRotateShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e00ccf379ae8bdae25624404970bd7f7b517e060 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3990/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDoodleShader.md | 73 +++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Get-OBSDoodleShader.md b/docs/Get-OBSDoodleShader.md index 8939cc510..9727fc2fe 100644 --- a/docs/Get-OBSDoodleShader.md +++ b/docs/Get-OBSDoodleShader.md @@ -2,7 +2,6 @@ Get-OBSDoodleShader ------------------- ### Synopsis - Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |8 |false |Doodle_Scale_Percent| +|`[Float]`|false |named |False |Doodle_Scale_Percent| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SnapPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |9 |false |Snap_Percent| +|`[Float]`|false |named |False |Snap_Percent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDoodleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 001278ce69f8d5d9fd724dc9e915675b86e10b58 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3991/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDoodleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDoodleShader.json b/docs/_data/Help/Get-OBSDoodleShader.json index 769adca77..41105c78e 100644 --- a/docs/_data/Help/Get-OBSDoodleShader.json +++ b/docs/_data/Help/Get-OBSDoodleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b4787bf4a1a7de369e22a446cc7df9b85b97d04e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3992/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDrawingsShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSDrawingsShader.md b/docs/Get-OBSDrawingsShader.md index 219eef585..825061a5e 100644 --- a/docs/Get-OBSDrawingsShader.md +++ b/docs/Get-OBSDrawingsShader.md @@ -2,7 +2,6 @@ Get-OBSDrawingsShader --------------------- ### Synopsis - Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1f406752e96e4c79559fbd942e693afbb4c582fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3993/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDrawingsShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDrawingsShader.json b/docs/_data/Help/Get-OBSDrawingsShader.json index 48d75446d..9f29446bf 100644 --- a/docs/_data/Help/Get-OBSDrawingsShader.json +++ b/docs/_data/Help/Get-OBSDrawingsShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3b7b3bcf740d20e6c85f7624ba8ac1f0b1f6405b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3994/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDropShadowShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSDropShadowShader.md b/docs/Get-OBSDropShadowShader.md index cd0d0bd1d..70e474ccf 100644 --- a/docs/Get-OBSDropShadowShader.md +++ b/docs/Get-OBSDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSDropShadowShader ----------------------- ### Synopsis - Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,81 +13,81 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------------| -|`[switch]`|false |Named |false |is_alpha_premultiplied| +|`[Switch]`|false |named |False |is_alpha_premultiplied| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShadowBlurSize** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |shadow_blur_size| +|`[Int]`|false |named |False |shadow_blur_size| #### **ShadowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |4 |false |shadow_color| +|`[String]`|false |named |False |shadow_color| #### **ShadowOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |shadow_offset_x| +|`[Int]`|false |named |False |shadow_offset_x| #### **ShadowOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |1 |false |shadow_offset_y| +|`[Int]`|false |named |False |shadow_offset_y| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [-IsAlphaPremultiplied ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3cbd2b13b02e3f06ac2fdf98c55254dd04206a37 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:32 +0000 Subject: [PATCH 3995/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDropShadowShader.json b/docs/_data/Help/Get-OBSDropShadowShader.json index 2cdff2899..8c563d2a7 100644 --- a/docs/_data/Help/Get-OBSDropShadowShader.json +++ b/docs/_data/Help/Get-OBSDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8ed9e06ee60de78d10527579b5f644608c8ef8fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:33 +0000 Subject: [PATCH 3996/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDrunkShader.md | 57 +++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/docs/Get-OBSDrunkShader.md b/docs/Get-OBSDrunkShader.md index 792565154..7a27a5548 100644 --- a/docs/Get-OBSDrunkShader.md +++ b/docs/Get-OBSDrunkShader.md @@ -2,7 +2,6 @@ Get-OBSDrunkShader ------------------ ### Synopsis - Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **Blur** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |0 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |6 |false |glow_color| +|`[String]`|false |named |False |glow_color| #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |glow_percent| +|`[Int]`|false |named |False |glow_percent| #### **MaxBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |4 |false |max_brightness| +|`[Int]`|false |named |False |max_brightness| #### **MinBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |min_brightness| +|`[Int]`|false |named |False |min_brightness| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |5 |false |pulse_speed_percent| +|`[Int]`|false |named |False |pulse_speed_percent| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDrunkShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [-ApplyToAlphaLayer ] [[-GlowColor] ] [-Ease ] [-Glitch ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e525f8b4644d8001555387d63e35a90c63e7dc7e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:33 +0000 Subject: [PATCH 3997/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDrunkShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDrunkShader.json b/docs/_data/Help/Get-OBSDrunkShader.json index 3188fb20b..b5d121d86 100644 --- a/docs/_data/Help/Get-OBSDrunkShader.json +++ b/docs/_data/Help/Get-OBSDrunkShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a9664b3b5a2eb2d6efdd632056b447cf899b7105 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:33 +0000 Subject: [PATCH 3998/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSDynamicMaskShader.md | 81 +++++++++++++++----------------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/docs/Get-OBSDynamicMaskShader.md b/docs/Get-OBSDynamicMaskShader.md index d3a9a0050..895c8d20a 100644 --- a/docs/Get-OBSDynamicMaskShader.md +++ b/docs/Get-OBSDynamicMaskShader.md @@ -2,7 +2,6 @@ Get-OBSDynamicMaskShader ------------------------ ### Synopsis - Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,193 +15,193 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |23 |false |alpha_alpha_input_value| +|`[Float]`|false |named |False |alpha_alpha_input_value| #### **AlphaBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |19 |false |alpha_base_value| +|`[Float]`|false |named |False |alpha_base_value| #### **AlphaBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |22 |false |alpha_blue_input_value| +|`[Float]`|false |named |False |alpha_blue_input_value| #### **AlphaGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |21 |false |alpha_green_input_value| +|`[Float]`|false |named |False |alpha_green_input_value| #### **AlphaMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |24 |false |alpha_multiplier| +|`[Float]`|false |named |False |alpha_multiplier| #### **AlphaRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |20 |false |alpha_red_input_value| +|`[Float]`|false |named |False |alpha_red_input_value| #### **BlueAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |17 |false |blue_alpha_input_value| +|`[Float]`|false |named |False |blue_alpha_input_value| #### **BlueBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |blue_base_value| +|`[Float]`|false |named |False |blue_base_value| #### **BlueBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |16 |false |blue_blue_input_value| +|`[Float]`|false |named |False |blue_blue_input_value| #### **BlueGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |15 |false |blue_green_input_value| +|`[Float]`|false |named |False |blue_green_input_value| #### **BlueMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |18 |false |blue_multiplier| +|`[Float]`|false |named |False |blue_multiplier| #### **BlueRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |14 |false |blue_red_input_value| +|`[Float]`|false |named |False |blue_red_input_value| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |26 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GreenAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |11 |false |green_alpha_input_value| +|`[Float]`|false |named |False |green_alpha_input_value| #### **GreenBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |green_base_value| +|`[Float]`|false |named |False |green_base_value| #### **GreenBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |10 |false |green_blue_input_value| +|`[Float]`|false |named |False |green_blue_input_value| #### **GreenGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |9 |false |green_green_input_value| +|`[Float]`|false |named |False |green_green_input_value| #### **GreenMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |12 |false |green_multiplier| +|`[Float]`|false |named |False |green_multiplier| #### **GreenRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |8 |false |green_red_input_value| +|`[Float]`|false |named |False |green_red_input_value| #### **InputSource** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |0 |false |input_source| +|`[String]`|false |named |False |input_source| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |5 |false |red_alpha_input_value| +|`[Float]`|false |named |False |red_alpha_input_value| #### **RedBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |red_base_value| +|`[Float]`|false |named |False |red_base_value| #### **RedBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |4 |false |red_blue_input_value| +|`[Float]`|false |named |False |red_blue_input_value| #### **RedGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |3 |false |red_green_input_value| +|`[Float]`|false |named |False |red_green_input_value| #### **RedMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |6 |false |red_multiplier| +|`[Float]`|false |named |False |red_multiplier| #### **RedRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------------| -|`[float]`|false |2 |false |red_red_input_value| +|`[Float]`|false |named |False |red_red_input_value| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |27 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |25 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -218,11 +217,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDynamicMaskShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6a2ad388f22ffba6443e238ae2a36c6725d3232a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:33 +0000 Subject: [PATCH 3999/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSDynamicMaskShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSDynamicMaskShader.json b/docs/_data/Help/Get-OBSDynamicMaskShader.json index e9ad5017c..753b04007 100644 --- a/docs/_data/Help/Get-OBSDynamicMaskShader.json +++ b/docs/_data/Help/Get-OBSDynamicMaskShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2aee9c6d4e28624a6befd668f8b9a9bb5c11444a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:33 +0000 Subject: [PATCH 4000/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSEdgeDetectionShader.md | 63 +++++++++++++----------------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/docs/Get-OBSEdgeDetectionShader.md b/docs/Get-OBSEdgeDetectionShader.md index 23ad8c596..8be8a6643 100644 --- a/docs/Get-OBSEdgeDetectionShader.md +++ b/docs/Get-OBSEdgeDetectionShader.md @@ -2,7 +2,6 @@ Get-OBSEdgeDetectionShader -------------------------- ### Synopsis - Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |alpha_channel| +|`[Switch]`|false |named |False |alpha_channel| #### **AlphaInvert** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |alpha_invert| +|`[Switch]`|false |named |False |alpha_invert| #### **AlphaLevel** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |alpha_level| +|`[Float]`|false |named |False |alpha_level| #### **EdgeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |1 |false |edge_color| +|`[String]`|false |named |False |edge_color| #### **EdgeMultiply** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |edge_multiply| +|`[Switch]`|false |named |False |edge_multiply| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertEdge** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |invert_edge| - -#### **NoResponse** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False |invert_edge| #### **NonEdgeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[string]`|false |2 |false |non_edge_color| +|`[String]`|false |named |False |non_edge_color| #### **NonEdgeMultiply** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |non_edge_multiply| +|`[Switch]`|false |named |False |non_edge_multiply| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |4 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Sensitivity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEdgeDetectionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [-InvertEdge ] [[-EdgeColor] ] [-EdgeMultiply ] [[-NonEdgeColor] ] [-NonEdgeMultiply ] [-AlphaChannel ] [[-AlphaLevel] ] [-AlphaInvert ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From feb8d15548cd7ddf26126980af9e85204d75198a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:33 +0000 Subject: [PATCH 4001/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSEdgeDetectionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSEdgeDetectionShader.json b/docs/_data/Help/Get-OBSEdgeDetectionShader.json index 9b494b357..d364ada5e 100644 --- a/docs/_data/Help/Get-OBSEdgeDetectionShader.json +++ b/docs/_data/Help/Get-OBSEdgeDetectionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 779150e068e0e463d1ddbf92922041651c50273f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4002/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSEmbersShader.md | 95 +++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Get-OBSEmbersShader.md b/docs/Get-OBSEmbersShader.md index 0a77701e9..b20dd9715 100644 --- a/docs/Get-OBSEmbersShader.md +++ b/docs/Get-OBSEmbersShader.md @@ -2,7 +2,6 @@ Get-OBSEmbersShader ------------------- ### Synopsis - Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,175 +15,175 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |20 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **AnimationSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |Animation_Speed| +|`[Float]`|false |named |False |Animation_Speed| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |22 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LayersCount** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |17 |false |Layers_Count| +|`[Int]`|false |named |False |Layers_Count| #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |18 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |19 |false | +|`[Float]`|false |named |False | #### **MovementDirectionHorizontal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |14 |false |Movement_Direction_Horizontal| +|`[Float]`|false |named |False |Movement_Direction_Horizontal| #### **MovementDirectionVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |15 |false |Movement_Direction_Vertical| +|`[Float]`|false |named |False |Movement_Direction_Vertical| #### **MovementSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------------| -|`[int]`|false |16 |false |Movement_Speed_Percent| +|`[Int]`|false |named |False |Movement_Speed_Percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |12 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |23 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -200,11 +199,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbersShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 46d4b1d275f5aadf1542597f39a2252807dc99b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4003/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSEmbersShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSEmbersShader.json b/docs/_data/Help/Get-OBSEmbersShader.json index 38e75a1fe..c25091fba 100644 --- a/docs/_data/Help/Get-OBSEmbersShader.json +++ b/docs/_data/Help/Get-OBSEmbersShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6f2fc23c2689ba98e7bd1f8ac05ceec77db923ed Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4004/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSEmbossColorShader.md | 43 +++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSEmbossColorShader.md b/docs/Get-OBSEmbossColorShader.md index 1b946a4c0..2094b0100 100644 --- a/docs/Get-OBSEmbossColorShader.md +++ b/docs/Get-OBSEmbossColorShader.md @@ -2,7 +2,6 @@ Get-OBSEmbossColorShader ------------------------ ### Synopsis - Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **AngleSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |0 |false |Angle_Steps| +|`[Int]`|false |named |False |Angle_Steps| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RadiusSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Radius_Steps| +|`[Int]`|false |named |False |Radius_Steps| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UpDownPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |3 |false |Up_Down_Percent| +|`[Int]`|false |named |False |Up_Down_Percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbossColorShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 575a83afbb12e5ee9434b52e59062db23da171f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4005/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSEmbossColorShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSEmbossColorShader.json b/docs/_data/Help/Get-OBSEmbossColorShader.json index 88e8cc70a..a9e344e0c 100644 --- a/docs/_data/Help/Get-OBSEmbossColorShader.json +++ b/docs/_data/Help/Get-OBSEmbossColorShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 070004eca4c42e684614d6637c29cc4ad6637b42 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4006/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSEmbossShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSEmbossShader.md b/docs/Get-OBSEmbossShader.md index fa23ddd55..b054d901f 100644 --- a/docs/Get-OBSEmbossShader.md +++ b/docs/Get-OBSEmbossShader.md @@ -2,7 +2,6 @@ Get-OBSEmbossShader ------------------- ### Synopsis - Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |Use_Color| +|`[Switch]`|false |named |False |Use_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbossShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbossShader [-UseColor ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b9e271c9805c9898387acd6e69c34f544e2afd9d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4007/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSEmbossShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSEmbossShader.json b/docs/_data/Help/Get-OBSEmbossShader.json index 1a159dbbb..026c5ce18 100644 --- a/docs/_data/Help/Get-OBSEmbossShader.json +++ b/docs/_data/Help/Get-OBSEmbossShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 48d5a2e6054e6411f9312b69f36df5bf757fb8b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4008/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSExeldroBentCameraShader.md | 51 +++++++++++--------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Get-OBSExeldroBentCameraShader.md b/docs/Get-OBSExeldroBentCameraShader.md index 912d4f2b9..d38ae0a1d 100644 --- a/docs/Get-OBSExeldroBentCameraShader.md +++ b/docs/Get-OBSExeldroBentCameraShader.md @@ -2,7 +2,6 @@ Get-OBSExeldroBentCameraShader ------------------------------ ### Synopsis - Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,105 +13,105 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e3f1619aa2a6d6cd5ab5585f936c8a174cd76696 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4009/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSExeldroBentCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSExeldroBentCameraShader.json b/docs/_data/Help/Get-OBSExeldroBentCameraShader.json index f7017ef5b..97ae580e0 100644 --- a/docs/_data/Help/Get-OBSExeldroBentCameraShader.json +++ b/docs/_data/Help/Get-OBSExeldroBentCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b93abee075a7abe1849a18d2e8df9451e317ae94 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4010/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFadeTransitionShader.md | 39 ++++++++++++----------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSFadeTransitionShader.md b/docs/Get-OBSFadeTransitionShader.md index f36c14929..9ac586e6c 100644 --- a/docs/Get-OBSFadeTransitionShader.md +++ b/docs/Get-OBSFadeTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSFadeTransitionShader --------------------------- ### Synopsis - Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFadeTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 87012be1aa77746d0c7bc9604fec1b8f1d5eb41a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:34 +0000 Subject: [PATCH 4011/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFadeTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFadeTransitionShader.json b/docs/_data/Help/Get-OBSFadeTransitionShader.json index d14e4ca63..bc051a0d4 100644 --- a/docs/_data/Help/Get-OBSFadeTransitionShader.json +++ b/docs/_data/Help/Get-OBSFadeTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5ae12b3409f4cb9f07b0fac315d862cd8fba8356 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4012/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFillColorGradientShader.md | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSFillColorGradientShader.md b/docs/Get-OBSFillColorGradientShader.md index 49cd80e2e..9b821e72f 100644 --- a/docs/Get-OBSFillColorGradientShader.md +++ b/docs/Get-OBSFillColorGradientShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorGradientShader ------------------------------ ### Synopsis - Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |4 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |Gradient_Offset| +|`[Float]`|false |named |False |Gradient_Offset| #### **GradientWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |Gradient_Width| +|`[Float]`|false |named |False |Gradient_Width| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7abfda3168fced13e6182af177aedd0b5a708c60 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4013/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFillColorGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFillColorGradientShader.json b/docs/_data/Help/Get-OBSFillColorGradientShader.json index 4123ff909..bf65f0cd9 100644 --- a/docs/_data/Help/Get-OBSFillColorGradientShader.json +++ b/docs/_data/Help/Get-OBSFillColorGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dfe2c224a1119aca81a37780dfc7929fdb507956 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4014/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFillColorLinearShader.md | 37 +++++++++++----------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSFillColorLinearShader.md b/docs/Get-OBSFillColorLinearShader.md index c142370b9..7f2c04005 100644 --- a/docs/Get-OBSFillColorLinearShader.md +++ b/docs/Get-OBSFillColorLinearShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorLinearShader ---------------------------- ### Synopsis - Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |2 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |1 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorLinearShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 266afd59b61fea1c9f9e9c62ac2a889bea0762c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4015/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFillColorLinearShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFillColorLinearShader.json b/docs/_data/Help/Get-OBSFillColorLinearShader.json index 6f3e71ec6..6da086b3c 100644 --- a/docs/_data/Help/Get-OBSFillColorLinearShader.json +++ b/docs/_data/Help/Get-OBSFillColorLinearShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 701c5342db2fec1e070c7781839a336f2a5d6add Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4016/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFillColorRadialDegreesShader.md | 43 +++++++++------------ 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSFillColorRadialDegreesShader.md b/docs/Get-OBSFillColorRadialDegreesShader.md index ae2234a6d..c57d04d7d 100644 --- a/docs/Get-OBSFillColorRadialDegreesShader.md +++ b/docs/Get-OBSFillColorRadialDegreesShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorRadialDegreesShader ----------------------------------- ### Synopsis - Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |5 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |0 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Start_Angle| +|`[Float]`|false |named |False |Start_Angle| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorRadialDegreesShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 98256d9318c3eb53ef60331b5009365bfef1e526 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4017/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json b/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json index 81a001404..7ad1a1b70 100644 --- a/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json +++ b/docs/_data/Help/Get-OBSFillColorRadialDegreesShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5d12ecfbb8c0859ba25de66a6c245d95d48f5037 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4018/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- .../Get-OBSFillColorRadialPercentageShader.md | 43 ++++++++----------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSFillColorRadialPercentageShader.md b/docs/Get-OBSFillColorRadialPercentageShader.md index 6cc1bd22f..8dfd505bf 100644 --- a/docs/Get-OBSFillColorRadialPercentageShader.md +++ b/docs/Get-OBSFillColorRadialPercentageShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorRadialPercentageShader -------------------------------------- ### Synopsis - Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |5 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |0 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Start_Angle| +|`[Float]`|false |named |False |Start_Angle| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorRadialPercentageShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c963071d5afe66f2f0e1ad0d8be6c3ba6d5ccb6a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4019/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json b/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json index fd3c3342c..1a86c0783 100644 --- a/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json +++ b/docs/_data/Help/Get-OBSFillColorRadialPercentageShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d4cdaadc995648642da3809dee7a478f473333d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4020/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFilterTemplateShader.md | 77 +++++++++++++---------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Get-OBSFilterTemplateShader.md b/docs/Get-OBSFilterTemplateShader.md index 4b9d258a9..2763f7e3f 100644 --- a/docs/Get-OBSFilterTemplateShader.md +++ b/docs/Get-OBSFilterTemplateShader.md @@ -2,7 +2,6 @@ Get-OBSFilterTemplateShader --------------------------- ### Synopsis - Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |12 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFilterTemplateShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 716ffc84e39bf48a4cac1e9594201fe48c654281 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:35 +0000 Subject: [PATCH 4021/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFilterTemplateShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFilterTemplateShader.json b/docs/_data/Help/Get-OBSFilterTemplateShader.json index 3a0c96520..5c2eba345 100644 --- a/docs/_data/Help/Get-OBSFilterTemplateShader.json +++ b/docs/_data/Help/Get-OBSFilterTemplateShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bcfbcb20426ffa605ef719b752a29d67c2dddbdf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4022/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFire3Shader.md | 107 +++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 57 deletions(-) diff --git a/docs/Get-OBSFire3Shader.md b/docs/Get-OBSFire3Shader.md index ba84c632d..2515dc6ac 100644 --- a/docs/Get-OBSFire3Shader.md +++ b/docs/Get-OBSFire3Shader.md @@ -2,7 +2,6 @@ Get-OBSFire3Shader ------------------ ### Synopsis - Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,211 +15,211 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |14 |false |Alpha_Percentage| +|`[Int]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |18 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |24 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FlameModifier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |21 |false |Flame_Modifier| +|`[Float]`|false |named |False |Flame_Modifier| #### **FlameSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |19 |false |Flame_Size| +|`[Float]`|false |named |False |Flame_Size| #### **FlameTongueSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |22 |false |Flame_Tongue_Size| +|`[Float]`|false |named |False |Flame_Tongue_Size| #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FullWidth** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |Full_Width| +|`[Switch]`|false |named |False |Full_Width| #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Invert** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |16 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **MovementDirectionHorizontal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |12 |false |Movement_Direction_Horizontal| +|`[Float]`|false |named |False |Movement_Direction_Horizontal| #### **MovementDirectionVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |13 |false |Movement_Direction_Vertical| +|`[Float]`|false |named |False |Movement_Direction_Vertical| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |25 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |23 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SparkGridHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |20 |false |Spark_Grid_Height| +|`[Float]`|false |named |False |Spark_Grid_Height| #### **Speed** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |15 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -236,11 +235,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFire3Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [-Invert ] [[-LumaMin] ] [[-LumaMinSmooth] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-ColorToReplace] ] [-ApplyToSpecificColor ] [-FullWidth ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f4e16d7862cc4be5fc3cb1111769e508e9749f0a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4023/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFire3Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFire3Shader.json b/docs/_data/Help/Get-OBSFire3Shader.json index c29623591..e3602effa 100644 --- a/docs/_data/Help/Get-OBSFire3Shader.json +++ b/docs/_data/Help/Get-OBSFire3Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c5f1b2e170ff0360a3fb158103018aa35c925228 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4024/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFireShader.md | 55 +++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/docs/Get-OBSFireShader.md b/docs/Get-OBSFireShader.md index 2d0c6e393..99ce788bb 100644 --- a/docs/Get-OBSFireShader.md +++ b/docs/Get-OBSFireShader.md @@ -2,7 +2,6 @@ Get-OBSFireShader ----------------- ### Synopsis - Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,115 +15,115 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [-Invert ] [[-LumaMin] ] [[-LumaMinSmooth] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6d14188ce5471ca0b569c3787a183240c458c0fb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4025/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFireShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFireShader.json b/docs/_data/Help/Get-OBSFireShader.json index a06399abd..af997ea1f 100644 --- a/docs/_data/Help/Get-OBSFireShader.json +++ b/docs/_data/Help/Get-OBSFireShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ea079cfe8851a44e1a1d75a18e054f43499e92a1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4026/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFireworks2Shader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSFireworks2Shader.md b/docs/Get-OBSFireworks2Shader.md index dcb059676..54c300c8e 100644 --- a/docs/Get-OBSFireworks2Shader.md +++ b/docs/Get-OBSFireworks2Shader.md @@ -2,7 +2,6 @@ Get-OBSFireworks2Shader ----------------------- ### Synopsis - Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFireworks2Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 70fdac7db6e5a8942ee7095594693e5fa8519f15 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4027/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFireworks2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFireworks2Shader.json b/docs/_data/Help/Get-OBSFireworks2Shader.json index 7f012b906..5f52a7e2b 100644 --- a/docs/_data/Help/Get-OBSFireworks2Shader.json +++ b/docs/_data/Help/Get-OBSFireworks2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2bb6fa55fb238d21d190433d85f624d39b047ad7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4028/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFireworksShader.md | 37 ++++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSFireworksShader.md b/docs/Get-OBSFireworksShader.md index 78ea455eb..79ddd0309 100644 --- a/docs/Get-OBSFireworksShader.md +++ b/docs/Get-OBSFireworksShader.md @@ -2,7 +2,6 @@ Get-OBSFireworksShader ---------------------- ### Synopsis - Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowFlash** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_flash| +|`[Switch]`|false |named |False |show_flash| #### **ShowStars** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_stars| +|`[Switch]`|false |named |False |show_stars| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UseTransparancy** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |use_transparancy| +|`[Switch]`|false |named |False |use_transparancy| --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFireworksShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFireworksShader [-ShowFlash ] [-ShowStars ] [-UseTransparancy ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 041ba982cb99531fc1a906e0ff0a47e98be7661d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4029/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFireworksShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFireworksShader.json b/docs/_data/Help/Get-OBSFireworksShader.json index d70cab7ad..306183c67 100644 --- a/docs/_data/Help/Get-OBSFireworksShader.json +++ b/docs/_data/Help/Get-OBSFireworksShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 54a3a56a920bfa7cd84f87c7e2f690dd9ea3afa1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4030/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFisheyeShader.md | 37 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSFisheyeShader.md b/docs/Get-OBSFisheyeShader.md index ba70a8f14..ca4f154b9 100644 --- a/docs/Get-OBSFisheyeShader.md +++ b/docs/Get-OBSFisheyeShader.md @@ -2,7 +2,6 @@ Get-OBSFisheyeShader -------------------- ### Synopsis - Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |0 |false |center_x_percent| +|`[Float]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |1 |false |center_y_percent| +|`[Float]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFisheyeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 06b28975d77784e04be0b519b31beb829c246133 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:36 +0000 Subject: [PATCH 4031/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFisheyeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFisheyeShader.json b/docs/_data/Help/Get-OBSFisheyeShader.json index 88ef68395..bdcb9d2f4 100644 --- a/docs/_data/Help/Get-OBSFisheyeShader.json +++ b/docs/_data/Help/Get-OBSFisheyeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1d9d991ee3edb8bb805db8d528ba582fbce7499d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4032/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFisheyeXyShader.md | 39 ++++++++++++++-------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSFisheyeXyShader.md b/docs/Get-OBSFisheyeXyShader.md index 9ac5e15f3..eebe2d2e3 100644 --- a/docs/Get-OBSFisheyeXyShader.md +++ b/docs/Get-OBSFisheyeXyShader.md @@ -2,7 +2,6 @@ Get-OBSFisheyeXyShader ---------------------- ### Synopsis - Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |0 |false |center_x_percent| +|`[Float]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |1 |false |center_y_percent| +|`[Float]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PowerX** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |power_x| +|`[Float]`|false |named |False |power_x| #### **PowerY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |3 |false |power_y| +|`[Float]`|false |named |False |power_y| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFisheyeXyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b9a80edb19600ca0df86eb9cc75c26dd7306d5cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4033/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFisheyeXyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFisheyeXyShader.json b/docs/_data/Help/Get-OBSFisheyeXyShader.json index 5386532d5..a4c4c84cb 100644 --- a/docs/_data/Help/Get-OBSFisheyeXyShader.json +++ b/docs/_data/Help/Get-OBSFisheyeXyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 62c338c7a3b7d8eef3013a4e087934cf0119add5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4034/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFlipShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSFlipShader.md b/docs/Get-OBSFlipShader.md index 2aa386c27..2ab91e53a 100644 --- a/docs/Get-OBSFlipShader.md +++ b/docs/Get-OBSFlipShader.md @@ -2,7 +2,6 @@ Get-OBSFlipShader ----------------- ### Synopsis - Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderTex ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFlipShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFlipShader [-Horizontal ] [-Vertical ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a8f0c1e708cff3ecd306cce3eb1b1f4c769ad543 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4035/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFlipShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFlipShader.json b/docs/_data/Help/Get-OBSFlipShader.json index 3da225f21..7f6128fd1 100644 --- a/docs/_data/Help/Get-OBSFlipShader.json +++ b/docs/_data/Help/Get-OBSFlipShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b253398d0e7b35758c7e905987ea2d600117c876 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4036/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSFrostedGlassShader.md | 47 +++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBSFrostedGlassShader.md b/docs/Get-OBSFrostedGlassShader.md index c2abc55d6..9ec703727 100644 --- a/docs/Get-OBSFrostedGlassShader.md +++ b/docs/Get-OBSFrostedGlassShader.md @@ -2,7 +2,6 @@ Get-OBSFrostedGlassShader ------------------------- ### Synopsis - Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **Amount** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |4 |false |Border_Color| +|`[String]`|false |named |False |Border_Color| #### **BorderOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |3 |false |Border_Offset| +|`[Float]`|false |named |False |Border_Offset| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |Horizontal_Border| +|`[Switch]`|false |named |False |Horizontal_Border| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Scale** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFrostedGlassShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [-Animate ] [-HorizontalBorder ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b7f7cf21545ad85631baa15ab3719da3565a612b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4037/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSFrostedGlassShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSFrostedGlassShader.json b/docs/_data/Help/Get-OBSFrostedGlassShader.json index 3076f6094..096325363 100644 --- a/docs/_data/Help/Get-OBSFrostedGlassShader.json +++ b/docs/_data/Help/Get-OBSFrostedGlassShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5035e0ba1cec012231b26fba2873f457c27e54a5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4038/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGammaCorrectionShader.md | 39 ++++++++++++---------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSGammaCorrectionShader.md b/docs/Get-OBSGammaCorrectionShader.md index b4fb52ca0..33c7bd29d 100644 --- a/docs/Get-OBSGammaCorrectionShader.md +++ b/docs/Get-OBSGammaCorrectionShader.md @@ -2,7 +2,6 @@ Get-OBSGammaCorrectionShader ---------------------------- ### Synopsis - Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4d62a106fd2212aaa4ffef53fd434f31783b6141 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4039/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGammaCorrectionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGammaCorrectionShader.json b/docs/_data/Help/Get-OBSGammaCorrectionShader.json index be6f57eb7..d4c899951 100644 --- a/docs/_data/Help/Get-OBSGammaCorrectionShader.json +++ b/docs/_data/Help/Get-OBSGammaCorrectionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 78371f085716a10c1bd0ec74cd72ed55ffb878fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4040/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGaussianBlurAdvancedShader.md | 45 ++++++++++------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSGaussianBlurAdvancedShader.md b/docs/Get-OBSGaussianBlurAdvancedShader.md index 39a67d808..cafaf8c34 100644 --- a/docs/Get-OBSGaussianBlurAdvancedShader.md +++ b/docs/Get-OBSGaussianBlurAdvancedShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurAdvancedShader --------------------------------- ### Synopsis - Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |6 |false |Mask_Bottom| +|`[Float]`|false |named |False |Mask_Bottom| #### **MaskLeft** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |3 |false |Mask_Left| +|`[Float]`|false |named |False |Mask_Left| #### **MaskRight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |4 |false |Mask_Right| +|`[Float]`|false |named |False |Mask_Right| #### **MaskTop** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |Mask_Top| +|`[Float]`|false |named |False |Mask_Top| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Quality** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Size** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurAdvancedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 028a5a4a41f28a2cca1d79e753294988790b1c3b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4041/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json b/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json index 56bccb351..19d234348 100644 --- a/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json +++ b/docs/_data/Help/Get-OBSGaussianBlurAdvancedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d52f08cf2953ad9ac35eb692b6dec87827d9e669 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:37 +0000 Subject: [PATCH 4042/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGaussianBlurShader.md | 97 ++++++++++++++----------------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/docs/Get-OBSGaussianBlurShader.md b/docs/Get-OBSGaussianBlurShader.md index 4ac697d20..fbe664236 100644 --- a/docs/Get-OBSGaussianBlurShader.md +++ b/docs/Get-OBSGaussianBlurShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurShader ------------------------- ### Synopsis - Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |7 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **ImageSize** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **ImageTexel** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |3 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Kernel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |11 |false | +|`[String]`|false |named |False | #### **KernelTexel** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |12 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |13 |false |pixel_size| +|`[Float]`|false |named |False |pixel_size| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UDiameter** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------| -|`[int]`|false |5 |false |u_diameter| +|`[Int]`|false |named |False |u_diameter| #### **URadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------| -|`[int]`|false |4 |false |u_radius| - -#### **UTexelDelta** - -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|------------| -|`[float[]]`|false |6 |false |u_texelDelta| +|`[Int]`|false |named |False |u_radius| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | + +#### **UTexelDelta** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|------------| +|`[System.Single[]]`|false |named |False |u_texelDelta| #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |8 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |10 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |9 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d37cb99b1d9891ea08a7b7d16984a91e9d91405a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4043/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGaussianBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGaussianBlurShader.json b/docs/_data/Help/Get-OBSGaussianBlurShader.json index 4a6d210db..9630c3f94 100644 --- a/docs/_data/Help/Get-OBSGaussianBlurShader.json +++ b/docs/_data/Help/Get-OBSGaussianBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9aabc016ce65df49a6fbabc1188bd8dbaa069e11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4044/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGaussianBlurSimpleShader.md | 41 ++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSGaussianBlurSimpleShader.md b/docs/Get-OBSGaussianBlurSimpleShader.md index 7cd0578d8..08cf58d9d 100644 --- a/docs/Get-OBSGaussianBlurSimpleShader.md +++ b/docs/Get-OBSGaussianBlurSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurSimpleShader ------------------------------- ### Synopsis - Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |4 |false |Mask_Bottom| +|`[Float]`|false |named |False |Mask_Bottom| #### **MaskLeft** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |1 |false |Mask_Left| +|`[Float]`|false |named |False |Mask_Left| #### **MaskRight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |2 |false |Mask_Right| +|`[Float]`|false |named |False |Mask_Right| #### **MaskTop** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Mask_Top| +|`[Float]`|false |named |False |Mask_Top| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6b9ba6c3a893d2f01d9826953c78841f407680ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4045/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json b/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json index 994a9e4b8..da9109be2 100644 --- a/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json +++ b/docs/_data/Help/Get-OBSGaussianBlurSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 57724d645d77b76c7e9fb9bbeda3a587091dd01f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4046/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGaussianExampleShader.md | 77 +++++++++++++--------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Get-OBSGaussianExampleShader.md b/docs/Get-OBSGaussianExampleShader.md index d35ba3b44..7fe2a9fc9 100644 --- a/docs/Get-OBSGaussianExampleShader.md +++ b/docs/Get-OBSGaussianExampleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianExampleShader ---------------------------- ### Synopsis - Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |9 |false |after_image| +|`[String]`|false |named |False |after_image| #### **BeforeImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |8 |false |before_image| +|`[String]`|false |named |False |before_image| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **Exp** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InitialImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |initial_image| +|`[String]`|false |named |False |initial_image| #### **MaxDistance** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |11 |false |max_distance| +|`[Float]`|false |named |False |max_distance| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TextColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |10 |false |text_color| +|`[String]`|false |named |False |text_color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianExampleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a488ada63d43f540d2a5de007c39f226a1ab3208 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4047/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGaussianExampleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGaussianExampleShader.json b/docs/_data/Help/Get-OBSGaussianExampleShader.json index e2a0de96e..58383d56d 100644 --- a/docs/_data/Help/Get-OBSGaussianExampleShader.json +++ b/docs/_data/Help/Get-OBSGaussianExampleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d174d4feef6ef71b70ee6aaae09d48e7042b6696 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4048/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGaussianSimpleShader.md | 89 +++++++++++++---------------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/docs/Get-OBSGaussianSimpleShader.md b/docs/Get-OBSGaussianSimpleShader.md index 6505d646d..a79364813 100644 --- a/docs/Get-OBSGaussianSimpleShader.md +++ b/docs/Get-OBSGaussianSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianSimpleShader --------------------------- ### Synopsis - Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | - -#### **LOD** - -|Type |Required|Position|PipelineInput| -|-------|--------|--------|-------------| -|`[int]`|false |13 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| + +#### **LOD** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[Int]`|false |named |False | #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **Samples** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |12 |false | +|`[Int]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 83ba3f6e627e3ae1dd6b60791d236907b8b208a6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4049/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGaussianSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGaussianSimpleShader.json b/docs/_data/Help/Get-OBSGaussianSimpleShader.json index b81e0bb7d..60b80d6bf 100644 --- a/docs/_data/Help/Get-OBSGaussianSimpleShader.json +++ b/docs/_data/Help/Get-OBSGaussianSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8f4e358008f67724dc09cfd6c222a8dc9863da8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4050/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGbCameraShader.md | 51 +++++++++++++++-------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Get-OBSGbCameraShader.md b/docs/Get-OBSGbCameraShader.md index cfaa24156..00d602a6b 100644 --- a/docs/Get-OBSGbCameraShader.md +++ b/docs/Get-OBSGbCameraShader.md @@ -2,7 +2,6 @@ Get-OBSGbCameraShader --------------------- ### Synopsis - Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |alternative_bayer| +|`[Switch]`|false |named |False |alternative_bayer| #### **Brightness** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Color1** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |5 |false |color_1| +|`[String]`|false |named |False |color_1| #### **Color2** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |6 |false |color_2| +|`[String]`|false |named |False |color_2| #### **Color3** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |7 |false |color_3| +|`[String]`|false |named |False |color_3| #### **Color4** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |8 |false |color_4| +|`[String]`|false |named |False |color_4| #### **Contrast** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **DitherFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |dither_factor| +|`[Float]`|false |named |False |dither_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gamma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGbCameraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [-AlternativeBayer ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 45aa975258504e91335c53fe89ba0d41d310772e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4051/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGbCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGbCameraShader.json b/docs/_data/Help/Get-OBSGbCameraShader.json index dafdd12f4..2701fc6fa 100644 --- a/docs/_data/Help/Get-OBSGbCameraShader.json +++ b/docs/_data/Help/Get-OBSGbCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0f6d38f2a2ac6b3296cd4e07738c464ec23c6b81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4052/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGlassShader.md | 51 ++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Get-OBSGlassShader.md b/docs/Get-OBSGlassShader.md index 9c7c8c425..a9e640b0a 100644 --- a/docs/Get-OBSGlassShader.md +++ b/docs/Get-OBSGlassShader.md @@ -2,7 +2,6 @@ Get-OBSGlassShader ------------------ ### Synopsis - Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |6 |false |Border_Color| +|`[String]`|false |named |False |Border_Color| #### **BorderOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Border_Offset| +|`[Float]`|false |named |False |Border_Offset| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlassColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |7 |false |Glass_Color| +|`[String]`|false |named |False |Glass_Color| #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |Horizontal_Border| +|`[Switch]`|false |named |False |Horizontal_Border| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **OffsetAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Offset_Amount| +|`[Float]`|false |named |False |Offset_Amount| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReflectionOffset** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |4 |false |Reflection_Offset| +|`[Int]`|false |named |False |Reflection_Offset| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XSize** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **YSize** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlassShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [-HorizontalBorder ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e58b6ddf51f3e9654a2db8ae3780fc079ebc7f22 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:38 +0000 Subject: [PATCH 4053/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGlassShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGlassShader.json b/docs/_data/Help/Get-OBSGlassShader.json index 3895d11fe..ccb74fed9 100644 --- a/docs/_data/Help/Get-OBSGlassShader.json +++ b/docs/_data/Help/Get-OBSGlassShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1132e3462d6d4eb44251cc4de6307d45caf987fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4054/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGlitchAnalogShader.md | 61 ++++++++++++++----------------- 1 file changed, 27 insertions(+), 34 deletions(-) diff --git a/docs/Get-OBSGlitchAnalogShader.md b/docs/Get-OBSGlitchAnalogShader.md index aa2faa36e..a2d4886f8 100644 --- a/docs/Get-OBSGlitchAnalogShader.md +++ b/docs/Get-OBSGlitchAnalogShader.md @@ -2,7 +2,6 @@ Get-OBSGlitchAnalogShader ------------------------- ### Synopsis - Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,133 +15,133 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |8 |false |alpha_percent| +|`[Int]`|false |named |False |alpha_percent| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorDriftAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |5 |false |color_drift_amount| +|`[Float]`|false |named |False |color_drift_amount| #### **ColorDriftSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |6 |false |color_drift_speed| +|`[Float]`|false |named |False |color_drift_speed| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |9 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalShake** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |horizontal_shake| +|`[Float]`|false |named |False |horizontal_shake| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |7 |false |pulse_speed_percent| +|`[Int]`|false |named |False |pulse_speed_percent| #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |rotate_colors| +|`[Switch]`|false |named |False |rotate_colors| #### **ScanLineJitterDisplacement** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |0 |false |scan_line_jitter_displacement| +|`[Float]`|false |named |False |scan_line_jitter_displacement| #### **ScanLineJitterThresholdPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------------------------| -|`[int]`|false |1 |false |scan_line_jitter_threshold_percent| +|`[Int]`|false |named |False |scan_line_jitter_threshold_percent| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VerticalJumpAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |2 |false |vertical_jump_amount| +|`[Float]`|false |named |False |vertical_jump_amount| #### **VerticalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |3 |false |vertical_speed| +|`[Float]`|false |named |False |vertical_speed| --- @@ -158,11 +157,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlitchAnalogShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [-RotateColors ] [-ApplyToAlphaLayer ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3c605314739da8cc8f8546e28c733f6a7bf10e73 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4055/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGlitchAnalogShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGlitchAnalogShader.json b/docs/_data/Help/Get-OBSGlitchAnalogShader.json index 5872cd9b9..305702c1f 100644 --- a/docs/_data/Help/Get-OBSGlitchAnalogShader.json +++ b/docs/_data/Help/Get-OBSGlitchAnalogShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 996be6dc71245861cd24aa9d43e217f3a61d90b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4056/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGlitchShader.md | 45 ++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSGlitchShader.md b/docs/Get-OBSGlitchShader.md index 239c02bb5..9bd5cfbb6 100644 --- a/docs/Get-OBSGlitchShader.md +++ b/docs/Get-OBSGlitchShader.md @@ -2,7 +2,6 @@ Get-OBSGlitchShader ------------------- ### Synopsis - Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | - -#### **SPEED** - -|Type |Required|Position|PipelineInput| -|---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| + +#### **SPEED** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlitchShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7dd6e497267bcd089c104a15a8ee5edd6442ba2c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4057/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGlitchShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGlitchShader.json b/docs/_data/Help/Get-OBSGlitchShader.json index 8a54d1bac..7cff399c7 100644 --- a/docs/_data/Help/Get-OBSGlitchShader.json +++ b/docs/_data/Help/Get-OBSGlitchShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c96eff87d8c9cec1f5bff3889d6654e26147973c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4058/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGlowShader.md | 45 +++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSGlowShader.md b/docs/Get-OBSGlowShader.md index f6d735389..46c7373c1 100644 --- a/docs/Get-OBSGlowShader.md +++ b/docs/Get-OBSGlowShader.md @@ -2,7 +2,6 @@ Get-OBSGlowShader ----------------- ### Synopsis - Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |1 |false | +|`[Int]`|false |named |False | #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |0 |false |glow_percent| +|`[Int]`|false |named |False |glow_percent| #### **MaxBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |max_brightness| +|`[Int]`|false |named |False |max_brightness| #### **MinBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |2 |false |min_brightness| +|`[Int]`|false |named |False |min_brightness| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |4 |false |pulse_speed| +|`[Int]`|false |named |False |pulse_speed| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [-Ease ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 82b2d38af074ba30b43bca103cb23261b221c12c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4059/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGlowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGlowShader.json b/docs/_data/Help/Get-OBSGlowShader.json index 17b954e3b..bf035acbe 100644 --- a/docs/_data/Help/Get-OBSGlowShader.json +++ b/docs/_data/Help/Get-OBSGlowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d4f88ee0d643f1162ad87999191edc39d460f0fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4060/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSGradientShader.md | 67 ++++++++++++++++------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Get-OBSGradientShader.md b/docs/Get-OBSGradientShader.md index 0659fe535..a4c8f01cf 100644 --- a/docs/Get-OBSGradientShader.md +++ b/docs/Get-OBSGradientShader.md @@ -2,7 +2,6 @@ Get-OBSGradientShader --------------------- ### Synopsis - Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |6 |false |alpha_percent| +|`[Int]`|false |named |False |alpha_percent| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |8 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **EndColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |4 |false |end_color| +|`[String]`|false |named |False |end_color| #### **EndStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |end_step| +|`[Float]`|false |named |False |end_step| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientCenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------------------| -|`[int]`|false |10 |false |gradient_center_height_percentage| +|`[Int]`|false |named |False |gradient_center_height_percentage| #### **GradientCenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------------------------| -|`[int]`|false |9 |false |gradient_center_width_percentage| +|`[Int]`|false |named |False |gradient_center_width_percentage| #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MiddleColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |middle_color| +|`[String]`|false |named |False |middle_color| #### **MiddleStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |middle_step| +|`[Float]`|false |named |False |middle_step| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |11 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |7 |false |pulse_speed| +|`[Int]`|false |named |False |pulse_speed| #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |rotate_colors| +|`[Switch]`|false |named |False |rotate_colors| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |start_color| +|`[String]`|false |named |False |start_color| #### **StartStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |start_step| +|`[Float]`|false |named |False |start_step| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [-Ease ] [-RotateColors ] [-ApplyToAlphaLayer ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [-Horizontal ] [-Vertical ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ca45f24f97f583678d86f33c3512d73905a1a257 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:39 +0000 Subject: [PATCH 4061/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSGradientShader.json b/docs/_data/Help/Get-OBSGradientShader.json index da25a5b56..d163fa07d 100644 --- a/docs/_data/Help/Get-OBSGradientShader.json +++ b/docs/_data/Help/Get-OBSGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 359e966b3960c980555134fc2f84bd3f41746f12 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4062/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSHalftoneShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSHalftoneShader.md b/docs/Get-OBSHalftoneShader.md index 0702de0f7..f9b030f89 100644 --- a/docs/Get-OBSHalftoneShader.md +++ b/docs/Get-OBSHalftoneShader.md @@ -2,7 +2,6 @@ Get-OBSHalftoneShader --------------------- ### Synopsis - Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Threshold** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHalftoneShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8dab38d48adab162573efd1ce4419065ad46ede8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4063/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSHalftoneShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSHalftoneShader.json b/docs/_data/Help/Get-OBSHalftoneShader.json index 5169bdc1a..b579880d4 100644 --- a/docs/_data/Help/Get-OBSHalftoneShader.json +++ b/docs/_data/Help/Get-OBSHalftoneShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cfce184e31529637bff9b5379276dc71f02a0fd1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4064/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSHeatWaveSimpleShader.md | 39 ++++++++++++----------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSHeatWaveSimpleShader.md b/docs/Get-OBSHeatWaveSimpleShader.md index 55816175b..9c3daead6 100644 --- a/docs/Get-OBSHeatWaveSimpleShader.md +++ b/docs/Get-OBSHeatWaveSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSHeatWaveSimpleShader --------------------------- ### Synopsis - Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Rate** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHeatWaveSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 02168a512584a66f84399f40274411b6bec13d0c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4065/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSHeatWaveSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json b/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json index 867dcd3de..89a4eea44 100644 --- a/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json +++ b/docs/_data/Help/Get-OBSHeatWaveSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9358372903b0bdd60733c59349ffd14511c80971 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4066/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSHexagonShader.md | 59 ++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Get-OBSHexagonShader.md b/docs/Get-OBSHexagonShader.md index 9216f8b42..b33cac6d6 100644 --- a/docs/Get-OBSHexagonShader.md +++ b/docs/Get-OBSHexagonShader.md @@ -2,7 +2,6 @@ Get-OBSHexagonShader -------------------- ### Synopsis - Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |1 |false |Alpha_Percent| +|`[Int]`|false |named |False |Alpha_Percent| #### **Blend** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **BorderWidth** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |3 |false |Border_Width| +|`[Int]`|false |named |False |Border_Width| #### **DistortX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |5 |false |Distort_X| +|`[Float]`|false |named |False |Distort_X| #### **DistortY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |6 |false |Distort_Y| +|`[Float]`|false |named |False |Distort_Y| #### **Equilateral** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HexColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |0 |false |Hex_Color| +|`[String]`|false |named |False |Hex_Color| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |7 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |8 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Quantity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |4 |false |Speed_Percent| +|`[Int]`|false |named |False |Speed_Percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ZoomAnimate** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Zoom_Animate| +|`[Switch]`|false |named |False |Zoom_Animate| --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHexagonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [-Blend ] [-Equilateral ] [-ZoomAnimate ] [[-SpeedPercent] ] [-Glitch ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6850fb6deaf05d2e2086a75e2af9713f88d17d5a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4067/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSHexagonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSHexagonShader.json b/docs/_data/Help/Get-OBSHexagonShader.json index eaacec57e..da567fd2b 100644 --- a/docs/_data/Help/Get-OBSHexagonShader.json +++ b/docs/_data/Help/Get-OBSHexagonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 367ce22a29d67ad93b8ad14a3bf1c0a820ac3661 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4068/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSHslHsvSaturationShader.md | 41 +++++++++++---------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSHslHsvSaturationShader.md b/docs/Get-OBSHslHsvSaturationShader.md index cb3fb0050..3abdab852 100644 --- a/docs/Get-OBSHslHsvSaturationShader.md +++ b/docs/Get-OBSHslHsvSaturationShader.md @@ -2,7 +2,6 @@ Get-OBSHslHsvSaturationShader ----------------------------- ### Synopsis - Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b1d00b083d9cad9df5132bb5e79b72020f8882fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4069/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSHslHsvSaturationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSHslHsvSaturationShader.json b/docs/_data/Help/Get-OBSHslHsvSaturationShader.json index 0cd6171c5..f3bdd6bea 100644 --- a/docs/_data/Help/Get-OBSHslHsvSaturationShader.json +++ b/docs/_data/Help/Get-OBSHslHsvSaturationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 29bc1fab9900439930638ebb0c0066b9331c3a29 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4070/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSHueRotatonShader.md | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSHueRotatonShader.md b/docs/Get-OBSHueRotatonShader.md index f98d9993b..24140b07f 100644 --- a/docs/Get-OBSHueRotatonShader.md +++ b/docs/Get-OBSHueRotatonShader.md @@ -2,7 +2,6 @@ Get-OBSHueRotatonShader ----------------------- ### Synopsis - Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HueOverride** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Hue_Override| +|`[Switch]`|false |named |False |Hue_Override| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHueRotatonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHueRotatonShader [[-Speed] ] [-HueOverride ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 20584d081d6136bd0624aec23f5c5d7311d0117b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:40 +0000 Subject: [PATCH 4071/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSHueRotatonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSHueRotatonShader.json b/docs/_data/Help/Get-OBSHueRotatonShader.json index bfe2409ff..7d1b0626c 100644 --- a/docs/_data/Help/Get-OBSHueRotatonShader.json +++ b/docs/_data/Help/Get-OBSHueRotatonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 483e2a9e409d0ce9c20a2b399f64fc364f434791 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:41 +0000 Subject: [PATCH 4072/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSIntensityScopeShader.md | 35 ++++++++++++----------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSIntensityScopeShader.md b/docs/Get-OBSIntensityScopeShader.md index 9a45b9e83..392da7346 100644 --- a/docs/Get-OBSIntensityScopeShader.md +++ b/docs/Get-OBSIntensityScopeShader.md @@ -2,7 +2,6 @@ Get-OBSIntensityScopeShader --------------------------- ### Synopsis - Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gain** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSIntensityScopeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f5fdd8fc349bcfb694947f38ac5dcfb40c8ed546 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:41 +0000 Subject: [PATCH 4073/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSIntensityScopeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSIntensityScopeShader.json b/docs/_data/Help/Get-OBSIntensityScopeShader.json index fea527830..c79bc6f1f 100644 --- a/docs/_data/Help/Get-OBSIntensityScopeShader.json +++ b/docs/_data/Help/Get-OBSIntensityScopeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c76016badad78b07a43bcc5dec465afc8722c87e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4074/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSInvertLumaShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSInvertLumaShader.md b/docs/Get-OBSInvertLumaShader.md index 8d70cf701..14e1b743a 100644 --- a/docs/Get-OBSInvertLumaShader.md +++ b/docs/Get-OBSInvertLumaShader.md @@ -2,7 +2,6 @@ Get-OBSInvertLumaShader ----------------------- ### Synopsis - Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GammaCorrection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Gamma_Correction| +|`[Switch]`|false |named |False |Gamma_Correction| #### **InvertColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Invert_Color| +|`[Switch]`|false |named |False |Invert_Color| #### **InvertLuma** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |Invert_Luma| +|`[Switch]`|false |named |False |Invert_Luma| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TestRamp** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |Test_Ramp| +|`[Switch]`|false |named |False |Test_Ramp| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSInvertLumaShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSInvertLumaShader [-InvertColor ] [-InvertLuma ] [-GammaCorrection ] [-TestRamp ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4d6fe6e9c9bd684d044047f9e4e72f6796ec521d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4075/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSInvertLumaShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSInvertLumaShader.json b/docs/_data/Help/Get-OBSInvertLumaShader.json index 5b6e144c7..5abd320e4 100644 --- a/docs/_data/Help/Get-OBSInvertLumaShader.json +++ b/docs/_data/Help/Get-OBSInvertLumaShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dc7797dc476b9a26586fe3485a7d75ffc2d2838b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4076/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSLuminance2Shader.md | 47 ++++++++++++++------------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBSLuminance2Shader.md b/docs/Get-OBSLuminance2Shader.md index ded8118db..1b3afb79b 100644 --- a/docs/Get-OBSLuminance2Shader.md +++ b/docs/Get-OBSLuminance2Shader.md @@ -2,7 +2,6 @@ Get-OBSLuminance2Shader ----------------------- ### Synopsis - Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [-InvertImageColor ] [-InvertAlphaChannel ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 12c969259a59f5099512c25dfedbce54f536ffbf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4077/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSLuminance2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSLuminance2Shader.json b/docs/_data/Help/Get-OBSLuminance2Shader.json index 210290dee..4555c78a8 100644 --- a/docs/_data/Help/Get-OBSLuminance2Shader.json +++ b/docs/_data/Help/Get-OBSLuminance2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d8d9b0ed72548b0ce0f7b90079a06fccc989d822 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4078/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSLuminanceAlphaShader.md | 83 +++++++++++++---------------- 1 file changed, 38 insertions(+), 45 deletions(-) diff --git a/docs/Get-OBSLuminanceAlphaShader.md b/docs/Get-OBSLuminanceAlphaShader.md index c7cd3777d..ef0f0d526 100644 --- a/docs/Get-OBSLuminanceAlphaShader.md +++ b/docs/Get-OBSLuminanceAlphaShader.md @@ -2,7 +2,6 @@ Get-OBSLuminanceAlphaShader --------------------------- ### Synopsis - Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |add_val| +|`[Float]`|false |named |False |add_val| #### **Color** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |8 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Level** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **MulVal** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |mul_val| +|`[Float]`|false |named |False |mul_val| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSLuminanceAlphaShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [-InvertAlphaChannel ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8c80733df907da4ff170747fd34fe1514b2279ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4079/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSLuminanceAlphaShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSLuminanceAlphaShader.json b/docs/_data/Help/Get-OBSLuminanceAlphaShader.json index 77530e77b..d269489b4 100644 --- a/docs/_data/Help/Get-OBSLuminanceAlphaShader.json +++ b/docs/_data/Help/Get-OBSLuminanceAlphaShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 776fd2e67dfcf9a0d4073c60fcb9c54d61564dc9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4080/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSLuminanceShader.md | 41 ++++++++++++++-------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSLuminanceShader.md b/docs/Get-OBSLuminanceShader.md index 368dd6b97..16e34f312 100644 --- a/docs/Get-OBSLuminanceShader.md +++ b/docs/Get-OBSLuminanceShader.md @@ -2,7 +2,6 @@ Get-OBSLuminanceShader ---------------------- ### Synopsis - Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertImageColor** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Level** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSLuminanceShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [-InvertImageColor ] [-InvertAlphaChannel ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From edfa4a9d541d4e5d136dca649caf61d192019e11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4081/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSLuminanceShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSLuminanceShader.json b/docs/_data/Help/Get-OBSLuminanceShader.json index d5142f1d2..1e89f6f54 100644 --- a/docs/_data/Help/Get-OBSLuminanceShader.json +++ b/docs/_data/Help/Get-OBSLuminanceShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ad217109da91b510a173b490f256582caa801920 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4082/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSMatrixShader.md | 93 +++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/docs/Get-OBSMatrixShader.md b/docs/Get-OBSMatrixShader.md index 699167349..373688964 100644 --- a/docs/Get-OBSMatrixShader.md +++ b/docs/Get-OBSMatrixShader.md @@ -2,7 +2,6 @@ Get-OBSMatrixShader ------------------- ### Synopsis - Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,157 +15,157 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |16 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |18 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InvertDirection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Invert_Direction| +|`[Switch]`|false |named |False |Invert_Direction| #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |14 |false | +|`[Float]`|false |named |False | #### **Mouse** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |12 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **Ratio** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |15 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |19 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |17 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -182,11 +181,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSMatrixShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [-InvertDirection ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3601fd20fc13c4f765c00bafec66681f6a78d743 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:42 +0000 Subject: [PATCH 4083/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSMatrixShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSMatrixShader.json b/docs/_data/Help/Get-OBSMatrixShader.json index 81fb6d551..ccd1e30d0 100644 --- a/docs/_data/Help/Get-OBSMatrixShader.json +++ b/docs/_data/Help/Get-OBSMatrixShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d69b8f3609ae36e3c7fc6765404db39e4f3e6c5c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:43 +0000 Subject: [PATCH 4084/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSMultiplyShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSMultiplyShader.md b/docs/Get-OBSMultiplyShader.md index 552434c86..76e066219 100644 --- a/docs/Get-OBSMultiplyShader.md +++ b/docs/Get-OBSMultiplyShader.md @@ -2,7 +2,6 @@ Get-OBSMultiplyShader --------------------- ### Synopsis - Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OtherImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |other_image| +|`[String]`|false |named |False |other_image| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSMultiplyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8cf1c79b751a1528b42e0b58e1a1d0a69d8b395c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:43 +0000 Subject: [PATCH 4085/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSMultiplyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSMultiplyShader.json b/docs/_data/Help/Get-OBSMultiplyShader.json index c41d7067f..1a09f039f 100644 --- a/docs/_data/Help/Get-OBSMultiplyShader.json +++ b/docs/_data/Help/Get-OBSMultiplyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5af211d0b0668eff218a56ae036ddf09595239b8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:43 +0000 Subject: [PATCH 4086/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSNightSkyShader.md | 95 ++++++++++++++++------------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Get-OBSNightSkyShader.md b/docs/Get-OBSNightSkyShader.md index 3cda16ee1..d088124c6 100644 --- a/docs/Get-OBSNightSkyShader.md +++ b/docs/Get-OBSNightSkyShader.md @@ -2,7 +2,6 @@ Get-OBSNightSkyShader --------------------- ### Synopsis - Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |3 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |2 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |1 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IncludeClouds** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Include_Clouds| +|`[Switch]`|false |named |False |Include_Clouds| #### **IncludeMoon** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Include_Moon| +|`[Switch]`|false |named |False |Include_Moon| #### **LIGHTSKY** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |7 |false |LIGHT_SKY| - -#### **MOONCOLOR** - -|Type |Required|Position|PipelineInput|Aliases | -|----------|--------|--------|-------------|----------| -|`[string]`|false |9 |false |MOON_COLOR| +|`[String]`|false |named |False |LIGHT_SKY| #### **MoonBumpSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |11 |false |moon_bump_size| +|`[Float]`|false |named |False |moon_bump_size| + +#### **MOONCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[String]`|false |named |False |MOON_COLOR| #### **MoonPositionX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |12 |false |Moon_Position_x| +|`[Float]`|false |named |False |Moon_Position_x| #### **MoonPositionY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |Moon_Position_y| +|`[Float]`|false |named |False |Moon_Position_y| #### **MoonSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |10 |false |moon_size| +|`[Float]`|false |named |False |moon_size| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumberStars** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |4 |false |number_stars| +|`[Int]`|false |named |False |number_stars| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |ShaderContent| #### **SKYCOLOR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |5 |false |SKY_COLOR| +|`[String]`|false |named |False |SKY_COLOR| #### **SKYLIGHTNESS** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |SKY_LIGHTNESS| +|`[Float]`|false |named |False |SKY_LIGHTNESS| -#### **STARCOLOR** - -|Type |Required|Position|PipelineInput|Aliases | -|----------|--------|--------|-------------|----------| -|`[string]`|false |6 |false |STAR_COLOR| - -#### **ShaderText** +#### **SourceName** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| - -#### **SourceName** - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | + +#### **STARCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[String]`|false |named |False |STAR_COLOR| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSNightSkyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSNightSkyShader [[-Speed] ] [-IncludeClouds ] [-IncludeMoon ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 48489da69cc61bb2afe5a90d6c14787b6bb7645f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:43 +0000 Subject: [PATCH 4087/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSNightSkyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSNightSkyShader.json b/docs/_data/Help/Get-OBSNightSkyShader.json index 5e8e788ec..00e458c7f 100644 --- a/docs/_data/Help/Get-OBSNightSkyShader.json +++ b/docs/_data/Help/Get-OBSNightSkyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 204d3becdb39bc5040f6cb7311a731a59ee7c9b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:43 +0000 Subject: [PATCH 4088/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSOpacityShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSOpacityShader.md b/docs/Get-OBSOpacityShader.md index 1b7aa1459..950b992be 100644 --- a/docs/Get-OBSOpacityShader.md +++ b/docs/Get-OBSOpacityShader.md @@ -2,7 +2,6 @@ Get-OBSOpacityShader -------------------- ### Synopsis - Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSOpacityShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 13140d6bdfef270f200c92973914d8d99252eee2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:43 +0000 Subject: [PATCH 4089/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSOpacityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSOpacityShader.json b/docs/_data/Help/Get-OBSOpacityShader.json index 0b7145c2b..29698c99d 100644 --- a/docs/_data/Help/Get-OBSOpacityShader.json +++ b/docs/_data/Help/Get-OBSOpacityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7bfdb5d7aba287ccb7d5d6f27dcb1a81a6ddcb89 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4090/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPagePeelShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSPagePeelShader.md b/docs/Get-OBSPagePeelShader.md index 33a3026ae..5797684b3 100644 --- a/docs/Get-OBSPagePeelShader.md +++ b/docs/Get-OBSPagePeelShader.md @@ -2,7 +2,6 @@ Get-OBSPagePeelShader --------------------- ### Synopsis - Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 55fdf5e00f19546c40b498acbd923a7647eedd00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4091/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPagePeelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPagePeelShader.json b/docs/_data/Help/Get-OBSPagePeelShader.json index afad989ec..142f98f65 100644 --- a/docs/_data/Help/Get-OBSPagePeelShader.json +++ b/docs/_data/Help/Get-OBSPagePeelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7e079091e1ad247403504ff9f51413e55b570562 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4092/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPagePeelTransitionShader.md | 43 +++++++++++-------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSPagePeelTransitionShader.md b/docs/Get-OBSPagePeelTransitionShader.md index cf4836bd4..04b597945 100644 --- a/docs/Get-OBSPagePeelTransitionShader.md +++ b/docs/Get-OBSPagePeelTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSPagePeelTransitionShader ------------------------------- ### Synopsis - Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |3 |false |page_color| +|`[String]`|false |named |False |page_color| #### **PageTransparency** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |4 |false |page_transparency| +|`[Float]`|false |named |False |page_transparency| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPagePeelTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8a7d6d4b3aba1eaa1cac8901213376dd993ba6cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4093/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPagePeelTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPagePeelTransitionShader.json b/docs/_data/Help/Get-OBSPagePeelTransitionShader.json index 8dc3b44f8..fd398f3cb 100644 --- a/docs/_data/Help/Get-OBSPagePeelTransitionShader.json +++ b/docs/_data/Help/Get-OBSPagePeelTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 673386c5ba637c7c1f079114f2b717f625922c27 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4094/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPerlinNoiseShader.md | 53 ++++++++++++++------------------ 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Get-OBSPerlinNoiseShader.md b/docs/Get-OBSPerlinNoiseShader.md index bbe6bc6b6..2ed65cd01 100644 --- a/docs/Get-OBSPerlinNoiseShader.md +++ b/docs/Get-OBSPerlinNoiseShader.md @@ -2,7 +2,6 @@ Get-OBSPerlinNoiseShader ------------------------ ### Synopsis - Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ApplyToChannel** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |apply_to_channel| +|`[Switch]`|false |named |False |apply_to_channel| #### **BlackNoise** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |5 |false |black_noise| +|`[Float]`|false |named |False |black_noise| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Inverted** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Iterations** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **Multiply** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **SpeedHorizonal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |1 |false |speed_horizonal| +|`[Float]`|false |named |False |speed_horizonal| #### **SpeedVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |2 |false |speed_vertical| +|`[Float]`|false |named |False |speed_vertical| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **WhiteNoise** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |4 |false |white_noise| +|`[Float]`|false |named |False |white_noise| --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPerlinNoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPerlinNoiseShader [[-Speed] ] [-Animated ] [-ApplyToChannel ] [-Inverted ] [-Multiply ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e63a182d2de7ba51cf912a1a339ffdd115396e99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4095/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPerlinNoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPerlinNoiseShader.json b/docs/_data/Help/Get-OBSPerlinNoiseShader.json index f1c26be33..fbad434ed 100644 --- a/docs/_data/Help/Get-OBSPerlinNoiseShader.json +++ b/docs/_data/Help/Get-OBSPerlinNoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a13a1a13058216d9463e60009d287c0ca1bd958f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4096/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPieChartShader.md | 79 ++++++++++++++++------------------- 1 file changed, 36 insertions(+), 43 deletions(-) diff --git a/docs/Get-OBSPieChartShader.md b/docs/Get-OBSPieChartShader.md index 61511f8ac..f052dd633 100644 --- a/docs/Get-OBSPieChartShader.md +++ b/docs/Get-OBSPieChartShader.md @@ -2,7 +2,6 @@ Get-OBSPieChartShader --------------------- ### Synopsis - Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,187 +15,187 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |5 |false |color_1| +|`[String]`|false |named |False |color_1| #### **Color10** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |23 |false |color_10| +|`[String]`|false |named |False |color_10| #### **Color2** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |7 |false |color_2| +|`[String]`|false |named |False |color_2| #### **Color3** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |9 |false |color_3| +|`[String]`|false |named |False |color_3| #### **Color4** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |11 |false |color_4| +|`[String]`|false |named |False |color_4| #### **Color5** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |13 |false |color_5| +|`[String]`|false |named |False |color_5| #### **Color6** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |15 |false |color_6| +|`[String]`|false |named |False |color_6| #### **Color7** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |17 |false |color_7| +|`[String]`|false |named |False |color_7| #### **Color8** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |19 |false |color_8| +|`[String]`|false |named |False |color_8| #### **Color9** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |21 |false |color_9| +|`[String]`|false |named |False |color_9| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |25 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InnerRadius** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |inner_radius| +|`[Float]`|false |named |False |inner_radius| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OuterRadius** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |1 |false |outer_radius| +|`[Float]`|false |named |False |outer_radius| #### **Part1** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |4 |false |part_1 | +|`[Int]`|false |named |False |part_1 | #### **Part10** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |22 |false |part_10| +|`[Int]`|false |named |False |part_10| #### **Part2** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |6 |false |part_2 | +|`[Int]`|false |named |False |part_2 | #### **Part3** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |8 |false |part_3 | +|`[Int]`|false |named |False |part_3 | #### **Part4** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |10 |false |part_4 | +|`[Int]`|false |named |False |part_4 | #### **Part5** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |12 |false |part_5 | +|`[Int]`|false |named |False |part_5 | #### **Part6** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |14 |false |part_6 | +|`[Int]`|false |named |False |part_6 | #### **Part7** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |16 |false |part_7 | +|`[Int]`|false |named |False |part_7 | #### **Part8** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |18 |false |part_8 | +|`[Int]`|false |named |False |part_8 | #### **Part9** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |20 |false |part_9 | +|`[Int]`|false |named |False |part_9 | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |26 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |24 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |start_angle| +|`[Float]`|false |named |False |start_angle| #### **Total** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -212,11 +211,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPieChartShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 653aaf1e91de2b6b0b56a0a6be981bbe8d94e785 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4097/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPieChartShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPieChartShader.json b/docs/_data/Help/Get-OBSPieChartShader.json index 535375e5a..8468a8cbf 100644 --- a/docs/_data/Help/Get-OBSPieChartShader.json +++ b/docs/_data/Help/Get-OBSPieChartShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 14a843e05a4671f608976578303a22a8baf18a64 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4098/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPixelationShader.md | 37 +++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSPixelationShader.md b/docs/Get-OBSPixelationShader.md index 9b236ea71..ecf125657 100644 --- a/docs/Get-OBSPixelationShader.md +++ b/docs/Get-OBSPixelationShader.md @@ -2,7 +2,6 @@ Get-OBSPixelationShader ----------------------- ### Synopsis - Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TargetHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Target_Height| +|`[Float]`|false |named |False |Target_Height| #### **TargetWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |Target_Width| +|`[Float]`|false |named |False |Target_Width| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPixelationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6353b16fb42261dded5b6d263690cb5563b242f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:44 +0000 Subject: [PATCH 4099/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPixelationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPixelationShader.json b/docs/_data/Help/Get-OBSPixelationShader.json index b2d891902..d472e6820 100644 --- a/docs/_data/Help/Get-OBSPixelationShader.json +++ b/docs/_data/Help/Get-OBSPixelationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From aa3d95a9b466679f76513d3ca5f403fd601a3f99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4100/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPixelationTransitionShader.md | 41 ++++++++++------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSPixelationTransitionShader.md b/docs/Get-OBSPixelationTransitionShader.md index 1055f053e..3fb035b18 100644 --- a/docs/Get-OBSPixelationTransitionShader.md +++ b/docs/Get-OBSPixelationTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSPixelationTransitionShader --------------------------------- ### Synopsis - Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **ConvertLinear** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPixelationTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [-ConvertLinear ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From da3491fa957dbe484d9d3af77fe00343b389655d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4101/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPixelationTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPixelationTransitionShader.json b/docs/_data/Help/Get-OBSPixelationTransitionShader.json index 6f03e9326..db7640c48 100644 --- a/docs/_data/Help/Get-OBSPixelationTransitionShader.json +++ b/docs/_data/Help/Get-OBSPixelationTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4b11664eaa3671346bbe879abd14028d2c5593e1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4102/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPolarShader.md | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSPolarShader.md b/docs/Get-OBSPolarShader.md index 68dd8d7f1..5897d8ac8 100644 --- a/docs/Get-OBSPolarShader.md +++ b/docs/Get-OBSPolarShader.md @@ -2,7 +2,6 @@ Get-OBSPolarShader ------------------ ### Synopsis - Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |0 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |1 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Flip** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PointY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |point_y| +|`[Float]`|false |named |False |point_y| #### **Repeat** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Rotate** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Scale** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPolarShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [-Flip ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 05956713e079bc66e6627c3165119c145e6acf67 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4103/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPolarShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPolarShader.json b/docs/_data/Help/Get-OBSPolarShader.json index 1894d8c24..da26497c4 100644 --- a/docs/_data/Help/Get-OBSPolarShader.json +++ b/docs/_data/Help/Get-OBSPolarShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bbcbff4a18a578d70b7719a9ac4f38657fb55983 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4104/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSPulseShader.md | 73 +++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Get-OBSPulseShader.md b/docs/Get-OBSPulseShader.md index 70dd71f14..235344156 100644 --- a/docs/Get-OBSPulseShader.md +++ b/docs/Get-OBSPulseShader.md @@ -2,7 +2,6 @@ Get-OBSPulseShader ------------------ ### Synopsis - Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **MaxGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |10 |false |max_growth_pixels| +|`[Float]`|false |named |False |max_growth_pixels| #### **MinGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |min_growth_pixels| +|`[Float]`|false |named |False |min_growth_pixels| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |8 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPulseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d90b7cbefb35dea364aa419b8db878ff96adbc93 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4105/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSPulseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSPulseShader.json b/docs/_data/Help/Get-OBSPulseShader.json index 1b7dcf056..36d742590 100644 --- a/docs/_data/Help/Get-OBSPulseShader.json +++ b/docs/_data/Help/Get-OBSPulseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 03b0b6c8232b8749fca515229b3899aeb88af71d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4106/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRainbowShader.md | 67 ++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Get-OBSRainbowShader.md b/docs/Get-OBSRainbowShader.md index 74a21a669..36220daae 100644 --- a/docs/Get-OBSRainbowShader.md +++ b/docs/Get-OBSRainbowShader.md @@ -2,7 +2,6 @@ Get-OBSRainbowShader -------------------- ### Synopsis - Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Luminosity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| - -#### **RotationOffset** - -|Type |Required|Position|PipelineInput|Aliases | -|---------|--------|--------|-------------|---------------| -|`[float]`|false |5 |false |Rotation_Offset| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **Rotational** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[Float]`|false |named |False |Rotation_Offset| #### **Saturation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Spread** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRainbowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [-Vertical ] [-Rotational ] [[-RotationOffset] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 548abcb076708f8701a42e7f55f508b07e1ab509 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4107/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRainbowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRainbowShader.json b/docs/_data/Help/Get-OBSRainbowShader.json index 3bb4556a6..8de2d3c9c 100644 --- a/docs/_data/Help/Get-OBSRainbowShader.json +++ b/docs/_data/Help/Get-OBSRainbowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 33dc3248cb0fe627c53cf918cd1c5c120ec44e11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:45 +0000 Subject: [PATCH 4108/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRainWindowShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSRainWindowShader.md b/docs/Get-OBSRainWindowShader.md index f487aa584..57f5b044c 100644 --- a/docs/Get-OBSRainWindowShader.md +++ b/docs/Get-OBSRainWindowShader.md @@ -2,7 +2,6 @@ Get-OBSRainWindowShader ----------------------- ### Synopsis - Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **DebugShader** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Size** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **TrailColor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |trail_color| +|`[Float]`|false |named |False |trail_color| #### **TrailStrength** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |2 |false |trail_strength| +|`[Float]`|false |named |False |trail_strength| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRainWindowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [-DebugShader ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6c2d2f67ed438967f4415e76868f1604a6ebc0e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4109/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRainWindowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRainWindowShader.json b/docs/_data/Help/Get-OBSRainWindowShader.json index 41316a192..13054569f 100644 --- a/docs/_data/Help/Get-OBSRainWindowShader.json +++ b/docs/_data/Help/Get-OBSRainWindowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8fa0733d5b493d57bcba50ded279e6a3dc8ee4bd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4110/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRectangularDropShadowShader.md | 39 +++++++++------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSRectangularDropShadowShader.md b/docs/Get-OBSRectangularDropShadowShader.md index db1484da1..a583748d5 100644 --- a/docs/Get-OBSRectangularDropShadowShader.md +++ b/docs/Get-OBSRectangularDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSRectangularDropShadowShader ---------------------------------- ### Synopsis - Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2a509f6ac7604ba58e37d5f79671dc15851f6692 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4111/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRectangularDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRectangularDropShadowShader.json b/docs/_data/Help/Get-OBSRectangularDropShadowShader.json index 650a53285..5122a4871 100644 --- a/docs/_data/Help/Get-OBSRectangularDropShadowShader.json +++ b/docs/_data/Help/Get-OBSRectangularDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e46809e935c85143c107465554eb86327812094e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4112/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSReflectShader.md | 39 +++++++++++++++--------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSReflectShader.md b/docs/Get-OBSReflectShader.md index 081732d11..0c8c374d2 100644 --- a/docs/Get-OBSReflectShader.md +++ b/docs/Get-OBSReflectShader.md @@ -2,7 +2,6 @@ Get-OBSReflectShader -------------------- ### Synopsis - Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Sour |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSReflectShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSReflectShader [-Horizontal ] [-Vertical ] [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From aa6703ba27c617c115dc4241b27d198e56253de6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4113/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSReflectShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSReflectShader.json b/docs/_data/Help/Get-OBSReflectShader.json index 219e772c8..262473d12 100644 --- a/docs/_data/Help/Get-OBSReflectShader.json +++ b/docs/_data/Help/Get-OBSReflectShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 564a2e5ddb2dcdae8c131ce05b7d59c772915712 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4114/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRemovePartialPixelsShader.md | 35 ++++++++++-------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSRemovePartialPixelsShader.md b/docs/Get-OBSRemovePartialPixelsShader.md index d87614b8e..95bacf4d8 100644 --- a/docs/Get-OBSRemovePartialPixelsShader.md +++ b/docs/Get-OBSRemovePartialPixelsShader.md @@ -2,7 +2,6 @@ Get-OBSRemovePartialPixelsShader -------------------------------- ### Synopsis - Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7b37fc607a52ed44a99ae5543e14b2441f4480a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4115/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRemovePartialPixelsShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json b/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json index 54b30405e..36c15cd20 100644 --- a/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json +++ b/docs/_data/Help/Get-OBSRemovePartialPixelsShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 270a74ac5c5b8a9e985ccca010fe6fab1142594a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4116/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRepeatShader.md | 91 +++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 49 deletions(-) diff --git a/docs/Get-OBSRepeatShader.md b/docs/Get-OBSRepeatShader.md index 667dae8f4..d65e1f118 100644 --- a/docs/Get-OBSRepeatShader.md +++ b/docs/Get-OBSRepeatShader.md @@ -2,7 +2,6 @@ Get-OBSRepeatShader ------------------- ### Synopsis - Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |1 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ColorRangeMax** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |3 |false |color_range_max| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_max| #### **ColorRangeMin** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |2 |false |color_range_min| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_min| #### **Copies** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |5 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |13 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |6 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |8 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |7 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |9 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRepeatShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 84e081f94ad7f8b0584f1e121c539fa1d77cf689 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4117/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRepeatShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRepeatShader.json b/docs/_data/Help/Get-OBSRepeatShader.json index 6c4a86a74..9bd54d604 100644 --- a/docs/_data/Help/Get-OBSRepeatShader.json +++ b/docs/_data/Help/Get-OBSRepeatShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 67e5ccdb8518db1b3335bcb051a5980acd6e7f44 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:46 +0000 Subject: [PATCH 4118/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRepeatTextureShader.md | 95 ++++++++++++++---------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Get-OBSRepeatTextureShader.md b/docs/Get-OBSRepeatTextureShader.md index 0f344d854..e1eb176c7 100644 --- a/docs/Get-OBSRepeatTextureShader.md +++ b/docs/Get-OBSRepeatTextureShader.md @@ -2,7 +2,6 @@ Get-OBSRepeatTextureShader -------------------------- ### Synopsis - Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,139 +15,139 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |15 |false |alpha_percentage| +|`[Float]`|false |named |False |alpha_percentage| #### **Blend** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |1 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ColorRangeMax** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |3 |false |color_range_max| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_max| #### **ColorRangeMin** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |2 |false |color_range_min| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_min| #### **Copies** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |17 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |14 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |18 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TexImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |5 |false |tex_image| +|`[String]`|false |named |False |tex_image| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |7 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |9 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |8 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |10 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -164,11 +163,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRepeatTextureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 51c5830c1ef78ec639008745efec6c1f23ccdab8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4119/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRepeatTextureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRepeatTextureShader.json b/docs/_data/Help/Get-OBSRepeatTextureShader.json index d382ca992..d451333fa 100644 --- a/docs/_data/Help/Get-OBSRepeatTextureShader.json +++ b/docs/_data/Help/Get-OBSRepeatTextureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6a7b7d22688baee7a3cc67f0bd8122005cd660e4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4120/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRGBAPercentShader.md | 39 +++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSRGBAPercentShader.md b/docs/Get-OBSRGBAPercentShader.md index d913689eb..470f8a426 100644 --- a/docs/Get-OBSRGBAPercentShader.md +++ b/docs/Get-OBSRGBAPercentShader.md @@ -2,7 +2,6 @@ Get-OBSRGBAPercentShader ------------------------ ### Synopsis - Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-Bl |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **BluePercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GreenPercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedPercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRGBAPercentShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8f60038b352cea0246ebad27802764f0b5b105ae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4121/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRGBAPercentShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRGBAPercentShader.json b/docs/_data/Help/Get-OBSRGBAPercentShader.json index 5d6cb64aa..4752fb944 100644 --- a/docs/_data/Help/Get-OBSRGBAPercentShader.json +++ b/docs/_data/Help/Get-OBSRGBAPercentShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2154d84b78c5cb00e18a7bbe40a2ff0849e6ee5d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4122/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRgbColorWheelShader.md | 49 +++++++++++++----------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSRgbColorWheelShader.md b/docs/Get-OBSRgbColorWheelShader.md index abd506c11..92f676011 100644 --- a/docs/Get-OBSRgbColorWheelShader.md +++ b/docs/Get-OBSRgbColorWheelShader.md @@ -2,7 +2,6 @@ Get-OBSRgbColorWheelShader -------------------------- ### Synopsis - Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |3 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |5 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |4 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **ColorDepth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |1 |false |color_depth| +|`[Float]`|false |named |False |color_depth| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |2 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbColorWheelShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 725f487d6b1123530cd088e921c74a7985927644 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4123/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRgbColorWheelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRgbColorWheelShader.json b/docs/_data/Help/Get-OBSRgbColorWheelShader.json index 965e571d3..5b4a5222f 100644 --- a/docs/_data/Help/Get-OBSRgbColorWheelShader.json +++ b/docs/_data/Help/Get-OBSRgbColorWheelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f7d6ac532ec2a7d214e4d67fd4ec575bd189db95 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4124/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRgbSplitShader.md | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSRgbSplitShader.md b/docs/Get-OBSRgbSplitShader.md index 6c35d7ee7..1ccf4fceb 100644 --- a/docs/Get-OBSRgbSplitShader.md +++ b/docs/Get-OBSRgbSplitShader.md @@ -2,7 +2,6 @@ Get-OBSRgbSplitShader --------------------- ### Synopsis - Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Bluey** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Greenx** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Greeny** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Redx** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **Redy** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbSplitShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 146a2f4fa48145428c174d0220aaba08a4e26a33 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4125/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRgbSplitShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRgbSplitShader.json b/docs/_data/Help/Get-OBSRgbSplitShader.json index 6b97f7549..0e74e3f1b 100644 --- a/docs/_data/Help/Get-OBSRgbSplitShader.json +++ b/docs/_data/Help/Get-OBSRgbSplitShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 742b89155db3bbad731c9afc8ce18f412ce22a11 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4126/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRgbvisibilityShader.md | 45 +++++++++++++----------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSRgbvisibilityShader.md b/docs/Get-OBSRgbvisibilityShader.md index cf30841dc..83716a07b 100644 --- a/docs/Get-OBSRgbvisibilityShader.md +++ b/docs/Get-OBSRgbvisibilityShader.md @@ -2,7 +2,6 @@ Get-OBSRgbvisibilityShader -------------------------- ### Synopsis - Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **BlueVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Green** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **GreenVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Red** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **RedVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbvisibilityShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 54bc979582ff4a3642ecbc84af9d7ca9f73982cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4127/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRgbvisibilityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRgbvisibilityShader.json b/docs/_data/Help/Get-OBSRgbvisibilityShader.json index 1675c70aa..90f27d82a 100644 --- a/docs/_data/Help/Get-OBSRgbvisibilityShader.json +++ b/docs/_data/Help/Get-OBSRgbvisibilityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From feda0ade95cb7201b7ff3f824fe86acd68791918 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:47 +0000 Subject: [PATCH 4128/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRGSSAAShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSRGSSAAShader.md b/docs/Get-OBSRGSSAAShader.md index 8dcca16b3..bed002782 100644 --- a/docs/Get-OBSRGSSAAShader.md +++ b/docs/Get-OBSRGSSAAShader.md @@ -2,7 +2,6 @@ Get-OBSRGSSAAShader ------------------- ### Synopsis - Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpatialSigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRGSSAAShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 91e652950cf0df96c40c8766961000bfef3e6336 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4129/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRGSSAAShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRGSSAAShader.json b/docs/_data/Help/Get-OBSRGSSAAShader.json index 7585fa9af..58a2de6ed 100644 --- a/docs/_data/Help/Get-OBSRGSSAAShader.json +++ b/docs/_data/Help/Get-OBSRGSSAAShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2473b07650f8ca27bd55439060a5ab28db8ba1e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4130/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRippleShader.md | 41 +++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSRippleShader.md b/docs/Get-OBSRippleShader.md index 0adf52739..d2ae46e4a 100644 --- a/docs/Get-OBSRippleShader.md +++ b/docs/Get-OBSRippleShader.md @@ -2,7 +2,6 @@ Get-OBSRippleShader ------------------- ### Synopsis - Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |3 |false |center_pos_x| +|`[Float]`|false |named |False |center_pos_x| #### **CenterPosY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |4 |false |center_pos_y| +|`[Float]`|false |named |False |center_pos_y| #### **DistanceFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |distance_factor| +|`[Float]`|false |named |False |distance_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PowerFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |power_factor| +|`[Float]`|false |named |False |power_factor| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |1 |false |time_factor| +|`[Float]`|false |named |False |time_factor| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRippleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 51bed9ca277de89b807f5a2aa54db7b7b3b76bdc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4131/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRippleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRippleShader.json b/docs/_data/Help/Get-OBSRippleShader.json index 35583c3ec..0c381ad29 100644 --- a/docs/_data/Help/Get-OBSRippleShader.json +++ b/docs/_data/Help/Get-OBSRippleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d707e6959528332d5dbf85fda4b37bb68b602609 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4132/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRotatingSourceShader.md | 43 ++++++++++++----------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSRotatingSourceShader.md b/docs/Get-OBSRotatingSourceShader.md index 9cf331863..263f7faf1 100644 --- a/docs/Get-OBSRotatingSourceShader.md +++ b/docs/Get-OBSRotatingSourceShader.md @@ -2,7 +2,6 @@ Get-OBSRotatingSourceShader --------------------------- ### Synopsis - Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,81 +13,81 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **KeepAspectratio** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |keep_aspectratio| +|`[Switch]`|false |named |False |keep_aspectratio| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Rotation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpinSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |spin_speed| +|`[Float]`|false |named |False |spin_speed| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XCenter** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |x_center| +|`[Float]`|false |named |False |x_center| #### **YCenter** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |y_center| +|`[Float]`|false |named |False |y_center| #### **Zoomin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRotatingSourceShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [-KeepAspectratio ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7960d47abb1d501b173e302119ab5c3e850ba819 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4133/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRotatingSourceShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRotatingSourceShader.json b/docs/_data/Help/Get-OBSRotatingSourceShader.json index 81ca32462..695a60151 100644 --- a/docs/_data/Help/Get-OBSRotatingSourceShader.json +++ b/docs/_data/Help/Get-OBSRotatingSourceShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3cd3f5b65c052029515ff347aabdf76310773bfc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4134/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRotatoeShader.md | 89 +++++++++++++++++------------------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/docs/Get-OBSRotatoeShader.md b/docs/Get-OBSRotatoeShader.md index d2e1374f4..689971ec5 100644 --- a/docs/Get-OBSRotatoeShader.md +++ b/docs/Get-OBSRotatoeShader.md @@ -2,7 +2,6 @@ Get-OBSRotatoeShader -------------------- ### Synopsis - Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,157 +15,157 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |12 |false |Angle_Degrees| +|`[Float]`|false |named |False |Angle_Degrees| #### **AxisX** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |9 |false |Axis_X | +|`[Float]`|false |named |False |Axis_X | #### **AxisY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |Axis_Y | +|`[Float]`|false |named |False |Axis_Y | #### **AxisZ** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |Axis_Z | +|`[Float]`|false |named |False |Axis_Z | #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |14 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |13 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |17 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |15 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |Rotate_Colors| +|`[Switch]`|false |named |False |Rotate_Colors| #### **RotatePixels** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |Rotate_Pixels| +|`[Switch]`|false |named |False |Rotate_Pixels| #### **RotateTransform** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Rotate_Transform| +|`[Switch]`|false |named |False |Rotate_Transform| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |18 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |8 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -182,11 +181,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRotatoeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [-RotateTransform ] [-RotatePixels ] [-RotateColors ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From debf5ed0921d06dacb61f1a1fa8e37bd12964b70 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4135/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRotatoeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRotatoeShader.json b/docs/_data/Help/Get-OBSRotatoeShader.json index 2e073a20f..9ebcffb5d 100644 --- a/docs/_data/Help/Get-OBSRotatoeShader.json +++ b/docs/_data/Help/Get-OBSRotatoeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d98b195293ee3e7b6c634530791e68632b7d6586 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4136/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRoundedRect2Shader.md | 45 +++++++++++++------------------ 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSRoundedRect2Shader.md b/docs/Get-OBSRoundedRect2Shader.md index 2c520af9e..0e83e6f59 100644 --- a/docs/Get-OBSRoundedRect2Shader.md +++ b/docs/Get-OBSRoundedRect2Shader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRect2Shader ------------------------- ### Synopsis - Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |3 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FasterScan** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |faster_scan| +|`[Switch]`|false |named |False |faster_scan| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRect2Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [-FasterScan ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c271a0abbee6a340e7635ebb0b7d9ebe9a52768b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4137/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRoundedRect2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRoundedRect2Shader.json b/docs/_data/Help/Get-OBSRoundedRect2Shader.json index c73261647..92f11df06 100644 --- a/docs/_data/Help/Get-OBSRoundedRect2Shader.json +++ b/docs/_data/Help/Get-OBSRoundedRect2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c87579862c45a1c17f79531ecdffde460b746f8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4138/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRoundedRectPerCornerShader.md | 49 ++++++++++------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSRoundedRectPerCornerShader.md b/docs/Get-OBSRoundedRectPerCornerShader.md index f6c27a695..96e2b3661 100644 --- a/docs/Get-OBSRoundedRectPerCornerShader.md +++ b/docs/Get-OBSRoundedRectPerCornerShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectPerCornerShader --------------------------------- ### Synopsis - Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadiusBl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |3 |false |corner_radius_bl| +|`[Int]`|false |named |False |corner_radius_bl| #### **CornerRadiusBr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |corner_radius_br| +|`[Int]`|false |named |False |corner_radius_br| #### **CornerRadiusTl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |corner_radius_tl| +|`[Int]`|false |named |False |corner_radius_tl| #### **CornerRadiusTr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |corner_radius_tr| +|`[Int]`|false |named |False |corner_radius_tr| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From eadf0c626aafed52f29226072d288578b55d9bec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:48 +0000 Subject: [PATCH 4139/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json b/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json index 8a6fda223..a97578dbf 100644 --- a/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json +++ b/docs/_data/Help/Get-OBSRoundedRectPerCornerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 174ff4e6cb9c1a22458b95887794ae719584af67 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4140/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRoundedRectPerSideShader.md | 49 +++++++++++-------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSRoundedRectPerSideShader.md b/docs/Get-OBSRoundedRectPerSideShader.md index 9acbe4315..e86e8cbc7 100644 --- a/docs/Get-OBSRoundedRectPerSideShader.md +++ b/docs/Get-OBSRoundedRectPerSideShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectPerSideShader ------------------------------- ### Synopsis - Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadiusBottom** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------------| -|`[int]`|false |0 |false |corner_radius_bottom| +|`[Int]`|false |named |False |corner_radius_bottom| #### **CornerRadiusLeft** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |1 |false |corner_radius_left| +|`[Int]`|false |named |False |corner_radius_left| #### **CornerRadiusRight** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |3 |false |corner_radius_right| +|`[Int]`|false |named |False |corner_radius_right| #### **CornerRadiusTop** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |2 |false |corner_radius_top| +|`[Int]`|false |named |False |corner_radius_top| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectPerSideShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8bb8d6db1442989258bcf53bf796faef79c44825 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4141/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRoundedRectPerSideShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json b/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json index 8def50b0d..4dbca8acf 100644 --- a/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json +++ b/docs/_data/Help/Get-OBSRoundedRectPerSideShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7fb2e52e8c066168084d027b898e957a5788bff9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4142/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRoundedRectShader.md | 37 +++++++++++++------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSRoundedRectShader.md b/docs/Get-OBSRoundedRectShader.md index 9500c4280..a0c93c93b 100644 --- a/docs/Get-OBSRoundedRectShader.md +++ b/docs/Get-OBSRoundedRectShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectShader ------------------------ ### Synopsis - Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 79829d239f070dbaaae49dea99ed35a31e4d7610 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4143/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRoundedRectShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRoundedRectShader.json b/docs/_data/Help/Get-OBSRoundedRectShader.json index b49e57e9f..43f1cee77 100644 --- a/docs/_data/Help/Get-OBSRoundedRectShader.json +++ b/docs/_data/Help/Get-OBSRoundedRectShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5932e54838bdfe478e96dd2f1c093d88c7e861fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4144/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRoundedStrokeGradientShader.md | 49 ++++++++++------------ 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSRoundedStrokeGradientShader.md b/docs/Get-OBSRoundedStrokeGradientShader.md index 2d331ceb9..23e412682 100644 --- a/docs/Get-OBSRoundedStrokeGradientShader.md +++ b/docs/Get-OBSRoundedStrokeGradientShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedStrokeGradientShader ---------------------------------- ### Synopsis - Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |border_colorL| +|`[String]`|false |named |False |border_colorL| #### **BorderColorR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |border_colorR| +|`[String]`|false |named |False |border_colorR| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CenterHeight** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |7 |false |center_height| +|`[Int]`|false |named |False |center_height| #### **CenterWidth** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |6 |false |center_width| +|`[Int]`|false |named |False |center_width| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------| -|`[int]`|false |2 |false |minimum_alpha_percent| +|`[Int]`|false |named |False |minimum_alpha_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RotationSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |rotation_speed| +|`[Int]`|false |named |False |rotation_speed| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedStrokeGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 21d7e7329f4a054165dbc3aef0c23f1d2478b4e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4145/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json b/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json index a651afcef..d60d4b519 100644 --- a/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json +++ b/docs/_data/Help/Get-OBSRoundedStrokeGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 02bf0a8927a6949cba23a46a44ea530b86d31690 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4146/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSRoundedStrokeShader.md | 41 +++++++++++++----------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSRoundedStrokeShader.md b/docs/Get-OBSRoundedStrokeShader.md index 60dc2a6d0..9a6b1f54c 100644 --- a/docs/Get-OBSRoundedStrokeShader.md +++ b/docs/Get-OBSRoundedStrokeShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedStrokeShader -------------------------- ### Synopsis - Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |3 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------| -|`[int]`|false |2 |false |minimum_alpha_percent| +|`[Int]`|false |named |False |minimum_alpha_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedStrokeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8b378d2795a014d62980aefd4bfb31a8113b0a8e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4147/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSRoundedStrokeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSRoundedStrokeShader.json b/docs/_data/Help/Get-OBSRoundedStrokeShader.json index 4e3b0befb..14cc8b08a 100644 --- a/docs/_data/Help/Get-OBSRoundedStrokeShader.json +++ b/docs/_data/Help/Get-OBSRoundedStrokeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 312f630888dd59cb93ac6d8565ab3b70821c8673 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4148/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSScanLineShader.md | 49 +++++++++++++++-------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSScanLineShader.md b/docs/Get-OBSScanLineShader.md index cb42a98d4..2dc371b5d 100644 --- a/docs/Get-OBSScanLineShader.md +++ b/docs/Get-OBSScanLineShader.md @@ -2,7 +2,6 @@ Get-OBSScanLineShader --------------------- ### Synopsis - Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Boost** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Floor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Lengthwise** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Period** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Shift** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSScanLineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSScanLineShader [-Lengthwise ] [-Animate ] [[-Speed] ] [[-Angle] ] [-Shift ] [-Boost ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1132fd2c1c8a6a13e3f680f686f39bc5791bda2a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:49 +0000 Subject: [PATCH 4149/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSScanLineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSScanLineShader.json b/docs/_data/Help/Get-OBSScanLineShader.json index 0ada8f69a..d77b16a0f 100644 --- a/docs/_data/Help/Get-OBSScanLineShader.json +++ b/docs/_data/Help/Get-OBSScanLineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f5fd23d6a9cd67b3296484aa49b068c1769473e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4150/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSeascapeShader.md | 49 +++++++++++++++-------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSSeascapeShader.md b/docs/Get-OBSSeascapeShader.md index 6c70bf96d..671c6c0d6 100644 --- a/docs/Get-OBSSeascapeShader.md +++ b/docs/Get-OBSSeascapeShader.md @@ -2,7 +2,6 @@ Get-OBSSeascapeShader --------------------- ### Synopsis - Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CAMERASPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |CAMERA_SPEED| +|`[Float]`|false |named |False |CAMERA_SPEED| #### **CAMERATURNSPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |7 |false |CAMERA_TURN_SPEED| +|`[Float]`|false |named |False |CAMERA_TURN_SPEED| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SEABASE** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |4 |false |SEA_BASE| +|`[String]`|false |named |False |SEA_BASE| #### **SEACHOPPY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |SEA_CHOPPY| +|`[Float]`|false |named |False |SEA_CHOPPY| #### **SEAFREQ** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |SEA_FREQ| +|`[Float]`|false |named |False |SEA_FREQ| #### **SEAHEIGHT** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |SEA_HEIGHT| +|`[Float]`|false |named |False |SEA_HEIGHT| #### **SEASPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |2 |false |SEA_SPEED| +|`[Float]`|false |named |False |SEA_SPEED| #### **SEAWATERCOLOR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |5 |false |SEA_WATER_COLOR| +|`[String]`|false |named |False |SEA_WATER_COLOR| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSeascapeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSeascapeShader [-AA ] [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ee23257354dc740b8da4a2c1ad080ba9a09ca8de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4151/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSeascapeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSeascapeShader.json b/docs/_data/Help/Get-OBSSeascapeShader.json index 854433ab4..cdd926b70 100644 --- a/docs/_data/Help/Get-OBSSeascapeShader.json +++ b/docs/_data/Help/Get-OBSSeascapeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f4f0c0f82d69de67b7bb4a4cf2b8b4ec468f6a65 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4152/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSeasickShader.md | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Get-OBSSeasickShader.md b/docs/Get-OBSSeasickShader.md index 60e5d3aec..09ebefc32 100644 --- a/docs/Get-OBSSeasickShader.md +++ b/docs/Get-OBSSeasickShader.md @@ -2,7 +2,6 @@ Get-OBSSeasickShader -------------------- ### Synopsis - Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5248ad649536e6b7a1e6c9c0f841021d46ab5ab3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4153/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSeasickShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSeasickShader.json b/docs/_data/Help/Get-OBSSeasickShader.json index 74ab7991f..eef433c89 100644 --- a/docs/_data/Help/Get-OBSSeasickShader.json +++ b/docs/_data/Help/Get-OBSSeasickShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 96b97b5e3d55dc9342371fab47a2bc25f9381705 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4154/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSelectiveColorShader.md | 53 +++++++++++++---------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Get-OBSSelectiveColorShader.md b/docs/Get-OBSSelectiveColorShader.md index cda62bba4..7dcfc66a1 100644 --- a/docs/Get-OBSSelectiveColorShader.md +++ b/docs/Get-OBSSelectiveColorShader.md @@ -2,7 +2,6 @@ Get-OBSSelectiveColorShader --------------------------- ### Synopsis - Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |4 |false |acceptance_Amplifier| +|`[Float]`|false |named |False |acceptance_Amplifier| #### **BackgroundType** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |6 |false |background_type| +|`[Int]`|false |named |False |background_type| #### **CutoffBlue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |cutoff_Blue| +|`[Float]`|false |named |False |cutoff_Blue| #### **CutoffGreen** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |1 |false |cutoff_Green| +|`[Float]`|false |named |False |cutoff_Green| #### **CutoffRed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |cutoff_Red| +|`[Float]`|false |named |False |cutoff_Red| #### **CutoffYellow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |3 |false |cutoff_Yellow| +|`[Float]`|false |named |False |cutoff_Yellow| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowBlue** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |show_Blue| +|`[Switch]`|false |named |False |show_Blue| #### **ShowGreen** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_Green| +|`[Switch]`|false |named |False |show_Green| #### **ShowRed** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[switch]`|false |Named |false |show_Red| +|`[Switch]`|false |named |False |show_Red| #### **ShowYellow** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |show_Yellow| +|`[Switch]`|false |named |False |show_Yellow| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSelectiveColorShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [-ShowRed ] [-ShowGreen ] [-ShowBlue ] [-ShowYellow ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 467890f58b9293bf92614cc6e627a38a35039ae9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4155/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSelectiveColorShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSelectiveColorShader.json b/docs/_data/Help/Get-OBSSelectiveColorShader.json index 167a52600..fce5d6bdf 100644 --- a/docs/_data/Help/Get-OBSSelectiveColorShader.json +++ b/docs/_data/Help/Get-OBSSelectiveColorShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 85b393033d1c0b501d9c3f060028a6c772b7c507 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4156/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSShakeShader.md | 93 ++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/docs/Get-OBSShakeShader.md b/docs/Get-OBSShakeShader.md index 80d830c2e..c6932f1e5 100644 --- a/docs/Get-OBSShakeShader.md +++ b/docs/Get-OBSShakeShader.md @@ -2,7 +2,6 @@ Get-OBSShakeShader ------------------ ### Synopsis - Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,139 +15,139 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |8 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **MaxGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |12 |false |max_growth_pixels| +|`[Float]`|false |named |False |max_growth_pixels| #### **MinGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |11 |false |min_growth_pixels| +|`[Float]`|false |named |False |min_growth_pixels| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |13 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | - -#### **RandomScale** - -|Type |Required|Position|PipelineInput|Aliases | -|---------|--------|--------|-------------|------------| -|`[float]`|false |9 |false |random_scale| +|`[Float]`|false |named |False |rand_f | #### **RandomizeMovement** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[switch]`|false |Named |false |randomize_movement| +|`[Switch]`|false |named |False |randomize_movement| + +#### **RandomScale** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[Float]`|false |named |False |random_scale| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |10 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | #### **Worble** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -164,11 +163,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSShakeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [-Worble ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [-RandomizeMovement ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4d1b071f7f607c3b709737f51834f7fc5a39e8a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4157/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSShakeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSShakeShader.json b/docs/_data/Help/Get-OBSShakeShader.json index 83de5fbb8..def40680c 100644 --- a/docs/_data/Help/Get-OBSShakeShader.json +++ b/docs/_data/Help/Get-OBSShakeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b3fa47657f8d6b460387f1d6d3c86b2849a6e61c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4158/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSShineShader.md | 59 +++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Get-OBSShineShader.md b/docs/Get-OBSShineShader.md index 6a3ae88ef..43194d999 100644 --- a/docs/Get-OBSShineShader.md +++ b/docs/Get-OBSShineShader.md @@ -2,7 +2,6 @@ Get-OBSShineShader ------------------ ### Synopsis - Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **DelayPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |4 |false |delay_percent| +|`[Int]`|false |named |False |delay_percent| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |3 |false |gradient_percent| +|`[Int]`|false |named |False |gradient_percent| #### **Hide** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LTex** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |l_tex | +|`[String]`|false |named |False |l_tex | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **OneDirection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |One_Direction| +|`[Switch]`|false |named |False |One_Direction| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShineColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |1 |false |shine_color| +|`[String]`|false |named |False |shine_color| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |2 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **StartAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |start_adjust| +|`[Float]`|false |named |False |start_adjust| #### **StopAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |7 |false |stop_adjust| +|`[Float]`|false |named |False |stop_adjust| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSShineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [-ApplyToAlphaLayer ] [-Ease ] [-Hide ] [-Reverse ] [-OneDirection ] [-Glitch ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 50dab37a0f56dbbe1a88b24bc64e41e2a5f9356b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4159/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSShineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSShineShader.json b/docs/_data/Help/Get-OBSShineShader.json index fd49a93f1..bb19782c3 100644 --- a/docs/_data/Help/Get-OBSShineShader.json +++ b/docs/_data/Help/Get-OBSShineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7c22eb282f7b6ea7b089f19367d5f695d70685c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:51 +0000 Subject: [PATCH 4160/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSimpleGradientShader.md | 47 ++++++++++++----------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBSSimpleGradientShader.md b/docs/Get-OBSSimpleGradientShader.md index 4590c71e3..2dc4b4a37 100644 --- a/docs/Get-OBSSimpleGradientShader.md +++ b/docs/Get-OBSSimpleGradientShader.md @@ -2,7 +2,6 @@ Get-OBSSimpleGradientShader --------------------------- ### Synopsis - Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |alpha_percentage| +|`[Int]`|false |named |False |alpha_percentage| #### **AnimateLensFlair** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[switch]`|false |Named |false |Animate_Lens_Flair| +|`[Switch]`|false |named |False |Animate_Lens_Flair| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |2 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LensFlair** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |Lens_Flair| +|`[Switch]`|false |named |False |Lens_Flair| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |speed_percentage| +|`[Int]`|false |named |False |speed_percentage| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSimpleGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [-LensFlair ] [-AnimateLensFlair ] [-ApplyToAlphaLayer ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 03bb7a37f7131d5aae529a0aed6f8b5f8e5014f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:52 +0000 Subject: [PATCH 4161/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSimpleGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSimpleGradientShader.json b/docs/_data/Help/Get-OBSSimpleGradientShader.json index 7f86021bb..223095c61 100644 --- a/docs/_data/Help/Get-OBSSimpleGradientShader.json +++ b/docs/_data/Help/Get-OBSSimpleGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0c69f88d4f2954f2e75af313ed6293ea7dddd9c3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:52 +0000 Subject: [PATCH 4162/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSimplexNoiseShader.md | 49 +++++++++++++------------------ 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSSimplexNoiseShader.md b/docs/Get-OBSSimplexNoiseShader.md index 4805bb13d..399ba8482 100644 --- a/docs/Get-OBSSimplexNoiseShader.md +++ b/docs/Get-OBSSimplexNoiseShader.md @@ -2,7 +2,6 @@ Get-OBSSimplexNoiseShader ------------------------- ### Synopsis - Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **BackColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |4 |false |Back_Color| +|`[String]`|false |named |False |Back_Color| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ForeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |3 |false |Fore_Color| +|`[String]`|false |named |False |Fore_Color| #### **Fractal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Resolution** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SnapPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |Snap_Percent| +|`[Float]`|false |named |False |Snap_Percent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Speed_Percent| +|`[Float]`|false |named |False |Speed_Percent| #### **UseAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |Use_Alpha_Layer| +|`[Switch]`|false |named |False |Use_Alpha_Layer| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSimplexNoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [-Fractal ] [-UseAlphaLayer ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c726a5765fa7b34e8fd103c4dc12882d55283e71 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:52 +0000 Subject: [PATCH 4163/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSimplexNoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSimplexNoiseShader.json b/docs/_data/Help/Get-OBSSimplexNoiseShader.json index d3aaa0216..6d0a22a7f 100644 --- a/docs/_data/Help/Get-OBSSimplexNoiseShader.json +++ b/docs/_data/Help/Get-OBSSimplexNoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1a81367d752852ad9c1e594fd8a7089f828668f3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:52 +0000 Subject: [PATCH 4164/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSmartDenoiseShader.md | 47 +++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Get-OBSSmartDenoiseShader.md b/docs/Get-OBSSmartDenoiseShader.md index 32bbb243e..507159a2b 100644 --- a/docs/Get-OBSSmartDenoiseShader.md +++ b/docs/Get-OBSSmartDenoiseShader.md @@ -2,7 +2,6 @@ Get-OBSSmartDenoiseShader ------------------------- ### Synopsis - Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UKSigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **USigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UThreshold** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | - -#### **UseShaderTime** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Float]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSmartDenoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 96fc71598331077211b15ec8e9b120d186f4e985 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:52 +0000 Subject: [PATCH 4165/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSmartDenoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSmartDenoiseShader.json b/docs/_data/Help/Get-OBSSmartDenoiseShader.json index d4bac7387..8f0aca83b 100644 --- a/docs/_data/Help/Get-OBSSmartDenoiseShader.json +++ b/docs/_data/Help/Get-OBSSmartDenoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3fdd0e521302fae93c58a334ead1fcf3f9200cd4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:53 +0000 Subject: [PATCH 4166/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSpecularShineShader.md | 53 +++++++++++++----------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Get-OBSSpecularShineShader.md b/docs/Get-OBSSpecularShineShader.md index 502c87cb7..c07c1e32d 100644 --- a/docs/Get-OBSSpecularShineShader.md +++ b/docs/Get-OBSSpecularShineShader.md @@ -2,7 +2,6 @@ Get-OBSSpecularShineShader -------------------------- ### Synopsis - Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,99 +13,99 @@ Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStr ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FlattenNormal** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Hint** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **LightColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------| -|`[float[]]`|false |8 |false |Light_Color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------| +|`[System.Single[]]`|false |named |False |Light_Color| #### **LightPositionX** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **LightPositionY** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **LightStrength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Roughness** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StretchNormalX** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **StretchNormalY** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |7 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSpecularShineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ec380e8f1bf87ab033d88a8b048de5ca93ae882e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:53 +0000 Subject: [PATCH 4167/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSpecularShineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSpecularShineShader.json b/docs/_data/Help/Get-OBSSpecularShineShader.json index e31a95f7e..a63d6e628 100644 --- a/docs/_data/Help/Get-OBSSpecularShineShader.json +++ b/docs/_data/Help/Get-OBSSpecularShineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f49d98de92cb6242176b55b1c9e5fef55c104cfa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:53 +0000 Subject: [PATCH 4168/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSpotlightShader.md | 45 ++++++++++++++-------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSSpotlightShader.md b/docs/Get-OBSSpotlightShader.md index bcc20ecf5..a515a5876 100644 --- a/docs/Get-OBSSpotlightShader.md +++ b/docs/Get-OBSSpotlightShader.md @@ -2,7 +2,6 @@ Get-OBSSpotlightShader ---------------------- ### Synopsis - Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,87 +13,87 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FocusPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Focus_Percent| +|`[Float]`|false |named |False |Focus_Percent| #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |3 |false |Horizontal_Offset| +|`[Float]`|false |named |False |Horizontal_Offset| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Speed_Percent| +|`[Float]`|false |named |False |Speed_Percent| #### **SpotlightColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |2 |false |Spotlight_Color| +|`[String]`|false |named |False |Spotlight_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VerticalOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |4 |false |Vertical_Offset| +|`[Float]`|false |named |False |Vertical_Offset| --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSpotlightShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [-Glitch ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 740a79afb5c993e5624d454161d9e4de91cfc4ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:53 +0000 Subject: [PATCH 4169/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSpotlightShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSpotlightShader.json b/docs/_data/Help/Get-OBSSpotlightShader.json index 854182a18..f43d3b11e 100644 --- a/docs/_data/Help/Get-OBSSpotlightShader.json +++ b/docs/_data/Help/Get-OBSSpotlightShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 28a23f084a82502697974fcb380bb572b1dd3b48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:53 +0000 Subject: [PATCH 4170/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSSwirlShader.md | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Get-OBSSwirlShader.md b/docs/Get-OBSSwirlShader.md index 6d13602f0..29211abfa 100644 --- a/docs/Get-OBSSwirlShader.md +++ b/docs/Get-OBSSwirlShader.md @@ -2,7 +2,6 @@ Get-OBSSwirlShader ------------------ ### Synopsis - Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Inverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSwirlShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [-Animate ] [-Inverse ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f8e3aefae9dd33142cc12840ad7db2afa4a04956 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:53 +0000 Subject: [PATCH 4171/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSSwirlShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSSwirlShader.json b/docs/_data/Help/Get-OBSSwirlShader.json index 2245a99c5..cde822f17 100644 --- a/docs/_data/Help/Get-OBSSwirlShader.json +++ b/docs/_data/Help/Get-OBSSwirlShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b440f20ee024db3ed1979bf8ac78179248cf3cd7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4172/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSTetraShader.md | 67 +++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Get-OBSTetraShader.md b/docs/Get-OBSTetraShader.md index 22b7e2073..0a05d4615 100644 --- a/docs/Get-OBSTetraShader.md +++ b/docs/Get-OBSTetraShader.md @@ -2,7 +2,6 @@ Get-OBSTetraShader ------------------ ### Synopsis - Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |14 |false | +|`[Float]`|false |named |False | #### **BluG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **BluR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **CynB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **CynG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |10 |false | +|`[Float]`|false |named |False | #### **CynR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |9 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |19 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GrnB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |8 |false | +|`[Float]`|false |named |False | #### **GrnG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |7 |false | +|`[Float]`|false |named |False | #### **GrnR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **MagB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **MagG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |16 |false | +|`[Float]`|false |named |False | #### **MagR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |15 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **RedG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **RedR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |20 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **YelB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **YelG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **YelR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTetraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9227397ee09d00cda1ac932dd078eeac3eac0d01 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4173/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSTetraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSTetraShader.json b/docs/_data/Help/Get-OBSTetraShader.json index a26d27811..966d730b0 100644 --- a/docs/_data/Help/Get-OBSTetraShader.json +++ b/docs/_data/Help/Get-OBSTetraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b4c1e9c4fcc454cdba17132625c7154dff5fad00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4174/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSThermalShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Get-OBSThermalShader.md b/docs/Get-OBSThermalShader.md index e4b5d9b87..69e7f9061 100644 --- a/docs/Get-OBSThermalShader.md +++ b/docs/Get-OBSThermalShader.md @@ -2,7 +2,6 @@ Get-OBSThermalShader -------------------- ### Synopsis - Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSThermalShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e1229381663a285ba882238026f94d4e4684bbe4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4175/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSThermalShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSThermalShader.json b/docs/_data/Help/Get-OBSThermalShader.json index cb5416546..422ae31ea 100644 --- a/docs/_data/Help/Get-OBSThermalShader.json +++ b/docs/_data/Help/Get-OBSThermalShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8381929502b5f56e3e117aacce1bbc3edd2d8bbc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4176/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSTvCrtSubpixelShader.md | 39 ++++++++++++------------------ 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSTvCrtSubpixelShader.md b/docs/Get-OBSTvCrtSubpixelShader.md index 89cec03cf..6e3aa0bda 100644 --- a/docs/Get-OBSTvCrtSubpixelShader.md +++ b/docs/Get-OBSTvCrtSubpixelShader.md @@ -2,7 +2,6 @@ Get-OBSTvCrtSubpixelShader -------------------------- ### Synopsis - Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |1 |false | +|`[Int]`|false |named |False | #### **ChannelWidth** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HGap** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VGap** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTvCrtSubpixelShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c8d6789324720ccc2f5e40714e902c4923f4c8a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4177/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSTvCrtSubpixelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json b/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json index 0de0bf554..1f94cb996 100644 --- a/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json +++ b/docs/_data/Help/Get-OBSTvCrtSubpixelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8d2d714b1e1f35a142a72b13d4ad782a922fe208 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4178/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSTwistShader.md | 39 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSTwistShader.md b/docs/Get-OBSTwistShader.md index 98b175533..e10d1ef23 100644 --- a/docs/Get-OBSTwistShader.md +++ b/docs/Get-OBSTwistShader.md @@ -2,7 +2,6 @@ Get-OBSTwistShader ------------------ ### Synopsis - Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Rotation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTwistShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9051ef4dff713abe3da8e43399b0d3b1abed4156 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4179/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSTwistShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSTwistShader.json b/docs/_data/Help/Get-OBSTwistShader.json index a8d7fc1b4..fdbb559eb 100644 --- a/docs/_data/Help/Get-OBSTwistShader.json +++ b/docs/_data/Help/Get-OBSTwistShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b12687f827c4f6eb2c983b05d4e431b19d2687b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4180/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSTwoPassDropShadowShader.md | 77 ++++++++++++-------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Get-OBSTwoPassDropShadowShader.md b/docs/Get-OBSTwoPassDropShadowShader.md index dda6a0034..6ba646467 100644 --- a/docs/Get-OBSTwoPassDropShadowShader.md +++ b/docs/Get-OBSTwoPassDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSTwoPassDropShadowShader ------------------------------ ### Synopsis - Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------------| -|`[switch]`|false |Named |false |is_alpha_premultiplied| +|`[Switch]`|false |named |False |is_alpha_premultiplied| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShadowBlurSize** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |10 |false |shadow_blur_size| +|`[Int]`|false |named |False |shadow_blur_size| #### **ShadowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |11 |false |shadow_color| +|`[String]`|false |named |False |shadow_color| #### **ShadowOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |8 |false |shadow_offset_x| +|`[Int]`|false |named |False |shadow_offset_x| #### **ShadowOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |9 |false |shadow_offset_y| +|`[Int]`|false |named |False |shadow_offset_y| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [-IsAlphaPremultiplied ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f709fe63da7a099bdba08f927a6bbbaf86d24c81 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4181/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSTwoPassDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json b/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json index 2461bde27..d0ea47a01 100644 --- a/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json +++ b/docs/_data/Help/Get-OBSTwoPassDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1340ea0776ae6a09a8b57b47513ca8c6fbbeb474 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:54 +0000 Subject: [PATCH 4182/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSVCRShader.md | 43 +++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSVCRShader.md b/docs/Get-OBSVCRShader.md index 4298e6956..9a417b3e6 100644 --- a/docs/Get-OBSVCRShader.md +++ b/docs/Get-OBSVCRShader.md @@ -2,7 +2,6 @@ Get-OBSVCRShader ---------------- ### Synopsis - Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 31c3ee5602aadccf57c9a9f2fd77ad82784d3bdb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4183/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSVCRShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSVCRShader.json b/docs/_data/Help/Get-OBSVCRShader.json index 8d5c91699..7649be26d 100644 --- a/docs/_data/Help/Get-OBSVCRShader.json +++ b/docs/_data/Help/Get-OBSVCRShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6b73366f21cc361c8c3253d81ccc350c915afbaa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4184/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSVHSShader.md | 59 ++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Get-OBSVHSShader.md b/docs/Get-OBSVHSShader.md index 3cde48cc4..752c8d25c 100644 --- a/docs/Get-OBSVHSShader.md +++ b/docs/Get-OBSVHSShader.md @@ -2,7 +2,6 @@ Get-OBSVHSShader ---------------- ### Synopsis - Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |5 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorOffsetIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| - -#### **Force** - |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[String]`|false |named |False | -#### **NoResponse** +#### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoiseIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **NoiseQuality** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **OffsetIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Range** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVHSShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-ColorToReplace] ] [-ApplyToSpecificColor ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 533baa18e722637156e009d7f1e58b2ecf5f11a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4185/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSVHSShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSVHSShader.json b/docs/_data/Help/Get-OBSVHSShader.json index 6e4960fd1..4527a7869 100644 --- a/docs/_data/Help/Get-OBSVHSShader.json +++ b/docs/_data/Help/Get-OBSVHSShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a38e51cbf7785d92512850a4e12d6440fab985df Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4186/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSVignettingShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSVignettingShader.md b/docs/Get-OBSVignettingShader.md index 516313fb4..b8d467837 100644 --- a/docs/Get-OBSVignettingShader.md +++ b/docs/Get-OBSVignettingShader.md @@ -2,7 +2,6 @@ Get-OBSVignettingShader ----------------------- ### Synopsis - Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InnerRadius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **OuterRadius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVignettingShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3d7b38fbe083beccc5bb7b1e8dc63c9deae73cb0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4187/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSVignettingShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSVignettingShader.json b/docs/_data/Help/Get-OBSVignettingShader.json index 61647c987..3ee3ee0f8 100644 --- a/docs/_data/Help/Get-OBSVignettingShader.json +++ b/docs/_data/Help/Get-OBSVignettingShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8b177418bfd3619b08d1a2079d759e832c761cb1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4188/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSVoronoiPixelationShader.md | 35 +++++++++++--------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Get-OBSVoronoiPixelationShader.md b/docs/Get-OBSVoronoiPixelationShader.md index 579397818..dcfc495cd 100644 --- a/docs/Get-OBSVoronoiPixelationShader.md +++ b/docs/Get-OBSVoronoiPixelationShader.md @@ -2,7 +2,6 @@ Get-OBSVoronoiPixelationShader ------------------------------ ### Synopsis - Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixH** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVoronoiPixelationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVoronoiPixelationShader [[-PixH] ] [-Alternative ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8ed402ca1d63ea5db445cc68524d59db72eb62cf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4189/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSVoronoiPixelationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSVoronoiPixelationShader.json b/docs/_data/Help/Get-OBSVoronoiPixelationShader.json index 27678a463..adb637d96 100644 --- a/docs/_data/Help/Get-OBSVoronoiPixelationShader.json +++ b/docs/_data/Help/Get-OBSVoronoiPixelationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 76256c345b87aeeed3e7f783e977624cf66b814f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:55 +0000 Subject: [PATCH 4190/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSZigZagShader.md | 49 ++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Get-OBSZigZagShader.md b/docs/Get-OBSZigZagShader.md index 5172f3a4b..236ef9fe4 100644 --- a/docs/Get-OBSZigZagShader.md +++ b/docs/Get-OBSZigZagShader.md @@ -2,7 +2,6 @@ Get-OBSZigZagShader ------------------- ### Synopsis - Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Angle** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |7 |false | +|`[Int]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Period** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Phase** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZigZagShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9750dee5f056b597b1b14239db9006dada093000 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4191/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSZigZagShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSZigZagShader.json b/docs/_data/Help/Get-OBSZigZagShader.json index 3d2b657a9..877d9a7dd 100644 --- a/docs/_data/Help/Get-OBSZigZagShader.json +++ b/docs/_data/Help/Get-OBSZigZagShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 21208d4d90adc667ff40ed93918c9e91101a0c77 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4192/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSZoomBlurShader.md | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Get-OBSZoomBlurShader.md b/docs/Get-OBSZoomBlurShader.md index ae72bb140..5a397192f 100644 --- a/docs/Get-OBSZoomBlurShader.md +++ b/docs/Get-OBSZoomBlurShader.md @@ -2,7 +2,6 @@ Get-OBSZoomBlurShader --------------------- ### Synopsis - Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Magnitude** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Samples** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |2 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomBlurShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [-Ease ] [-Glitch ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8963a3ee8f23edd02bc2a5a494c64975bb6458f0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4193/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSZoomBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSZoomBlurShader.json b/docs/_data/Help/Get-OBSZoomBlurShader.json index aee04c70d..5e3327904 100644 --- a/docs/_data/Help/Get-OBSZoomBlurShader.json +++ b/docs/_data/Help/Get-OBSZoomBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 92b8e5316ce70c6b8384cbc5c0d70db301915636 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4194/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSZoomShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Get-OBSZoomShader.md b/docs/Get-OBSZoomShader.md index efb3ec830..5124926cb 100644 --- a/docs/Get-OBSZoomShader.md +++ b/docs/Get-OBSZoomShader.md @@ -2,7 +2,6 @@ Get-OBSZoomShader ----------------- ### Synopsis - Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 19f8cc118979f52ef133dfb4d5d2125bb6d73626 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4195/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSZoomShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSZoomShader.json b/docs/_data/Help/Get-OBSZoomShader.json index 8cf5230c1..471ef8b0d 100644 --- a/docs/_data/Help/Get-OBSZoomShader.json +++ b/docs/_data/Help/Get-OBSZoomShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4da0aebb3a18ac6c6a96f26c2a2c93c5768e44b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4196/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Get-OBSZoomXYShader.md | 39 +++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Get-OBSZoomXYShader.md b/docs/Get-OBSZoomXYShader.md index 371860238..0983ab4c2 100644 --- a/docs/Get-OBSZoomXYShader.md +++ b/docs/Get-OBSZoomXYShader.md @@ -2,7 +2,6 @@ Get-OBSZoomXYShader ------------------- ### Synopsis - Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPowe |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XPower** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |x_power| +|`[Float]`|false |named |False |x_power| #### **YPower** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |3 |false |y_power| +|`[Float]`|false |named |False |y_power| --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomXYShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 25faaaa97fa1015271a3c1e9fa038427ca5712c3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:22:56 +0000 Subject: [PATCH 4197/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Get-OBSZoomXYShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Get-OBSZoomXYShader.json b/docs/_data/Help/Get-OBSZoomXYShader.json index cde841cc0..7bc63723c 100644 --- a/docs/_data/Help/Get-OBSZoomXYShader.json +++ b/docs/_data/Help/Get-OBSZoomXYShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2fe11713b0bd8714d1148af040622be4385a40a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4198/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBS3dSwapTransitionShader.md | 47 ++++++++++++--------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBS3dSwapTransitionShader.md b/docs/Add-OBS3dSwapTransitionShader.md index b06a53c24..7e003b128 100644 --- a/docs/Add-OBS3dSwapTransitionShader.md +++ b/docs/Add-OBS3dSwapTransitionShader.md @@ -2,7 +2,6 @@ Get-OBS3dSwapTransitionShader ----------------------------- ### Synopsis - Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Trans |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |background_color| +|`[String]`|false |named |False |background_color| #### **ConvertLinear** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **Depth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Perspective** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Reflection** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBS3dSwapTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3f65621d70bef047000727c13309326a210633ff Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4199/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBS3dSwapTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBS3dSwapTransitionShader.json b/docs/_data/Help/Add-OBS3dSwapTransitionShader.json index e7595fbe4..9304b6700 100644 --- a/docs/_data/Help/Add-OBS3dSwapTransitionShader.json +++ b/docs/_data/Help/Add-OBS3dSwapTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From db5a992948b63b917f3b0f09e01532f4a7939654 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4200/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAddShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSAddShader.md b/docs/Add-OBSAddShader.md index a2db12cab..3273079cd 100644 --- a/docs/Add-OBSAddShader.md +++ b/docs/Add-OBSAddShader.md @@ -2,7 +2,6 @@ Get-OBSAddShader ---------------- ### Synopsis - Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OtherImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |other_image| +|`[String]`|false |named |False |other_image| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAddShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c9ed46badcccbd93347d24eda2d5c19e21819dd3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4201/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAddShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAddShader.json b/docs/_data/Help/Add-OBSAddShader.json index 705b8a877..65dcd33b8 100644 --- a/docs/_data/Help/Add-OBSAddShader.json +++ b/docs/_data/Help/Add-OBSAddShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9072a51f7cccf38e72a420738711c7d135436646 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4202/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAlphaBorderShader.md | 37 +++++++++++++------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSAlphaBorderShader.md b/docs/Add-OBSAlphaBorderShader.md index 5184bf5c5..7670315ad 100644 --- a/docs/Add-OBSAlphaBorderShader.md +++ b/docs/Add-OBSAlphaBorderShader.md @@ -2,7 +2,6 @@ Get-OBSAlphaBorderShader ------------------------ ### Synopsis - Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |2 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |0 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAlphaBorderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ae9da8aad859a31c84f4b0cb955cf166911b9aa7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4203/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAlphaBorderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAlphaBorderShader.json b/docs/_data/Help/Add-OBSAlphaBorderShader.json index a1a1e027f..4b5d0cbfc 100644 --- a/docs/_data/Help/Add-OBSAlphaBorderShader.json +++ b/docs/_data/Help/Add-OBSAlphaBorderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0de461aaa4cd7407022a46b3b88de3f75d86fa28 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4204/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAlphaGamingBentCameraShader.md | 51 ++++++++++------------ 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Add-OBSAlphaGamingBentCameraShader.md b/docs/Add-OBSAlphaGamingBentCameraShader.md index 82845c34b..761886161 100644 --- a/docs/Add-OBSAlphaGamingBentCameraShader.md +++ b/docs/Add-OBSAlphaGamingBentCameraShader.md @@ -2,7 +2,6 @@ Get-OBSAlphaGamingBentCameraShader ---------------------------------- ### Synopsis - Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,105 +13,105 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LeftFlipShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |left_flip_shadow| +|`[Float]`|false |named |False |left_flip_shadow| #### **LeftFlipWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |3 |false |left_flip_width| +|`[Float]`|false |named |False |left_flip_width| #### **LeftSideShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |2 |false |left_side_shadow| +|`[Float]`|false |named |False |left_side_shadow| #### **LeftSideSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |left_side_size| +|`[Float]`|false |named |False |left_side_size| #### **LeftSideWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |left_side_width| +|`[Float]`|false |named |False |left_side_width| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RightFlipShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |right_flip_shadow| +|`[Float]`|false |named |False |right_flip_shadow| #### **RightFlipWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |8 |false |right_flip_width| +|`[Float]`|false |named |False |right_flip_width| #### **RightSideShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |7 |false |right_side_shadow| +|`[Float]`|false |named |False |right_side_shadow| #### **RightSideSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |6 |false |right_side_size| +|`[Float]`|false |named |False |right_side_size| #### **RightSideWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |5 |false |right_side_width| +|`[Float]`|false |named |False |right_side_width| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAlphaGamingBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From fb9f7eeaa182a04fa28211b40caaaa8f5345477b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4205/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json b/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json index d0540bf7b..e40b97e64 100644 --- a/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json +++ b/docs/_data/Help/Add-OBSAlphaGamingBentCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 63f91d7d5d266e8772abc6726054022018347a58 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4206/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAnimatedPathShader.md | 67 ++++++++++++++----------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Add-OBSAnimatedPathShader.md b/docs/Add-OBSAnimatedPathShader.md index 43304efaf..c2855cb1c 100644 --- a/docs/Add-OBSAnimatedPathShader.md +++ b/docs/Add-OBSAnimatedPathShader.md @@ -2,7 +2,6 @@ Get-OBSAnimatedPathShader ------------------------- ### Synopsis - Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PathMap** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |8 |false |path_map| +|`[String]`|false |named |False |path_map| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |7 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAnimatedPathShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [-Reverse ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c9524d8bb8768e4dd962870d4cbaee075274a716 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:06 +0000 Subject: [PATCH 4207/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAnimatedPathShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAnimatedPathShader.json b/docs/_data/Help/Add-OBSAnimatedPathShader.json index e880f077f..c3060fe1d 100644 --- a/docs/_data/Help/Add-OBSAnimatedPathShader.json +++ b/docs/_data/Help/Add-OBSAnimatedPathShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cc71c98b40ff6eb713a7ad1f750070360596b536 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4208/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAnimatedTextureShader.md | 97 +++++++++++++--------------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/docs/Add-OBSAnimatedTextureShader.md b/docs/Add-OBSAnimatedTextureShader.md index 2dc81b3d2..3eba62697 100644 --- a/docs/Add-OBSAnimatedTextureShader.md +++ b/docs/Add-OBSAnimatedTextureShader.md @@ -2,7 +2,6 @@ Get-OBSAnimatedTextureShader ---------------------------- ### Synopsis - Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,181 +15,181 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **AnimationImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |9 |false |Animation_Image| +|`[String]`|false |named |False |Animation_Image| #### **Bounce** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterAnimation** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |center_animation| +|`[Switch]`|false |named |False |center_animation| #### **ColorizationImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[string]`|false |10 |false |Colorization_Image| +|`[String]`|false |named |False |Colorization_Image| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |19 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PolarAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |11 |false |polar_angle| +|`[Float]`|false |named |False |polar_angle| #### **PolarAnimation** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |polar_animation| +|`[Switch]`|false |named |False |polar_animation| #### **PolarHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |12 |false |polar_height| +|`[Float]`|false |named |False |polar_height| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |20 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedHorizontalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------------| -|`[float]`|false |13 |false |speed_horizontal_percent| +|`[Float]`|false |named |False |speed_horizontal_percent| #### **SpeedVerticalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |14 |false |speed_vertical_percent| +|`[Float]`|false |named |False |speed_vertical_percent| #### **TintSpeedHorizontalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |15 |false |tint_speed_horizontal_percent| +|`[Float]`|false |named |False |tint_speed_horizontal_percent| #### **TintSpeedVerticalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |16 |false |tint_speed_vertical_percent| +|`[Float]`|false |named |False |tint_speed_vertical_percent| #### **UseAnimationImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------------| -|`[switch]`|false |Named |false |Use_Animation_Image_Color| +|`[Switch]`|false |named |False |Use_Animation_Image_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -206,11 +205,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAnimatedTextureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [-Reverse ] [-Bounce ] [-CenterAnimation ] [-PolarAnimation ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [-UseAnimationImageColor ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6d2cfbf9cd61cbf68478080873f3ad760a34aed0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4209/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAnimatedTextureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAnimatedTextureShader.json b/docs/_data/Help/Add-OBSAnimatedTextureShader.json index b0e5f975f..31ace01a0 100644 --- a/docs/_data/Help/Add-OBSAnimatedTextureShader.json +++ b/docs/_data/Help/Add-OBSAnimatedTextureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5e89a1dc253fd7ddb1cfde6eb307672dc150236e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4210/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAsciiShader.md | 41 ++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSAsciiShader.md b/docs/Add-OBSAsciiShader.md index c6fa59029..fb5b5cfa9 100644 --- a/docs/Add-OBSAsciiShader.md +++ b/docs/Add-OBSAsciiShader.md @@ -2,7 +2,6 @@ Get-OBSAsciiShader ------------------ ### Synopsis - Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-BaseColor] ] [-Monochrome ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a11b01304ecf50fe13f228cf2a9abdd1805d3a3a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4211/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAsciiShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAsciiShader.json b/docs/_data/Help/Add-OBSAsciiShader.json index 4d6d14224..f55fcc6aa 100644 --- a/docs/_data/Help/Add-OBSAsciiShader.json +++ b/docs/_data/Help/Add-OBSAsciiShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 13405c36bc13661a3c74ac7c0e68181ea81a1eac Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4212/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSAspectRatioShader.md | 71 ++++++++++++++------------------ 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/docs/Add-OBSAspectRatioShader.md b/docs/Add-OBSAspectRatioShader.md index 6b11f78ca..06e75861e 100644 --- a/docs/Add-OBSAspectRatioShader.md +++ b/docs/Add-OBSAspectRatioShader.md @@ -2,7 +2,6 @@ Get-OBSAspectRatioShader ------------------------ ### Synopsis - Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAspectRatioShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9aed0be90607e13f6a1d7f09f05087286d4bcf7d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4213/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSAspectRatioShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSAspectRatioShader.json b/docs/_data/Help/Add-OBSAspectRatioShader.json index fd3cf291f..2affb92f9 100644 --- a/docs/_data/Help/Add-OBSAspectRatioShader.json +++ b/docs/_data/Help/Add-OBSAspectRatioShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 93dc30e34244224c599377944efae9916f691f7a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4214/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBackgroundRemovalShader.md | 81 ++++++++++++-------------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/docs/Add-OBSBackgroundRemovalShader.md b/docs/Add-OBSBackgroundRemovalShader.md index c793634cc..a49d8ebfe 100644 --- a/docs/Add-OBSBackgroundRemovalShader.md +++ b/docs/Add-OBSBackgroundRemovalShader.md @@ -2,7 +2,6 @@ Get-OBSBackgroundRemovalShader ------------------------------ ### Synopsis - Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,133 +15,133 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **Convert601to709** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Convert_601to709| +|`[Switch]`|false |named |False |Convert_601to709| #### **Convert709to601** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Convert_709to601| +|`[Switch]`|false |named |False |Convert_709to601| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Invert** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Target** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -158,11 +157,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBackgroundRemovalShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [-Invert ] [-Convert709to601 ] [-Convert601to709 ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 29afb3c0a8fefc0b9274f98cf2484a6dee013d4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4215/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBackgroundRemovalShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBackgroundRemovalShader.json b/docs/_data/Help/Add-OBSBackgroundRemovalShader.json index 205be77d5..2d460871b 100644 --- a/docs/_data/Help/Add-OBSBackgroundRemovalShader.json +++ b/docs/_data/Help/Add-OBSBackgroundRemovalShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1e91be22245058a67787928723fabab5a4154aaf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4216/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBlendOpacityShader.md | 59 ++++++++++++++----------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Add-OBSBlendOpacityShader.md b/docs/Add-OBSBlendOpacityShader.md index e33409d5c..57f3bbaba 100644 --- a/docs/Add-OBSBlendOpacityShader.md +++ b/docs/Add-OBSBlendOpacityShader.md @@ -2,7 +2,6 @@ Get-OBSBlendOpacityShader ------------------------- ### Synopsis - Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [-Rotational ] [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d9af384adf85cab43be0bfaf2d3729ee505f50fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4217/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBlendOpacityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBlendOpacityShader.json b/docs/_data/Help/Add-OBSBlendOpacityShader.json index 7bbf047ed..a6d378c06 100644 --- a/docs/_data/Help/Add-OBSBlendOpacityShader.json +++ b/docs/_data/Help/Add-OBSBlendOpacityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c22aa734ec310318036da4575c7934c54bcc9c9f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4218/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBlinkShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSBlinkShader.md b/docs/Add-OBSBlinkShader.md index 5389fb6c4..4c2ef4b14 100644 --- a/docs/Add-OBSBlinkShader.md +++ b/docs/Add-OBSBlinkShader.md @@ -2,7 +2,6 @@ Get-OBSBlinkShader ------------------ ### Synopsis - Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b137020954581c151361ff97a3455c26435f5da5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4219/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBlinkShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBlinkShader.json b/docs/_data/Help/Add-OBSBlinkShader.json index 2973e5079..376fc91b5 100644 --- a/docs/_data/Help/Add-OBSBlinkShader.json +++ b/docs/_data/Help/Add-OBSBlinkShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From fb0cb02b69e934ca11a1788d9f86a3df20d4378f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:07 +0000 Subject: [PATCH 4220/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBloomShader.md | 39 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSBloomShader.md b/docs/Add-OBSBloomShader.md index e4fc8bba8..9508b71d4 100644 --- a/docs/Add-OBSBloomShader.md +++ b/docs/Add-OBSBloomShader.md @@ -2,7 +2,6 @@ Get-OBSBloomShader ------------------ ### Synopsis - Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5250b958e2f0c1a668eef4b8047218d86ed39d5e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4221/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBloomShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBloomShader.json b/docs/_data/Help/Add-OBSBloomShader.json index b705909c3..b0ed430cd 100644 --- a/docs/_data/Help/Add-OBSBloomShader.json +++ b/docs/_data/Help/Add-OBSBloomShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 362c05b867eb8c48b319eff5777ff369acec9d71 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4222/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBorderShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSBorderShader.md b/docs/Add-OBSBorderShader.md index 88a592d7b..1a0c697e1 100644 --- a/docs/Add-OBSBorderShader.md +++ b/docs/Add-OBSBorderShader.md @@ -2,7 +2,6 @@ Get-OBSBorderShader ------------------- ### Synopsis - Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,49 +15,49 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBorderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 58c214795cbefad0b58e4206764de5f7841c5dd1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4223/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBorderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBorderShader.json b/docs/_data/Help/Add-OBSBorderShader.json index 868dca86d..e916649e4 100644 --- a/docs/_data/Help/Add-OBSBorderShader.json +++ b/docs/_data/Help/Add-OBSBorderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 65dea1cdd3881b9f1cffa9ec63c6f1753a53c9e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4224/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBoxBlurShader.md | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSBoxBlurShader.md b/docs/Add-OBSBoxBlurShader.md index fb293b9a4..1de90563b 100644 --- a/docs/Add-OBSBoxBlurShader.md +++ b/docs/Add-OBSBoxBlurShader.md @@ -2,7 +2,6 @@ Get-OBSBoxBlurShader -------------------- ### Synopsis - Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b4132cf058d6a2852bcc4f6abe6e5ab2573efcf5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4225/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBoxBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBoxBlurShader.json b/docs/_data/Help/Add-OBSBoxBlurShader.json index e4f7d736f..b7c6450ad 100644 --- a/docs/_data/Help/Add-OBSBoxBlurShader.json +++ b/docs/_data/Help/Add-OBSBoxBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6e4f225cd6c91ae25f7f28797702a578f3b8baf9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4226/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBulgePinchShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSBulgePinchShader.md b/docs/Add-OBSBulgePinchShader.md index a946bf65a..a0c99f99e 100644 --- a/docs/Add-OBSBulgePinchShader.md +++ b/docs/Add-OBSBulgePinchShader.md @@ -2,7 +2,6 @@ Get-OBSBulgePinchShader ----------------------- ### Synopsis - Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Magnitude** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBulgePinchShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [-Animate ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c8c9eb3dd0779a17b7d073ffc76d0c2c4272c956 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4227/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBulgePinchShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBulgePinchShader.json b/docs/_data/Help/Add-OBSBulgePinchShader.json index 7ee877a41..be8927cc5 100644 --- a/docs/_data/Help/Add-OBSBulgePinchShader.json +++ b/docs/_data/Help/Add-OBSBulgePinchShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a2c359364a9f6ac614a13e76aabc249eae7f4a38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4228/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSBurnShader.md | 53 +++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Add-OBSBurnShader.md b/docs/Add-OBSBurnShader.md index dc9a2b771..db2f92fb7 100644 --- a/docs/Add-OBSBurnShader.md +++ b/docs/Add-OBSBurnShader.md @@ -2,7 +2,6 @@ Get-OBSBurnShader ----------------- ### Synopsis - Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ApplySmoke** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |Apply_Smoke| +|`[Switch]`|false |named |False |Apply_Smoke| #### **ApplyToChannel** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Apply_to_Channel| +|`[Switch]`|false |named |False |Apply_to_Channel| #### **BurnGradient** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |0 |false |Burn_Gradient| +|`[String]`|false |named |False |Burn_Gradient| #### **DissolveValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |3 |false |Dissolve_Value| +|`[Float]`|false |named |False |Dissolve_Value| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |Gradient_Adjust| +|`[Float]`|false |named |False |Gradient_Adjust| #### **Iterations** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SmokeHorizonalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |4 |false |Smoke_Horizonal_Speed| +|`[Float]`|false |named |False |Smoke_Horizonal_Speed| #### **SmokeVerticalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |5 |false |Smoke_Vertical_Speed| +|`[Float]`|false |named |False |Smoke_Vertical_Speed| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBurnShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [-Animated ] [-ApplyToChannel ] [-ApplySmoke ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 70ade6c378523af365398f42c06f8692427c7628 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4229/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSBurnShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSBurnShader.json b/docs/_data/Help/Add-OBSBurnShader.json index 0e5ad04b6..5ba3887fa 100644 --- a/docs/_data/Help/Add-OBSBurnShader.json +++ b/docs/_data/Help/Add-OBSBurnShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b18b218e12b015077272e9a10235ed9b22ffeada Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4230/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCartoonShader.md | 75 ++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/docs/Add-OBSCartoonShader.md b/docs/Add-OBSCartoonShader.md index 0235e1b80..14b56e4cb 100644 --- a/docs/Add-OBSCartoonShader.md +++ b/docs/Add-OBSCartoonShader.md @@ -2,7 +2,6 @@ Get-OBSCartoonShader -------------------- ### Synopsis - Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,115 +15,115 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HueSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |9 |false |hue_steps| +|`[Int]`|false |named |False |hue_steps| #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ValueSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |10 |false |value_steps| +|`[Int]`|false |named |False |value_steps| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -140,11 +139,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCartoonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 01413313933482e1fc1a1d6cc234cd722e0550c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4231/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCartoonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCartoonShader.json b/docs/_data/Help/Add-OBSCartoonShader.json index 38965ebad..88074a631 100644 --- a/docs/_data/Help/Add-OBSCartoonShader.json +++ b/docs/_data/Help/Add-OBSCartoonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 843e9aa3984faa552ee4343f2dfe76ddfa8eddb3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:08 +0000 Subject: [PATCH 4232/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCellShadedShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSCellShadedShader.md b/docs/Add-OBSCellShadedShader.md index 7b68ec729..004a4eeca 100644 --- a/docs/Add-OBSCellShadedShader.md +++ b/docs/Add-OBSCellShadedShader.md @@ -2,7 +2,6 @@ Get-OBSCellShadedShader ----------------------- ### Synopsis - Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **AngleSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |0 |false |Angle_Steps| +|`[Int]`|false |named |False |Angle_Steps| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RadiusSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Radius_Steps| +|`[Int]`|false |named |False |Radius_Steps| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCellShadedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From febeca2b744069c3115ea5969f5fb41b6cc50619 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4233/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCellShadedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCellShadedShader.json b/docs/_data/Help/Add-OBSCellShadedShader.json index 3d50c192f..f58cef3f2 100644 --- a/docs/_data/Help/Add-OBSCellShadedShader.json +++ b/docs/_data/Help/Add-OBSCellShadedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From df3cfab533081668fd8b089cecf4b7b4162b2b3e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4234/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSChromaticAberrationShader.md | 47 ++++++++++-------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBSChromaticAberrationShader.md b/docs/Add-OBSChromaticAberrationShader.md index d2e270d01..16ec8a6c1 100644 --- a/docs/Add-OBSChromaticAberrationShader.md +++ b/docs/Add-OBSChromaticAberrationShader.md @@ -2,7 +2,6 @@ Get-OBSChromaticAberrationShader -------------------------------- ### Synopsis - Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |distort_barrel| +|`[Switch]`|false |named |False |distort_barrel| #### **DistortRadial** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |distort_radial| +|`[Switch]`|false |named |False |distort_radial| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gamma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumIter** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------| -|`[int]`|false |2 |false |num_iter| +|`[Int]`|false |named |False |num_iter| #### **OffsetSpectrumYcgco** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------------| -|`[switch]`|false |Named |false |offset_spectrum_ycgco| +|`[Switch]`|false |named |False |offset_spectrum_ycgco| #### **OffsetSpectrumYuv** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |offset_spectrum_yuv| +|`[Switch]`|false |named |False |offset_spectrum_yuv| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseRandom** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |use_random| +|`[Switch]`|false |named |False |use_random| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSChromaticAberrationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [-DistortRadial ] [-DistortBarrel ] [-OffsetSpectrumYcgco ] [-OffsetSpectrumYuv ] [-UseRandom ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3984248f7be4cbf3c798c4f43599fd0e79510d6f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4235/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSChromaticAberrationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSChromaticAberrationShader.json b/docs/_data/Help/Add-OBSChromaticAberrationShader.json index daa15776e..6cc5a22fa 100644 --- a/docs/_data/Help/Add-OBSChromaticAberrationShader.json +++ b/docs/_data/Help/Add-OBSChromaticAberrationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f0520746356dd89aea9a4a8c73bbdc8e9f6d2f88 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4236/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSChromaUVDistortionShader.md | 37 ++++++++++--------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSChromaUVDistortionShader.md b/docs/Add-OBSChromaUVDistortionShader.md index 00901d12d..036fe326d 100644 --- a/docs/Add-OBSChromaUVDistortionShader.md +++ b/docs/Add-OBSChromaUVDistortionShader.md @@ -2,7 +2,6 @@ Get-OBSChromaUVDistortionShader ------------------------------- ### Synopsis - Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Chroma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Distortion** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSChromaUVDistortionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 700e0e7759547bd4bd9584aff87fc0f748187848 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4237/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSChromaUVDistortionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSChromaUVDistortionShader.json b/docs/_data/Help/Add-OBSChromaUVDistortionShader.json index 66e162085..b44fc1c65 100644 --- a/docs/_data/Help/Add-OBSChromaUVDistortionShader.json +++ b/docs/_data/Help/Add-OBSChromaUVDistortionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From db04c6efc3ff8840247eea023a49c29dbc2557f4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4238/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCircleMaskFilterShader.md | 43 +++++++++++---------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSCircleMaskFilterShader.md b/docs/Add-OBSCircleMaskFilterShader.md index 7d6a01076..510c1b8cc 100644 --- a/docs/Add-OBSCircleMaskFilterShader.md +++ b/docs/Add-OBSCircleMaskFilterShader.md @@ -2,7 +2,6 @@ Get-OBSCircleMaskFilterShader ----------------------------- ### Synopsis - Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CircleOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |1 |false |Circle_Offset_X| +|`[Int]`|false |named |False |Circle_Offset_X| #### **CircleOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |2 |false |Circle_Offset_Y| +|`[Int]`|false |named |False |Circle_Offset_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SourceOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |3 |false |Source_Offset_X| +|`[Int]`|false |named |False |Source_Offset_X| #### **SourceOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |4 |false |Source_Offset_Y| +|`[Int]`|false |named |False |Source_Offset_Y| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCircleMaskFilterShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [-Antialiasing ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 626370f107a882d426a1dde4bf2dd6ad22a5b26a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4239/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCircleMaskFilterShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCircleMaskFilterShader.json b/docs/_data/Help/Add-OBSCircleMaskFilterShader.json index 50ea58fd9..fb16ac976 100644 --- a/docs/_data/Help/Add-OBSCircleMaskFilterShader.json +++ b/docs/_data/Help/Add-OBSCircleMaskFilterShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3f45c2f9941a559311bf8d1da00f4ca59c912dd9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4240/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSClockAnalogShader.md | 77 +++++++++++++++----------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Add-OBSClockAnalogShader.md b/docs/Add-OBSClockAnalogShader.md index 5e56201df..2cf894bac 100644 --- a/docs/Add-OBSClockAnalogShader.md +++ b/docs/Add-OBSClockAnalogShader.md @@ -2,7 +2,6 @@ Get-OBSClockAnalogShader ------------------------ ### Synopsis - Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,111 +13,111 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-C ### Parameters #### **BackgroundColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|----------------| -|`[float[]]`|false |9 |false |background_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|----------------| +|`[System.Single[]]`|false |named |False |background_color| #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeMs** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |current_time_ms| +|`[Int]`|false |named |False |current_time_ms| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HourHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |4 |false |hour_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |hour_handle_color| #### **MinuteHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------------| -|`[float[]]`|false |5 |false |minute_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------------| +|`[System.Single[]]`|false |named |False |minute_handle_color| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OutlineColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------| -|`[float[]]`|false |7 |false |outline_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------| +|`[System.Single[]]`|false |named |False |outline_color| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SecondHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------------| -|`[float[]]`|false |6 |false |second_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------------| +|`[System.Single[]]`|false |named |False |second_handle_color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeOffsetHours** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |10 |false |time_offset_hours| +|`[Int]`|false |named |False |time_offset_hours| #### **TopLineColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------------| -|`[float[]]`|false |8 |false |top_line_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------------| +|`[System.Single[]]`|false |named |False |top_line_color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockAnalogShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 79b0e882c111cd1f6dc6db82dd900066c05bdc8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4241/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSClockAnalogShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSClockAnalogShader.json b/docs/_data/Help/Add-OBSClockAnalogShader.json index c188ec73d..ec1db7dfd 100644 --- a/docs/_data/Help/Add-OBSClockAnalogShader.json +++ b/docs/_data/Help/Add-OBSClockAnalogShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a4eeeff821f4ece12e9bf0949e763346acdc4ddd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4242/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSClockDigitalLedShader.md | 51 ++++++++++++---------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Add-OBSClockDigitalLedShader.md b/docs/Add-OBSClockDigitalLedShader.md index 739d5a131..5c31ba02b 100644 --- a/docs/Add-OBSClockDigitalLedShader.md +++ b/docs/Add-OBSClockDigitalLedShader.md @@ -2,7 +2,6 @@ Get-OBSClockDigitalLedShader ---------------------------- ### Synopsis - Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |2 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LedColor** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetHours** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |5 |false | +|`[Int]`|false |named |False | #### **OffsetSeconds** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowMatrix** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShowOff** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeMode** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [-ShowMatrix ] [-ShowOff ] [-Ampm ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ca7609a9d24e300946d0073c6800ebcb067dc171 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4243/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSClockDigitalLedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSClockDigitalLedShader.json b/docs/_data/Help/Add-OBSClockDigitalLedShader.json index a0948321d..419b04585 100644 --- a/docs/_data/Help/Add-OBSClockDigitalLedShader.json +++ b/docs/_data/Help/Add-OBSClockDigitalLedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 79eb5b39d0864037fc424dbc6c32355629805c15 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4244/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSClockDigitalNixieShader.md | 75 ++++++++++++-------------- 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/docs/Add-OBSClockDigitalNixieShader.md b/docs/Add-OBSClockDigitalNixieShader.md index e73968e07..5af84a4da 100644 --- a/docs/Add-OBSClockDigitalNixieShader.md +++ b/docs/Add-OBSClockDigitalNixieShader.md @@ -2,7 +2,6 @@ Get-OBSClockDigitalNixieShader ------------------------------ ### Synopsis - Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,117 +13,117 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ### Parameters #### **Anodecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |10 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Anodehighlightscolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |11 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Corecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |7 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeMs** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |current_time_ms| +|`[Int]`|false |named |False |current_time_ms| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Flarecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |9 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Halocolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |8 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetHours** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |5 |false | +|`[Int]`|false |named |False | #### **OffsetSeconds** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeMode** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |4 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -140,11 +139,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockDigitalNixieShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From cde943f509fa9fdfd6866244ba5a6d38c6ae3630 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:09 +0000 Subject: [PATCH 4245/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSClockDigitalNixieShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSClockDigitalNixieShader.json b/docs/_data/Help/Add-OBSClockDigitalNixieShader.json index 1cb0ec481..21739b95a 100644 --- a/docs/_data/Help/Add-OBSClockDigitalNixieShader.json +++ b/docs/_data/Help/Add-OBSClockDigitalNixieShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cd1d43e8663518d1670d8302612229cb9b58366d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4246/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSColorDepthShader.md | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSColorDepthShader.md b/docs/Add-OBSColorDepthShader.md index 09a9a7a91..7a2c10ffb 100644 --- a/docs/Add-OBSColorDepthShader.md +++ b/docs/Add-OBSColorDepthShader.md @@ -2,7 +2,6 @@ Get-OBSColorDepthShader ----------------------- ### Synopsis - Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSColorDepthShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 42c1089f85534e662306f93ccce5cd8c5469f149 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4247/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSColorDepthShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSColorDepthShader.json b/docs/_data/Help/Add-OBSColorDepthShader.json index 571d37737..f27fcb23a 100644 --- a/docs/_data/Help/Add-OBSColorDepthShader.json +++ b/docs/_data/Help/Add-OBSColorDepthShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 36d86a543995fe80b4b29cc7f71636c0382dad4d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4248/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSColorGradeFilterShader.md | 41 +++++++++++---------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSColorGradeFilterShader.md b/docs/Add-OBSColorGradeFilterShader.md index c8b096fa0..c6a05c9a1 100644 --- a/docs/Add-OBSColorGradeFilterShader.md +++ b/docs/Add-OBSColorGradeFilterShader.md @@ -2,7 +2,6 @@ Get-OBSColorGradeFilterShader ----------------------------- ### Synopsis - Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Lut** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LutAmountPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |2 |false |lut_amount_percent| +|`[Int]`|false |named |False |lut_amount_percent| #### **LutOffsetPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |4 |false |lut_offset_percent| +|`[Int]`|false |named |False |lut_offset_percent| #### **LutScalePercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |lut_scale_percent| +|`[Int]`|false |named |False |lut_scale_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSColorGradeFilterShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 339898c4aacbfab650b7e1d02bb58b6d171efd13 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4249/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSColorGradeFilterShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSColorGradeFilterShader.json b/docs/_data/Help/Add-OBSColorGradeFilterShader.json index 12b6a9177..b06631ebe 100644 --- a/docs/_data/Help/Add-OBSColorGradeFilterShader.json +++ b/docs/_data/Help/Add-OBSColorGradeFilterShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2d5f1d74cc02e33d44cfb373d5ff996f50ff8bb1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4250/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCornerPinShader.md | 49 +++++++++++++++------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSCornerPinShader.md b/docs/Add-OBSCornerPinShader.md index 1a122c1ea..6fc77671d 100644 --- a/docs/Add-OBSCornerPinShader.md +++ b/docs/Add-OBSCornerPinShader.md @@ -2,7 +2,6 @@ Get-OBSCornerPinShader ---------------------- ### Synopsis - Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |Antialias_Edges| +|`[Switch]`|false |named |False |Antialias_Edges| #### **BottomLeftX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |4 |false |Bottom_Left_X| +|`[Float]`|false |named |False |Bottom_Left_X| #### **BottomLeftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Bottom_Left_Y| +|`[Float]`|false |named |False |Bottom_Left_Y| #### **BottomRightX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |6 |false |Bottom_Right_X| +|`[Float]`|false |named |False |Bottom_Right_X| #### **BottomRightY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |7 |false |Bottom_Right_Y| +|`[Float]`|false |named |False |Bottom_Right_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TopLeftX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |Top_Left_X| +|`[Float]`|false |named |False |Top_Left_X| #### **TopLeftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |Top_Left_Y| +|`[Float]`|false |named |False |Top_Left_Y| #### **TopRightX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Top_Right_X| +|`[Float]`|false |named |False |Top_Right_X| #### **TopRightY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |Top_Right_Y| +|`[Float]`|false |named |False |Top_Right_Y| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCornerPinShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCornerPinShader [-AntialiasEdges ] [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c530603542261e98ff3b43cabb4c7471752b2568 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4251/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCornerPinShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCornerPinShader.json b/docs/_data/Help/Add-OBSCornerPinShader.json index d5d734e67..b86acea1f 100644 --- a/docs/_data/Help/Add-OBSCornerPinShader.json +++ b/docs/_data/Help/Add-OBSCornerPinShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1ef4cbdef7ef7c601d1a6bb3de87a66f442fc4fd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4252/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCrtCurvatureShader.md | 37 +++++++++++++------------------ 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSCrtCurvatureShader.md b/docs/Add-OBSCrtCurvatureShader.md index 16cd6a949..ab0280728 100644 --- a/docs/Add-OBSCrtCurvatureShader.md +++ b/docs/Add-OBSCrtCurvatureShader.md @@ -2,7 +2,6 @@ Get-OBSCrtCurvatureShader ------------------------- ### Synopsis - Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Feathering** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCrtCurvatureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5ac69e828d18abe6b61cabbfcc3a720f56bf7623 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4253/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCrtCurvatureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCrtCurvatureShader.json b/docs/_data/Help/Add-OBSCrtCurvatureShader.json index 727f5e96c..f22cd33ef 100644 --- a/docs/_data/Help/Add-OBSCrtCurvatureShader.json +++ b/docs/_data/Help/Add-OBSCrtCurvatureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3195b0254fbe1475c51ba2d6acd446a658323f3d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4254/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCurveShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSCurveShader.md b/docs/Add-OBSCurveShader.md index e164f1b6e..b2adf5321 100644 --- a/docs/Add-OBSCurveShader.md +++ b/docs/Add-OBSCurveShader.md @@ -2,7 +2,6 @@ Get-OBSCurveShader ------------------ ### Synopsis - Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6db1c792c3224ae8cfd2075b93bbeb23990bfc41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:10 +0000 Subject: [PATCH 4255/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCurveShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCurveShader.json b/docs/_data/Help/Add-OBSCurveShader.json index 0a2b63e17..bdde1131c 100644 --- a/docs/_data/Help/Add-OBSCurveShader.json +++ b/docs/_data/Help/Add-OBSCurveShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 303261f406bf193dcf5bcf1b413ec602413af0fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4256/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCutRectPerCornerShader.md | 49 ++++++++++++--------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSCutRectPerCornerShader.md b/docs/Add-OBSCutRectPerCornerShader.md index c76a7c6d2..2afa0f284 100644 --- a/docs/Add-OBSCutRectPerCornerShader.md +++ b/docs/Add-OBSCutRectPerCornerShader.md @@ -2,7 +2,6 @@ Get-OBSCutRectPerCornerShader ----------------------------- ### Synopsis - Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerBl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |3 |false |corner_bl| +|`[Int]`|false |named |False |corner_bl| #### **CornerBr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |2 |false |corner_br| +|`[Int]`|false |named |False |corner_br| #### **CornerTl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |0 |false |corner_tl| +|`[Int]`|false |named |False |corner_tl| #### **CornerTr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |1 |false |corner_tr| +|`[Int]`|false |named |False |corner_tr| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCutRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 831122e8d7548da59150dd9c029e71e788c3fd2d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4257/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCutRectPerCornerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCutRectPerCornerShader.json b/docs/_data/Help/Add-OBSCutRectPerCornerShader.json index 38453760e..1de0ae52d 100644 --- a/docs/_data/Help/Add-OBSCutRectPerCornerShader.json +++ b/docs/_data/Help/Add-OBSCutRectPerCornerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0c5f369b79dcde99edd5dd1e920492b2c7605619 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4258/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSCylinderShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSCylinderShader.md b/docs/Add-OBSCylinderShader.md index 07a2cacf1..873c78048 100644 --- a/docs/Add-OBSCylinderShader.md +++ b/docs/Add-OBSCylinderShader.md @@ -2,7 +2,6 @@ Get-OBSCylinderShader --------------------- ### Synopsis - Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |background_cut| +|`[Float]`|false |named |False |background_cut| #### **CylinderFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |cylinder_factor| +|`[Float]`|false |named |False |cylinder_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCylinderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 622e0a4851f6ffbf482278a37571b3ab7a316091 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4259/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSCylinderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSCylinderShader.json b/docs/_data/Help/Add-OBSCylinderShader.json index 6f6a0f013..5774b470e 100644 --- a/docs/_data/Help/Add-OBSCylinderShader.json +++ b/docs/_data/Help/Add-OBSCylinderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3a71474344716b3643a098cb2237352b4db2d2a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4260/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDarkenShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSDarkenShader.md b/docs/Add-OBSDarkenShader.md index a3eab1244..0d45d9a78 100644 --- a/docs/Add-OBSDarkenShader.md +++ b/docs/Add-OBSDarkenShader.md @@ -2,7 +2,6 @@ Get-OBSDarkenShader ------------------- ### Synopsis - Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |1 |false |Fill_Percentage| +|`[Float]`|false |named |False |Fill_Percentage| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **OpacityPercentage** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |0 |false |Opacity_Percentage| +|`[Float]`|false |named |False |Opacity_Percentage| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDarkenShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5155d4276c4a8749d8152ce5da7b78543e7f8970 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4261/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDarkenShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDarkenShader.json b/docs/_data/Help/Add-OBSDarkenShader.json index 73897b41b..9f2837528 100644 --- a/docs/_data/Help/Add-OBSDarkenShader.json +++ b/docs/_data/Help/Add-OBSDarkenShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9f5832cb29dfcf74d3552276007300782dcbdc31 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4262/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDeadPixelFixerShader.md | 35 ++++++++++++----------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSDeadPixelFixerShader.md b/docs/Add-OBSDeadPixelFixerShader.md index 52de7278a..7a0e34a40 100644 --- a/docs/Add-OBSDeadPixelFixerShader.md +++ b/docs/Add-OBSDeadPixelFixerShader.md @@ -2,7 +2,6 @@ Get-OBSDeadPixelFixerShader --------------------------- ### Synopsis - Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |0 |false |Dead_Pixel_X| +|`[Int]`|false |named |False |Dead_Pixel_X| #### **DeadPixelY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Dead_Pixel_Y| +|`[Int]`|false |named |False |Dead_Pixel_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDeadPixelFixerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From df6820e5548457435ae2ff58cb51edf81b735b6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4263/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDeadPixelFixerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDeadPixelFixerShader.json b/docs/_data/Help/Add-OBSDeadPixelFixerShader.json index aa2307b6c..5e80f1339 100644 --- a/docs/_data/Help/Add-OBSDeadPixelFixerShader.json +++ b/docs/_data/Help/Add-OBSDeadPixelFixerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b02df65ff798797303d545aca982ac81945be489 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4264/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDensitySatHueShader.md | 73 ++++++++++++++---------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Add-OBSDensitySatHueShader.md b/docs/Add-OBSDensitySatHueShader.md index 4880aadca..a30556382 100644 --- a/docs/Add-OBSDensitySatHueShader.md +++ b/docs/Add-OBSDensitySatHueShader.md @@ -2,7 +2,6 @@ Get-OBSDensitySatHueShader -------------------------- ### Synopsis - Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,169 +15,169 @@ Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-Saturati |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |13 |false |density_b| +|`[Float]`|false |named |False |density_b| #### **DensityC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |10 |false |density_c| +|`[Float]`|false |named |False |density_c| #### **DensityG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |7 |false |density_g| +|`[Float]`|false |named |False |density_g| #### **DensityM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |16 |false |density_m| +|`[Float]`|false |named |False |density_m| #### **DensityR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |1 |false |density_r| +|`[Float]`|false |named |False |density_r| #### **DensityY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |4 |false |density_y| +|`[Float]`|false |named |False |density_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |22 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlobalDensity** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |19 |false |global_density| +|`[Float]`|false |named |False |global_density| #### **GlobalSaturation** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |20 |false |global_saturation| +|`[Float]`|false |named |False |global_saturation| #### **HueShiftB** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |15 |false |hueShift_b| +|`[Float]`|false |named |False |hueShift_b| #### **HueShiftC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |12 |false |hueShift_c| +|`[Float]`|false |named |False |hueShift_c| #### **HueShiftG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |9 |false |hueShift_g| +|`[Float]`|false |named |False |hueShift_g| #### **HueShiftM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |18 |false |hueShift_m| +|`[Float]`|false |named |False |hueShift_m| #### **HueShiftR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |3 |false |hueShift_r| +|`[Float]`|false |named |False |hueShift_r| #### **HueShiftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |6 |false |hueShift_y| +|`[Float]`|false |named |False |hueShift_y| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SaturationB** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |14 |false |saturation_b| +|`[Float]`|false |named |False |saturation_b| #### **SaturationC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |11 |false |saturation_c| +|`[Float]`|false |named |False |saturation_c| #### **SaturationG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |8 |false |saturation_g| +|`[Float]`|false |named |False |saturation_g| #### **SaturationM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |17 |false |saturation_m| +|`[Float]`|false |named |False |saturation_m| #### **SaturationR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |saturation_r| +|`[Float]`|false |named |False |saturation_r| #### **SaturationY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |5 |false |saturation_y| +|`[Float]`|false |named |False |saturation_y| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |23 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -194,11 +193,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDensitySatHueShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bfb8930a6068be75a52537804cfe08fafee3efcb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4265/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDensitySatHueShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDensitySatHueShader.json b/docs/_data/Help/Add-OBSDensitySatHueShader.json index ca5255638..91dc11503 100644 --- a/docs/_data/Help/Add-OBSDensitySatHueShader.json +++ b/docs/_data/Help/Add-OBSDensitySatHueShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f542cf672ececeff50bc0d2697bf6025d7d0388e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4266/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDiffuseTransitionShader.md | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSDiffuseTransitionShader.md b/docs/Add-OBSDiffuseTransitionShader.md index 43a253369..75675e21b 100644 --- a/docs/Add-OBSDiffuseTransitionShader.md +++ b/docs/Add-OBSDiffuseTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSDiffuseTransitionShader ------------------------------ ### Synopsis - Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tran |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumSamples** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |3 |false |num_samples| +|`[Int]`|false |named |False |num_samples| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDiffuseTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4be05d034c5e8fda417c8deee6d2cb281f47378a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4267/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDiffuseTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDiffuseTransitionShader.json b/docs/_data/Help/Add-OBSDiffuseTransitionShader.json index af344a64e..60618b4a7 100644 --- a/docs/_data/Help/Add-OBSDiffuseTransitionShader.json +++ b/docs/_data/Help/Add-OBSDiffuseTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bc63db9fe2d1887df2526f0d50b4ede185434ed9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4268/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDigitalRainShader.md | 47 ++++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBSDigitalRainShader.md b/docs/Add-OBSDigitalRainShader.md index 2cf2d3177..7260531c5 100644 --- a/docs/Add-OBSDigitalRainShader.md +++ b/docs/Add-OBSDigitalRainShader.md @@ -2,7 +2,6 @@ Get-OBSDigitalRainShader ------------------------ ### Synopsis - Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5dd7fe5fd18e636301dc7e612f32f54e47d83922 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:11 +0000 Subject: [PATCH 4269/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDigitalRainShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDigitalRainShader.json b/docs/_data/Help/Add-OBSDigitalRainShader.json index 9f8c5f9b2..92e7f0912 100644 --- a/docs/_data/Help/Add-OBSDigitalRainShader.json +++ b/docs/_data/Help/Add-OBSDigitalRainShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 50468742f7f2b1038018db0f8900b66608d18f2e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4270/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDivideRotateShader.md | 41 +++++++++++++------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSDivideRotateShader.md b/docs/Add-OBSDivideRotateShader.md index 651cec3c6..38615db21 100644 --- a/docs/Add-OBSDivideRotateShader.md +++ b/docs/Add-OBSDivideRotateShader.md @@ -2,7 +2,6 @@ Get-OBSDivideRotateShader ------------------------- ### Synopsis - Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |alpha_percentage| +|`[Int]`|false |named |False |alpha_percentage| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IChannel0** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |speed_percentage| +|`[Int]`|false |named |False |speed_percentage| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDivideRotateShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 983db4f63c5a24778f51999df59c90af4ad5620e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4271/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDivideRotateShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDivideRotateShader.json b/docs/_data/Help/Add-OBSDivideRotateShader.json index 9f95b286b..41662a5db 100644 --- a/docs/_data/Help/Add-OBSDivideRotateShader.json +++ b/docs/_data/Help/Add-OBSDivideRotateShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e3cc3f33ea778af7b91c0a9ca73ea0484e299e74 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4272/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDoodleShader.md | 73 +++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Add-OBSDoodleShader.md b/docs/Add-OBSDoodleShader.md index 8939cc510..9727fc2fe 100644 --- a/docs/Add-OBSDoodleShader.md +++ b/docs/Add-OBSDoodleShader.md @@ -2,7 +2,6 @@ Get-OBSDoodleShader ------------------- ### Synopsis - Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |8 |false |Doodle_Scale_Percent| +|`[Float]`|false |named |False |Doodle_Scale_Percent| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SnapPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |9 |false |Snap_Percent| +|`[Float]`|false |named |False |Snap_Percent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDoodleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1fbc2f8962fa238ce6003cab3c23fc5b09f0690e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4273/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDoodleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDoodleShader.json b/docs/_data/Help/Add-OBSDoodleShader.json index 769adca77..41105c78e 100644 --- a/docs/_data/Help/Add-OBSDoodleShader.json +++ b/docs/_data/Help/Add-OBSDoodleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e482520c8644d9c1cdb30f05424d9318fd6162a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4274/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDrawingsShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSDrawingsShader.md b/docs/Add-OBSDrawingsShader.md index 219eef585..825061a5e 100644 --- a/docs/Add-OBSDrawingsShader.md +++ b/docs/Add-OBSDrawingsShader.md @@ -2,7 +2,6 @@ Get-OBSDrawingsShader --------------------- ### Synopsis - Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a29dbae94539e3fcbb9a63ef4622f26b875d434a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4275/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDrawingsShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDrawingsShader.json b/docs/_data/Help/Add-OBSDrawingsShader.json index 48d75446d..9f29446bf 100644 --- a/docs/_data/Help/Add-OBSDrawingsShader.json +++ b/docs/_data/Help/Add-OBSDrawingsShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 512974cae4d62facf74ceca30f84fbd0ef4e8b91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4276/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDropShadowShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSDropShadowShader.md b/docs/Add-OBSDropShadowShader.md index cd0d0bd1d..70e474ccf 100644 --- a/docs/Add-OBSDropShadowShader.md +++ b/docs/Add-OBSDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSDropShadowShader ----------------------- ### Synopsis - Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,81 +13,81 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------------| -|`[switch]`|false |Named |false |is_alpha_premultiplied| +|`[Switch]`|false |named |False |is_alpha_premultiplied| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShadowBlurSize** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |shadow_blur_size| +|`[Int]`|false |named |False |shadow_blur_size| #### **ShadowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |4 |false |shadow_color| +|`[String]`|false |named |False |shadow_color| #### **ShadowOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |shadow_offset_x| +|`[Int]`|false |named |False |shadow_offset_x| #### **ShadowOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |1 |false |shadow_offset_y| +|`[Int]`|false |named |False |shadow_offset_y| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [-IsAlphaPremultiplied ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 376047bb5d397eb362ac08011417311d8a514a20 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4277/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDropShadowShader.json b/docs/_data/Help/Add-OBSDropShadowShader.json index 2cdff2899..8c563d2a7 100644 --- a/docs/_data/Help/Add-OBSDropShadowShader.json +++ b/docs/_data/Help/Add-OBSDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3422ec526fcc0d596139a15a2ff4a0fdd66c1275 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4278/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDrunkShader.md | 57 +++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/docs/Add-OBSDrunkShader.md b/docs/Add-OBSDrunkShader.md index 792565154..7a27a5548 100644 --- a/docs/Add-OBSDrunkShader.md +++ b/docs/Add-OBSDrunkShader.md @@ -2,7 +2,6 @@ Get-OBSDrunkShader ------------------ ### Synopsis - Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **Blur** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |0 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |6 |false |glow_color| +|`[String]`|false |named |False |glow_color| #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |glow_percent| +|`[Int]`|false |named |False |glow_percent| #### **MaxBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |4 |false |max_brightness| +|`[Int]`|false |named |False |max_brightness| #### **MinBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |min_brightness| +|`[Int]`|false |named |False |min_brightness| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |5 |false |pulse_speed_percent| +|`[Int]`|false |named |False |pulse_speed_percent| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDrunkShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [-ApplyToAlphaLayer ] [[-GlowColor] ] [-Ease ] [-Glitch ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bb2075a844f62df6c4c4fea5111f14188eb8672a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4279/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDrunkShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDrunkShader.json b/docs/_data/Help/Add-OBSDrunkShader.json index 3188fb20b..b5d121d86 100644 --- a/docs/_data/Help/Add-OBSDrunkShader.json +++ b/docs/_data/Help/Add-OBSDrunkShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 35038623681bff56019b1785eea5e5339b6fa773 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:12 +0000 Subject: [PATCH 4280/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSDynamicMaskShader.md | 81 +++++++++++++++----------------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/docs/Add-OBSDynamicMaskShader.md b/docs/Add-OBSDynamicMaskShader.md index d3a9a0050..895c8d20a 100644 --- a/docs/Add-OBSDynamicMaskShader.md +++ b/docs/Add-OBSDynamicMaskShader.md @@ -2,7 +2,6 @@ Get-OBSDynamicMaskShader ------------------------ ### Synopsis - Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,193 +15,193 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |23 |false |alpha_alpha_input_value| +|`[Float]`|false |named |False |alpha_alpha_input_value| #### **AlphaBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |19 |false |alpha_base_value| +|`[Float]`|false |named |False |alpha_base_value| #### **AlphaBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |22 |false |alpha_blue_input_value| +|`[Float]`|false |named |False |alpha_blue_input_value| #### **AlphaGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |21 |false |alpha_green_input_value| +|`[Float]`|false |named |False |alpha_green_input_value| #### **AlphaMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |24 |false |alpha_multiplier| +|`[Float]`|false |named |False |alpha_multiplier| #### **AlphaRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |20 |false |alpha_red_input_value| +|`[Float]`|false |named |False |alpha_red_input_value| #### **BlueAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |17 |false |blue_alpha_input_value| +|`[Float]`|false |named |False |blue_alpha_input_value| #### **BlueBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |blue_base_value| +|`[Float]`|false |named |False |blue_base_value| #### **BlueBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |16 |false |blue_blue_input_value| +|`[Float]`|false |named |False |blue_blue_input_value| #### **BlueGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |15 |false |blue_green_input_value| +|`[Float]`|false |named |False |blue_green_input_value| #### **BlueMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |18 |false |blue_multiplier| +|`[Float]`|false |named |False |blue_multiplier| #### **BlueRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |14 |false |blue_red_input_value| +|`[Float]`|false |named |False |blue_red_input_value| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |26 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GreenAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |11 |false |green_alpha_input_value| +|`[Float]`|false |named |False |green_alpha_input_value| #### **GreenBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |green_base_value| +|`[Float]`|false |named |False |green_base_value| #### **GreenBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |10 |false |green_blue_input_value| +|`[Float]`|false |named |False |green_blue_input_value| #### **GreenGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |9 |false |green_green_input_value| +|`[Float]`|false |named |False |green_green_input_value| #### **GreenMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |12 |false |green_multiplier| +|`[Float]`|false |named |False |green_multiplier| #### **GreenRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |8 |false |green_red_input_value| +|`[Float]`|false |named |False |green_red_input_value| #### **InputSource** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |0 |false |input_source| +|`[String]`|false |named |False |input_source| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |5 |false |red_alpha_input_value| +|`[Float]`|false |named |False |red_alpha_input_value| #### **RedBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |red_base_value| +|`[Float]`|false |named |False |red_base_value| #### **RedBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |4 |false |red_blue_input_value| +|`[Float]`|false |named |False |red_blue_input_value| #### **RedGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |3 |false |red_green_input_value| +|`[Float]`|false |named |False |red_green_input_value| #### **RedMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |6 |false |red_multiplier| +|`[Float]`|false |named |False |red_multiplier| #### **RedRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------------| -|`[float]`|false |2 |false |red_red_input_value| +|`[Float]`|false |named |False |red_red_input_value| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |27 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |25 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -218,11 +217,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDynamicMaskShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2735994b1ea75b2db22fba5402e679978c9d2fe0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4281/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSDynamicMaskShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSDynamicMaskShader.json b/docs/_data/Help/Add-OBSDynamicMaskShader.json index e9ad5017c..753b04007 100644 --- a/docs/_data/Help/Add-OBSDynamicMaskShader.json +++ b/docs/_data/Help/Add-OBSDynamicMaskShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 267582db79e19c5c55ecb596fd73c23a83f75c7d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4282/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSEdgeDetectionShader.md | 63 +++++++++++++----------------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/docs/Add-OBSEdgeDetectionShader.md b/docs/Add-OBSEdgeDetectionShader.md index 23ad8c596..8be8a6643 100644 --- a/docs/Add-OBSEdgeDetectionShader.md +++ b/docs/Add-OBSEdgeDetectionShader.md @@ -2,7 +2,6 @@ Get-OBSEdgeDetectionShader -------------------------- ### Synopsis - Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |alpha_channel| +|`[Switch]`|false |named |False |alpha_channel| #### **AlphaInvert** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |alpha_invert| +|`[Switch]`|false |named |False |alpha_invert| #### **AlphaLevel** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |alpha_level| +|`[Float]`|false |named |False |alpha_level| #### **EdgeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |1 |false |edge_color| +|`[String]`|false |named |False |edge_color| #### **EdgeMultiply** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |edge_multiply| +|`[Switch]`|false |named |False |edge_multiply| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertEdge** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |invert_edge| - -#### **NoResponse** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False |invert_edge| #### **NonEdgeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[string]`|false |2 |false |non_edge_color| +|`[String]`|false |named |False |non_edge_color| #### **NonEdgeMultiply** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |non_edge_multiply| +|`[Switch]`|false |named |False |non_edge_multiply| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |4 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Sensitivity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEdgeDetectionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [-InvertEdge ] [[-EdgeColor] ] [-EdgeMultiply ] [[-NonEdgeColor] ] [-NonEdgeMultiply ] [-AlphaChannel ] [[-AlphaLevel] ] [-AlphaInvert ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 47ca8f9f49efcff43b4b8f81e3f313fe7df2d856 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4283/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSEdgeDetectionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSEdgeDetectionShader.json b/docs/_data/Help/Add-OBSEdgeDetectionShader.json index 9b494b357..d364ada5e 100644 --- a/docs/_data/Help/Add-OBSEdgeDetectionShader.json +++ b/docs/_data/Help/Add-OBSEdgeDetectionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c01f02c4a4f940ec0104a407118a4cd5c951353e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4284/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSEmbersShader.md | 95 +++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Add-OBSEmbersShader.md b/docs/Add-OBSEmbersShader.md index 0a77701e9..b20dd9715 100644 --- a/docs/Add-OBSEmbersShader.md +++ b/docs/Add-OBSEmbersShader.md @@ -2,7 +2,6 @@ Get-OBSEmbersShader ------------------- ### Synopsis - Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,175 +15,175 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |20 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **AnimationSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |Animation_Speed| +|`[Float]`|false |named |False |Animation_Speed| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |22 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LayersCount** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |17 |false |Layers_Count| +|`[Int]`|false |named |False |Layers_Count| #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |18 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |19 |false | +|`[Float]`|false |named |False | #### **MovementDirectionHorizontal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |14 |false |Movement_Direction_Horizontal| +|`[Float]`|false |named |False |Movement_Direction_Horizontal| #### **MovementDirectionVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |15 |false |Movement_Direction_Vertical| +|`[Float]`|false |named |False |Movement_Direction_Vertical| #### **MovementSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------------| -|`[int]`|false |16 |false |Movement_Speed_Percent| +|`[Int]`|false |named |False |Movement_Speed_Percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |12 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |23 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -200,11 +199,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbersShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8e600d13669fc5988e455b997ee8d0f51339a0b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4285/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSEmbersShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSEmbersShader.json b/docs/_data/Help/Add-OBSEmbersShader.json index 38e75a1fe..c25091fba 100644 --- a/docs/_data/Help/Add-OBSEmbersShader.json +++ b/docs/_data/Help/Add-OBSEmbersShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5e141097af8c3ac45d9b291d3e11873d7dc8a9f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4286/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSEmbossColorShader.md | 43 +++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSEmbossColorShader.md b/docs/Add-OBSEmbossColorShader.md index 1b946a4c0..2094b0100 100644 --- a/docs/Add-OBSEmbossColorShader.md +++ b/docs/Add-OBSEmbossColorShader.md @@ -2,7 +2,6 @@ Get-OBSEmbossColorShader ------------------------ ### Synopsis - Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **AngleSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |0 |false |Angle_Steps| +|`[Int]`|false |named |False |Angle_Steps| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RadiusSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Radius_Steps| +|`[Int]`|false |named |False |Radius_Steps| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UpDownPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |3 |false |Up_Down_Percent| +|`[Int]`|false |named |False |Up_Down_Percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbossColorShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e64825cd1af7ab1882d0f9c4f2e38bbb3f8fd8de Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4287/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSEmbossColorShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSEmbossColorShader.json b/docs/_data/Help/Add-OBSEmbossColorShader.json index 88e8cc70a..a9e344e0c 100644 --- a/docs/_data/Help/Add-OBSEmbossColorShader.json +++ b/docs/_data/Help/Add-OBSEmbossColorShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 392e0d49fd0c90fd8a93ec5ed1082d6b8b227b1b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4288/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSEmbossShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSEmbossShader.md b/docs/Add-OBSEmbossShader.md index fa23ddd55..b054d901f 100644 --- a/docs/Add-OBSEmbossShader.md +++ b/docs/Add-OBSEmbossShader.md @@ -2,7 +2,6 @@ Get-OBSEmbossShader ------------------- ### Synopsis - Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |Use_Color| +|`[Switch]`|false |named |False |Use_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbossShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbossShader [-UseColor ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2f229c9f2c93ae97cd113eec85c1cef4930b9221 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4289/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSEmbossShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSEmbossShader.json b/docs/_data/Help/Add-OBSEmbossShader.json index 1a159dbbb..026c5ce18 100644 --- a/docs/_data/Help/Add-OBSEmbossShader.json +++ b/docs/_data/Help/Add-OBSEmbossShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2f68c18258d44b7712b9727ed9680e7a09e6a80b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4290/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSExeldroBentCameraShader.md | 51 +++++++++++--------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Add-OBSExeldroBentCameraShader.md b/docs/Add-OBSExeldroBentCameraShader.md index 912d4f2b9..d38ae0a1d 100644 --- a/docs/Add-OBSExeldroBentCameraShader.md +++ b/docs/Add-OBSExeldroBentCameraShader.md @@ -2,7 +2,6 @@ Get-OBSExeldroBentCameraShader ------------------------------ ### Synopsis - Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,105 +13,105 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d29ff31d0a71f63ae460041cdf9c82fe35c18c91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4291/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSExeldroBentCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSExeldroBentCameraShader.json b/docs/_data/Help/Add-OBSExeldroBentCameraShader.json index f7017ef5b..97ae580e0 100644 --- a/docs/_data/Help/Add-OBSExeldroBentCameraShader.json +++ b/docs/_data/Help/Add-OBSExeldroBentCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1946d09973b7ebe2679190fd4801381f4f2b082f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:13 +0000 Subject: [PATCH 4292/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFadeTransitionShader.md | 39 ++++++++++++----------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSFadeTransitionShader.md b/docs/Add-OBSFadeTransitionShader.md index f36c14929..9ac586e6c 100644 --- a/docs/Add-OBSFadeTransitionShader.md +++ b/docs/Add-OBSFadeTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSFadeTransitionShader --------------------------- ### Synopsis - Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFadeTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 178d83aa8aeebb907bdf7ec363c19b3a65e6364e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4293/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFadeTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFadeTransitionShader.json b/docs/_data/Help/Add-OBSFadeTransitionShader.json index d14e4ca63..bc051a0d4 100644 --- a/docs/_data/Help/Add-OBSFadeTransitionShader.json +++ b/docs/_data/Help/Add-OBSFadeTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a7eaaff97bb2e23e138ad664e859f8195f576a86 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4294/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFillColorGradientShader.md | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSFillColorGradientShader.md b/docs/Add-OBSFillColorGradientShader.md index 49cd80e2e..9b821e72f 100644 --- a/docs/Add-OBSFillColorGradientShader.md +++ b/docs/Add-OBSFillColorGradientShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorGradientShader ------------------------------ ### Synopsis - Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |4 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |Gradient_Offset| +|`[Float]`|false |named |False |Gradient_Offset| #### **GradientWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |Gradient_Width| +|`[Float]`|false |named |False |Gradient_Width| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9ced2fa3b3fba91f8138af593ba07fbdb1a87052 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4295/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFillColorGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFillColorGradientShader.json b/docs/_data/Help/Add-OBSFillColorGradientShader.json index 4123ff909..bf65f0cd9 100644 --- a/docs/_data/Help/Add-OBSFillColorGradientShader.json +++ b/docs/_data/Help/Add-OBSFillColorGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3106d4e2132779436e7a963c3adb58046bb08013 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4296/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFillColorLinearShader.md | 37 +++++++++++----------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSFillColorLinearShader.md b/docs/Add-OBSFillColorLinearShader.md index c142370b9..7f2c04005 100644 --- a/docs/Add-OBSFillColorLinearShader.md +++ b/docs/Add-OBSFillColorLinearShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorLinearShader ---------------------------- ### Synopsis - Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |2 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |1 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorLinearShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a0dbbc5d56aad78147c8a79a8a71ddc86c2b8d66 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4297/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFillColorLinearShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFillColorLinearShader.json b/docs/_data/Help/Add-OBSFillColorLinearShader.json index 6f3e71ec6..6da086b3c 100644 --- a/docs/_data/Help/Add-OBSFillColorLinearShader.json +++ b/docs/_data/Help/Add-OBSFillColorLinearShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2958edba2b12537d8d3e661b22d65fa0d54381d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4298/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFillColorRadialDegreesShader.md | 43 +++++++++------------ 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSFillColorRadialDegreesShader.md b/docs/Add-OBSFillColorRadialDegreesShader.md index ae2234a6d..c57d04d7d 100644 --- a/docs/Add-OBSFillColorRadialDegreesShader.md +++ b/docs/Add-OBSFillColorRadialDegreesShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorRadialDegreesShader ----------------------------------- ### Synopsis - Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |5 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |0 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Start_Angle| +|`[Float]`|false |named |False |Start_Angle| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorRadialDegreesShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5692ab503da750a7feb5ac80d69d993a69a29550 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4299/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json b/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json index 81a001404..7ad1a1b70 100644 --- a/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json +++ b/docs/_data/Help/Add-OBSFillColorRadialDegreesShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1e7fa0eba7d81fb9b9259364e2e881f97831e19e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4300/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- .../Add-OBSFillColorRadialPercentageShader.md | 43 ++++++++----------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSFillColorRadialPercentageShader.md b/docs/Add-OBSFillColorRadialPercentageShader.md index 6cc1bd22f..8dfd505bf 100644 --- a/docs/Add-OBSFillColorRadialPercentageShader.md +++ b/docs/Add-OBSFillColorRadialPercentageShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorRadialPercentageShader -------------------------------------- ### Synopsis - Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |5 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |0 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Start_Angle| +|`[Float]`|false |named |False |Start_Angle| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorRadialPercentageShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e8f51342dac7a045d1ca505e229cfd13fddd4320 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4301/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json b/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json index fd3c3342c..1a86c0783 100644 --- a/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json +++ b/docs/_data/Help/Add-OBSFillColorRadialPercentageShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 72f72240ec07b423820f52a6f552ea045c8d4a76 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4302/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFilterTemplateShader.md | 77 +++++++++++++---------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Add-OBSFilterTemplateShader.md b/docs/Add-OBSFilterTemplateShader.md index 4b9d258a9..2763f7e3f 100644 --- a/docs/Add-OBSFilterTemplateShader.md +++ b/docs/Add-OBSFilterTemplateShader.md @@ -2,7 +2,6 @@ Get-OBSFilterTemplateShader --------------------------- ### Synopsis - Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |12 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFilterTemplateShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e4152f8e382fcc747dfadb8b3262f5e73eefb23e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4303/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFilterTemplateShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFilterTemplateShader.json b/docs/_data/Help/Add-OBSFilterTemplateShader.json index 3a0c96520..5c2eba345 100644 --- a/docs/_data/Help/Add-OBSFilterTemplateShader.json +++ b/docs/_data/Help/Add-OBSFilterTemplateShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2e59ba5bda0d7abe291c39c2fb41fcf52e01c1cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:14 +0000 Subject: [PATCH 4304/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFire3Shader.md | 107 +++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 57 deletions(-) diff --git a/docs/Add-OBSFire3Shader.md b/docs/Add-OBSFire3Shader.md index ba84c632d..2515dc6ac 100644 --- a/docs/Add-OBSFire3Shader.md +++ b/docs/Add-OBSFire3Shader.md @@ -2,7 +2,6 @@ Get-OBSFire3Shader ------------------ ### Synopsis - Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,211 +15,211 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |14 |false |Alpha_Percentage| +|`[Int]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |18 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |24 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FlameModifier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |21 |false |Flame_Modifier| +|`[Float]`|false |named |False |Flame_Modifier| #### **FlameSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |19 |false |Flame_Size| +|`[Float]`|false |named |False |Flame_Size| #### **FlameTongueSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |22 |false |Flame_Tongue_Size| +|`[Float]`|false |named |False |Flame_Tongue_Size| #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FullWidth** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |Full_Width| +|`[Switch]`|false |named |False |Full_Width| #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Invert** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |16 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **MovementDirectionHorizontal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |12 |false |Movement_Direction_Horizontal| +|`[Float]`|false |named |False |Movement_Direction_Horizontal| #### **MovementDirectionVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |13 |false |Movement_Direction_Vertical| +|`[Float]`|false |named |False |Movement_Direction_Vertical| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |25 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |23 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SparkGridHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |20 |false |Spark_Grid_Height| +|`[Float]`|false |named |False |Spark_Grid_Height| #### **Speed** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |15 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -236,11 +235,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFire3Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [-Invert ] [[-LumaMin] ] [[-LumaMinSmooth] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-ColorToReplace] ] [-ApplyToSpecificColor ] [-FullWidth ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 35edf0afdc6749d3a5780e5fa14c0749ed726519 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4305/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFire3Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFire3Shader.json b/docs/_data/Help/Add-OBSFire3Shader.json index c29623591..e3602effa 100644 --- a/docs/_data/Help/Add-OBSFire3Shader.json +++ b/docs/_data/Help/Add-OBSFire3Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cce4cb034f50253f68f94d6d3d434234232b0012 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4306/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFireShader.md | 55 +++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/docs/Add-OBSFireShader.md b/docs/Add-OBSFireShader.md index 2d0c6e393..99ce788bb 100644 --- a/docs/Add-OBSFireShader.md +++ b/docs/Add-OBSFireShader.md @@ -2,7 +2,6 @@ Get-OBSFireShader ----------------- ### Synopsis - Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,115 +15,115 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [-Invert ] [[-LumaMin] ] [[-LumaMinSmooth] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e66d14fb7bd753919cf46de1d1e572115322fb49 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4307/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFireShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFireShader.json b/docs/_data/Help/Add-OBSFireShader.json index a06399abd..af997ea1f 100644 --- a/docs/_data/Help/Add-OBSFireShader.json +++ b/docs/_data/Help/Add-OBSFireShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 231c7a5dd4d0c138734a8cef7e0201af8738a99c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4308/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFireworks2Shader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSFireworks2Shader.md b/docs/Add-OBSFireworks2Shader.md index dcb059676..54c300c8e 100644 --- a/docs/Add-OBSFireworks2Shader.md +++ b/docs/Add-OBSFireworks2Shader.md @@ -2,7 +2,6 @@ Get-OBSFireworks2Shader ----------------------- ### Synopsis - Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFireworks2Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 63580cb3c9c8be844257483ce7698e303a9027d8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4309/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFireworks2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFireworks2Shader.json b/docs/_data/Help/Add-OBSFireworks2Shader.json index 7f012b906..5f52a7e2b 100644 --- a/docs/_data/Help/Add-OBSFireworks2Shader.json +++ b/docs/_data/Help/Add-OBSFireworks2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e5d4c677f91f070245d2ee2574937ff6fa966b54 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4310/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFireworksShader.md | 37 ++++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSFireworksShader.md b/docs/Add-OBSFireworksShader.md index 78ea455eb..79ddd0309 100644 --- a/docs/Add-OBSFireworksShader.md +++ b/docs/Add-OBSFireworksShader.md @@ -2,7 +2,6 @@ Get-OBSFireworksShader ---------------------- ### Synopsis - Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowFlash** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_flash| +|`[Switch]`|false |named |False |show_flash| #### **ShowStars** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_stars| +|`[Switch]`|false |named |False |show_stars| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UseTransparancy** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |use_transparancy| +|`[Switch]`|false |named |False |use_transparancy| --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFireworksShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFireworksShader [-ShowFlash ] [-ShowStars ] [-UseTransparancy ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e1be9da0ea6a9e1dfca73da2790cacd2b991d75d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4311/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFireworksShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFireworksShader.json b/docs/_data/Help/Add-OBSFireworksShader.json index d70cab7ad..306183c67 100644 --- a/docs/_data/Help/Add-OBSFireworksShader.json +++ b/docs/_data/Help/Add-OBSFireworksShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 39d691058d4d97e0d356bbaa49af2afd8e166d6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4312/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFisheyeShader.md | 37 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSFisheyeShader.md b/docs/Add-OBSFisheyeShader.md index ba70a8f14..ca4f154b9 100644 --- a/docs/Add-OBSFisheyeShader.md +++ b/docs/Add-OBSFisheyeShader.md @@ -2,7 +2,6 @@ Get-OBSFisheyeShader -------------------- ### Synopsis - Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |0 |false |center_x_percent| +|`[Float]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |1 |false |center_y_percent| +|`[Float]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFisheyeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6d6de1e1fd383a9bec765f4d6385cb7381ec59d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4313/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFisheyeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFisheyeShader.json b/docs/_data/Help/Add-OBSFisheyeShader.json index 88ef68395..bdcb9d2f4 100644 --- a/docs/_data/Help/Add-OBSFisheyeShader.json +++ b/docs/_data/Help/Add-OBSFisheyeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5cf100ea06d7baf75840733a4d11b3bd855b4c17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4314/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFisheyeXyShader.md | 39 ++++++++++++++-------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSFisheyeXyShader.md b/docs/Add-OBSFisheyeXyShader.md index 9ac5e15f3..eebe2d2e3 100644 --- a/docs/Add-OBSFisheyeXyShader.md +++ b/docs/Add-OBSFisheyeXyShader.md @@ -2,7 +2,6 @@ Get-OBSFisheyeXyShader ---------------------- ### Synopsis - Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |0 |false |center_x_percent| +|`[Float]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |1 |false |center_y_percent| +|`[Float]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PowerX** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |power_x| +|`[Float]`|false |named |False |power_x| #### **PowerY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |3 |false |power_y| +|`[Float]`|false |named |False |power_y| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFisheyeXyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 681f19c7c7786fbc2676ec2d433ef3c794f0d7c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4315/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFisheyeXyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFisheyeXyShader.json b/docs/_data/Help/Add-OBSFisheyeXyShader.json index 5386532d5..a4c4c84cb 100644 --- a/docs/_data/Help/Add-OBSFisheyeXyShader.json +++ b/docs/_data/Help/Add-OBSFisheyeXyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b0b606c004abe191151580f393f8f4d4eff9db22 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4316/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFlipShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSFlipShader.md b/docs/Add-OBSFlipShader.md index 2aa386c27..2ab91e53a 100644 --- a/docs/Add-OBSFlipShader.md +++ b/docs/Add-OBSFlipShader.md @@ -2,7 +2,6 @@ Get-OBSFlipShader ----------------- ### Synopsis - Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderTex ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFlipShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFlipShader [-Horizontal ] [-Vertical ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e133e304f73766f9bd394f51048c31e24eb33729 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:15 +0000 Subject: [PATCH 4317/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFlipShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFlipShader.json b/docs/_data/Help/Add-OBSFlipShader.json index 3da225f21..7f6128fd1 100644 --- a/docs/_data/Help/Add-OBSFlipShader.json +++ b/docs/_data/Help/Add-OBSFlipShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 24a173301cd8c30fe38acd1fce96344bc7a8a966 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4318/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSFrostedGlassShader.md | 47 +++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBSFrostedGlassShader.md b/docs/Add-OBSFrostedGlassShader.md index c2abc55d6..9ec703727 100644 --- a/docs/Add-OBSFrostedGlassShader.md +++ b/docs/Add-OBSFrostedGlassShader.md @@ -2,7 +2,6 @@ Get-OBSFrostedGlassShader ------------------------- ### Synopsis - Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **Amount** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |4 |false |Border_Color| +|`[String]`|false |named |False |Border_Color| #### **BorderOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |3 |false |Border_Offset| +|`[Float]`|false |named |False |Border_Offset| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |Horizontal_Border| +|`[Switch]`|false |named |False |Horizontal_Border| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Scale** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFrostedGlassShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [-Animate ] [-HorizontalBorder ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 202aa20038a7ee3e1875c912f26f3d7abb4291e1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4319/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSFrostedGlassShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSFrostedGlassShader.json b/docs/_data/Help/Add-OBSFrostedGlassShader.json index 3076f6094..096325363 100644 --- a/docs/_data/Help/Add-OBSFrostedGlassShader.json +++ b/docs/_data/Help/Add-OBSFrostedGlassShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3ef66e8ee23587de73bda626996cfd627d4f3d2a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4320/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGammaCorrectionShader.md | 39 ++++++++++++---------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSGammaCorrectionShader.md b/docs/Add-OBSGammaCorrectionShader.md index b4fb52ca0..33c7bd29d 100644 --- a/docs/Add-OBSGammaCorrectionShader.md +++ b/docs/Add-OBSGammaCorrectionShader.md @@ -2,7 +2,6 @@ Get-OBSGammaCorrectionShader ---------------------------- ### Synopsis - Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From dd7ada24e599835d5024ace56c7ce98c5b8ea9d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4321/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGammaCorrectionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGammaCorrectionShader.json b/docs/_data/Help/Add-OBSGammaCorrectionShader.json index be6f57eb7..d4c899951 100644 --- a/docs/_data/Help/Add-OBSGammaCorrectionShader.json +++ b/docs/_data/Help/Add-OBSGammaCorrectionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1759d1ea63401788cdef6187e5f47668cc556367 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4322/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGaussianBlurAdvancedShader.md | 45 ++++++++++------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSGaussianBlurAdvancedShader.md b/docs/Add-OBSGaussianBlurAdvancedShader.md index 39a67d808..cafaf8c34 100644 --- a/docs/Add-OBSGaussianBlurAdvancedShader.md +++ b/docs/Add-OBSGaussianBlurAdvancedShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurAdvancedShader --------------------------------- ### Synopsis - Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |6 |false |Mask_Bottom| +|`[Float]`|false |named |False |Mask_Bottom| #### **MaskLeft** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |3 |false |Mask_Left| +|`[Float]`|false |named |False |Mask_Left| #### **MaskRight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |4 |false |Mask_Right| +|`[Float]`|false |named |False |Mask_Right| #### **MaskTop** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |Mask_Top| +|`[Float]`|false |named |False |Mask_Top| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Quality** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Size** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurAdvancedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ca5f03de24013e8050bf08d5cfe624c2fa37065d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4323/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json b/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json index 56bccb351..19d234348 100644 --- a/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json +++ b/docs/_data/Help/Add-OBSGaussianBlurAdvancedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From acff64a547dce95097ebb55bf8b9104156e1956d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4324/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGaussianBlurShader.md | 97 ++++++++++++++----------------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/docs/Add-OBSGaussianBlurShader.md b/docs/Add-OBSGaussianBlurShader.md index 4ac697d20..fbe664236 100644 --- a/docs/Add-OBSGaussianBlurShader.md +++ b/docs/Add-OBSGaussianBlurShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurShader ------------------------- ### Synopsis - Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |7 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **ImageSize** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **ImageTexel** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |3 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Kernel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |11 |false | +|`[String]`|false |named |False | #### **KernelTexel** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |12 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |13 |false |pixel_size| +|`[Float]`|false |named |False |pixel_size| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UDiameter** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------| -|`[int]`|false |5 |false |u_diameter| +|`[Int]`|false |named |False |u_diameter| #### **URadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------| -|`[int]`|false |4 |false |u_radius| - -#### **UTexelDelta** - -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|------------| -|`[float[]]`|false |6 |false |u_texelDelta| +|`[Int]`|false |named |False |u_radius| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | + +#### **UTexelDelta** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|------------| +|`[System.Single[]]`|false |named |False |u_texelDelta| #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |8 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |10 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |9 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 35600b5e575d031f971893776f0e364fccfa502b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4325/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGaussianBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGaussianBlurShader.json b/docs/_data/Help/Add-OBSGaussianBlurShader.json index 4a6d210db..9630c3f94 100644 --- a/docs/_data/Help/Add-OBSGaussianBlurShader.json +++ b/docs/_data/Help/Add-OBSGaussianBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2a8cd2c95354a889ee7b57a78081024cb7d1f115 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4326/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGaussianBlurSimpleShader.md | 41 ++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSGaussianBlurSimpleShader.md b/docs/Add-OBSGaussianBlurSimpleShader.md index 7cd0578d8..08cf58d9d 100644 --- a/docs/Add-OBSGaussianBlurSimpleShader.md +++ b/docs/Add-OBSGaussianBlurSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurSimpleShader ------------------------------- ### Synopsis - Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |4 |false |Mask_Bottom| +|`[Float]`|false |named |False |Mask_Bottom| #### **MaskLeft** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |1 |false |Mask_Left| +|`[Float]`|false |named |False |Mask_Left| #### **MaskRight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |2 |false |Mask_Right| +|`[Float]`|false |named |False |Mask_Right| #### **MaskTop** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Mask_Top| +|`[Float]`|false |named |False |Mask_Top| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 39e39b29a3843fd04ca8086d7b398ab4b6d5a805 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4327/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json b/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json index 994a9e4b8..da9109be2 100644 --- a/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json +++ b/docs/_data/Help/Add-OBSGaussianBlurSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2fd822f50cad0adab35606d467cc9b0746631fbd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4328/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGaussianExampleShader.md | 77 +++++++++++++--------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Add-OBSGaussianExampleShader.md b/docs/Add-OBSGaussianExampleShader.md index d35ba3b44..7fe2a9fc9 100644 --- a/docs/Add-OBSGaussianExampleShader.md +++ b/docs/Add-OBSGaussianExampleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianExampleShader ---------------------------- ### Synopsis - Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |9 |false |after_image| +|`[String]`|false |named |False |after_image| #### **BeforeImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |8 |false |before_image| +|`[String]`|false |named |False |before_image| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **Exp** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InitialImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |initial_image| +|`[String]`|false |named |False |initial_image| #### **MaxDistance** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |11 |false |max_distance| +|`[Float]`|false |named |False |max_distance| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TextColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |10 |false |text_color| +|`[String]`|false |named |False |text_color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianExampleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e564e09bca63cf3ceb8bdbd5085ad81f3350f764 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:16 +0000 Subject: [PATCH 4329/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGaussianExampleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGaussianExampleShader.json b/docs/_data/Help/Add-OBSGaussianExampleShader.json index e2a0de96e..58383d56d 100644 --- a/docs/_data/Help/Add-OBSGaussianExampleShader.json +++ b/docs/_data/Help/Add-OBSGaussianExampleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 96f157b1d9bdd2a5ae57872165a0ed62a1b438ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4330/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGaussianSimpleShader.md | 89 +++++++++++++---------------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/docs/Add-OBSGaussianSimpleShader.md b/docs/Add-OBSGaussianSimpleShader.md index 6505d646d..a79364813 100644 --- a/docs/Add-OBSGaussianSimpleShader.md +++ b/docs/Add-OBSGaussianSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianSimpleShader --------------------------- ### Synopsis - Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | - -#### **LOD** - -|Type |Required|Position|PipelineInput| -|-------|--------|--------|-------------| -|`[int]`|false |13 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| + +#### **LOD** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[Int]`|false |named |False | #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **Samples** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |12 |false | +|`[Int]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5dde6896103e436eadf9ddda9d63b340aeb00c84 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4331/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGaussianSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGaussianSimpleShader.json b/docs/_data/Help/Add-OBSGaussianSimpleShader.json index b81e0bb7d..60b80d6bf 100644 --- a/docs/_data/Help/Add-OBSGaussianSimpleShader.json +++ b/docs/_data/Help/Add-OBSGaussianSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 66d3a8f022975788b3f6091e68b3f269341eb5da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4332/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGbCameraShader.md | 51 +++++++++++++++-------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Add-OBSGbCameraShader.md b/docs/Add-OBSGbCameraShader.md index cfaa24156..00d602a6b 100644 --- a/docs/Add-OBSGbCameraShader.md +++ b/docs/Add-OBSGbCameraShader.md @@ -2,7 +2,6 @@ Get-OBSGbCameraShader --------------------- ### Synopsis - Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |alternative_bayer| +|`[Switch]`|false |named |False |alternative_bayer| #### **Brightness** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Color1** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |5 |false |color_1| +|`[String]`|false |named |False |color_1| #### **Color2** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |6 |false |color_2| +|`[String]`|false |named |False |color_2| #### **Color3** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |7 |false |color_3| +|`[String]`|false |named |False |color_3| #### **Color4** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |8 |false |color_4| +|`[String]`|false |named |False |color_4| #### **Contrast** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **DitherFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |dither_factor| +|`[Float]`|false |named |False |dither_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gamma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGbCameraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [-AlternativeBayer ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 323c674f0fefd5622347de2b993c187795ad96ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4333/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGbCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGbCameraShader.json b/docs/_data/Help/Add-OBSGbCameraShader.json index dafdd12f4..2701fc6fa 100644 --- a/docs/_data/Help/Add-OBSGbCameraShader.json +++ b/docs/_data/Help/Add-OBSGbCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2ad8e699f09da9fa9e51d235fa4803b37599665a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4334/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGlassShader.md | 51 ++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Add-OBSGlassShader.md b/docs/Add-OBSGlassShader.md index 9c7c8c425..a9e640b0a 100644 --- a/docs/Add-OBSGlassShader.md +++ b/docs/Add-OBSGlassShader.md @@ -2,7 +2,6 @@ Get-OBSGlassShader ------------------ ### Synopsis - Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |6 |false |Border_Color| +|`[String]`|false |named |False |Border_Color| #### **BorderOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Border_Offset| +|`[Float]`|false |named |False |Border_Offset| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlassColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |7 |false |Glass_Color| +|`[String]`|false |named |False |Glass_Color| #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |Horizontal_Border| +|`[Switch]`|false |named |False |Horizontal_Border| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **OffsetAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Offset_Amount| +|`[Float]`|false |named |False |Offset_Amount| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReflectionOffset** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |4 |false |Reflection_Offset| +|`[Int]`|false |named |False |Reflection_Offset| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XSize** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **YSize** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlassShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [-HorizontalBorder ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 75afc68c379b6e820ada4ba134a8f6240e30732f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4335/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGlassShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGlassShader.json b/docs/_data/Help/Add-OBSGlassShader.json index 3895d11fe..ccb74fed9 100644 --- a/docs/_data/Help/Add-OBSGlassShader.json +++ b/docs/_data/Help/Add-OBSGlassShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0318f6b13af99934b23b935b5bb8a7b1fe9a9e0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4336/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGlitchAnalogShader.md | 61 ++++++++++++++----------------- 1 file changed, 27 insertions(+), 34 deletions(-) diff --git a/docs/Add-OBSGlitchAnalogShader.md b/docs/Add-OBSGlitchAnalogShader.md index aa2faa36e..a2d4886f8 100644 --- a/docs/Add-OBSGlitchAnalogShader.md +++ b/docs/Add-OBSGlitchAnalogShader.md @@ -2,7 +2,6 @@ Get-OBSGlitchAnalogShader ------------------------- ### Synopsis - Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,133 +15,133 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |8 |false |alpha_percent| +|`[Int]`|false |named |False |alpha_percent| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorDriftAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |5 |false |color_drift_amount| +|`[Float]`|false |named |False |color_drift_amount| #### **ColorDriftSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |6 |false |color_drift_speed| +|`[Float]`|false |named |False |color_drift_speed| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |9 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalShake** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |horizontal_shake| +|`[Float]`|false |named |False |horizontal_shake| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |7 |false |pulse_speed_percent| +|`[Int]`|false |named |False |pulse_speed_percent| #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |rotate_colors| +|`[Switch]`|false |named |False |rotate_colors| #### **ScanLineJitterDisplacement** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |0 |false |scan_line_jitter_displacement| +|`[Float]`|false |named |False |scan_line_jitter_displacement| #### **ScanLineJitterThresholdPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------------------------| -|`[int]`|false |1 |false |scan_line_jitter_threshold_percent| +|`[Int]`|false |named |False |scan_line_jitter_threshold_percent| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VerticalJumpAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |2 |false |vertical_jump_amount| +|`[Float]`|false |named |False |vertical_jump_amount| #### **VerticalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |3 |false |vertical_speed| +|`[Float]`|false |named |False |vertical_speed| --- @@ -158,11 +157,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlitchAnalogShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [-RotateColors ] [-ApplyToAlphaLayer ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 044e2e71452d2da88f78f187cd306aaa2ec99e98 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4337/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGlitchAnalogShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGlitchAnalogShader.json b/docs/_data/Help/Add-OBSGlitchAnalogShader.json index 5872cd9b9..305702c1f 100644 --- a/docs/_data/Help/Add-OBSGlitchAnalogShader.json +++ b/docs/_data/Help/Add-OBSGlitchAnalogShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 79ecbc2c8f23f9bcb63f0211f3fc8252b60f7835 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4338/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGlitchShader.md | 45 ++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSGlitchShader.md b/docs/Add-OBSGlitchShader.md index 239c02bb5..9bd5cfbb6 100644 --- a/docs/Add-OBSGlitchShader.md +++ b/docs/Add-OBSGlitchShader.md @@ -2,7 +2,6 @@ Get-OBSGlitchShader ------------------- ### Synopsis - Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | - -#### **SPEED** - -|Type |Required|Position|PipelineInput| -|---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| + +#### **SPEED** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlitchShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b8c0f3c15aca1ea91468f60a1af442ed33f2e003 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4339/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGlitchShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGlitchShader.json b/docs/_data/Help/Add-OBSGlitchShader.json index 8a54d1bac..7cff399c7 100644 --- a/docs/_data/Help/Add-OBSGlitchShader.json +++ b/docs/_data/Help/Add-OBSGlitchShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 13001a5e4f37280f0eeac40f7a830b81d9d98747 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4340/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGlowShader.md | 45 +++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSGlowShader.md b/docs/Add-OBSGlowShader.md index f6d735389..46c7373c1 100644 --- a/docs/Add-OBSGlowShader.md +++ b/docs/Add-OBSGlowShader.md @@ -2,7 +2,6 @@ Get-OBSGlowShader ----------------- ### Synopsis - Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |1 |false | +|`[Int]`|false |named |False | #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |0 |false |glow_percent| +|`[Int]`|false |named |False |glow_percent| #### **MaxBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |max_brightness| +|`[Int]`|false |named |False |max_brightness| #### **MinBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |2 |false |min_brightness| +|`[Int]`|false |named |False |min_brightness| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |4 |false |pulse_speed| +|`[Int]`|false |named |False |pulse_speed| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [-Ease ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2e3d8a2101eb0027c76a285596192677d94959a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:17 +0000 Subject: [PATCH 4341/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGlowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGlowShader.json b/docs/_data/Help/Add-OBSGlowShader.json index 17b954e3b..bf035acbe 100644 --- a/docs/_data/Help/Add-OBSGlowShader.json +++ b/docs/_data/Help/Add-OBSGlowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2ba3212d11fe0b16a3b183c0f32961ab53b10f2a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4342/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSGradientShader.md | 67 ++++++++++++++++------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Add-OBSGradientShader.md b/docs/Add-OBSGradientShader.md index 0659fe535..a4c8f01cf 100644 --- a/docs/Add-OBSGradientShader.md +++ b/docs/Add-OBSGradientShader.md @@ -2,7 +2,6 @@ Get-OBSGradientShader --------------------- ### Synopsis - Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |6 |false |alpha_percent| +|`[Int]`|false |named |False |alpha_percent| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |8 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **EndColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |4 |false |end_color| +|`[String]`|false |named |False |end_color| #### **EndStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |end_step| +|`[Float]`|false |named |False |end_step| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientCenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------------------| -|`[int]`|false |10 |false |gradient_center_height_percentage| +|`[Int]`|false |named |False |gradient_center_height_percentage| #### **GradientCenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------------------------| -|`[int]`|false |9 |false |gradient_center_width_percentage| +|`[Int]`|false |named |False |gradient_center_width_percentage| #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MiddleColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |middle_color| +|`[String]`|false |named |False |middle_color| #### **MiddleStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |middle_step| +|`[Float]`|false |named |False |middle_step| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |11 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |7 |false |pulse_speed| +|`[Int]`|false |named |False |pulse_speed| #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |rotate_colors| +|`[Switch]`|false |named |False |rotate_colors| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |start_color| +|`[String]`|false |named |False |start_color| #### **StartStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |start_step| +|`[Float]`|false |named |False |start_step| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [-Ease ] [-RotateColors ] [-ApplyToAlphaLayer ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [-Horizontal ] [-Vertical ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5dcf1fc6428151b536bd09b6e28f573ec32e1e8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4343/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSGradientShader.json b/docs/_data/Help/Add-OBSGradientShader.json index da25a5b56..d163fa07d 100644 --- a/docs/_data/Help/Add-OBSGradientShader.json +++ b/docs/_data/Help/Add-OBSGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 72004315df30e537bb5572c04208cf144c1c513b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4344/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSHalftoneShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSHalftoneShader.md b/docs/Add-OBSHalftoneShader.md index 0702de0f7..f9b030f89 100644 --- a/docs/Add-OBSHalftoneShader.md +++ b/docs/Add-OBSHalftoneShader.md @@ -2,7 +2,6 @@ Get-OBSHalftoneShader --------------------- ### Synopsis - Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Threshold** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHalftoneShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8473d158ad713e35ddd012da744352ec05ddd7f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4345/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSHalftoneShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSHalftoneShader.json b/docs/_data/Help/Add-OBSHalftoneShader.json index 5169bdc1a..b579880d4 100644 --- a/docs/_data/Help/Add-OBSHalftoneShader.json +++ b/docs/_data/Help/Add-OBSHalftoneShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2c9e8954253f1403b90b8848874c69954489d66e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4346/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSHeatWaveSimpleShader.md | 39 ++++++++++++----------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSHeatWaveSimpleShader.md b/docs/Add-OBSHeatWaveSimpleShader.md index 55816175b..9c3daead6 100644 --- a/docs/Add-OBSHeatWaveSimpleShader.md +++ b/docs/Add-OBSHeatWaveSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSHeatWaveSimpleShader --------------------------- ### Synopsis - Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Rate** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHeatWaveSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2f472f5d3b0c76474d9b8dc4e50e21eb714ecb48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4347/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSHeatWaveSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json b/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json index 867dcd3de..89a4eea44 100644 --- a/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json +++ b/docs/_data/Help/Add-OBSHeatWaveSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 86b2bc26282d6f9cbe64eb16e356f4d454c9d6f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4348/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSHexagonShader.md | 59 ++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Add-OBSHexagonShader.md b/docs/Add-OBSHexagonShader.md index 9216f8b42..b33cac6d6 100644 --- a/docs/Add-OBSHexagonShader.md +++ b/docs/Add-OBSHexagonShader.md @@ -2,7 +2,6 @@ Get-OBSHexagonShader -------------------- ### Synopsis - Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |1 |false |Alpha_Percent| +|`[Int]`|false |named |False |Alpha_Percent| #### **Blend** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **BorderWidth** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |3 |false |Border_Width| +|`[Int]`|false |named |False |Border_Width| #### **DistortX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |5 |false |Distort_X| +|`[Float]`|false |named |False |Distort_X| #### **DistortY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |6 |false |Distort_Y| +|`[Float]`|false |named |False |Distort_Y| #### **Equilateral** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HexColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |0 |false |Hex_Color| +|`[String]`|false |named |False |Hex_Color| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |7 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |8 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Quantity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |4 |false |Speed_Percent| +|`[Int]`|false |named |False |Speed_Percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ZoomAnimate** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Zoom_Animate| +|`[Switch]`|false |named |False |Zoom_Animate| --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHexagonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [-Blend ] [-Equilateral ] [-ZoomAnimate ] [[-SpeedPercent] ] [-Glitch ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6a26c3bc8956d365d928fc00bceb568fbbf225bc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4349/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSHexagonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSHexagonShader.json b/docs/_data/Help/Add-OBSHexagonShader.json index eaacec57e..da567fd2b 100644 --- a/docs/_data/Help/Add-OBSHexagonShader.json +++ b/docs/_data/Help/Add-OBSHexagonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 17e875ecb9bf680ee35c3c53dbe151bbbfc570e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4350/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSHslHsvSaturationShader.md | 41 +++++++++++---------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSHslHsvSaturationShader.md b/docs/Add-OBSHslHsvSaturationShader.md index cb3fb0050..3abdab852 100644 --- a/docs/Add-OBSHslHsvSaturationShader.md +++ b/docs/Add-OBSHslHsvSaturationShader.md @@ -2,7 +2,6 @@ Get-OBSHslHsvSaturationShader ----------------------------- ### Synopsis - Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b637b641b1de3fabac1d5e25d4d94d7d9c5682f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4351/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSHslHsvSaturationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSHslHsvSaturationShader.json b/docs/_data/Help/Add-OBSHslHsvSaturationShader.json index 0cd6171c5..f3bdd6bea 100644 --- a/docs/_data/Help/Add-OBSHslHsvSaturationShader.json +++ b/docs/_data/Help/Add-OBSHslHsvSaturationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0e966c80b9fc5f04856d634a20a940cbe81c1bf0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4352/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSHueRotatonShader.md | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSHueRotatonShader.md b/docs/Add-OBSHueRotatonShader.md index f98d9993b..24140b07f 100644 --- a/docs/Add-OBSHueRotatonShader.md +++ b/docs/Add-OBSHueRotatonShader.md @@ -2,7 +2,6 @@ Get-OBSHueRotatonShader ----------------------- ### Synopsis - Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HueOverride** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Hue_Override| +|`[Switch]`|false |named |False |Hue_Override| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHueRotatonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHueRotatonShader [[-Speed] ] [-HueOverride ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f2e5068890dfdfc81c443fc0744b67ca642c3900 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:18 +0000 Subject: [PATCH 4353/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSHueRotatonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSHueRotatonShader.json b/docs/_data/Help/Add-OBSHueRotatonShader.json index bfe2409ff..7d1b0626c 100644 --- a/docs/_data/Help/Add-OBSHueRotatonShader.json +++ b/docs/_data/Help/Add-OBSHueRotatonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ac86bd55fa8f0be2b13fb7dfc4fac5f89eed3b14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4354/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSIntensityScopeShader.md | 35 ++++++++++++----------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSIntensityScopeShader.md b/docs/Add-OBSIntensityScopeShader.md index 9a45b9e83..392da7346 100644 --- a/docs/Add-OBSIntensityScopeShader.md +++ b/docs/Add-OBSIntensityScopeShader.md @@ -2,7 +2,6 @@ Get-OBSIntensityScopeShader --------------------------- ### Synopsis - Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gain** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSIntensityScopeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9620a125c2cabc4d24ce4dd9cad9f9296c60924c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4355/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSIntensityScopeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSIntensityScopeShader.json b/docs/_data/Help/Add-OBSIntensityScopeShader.json index fea527830..c79bc6f1f 100644 --- a/docs/_data/Help/Add-OBSIntensityScopeShader.json +++ b/docs/_data/Help/Add-OBSIntensityScopeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3d1e9867470b72f87901093e8e0ce1093e403633 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4356/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSInvertLumaShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSInvertLumaShader.md b/docs/Add-OBSInvertLumaShader.md index 8d70cf701..14e1b743a 100644 --- a/docs/Add-OBSInvertLumaShader.md +++ b/docs/Add-OBSInvertLumaShader.md @@ -2,7 +2,6 @@ Get-OBSInvertLumaShader ----------------------- ### Synopsis - Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GammaCorrection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Gamma_Correction| +|`[Switch]`|false |named |False |Gamma_Correction| #### **InvertColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Invert_Color| +|`[Switch]`|false |named |False |Invert_Color| #### **InvertLuma** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |Invert_Luma| +|`[Switch]`|false |named |False |Invert_Luma| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TestRamp** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |Test_Ramp| +|`[Switch]`|false |named |False |Test_Ramp| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSInvertLumaShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSInvertLumaShader [-InvertColor ] [-InvertLuma ] [-GammaCorrection ] [-TestRamp ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c15a83643713351ef7be8cace22ce0c2efb3aab9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4357/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSInvertLumaShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSInvertLumaShader.json b/docs/_data/Help/Add-OBSInvertLumaShader.json index 5b6e144c7..5abd320e4 100644 --- a/docs/_data/Help/Add-OBSInvertLumaShader.json +++ b/docs/_data/Help/Add-OBSInvertLumaShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2ea1c408e3d57e70a49367fccc805598fb2c9cdb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4358/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSLuminance2Shader.md | 47 ++++++++++++++------------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBSLuminance2Shader.md b/docs/Add-OBSLuminance2Shader.md index ded8118db..1b3afb79b 100644 --- a/docs/Add-OBSLuminance2Shader.md +++ b/docs/Add-OBSLuminance2Shader.md @@ -2,7 +2,6 @@ Get-OBSLuminance2Shader ----------------------- ### Synopsis - Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [-InvertImageColor ] [-InvertAlphaChannel ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f1cdb3cfafa3548806ecb1e6cc99646fdf9251d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4359/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSLuminance2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSLuminance2Shader.json b/docs/_data/Help/Add-OBSLuminance2Shader.json index 210290dee..4555c78a8 100644 --- a/docs/_data/Help/Add-OBSLuminance2Shader.json +++ b/docs/_data/Help/Add-OBSLuminance2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 083ee78dc255834dee26b83f1f1e48a8993326a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4360/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSLuminanceAlphaShader.md | 83 +++++++++++++---------------- 1 file changed, 38 insertions(+), 45 deletions(-) diff --git a/docs/Add-OBSLuminanceAlphaShader.md b/docs/Add-OBSLuminanceAlphaShader.md index c7cd3777d..ef0f0d526 100644 --- a/docs/Add-OBSLuminanceAlphaShader.md +++ b/docs/Add-OBSLuminanceAlphaShader.md @@ -2,7 +2,6 @@ Get-OBSLuminanceAlphaShader --------------------------- ### Synopsis - Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |add_val| +|`[Float]`|false |named |False |add_val| #### **Color** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |8 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Level** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **MulVal** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |mul_val| +|`[Float]`|false |named |False |mul_val| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSLuminanceAlphaShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [-InvertAlphaChannel ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7900b12601ecb4be17722e338aa73a4233959fbd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4361/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSLuminanceAlphaShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSLuminanceAlphaShader.json b/docs/_data/Help/Add-OBSLuminanceAlphaShader.json index 77530e77b..d269489b4 100644 --- a/docs/_data/Help/Add-OBSLuminanceAlphaShader.json +++ b/docs/_data/Help/Add-OBSLuminanceAlphaShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 376f8e72986c2902c215e5d689755c612075f3d2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4362/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSLuminanceShader.md | 41 ++++++++++++++-------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSLuminanceShader.md b/docs/Add-OBSLuminanceShader.md index 368dd6b97..16e34f312 100644 --- a/docs/Add-OBSLuminanceShader.md +++ b/docs/Add-OBSLuminanceShader.md @@ -2,7 +2,6 @@ Get-OBSLuminanceShader ---------------------- ### Synopsis - Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertImageColor** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Level** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSLuminanceShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [-InvertImageColor ] [-InvertAlphaChannel ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d1da1e712b1daa2d83c19b1eb5c905c177193880 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4363/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSLuminanceShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSLuminanceShader.json b/docs/_data/Help/Add-OBSLuminanceShader.json index d5142f1d2..1e89f6f54 100644 --- a/docs/_data/Help/Add-OBSLuminanceShader.json +++ b/docs/_data/Help/Add-OBSLuminanceShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7d5c731fcfa93ab4b37905ffe051143d5333f2df Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4364/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSMatrixShader.md | 93 +++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/docs/Add-OBSMatrixShader.md b/docs/Add-OBSMatrixShader.md index 699167349..373688964 100644 --- a/docs/Add-OBSMatrixShader.md +++ b/docs/Add-OBSMatrixShader.md @@ -2,7 +2,6 @@ Get-OBSMatrixShader ------------------- ### Synopsis - Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,157 +15,157 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |16 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |18 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InvertDirection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Invert_Direction| +|`[Switch]`|false |named |False |Invert_Direction| #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |14 |false | +|`[Float]`|false |named |False | #### **Mouse** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |12 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **Ratio** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |15 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |19 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |17 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -182,11 +181,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSMatrixShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [-InvertDirection ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5d1dc5c9559ae88d380dfe05802843655afc5ac7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:19 +0000 Subject: [PATCH 4365/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSMatrixShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSMatrixShader.json b/docs/_data/Help/Add-OBSMatrixShader.json index 81fb6d551..ccd1e30d0 100644 --- a/docs/_data/Help/Add-OBSMatrixShader.json +++ b/docs/_data/Help/Add-OBSMatrixShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e6af283b353dad3ab6fabba4f884459db2a04963 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4366/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSMultiplyShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSMultiplyShader.md b/docs/Add-OBSMultiplyShader.md index 552434c86..76e066219 100644 --- a/docs/Add-OBSMultiplyShader.md +++ b/docs/Add-OBSMultiplyShader.md @@ -2,7 +2,6 @@ Get-OBSMultiplyShader --------------------- ### Synopsis - Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OtherImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |other_image| +|`[String]`|false |named |False |other_image| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSMultiplyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6cdbca391799d3c96a823b9de8467af357aa8c47 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4367/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSMultiplyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSMultiplyShader.json b/docs/_data/Help/Add-OBSMultiplyShader.json index c41d7067f..1a09f039f 100644 --- a/docs/_data/Help/Add-OBSMultiplyShader.json +++ b/docs/_data/Help/Add-OBSMultiplyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b58c39712db693ef0b552d3516f9b712d4ba68d0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4368/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSNightSkyShader.md | 95 ++++++++++++++++------------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Add-OBSNightSkyShader.md b/docs/Add-OBSNightSkyShader.md index 3cda16ee1..d088124c6 100644 --- a/docs/Add-OBSNightSkyShader.md +++ b/docs/Add-OBSNightSkyShader.md @@ -2,7 +2,6 @@ Get-OBSNightSkyShader --------------------- ### Synopsis - Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |3 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |2 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |1 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IncludeClouds** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Include_Clouds| +|`[Switch]`|false |named |False |Include_Clouds| #### **IncludeMoon** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Include_Moon| +|`[Switch]`|false |named |False |Include_Moon| #### **LIGHTSKY** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |7 |false |LIGHT_SKY| - -#### **MOONCOLOR** - -|Type |Required|Position|PipelineInput|Aliases | -|----------|--------|--------|-------------|----------| -|`[string]`|false |9 |false |MOON_COLOR| +|`[String]`|false |named |False |LIGHT_SKY| #### **MoonBumpSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |11 |false |moon_bump_size| +|`[Float]`|false |named |False |moon_bump_size| + +#### **MOONCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[String]`|false |named |False |MOON_COLOR| #### **MoonPositionX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |12 |false |Moon_Position_x| +|`[Float]`|false |named |False |Moon_Position_x| #### **MoonPositionY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |Moon_Position_y| +|`[Float]`|false |named |False |Moon_Position_y| #### **MoonSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |10 |false |moon_size| +|`[Float]`|false |named |False |moon_size| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumberStars** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |4 |false |number_stars| +|`[Int]`|false |named |False |number_stars| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |ShaderContent| #### **SKYCOLOR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |5 |false |SKY_COLOR| +|`[String]`|false |named |False |SKY_COLOR| #### **SKYLIGHTNESS** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |SKY_LIGHTNESS| +|`[Float]`|false |named |False |SKY_LIGHTNESS| -#### **STARCOLOR** - -|Type |Required|Position|PipelineInput|Aliases | -|----------|--------|--------|-------------|----------| -|`[string]`|false |6 |false |STAR_COLOR| - -#### **ShaderText** +#### **SourceName** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| - -#### **SourceName** - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | + +#### **STARCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[String]`|false |named |False |STAR_COLOR| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSNightSkyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSNightSkyShader [[-Speed] ] [-IncludeClouds ] [-IncludeMoon ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6f932e7672a11f049a00b31af9cec2683cf5ce8c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4369/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSNightSkyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSNightSkyShader.json b/docs/_data/Help/Add-OBSNightSkyShader.json index 5e8e788ec..00e458c7f 100644 --- a/docs/_data/Help/Add-OBSNightSkyShader.json +++ b/docs/_data/Help/Add-OBSNightSkyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7af9356482de2d402be92312fbc85d31abb2733c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4370/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSOpacityShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSOpacityShader.md b/docs/Add-OBSOpacityShader.md index 1b7aa1459..950b992be 100644 --- a/docs/Add-OBSOpacityShader.md +++ b/docs/Add-OBSOpacityShader.md @@ -2,7 +2,6 @@ Get-OBSOpacityShader -------------------- ### Synopsis - Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSOpacityShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 384568365eda2e4b417e676d2ae9046419ae2392 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4371/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSOpacityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSOpacityShader.json b/docs/_data/Help/Add-OBSOpacityShader.json index 0b7145c2b..29698c99d 100644 --- a/docs/_data/Help/Add-OBSOpacityShader.json +++ b/docs/_data/Help/Add-OBSOpacityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 860fdcdd7b4dddb78f59d654043220a023b9b4ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4372/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPagePeelShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSPagePeelShader.md b/docs/Add-OBSPagePeelShader.md index 33a3026ae..5797684b3 100644 --- a/docs/Add-OBSPagePeelShader.md +++ b/docs/Add-OBSPagePeelShader.md @@ -2,7 +2,6 @@ Get-OBSPagePeelShader --------------------- ### Synopsis - Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From aa6fa7b214cab959660ceafad6b859df823d4e39 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4373/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPagePeelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPagePeelShader.json b/docs/_data/Help/Add-OBSPagePeelShader.json index afad989ec..142f98f65 100644 --- a/docs/_data/Help/Add-OBSPagePeelShader.json +++ b/docs/_data/Help/Add-OBSPagePeelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3a8c8af8aff5cba59bd32e9894be2843f39d8b19 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4374/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPagePeelTransitionShader.md | 43 +++++++++++-------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSPagePeelTransitionShader.md b/docs/Add-OBSPagePeelTransitionShader.md index cf4836bd4..04b597945 100644 --- a/docs/Add-OBSPagePeelTransitionShader.md +++ b/docs/Add-OBSPagePeelTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSPagePeelTransitionShader ------------------------------- ### Synopsis - Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |3 |false |page_color| +|`[String]`|false |named |False |page_color| #### **PageTransparency** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |4 |false |page_transparency| +|`[Float]`|false |named |False |page_transparency| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPagePeelTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bbc4f57641aa7edc83b7025a757f3ddb63935d80 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4375/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPagePeelTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPagePeelTransitionShader.json b/docs/_data/Help/Add-OBSPagePeelTransitionShader.json index 8dc3b44f8..fd398f3cb 100644 --- a/docs/_data/Help/Add-OBSPagePeelTransitionShader.json +++ b/docs/_data/Help/Add-OBSPagePeelTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ed597c5d45547e0ee92423494c2d7430eeb16f54 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:20 +0000 Subject: [PATCH 4376/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPerlinNoiseShader.md | 53 ++++++++++++++------------------ 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Add-OBSPerlinNoiseShader.md b/docs/Add-OBSPerlinNoiseShader.md index bbe6bc6b6..2ed65cd01 100644 --- a/docs/Add-OBSPerlinNoiseShader.md +++ b/docs/Add-OBSPerlinNoiseShader.md @@ -2,7 +2,6 @@ Get-OBSPerlinNoiseShader ------------------------ ### Synopsis - Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ApplyToChannel** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |apply_to_channel| +|`[Switch]`|false |named |False |apply_to_channel| #### **BlackNoise** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |5 |false |black_noise| +|`[Float]`|false |named |False |black_noise| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Inverted** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Iterations** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **Multiply** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **SpeedHorizonal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |1 |false |speed_horizonal| +|`[Float]`|false |named |False |speed_horizonal| #### **SpeedVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |2 |false |speed_vertical| +|`[Float]`|false |named |False |speed_vertical| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **WhiteNoise** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |4 |false |white_noise| +|`[Float]`|false |named |False |white_noise| --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPerlinNoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPerlinNoiseShader [[-Speed] ] [-Animated ] [-ApplyToChannel ] [-Inverted ] [-Multiply ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9557dbdd6a76e26425119569c2798fcb305668b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4377/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPerlinNoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPerlinNoiseShader.json b/docs/_data/Help/Add-OBSPerlinNoiseShader.json index f1c26be33..fbad434ed 100644 --- a/docs/_data/Help/Add-OBSPerlinNoiseShader.json +++ b/docs/_data/Help/Add-OBSPerlinNoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9731143b201241c885743ee0a22a046b91aaa4b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4378/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPieChartShader.md | 79 ++++++++++++++++------------------- 1 file changed, 36 insertions(+), 43 deletions(-) diff --git a/docs/Add-OBSPieChartShader.md b/docs/Add-OBSPieChartShader.md index 61511f8ac..f052dd633 100644 --- a/docs/Add-OBSPieChartShader.md +++ b/docs/Add-OBSPieChartShader.md @@ -2,7 +2,6 @@ Get-OBSPieChartShader --------------------- ### Synopsis - Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,187 +15,187 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |5 |false |color_1| +|`[String]`|false |named |False |color_1| #### **Color10** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |23 |false |color_10| +|`[String]`|false |named |False |color_10| #### **Color2** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |7 |false |color_2| +|`[String]`|false |named |False |color_2| #### **Color3** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |9 |false |color_3| +|`[String]`|false |named |False |color_3| #### **Color4** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |11 |false |color_4| +|`[String]`|false |named |False |color_4| #### **Color5** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |13 |false |color_5| +|`[String]`|false |named |False |color_5| #### **Color6** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |15 |false |color_6| +|`[String]`|false |named |False |color_6| #### **Color7** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |17 |false |color_7| +|`[String]`|false |named |False |color_7| #### **Color8** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |19 |false |color_8| +|`[String]`|false |named |False |color_8| #### **Color9** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |21 |false |color_9| +|`[String]`|false |named |False |color_9| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |25 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InnerRadius** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |inner_radius| +|`[Float]`|false |named |False |inner_radius| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OuterRadius** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |1 |false |outer_radius| +|`[Float]`|false |named |False |outer_radius| #### **Part1** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |4 |false |part_1 | +|`[Int]`|false |named |False |part_1 | #### **Part10** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |22 |false |part_10| +|`[Int]`|false |named |False |part_10| #### **Part2** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |6 |false |part_2 | +|`[Int]`|false |named |False |part_2 | #### **Part3** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |8 |false |part_3 | +|`[Int]`|false |named |False |part_3 | #### **Part4** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |10 |false |part_4 | +|`[Int]`|false |named |False |part_4 | #### **Part5** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |12 |false |part_5 | +|`[Int]`|false |named |False |part_5 | #### **Part6** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |14 |false |part_6 | +|`[Int]`|false |named |False |part_6 | #### **Part7** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |16 |false |part_7 | +|`[Int]`|false |named |False |part_7 | #### **Part8** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |18 |false |part_8 | +|`[Int]`|false |named |False |part_8 | #### **Part9** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |20 |false |part_9 | +|`[Int]`|false |named |False |part_9 | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |26 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |24 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |start_angle| +|`[Float]`|false |named |False |start_angle| #### **Total** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -212,11 +211,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPieChartShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 24089b23d0e7bbae41e223c652c7aa60529accea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4379/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPieChartShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPieChartShader.json b/docs/_data/Help/Add-OBSPieChartShader.json index 535375e5a..8468a8cbf 100644 --- a/docs/_data/Help/Add-OBSPieChartShader.json +++ b/docs/_data/Help/Add-OBSPieChartShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e465367971a0d25d68789f4cf9fed5737e6ed518 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4380/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPixelationShader.md | 37 +++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSPixelationShader.md b/docs/Add-OBSPixelationShader.md index 9b236ea71..ecf125657 100644 --- a/docs/Add-OBSPixelationShader.md +++ b/docs/Add-OBSPixelationShader.md @@ -2,7 +2,6 @@ Get-OBSPixelationShader ----------------------- ### Synopsis - Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TargetHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Target_Height| +|`[Float]`|false |named |False |Target_Height| #### **TargetWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |Target_Width| +|`[Float]`|false |named |False |Target_Width| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPixelationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 285873355131bdb6781525bec16139119e77f9e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4381/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPixelationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPixelationShader.json b/docs/_data/Help/Add-OBSPixelationShader.json index b2d891902..d472e6820 100644 --- a/docs/_data/Help/Add-OBSPixelationShader.json +++ b/docs/_data/Help/Add-OBSPixelationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e529ee4bc771388b401db7280d4ad86faaba3190 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4382/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPixelationTransitionShader.md | 41 ++++++++++------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSPixelationTransitionShader.md b/docs/Add-OBSPixelationTransitionShader.md index 1055f053e..3fb035b18 100644 --- a/docs/Add-OBSPixelationTransitionShader.md +++ b/docs/Add-OBSPixelationTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSPixelationTransitionShader --------------------------------- ### Synopsis - Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **ConvertLinear** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPixelationTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [-ConvertLinear ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2b8f1e3ade3a0c1840dc5d3db2e7a65e75d1f9a8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4383/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPixelationTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPixelationTransitionShader.json b/docs/_data/Help/Add-OBSPixelationTransitionShader.json index 6f03e9326..db7640c48 100644 --- a/docs/_data/Help/Add-OBSPixelationTransitionShader.json +++ b/docs/_data/Help/Add-OBSPixelationTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1f7bda756db86654e5ee61b8334c4b7d563d3980 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4384/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPolarShader.md | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSPolarShader.md b/docs/Add-OBSPolarShader.md index 68dd8d7f1..5897d8ac8 100644 --- a/docs/Add-OBSPolarShader.md +++ b/docs/Add-OBSPolarShader.md @@ -2,7 +2,6 @@ Get-OBSPolarShader ------------------ ### Synopsis - Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |0 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |1 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Flip** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PointY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |point_y| +|`[Float]`|false |named |False |point_y| #### **Repeat** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Rotate** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Scale** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPolarShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [-Flip ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 66dbed12d1e44ff0e5efc5a4c28a596569b7a6fe Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4385/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPolarShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPolarShader.json b/docs/_data/Help/Add-OBSPolarShader.json index 1894d8c24..da26497c4 100644 --- a/docs/_data/Help/Add-OBSPolarShader.json +++ b/docs/_data/Help/Add-OBSPolarShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1c229da34039d9a5195b62195e5b9a1b61132c94 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:21 +0000 Subject: [PATCH 4386/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSPulseShader.md | 73 +++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Add-OBSPulseShader.md b/docs/Add-OBSPulseShader.md index 70dd71f14..235344156 100644 --- a/docs/Add-OBSPulseShader.md +++ b/docs/Add-OBSPulseShader.md @@ -2,7 +2,6 @@ Get-OBSPulseShader ------------------ ### Synopsis - Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **MaxGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |10 |false |max_growth_pixels| +|`[Float]`|false |named |False |max_growth_pixels| #### **MinGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |min_growth_pixels| +|`[Float]`|false |named |False |min_growth_pixels| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |8 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPulseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c44f4ef68b972c276f0aa5f5d92b92dba76f10e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4387/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSPulseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSPulseShader.json b/docs/_data/Help/Add-OBSPulseShader.json index 1b7dcf056..36d742590 100644 --- a/docs/_data/Help/Add-OBSPulseShader.json +++ b/docs/_data/Help/Add-OBSPulseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d1b23b5cf13400f3431c1537849af1c4f213fc9b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4388/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRainbowShader.md | 67 ++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Add-OBSRainbowShader.md b/docs/Add-OBSRainbowShader.md index 74a21a669..36220daae 100644 --- a/docs/Add-OBSRainbowShader.md +++ b/docs/Add-OBSRainbowShader.md @@ -2,7 +2,6 @@ Get-OBSRainbowShader -------------------- ### Synopsis - Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Luminosity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| - -#### **RotationOffset** - -|Type |Required|Position|PipelineInput|Aliases | -|---------|--------|--------|-------------|---------------| -|`[float]`|false |5 |false |Rotation_Offset| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **Rotational** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[Float]`|false |named |False |Rotation_Offset| #### **Saturation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Spread** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRainbowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [-Vertical ] [-Rotational ] [[-RotationOffset] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 76c3a1413594ab96dfdeaf9b3fba07a1f4983a14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4389/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRainbowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRainbowShader.json b/docs/_data/Help/Add-OBSRainbowShader.json index 3bb4556a6..8de2d3c9c 100644 --- a/docs/_data/Help/Add-OBSRainbowShader.json +++ b/docs/_data/Help/Add-OBSRainbowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5b280091e62d292f91887d00ac0eef835555fea8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4390/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRainWindowShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSRainWindowShader.md b/docs/Add-OBSRainWindowShader.md index f487aa584..57f5b044c 100644 --- a/docs/Add-OBSRainWindowShader.md +++ b/docs/Add-OBSRainWindowShader.md @@ -2,7 +2,6 @@ Get-OBSRainWindowShader ----------------------- ### Synopsis - Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **DebugShader** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Size** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **TrailColor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |trail_color| +|`[Float]`|false |named |False |trail_color| #### **TrailStrength** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |2 |false |trail_strength| +|`[Float]`|false |named |False |trail_strength| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRainWindowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [-DebugShader ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 883ebc765c06946b1bde84af3afc4c24ef947ffc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4391/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRainWindowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRainWindowShader.json b/docs/_data/Help/Add-OBSRainWindowShader.json index 41316a192..13054569f 100644 --- a/docs/_data/Help/Add-OBSRainWindowShader.json +++ b/docs/_data/Help/Add-OBSRainWindowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f972561ac9e621b8e4553e52843dbe7818e381a2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4392/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRectangularDropShadowShader.md | 39 +++++++++------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSRectangularDropShadowShader.md b/docs/Add-OBSRectangularDropShadowShader.md index db1484da1..a583748d5 100644 --- a/docs/Add-OBSRectangularDropShadowShader.md +++ b/docs/Add-OBSRectangularDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSRectangularDropShadowShader ---------------------------------- ### Synopsis - Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 746fc178e4d7fa5c6b6fc11cc48a1ee1c46901c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4393/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRectangularDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRectangularDropShadowShader.json b/docs/_data/Help/Add-OBSRectangularDropShadowShader.json index 650a53285..5122a4871 100644 --- a/docs/_data/Help/Add-OBSRectangularDropShadowShader.json +++ b/docs/_data/Help/Add-OBSRectangularDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f442deefe76df044ac22ff9605818ca2e9392384 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4394/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSReflectShader.md | 39 +++++++++++++++--------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSReflectShader.md b/docs/Add-OBSReflectShader.md index 081732d11..0c8c374d2 100644 --- a/docs/Add-OBSReflectShader.md +++ b/docs/Add-OBSReflectShader.md @@ -2,7 +2,6 @@ Get-OBSReflectShader -------------------- ### Synopsis - Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Sour |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSReflectShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSReflectShader [-Horizontal ] [-Vertical ] [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2271da8359df673153d74e408297b69e45718aab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4395/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSReflectShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSReflectShader.json b/docs/_data/Help/Add-OBSReflectShader.json index 219e772c8..262473d12 100644 --- a/docs/_data/Help/Add-OBSReflectShader.json +++ b/docs/_data/Help/Add-OBSReflectShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7bd857857d220efc06349228034ac607f9919098 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4396/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRemovePartialPixelsShader.md | 35 ++++++++++-------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSRemovePartialPixelsShader.md b/docs/Add-OBSRemovePartialPixelsShader.md index d87614b8e..95bacf4d8 100644 --- a/docs/Add-OBSRemovePartialPixelsShader.md +++ b/docs/Add-OBSRemovePartialPixelsShader.md @@ -2,7 +2,6 @@ Get-OBSRemovePartialPixelsShader -------------------------------- ### Synopsis - Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 42ec8db106a68e1ff862112d91c242e21be3b3e3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4397/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRemovePartialPixelsShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json b/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json index 54b30405e..36c15cd20 100644 --- a/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json +++ b/docs/_data/Help/Add-OBSRemovePartialPixelsShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 70fb5c3145ba0d694bdd4c6d0c19af170464bed4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:22 +0000 Subject: [PATCH 4398/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRepeatShader.md | 91 +++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 49 deletions(-) diff --git a/docs/Add-OBSRepeatShader.md b/docs/Add-OBSRepeatShader.md index 667dae8f4..d65e1f118 100644 --- a/docs/Add-OBSRepeatShader.md +++ b/docs/Add-OBSRepeatShader.md @@ -2,7 +2,6 @@ Get-OBSRepeatShader ------------------- ### Synopsis - Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |1 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ColorRangeMax** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |3 |false |color_range_max| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_max| #### **ColorRangeMin** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |2 |false |color_range_min| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_min| #### **Copies** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |5 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |13 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |6 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |8 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |7 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |9 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRepeatShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 47cd2361eb23a58492627f33d696653120e79bee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4399/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRepeatShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRepeatShader.json b/docs/_data/Help/Add-OBSRepeatShader.json index 6c4a86a74..9bd54d604 100644 --- a/docs/_data/Help/Add-OBSRepeatShader.json +++ b/docs/_data/Help/Add-OBSRepeatShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 48edda41e3b7b4f364bd55807110e5abf1f0e626 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4400/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRepeatTextureShader.md | 95 ++++++++++++++---------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Add-OBSRepeatTextureShader.md b/docs/Add-OBSRepeatTextureShader.md index 0f344d854..e1eb176c7 100644 --- a/docs/Add-OBSRepeatTextureShader.md +++ b/docs/Add-OBSRepeatTextureShader.md @@ -2,7 +2,6 @@ Get-OBSRepeatTextureShader -------------------------- ### Synopsis - Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,139 +15,139 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |15 |false |alpha_percentage| +|`[Float]`|false |named |False |alpha_percentage| #### **Blend** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |1 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ColorRangeMax** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |3 |false |color_range_max| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_max| #### **ColorRangeMin** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |2 |false |color_range_min| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_min| #### **Copies** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |17 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |14 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |18 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TexImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |5 |false |tex_image| +|`[String]`|false |named |False |tex_image| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |7 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |9 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |8 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |10 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -164,11 +163,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRepeatTextureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4cf29641022910dc059aace7f782e308ac098bf1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4401/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRepeatTextureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRepeatTextureShader.json b/docs/_data/Help/Add-OBSRepeatTextureShader.json index d382ca992..d451333fa 100644 --- a/docs/_data/Help/Add-OBSRepeatTextureShader.json +++ b/docs/_data/Help/Add-OBSRepeatTextureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bf16a531669da5ebff6ceb454e7690097c1524a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4402/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRGBAPercentShader.md | 39 +++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSRGBAPercentShader.md b/docs/Add-OBSRGBAPercentShader.md index d913689eb..470f8a426 100644 --- a/docs/Add-OBSRGBAPercentShader.md +++ b/docs/Add-OBSRGBAPercentShader.md @@ -2,7 +2,6 @@ Get-OBSRGBAPercentShader ------------------------ ### Synopsis - Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-Bl |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **BluePercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GreenPercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedPercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRGBAPercentShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 34565f0ba22bbe9ad7819220cfa4ccd1719f31c0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4403/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRGBAPercentShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRGBAPercentShader.json b/docs/_data/Help/Add-OBSRGBAPercentShader.json index 5d6cb64aa..4752fb944 100644 --- a/docs/_data/Help/Add-OBSRGBAPercentShader.json +++ b/docs/_data/Help/Add-OBSRGBAPercentShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dc79add32d3dfc67f2c904e28b4abd218c72ae8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4404/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRgbColorWheelShader.md | 49 +++++++++++++----------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSRgbColorWheelShader.md b/docs/Add-OBSRgbColorWheelShader.md index abd506c11..92f676011 100644 --- a/docs/Add-OBSRgbColorWheelShader.md +++ b/docs/Add-OBSRgbColorWheelShader.md @@ -2,7 +2,6 @@ Get-OBSRgbColorWheelShader -------------------------- ### Synopsis - Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |3 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |5 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |4 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **ColorDepth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |1 |false |color_depth| +|`[Float]`|false |named |False |color_depth| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |2 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbColorWheelShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c5faf06e44b3fa99019ba10fefd66c35148f9f4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4405/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRgbColorWheelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRgbColorWheelShader.json b/docs/_data/Help/Add-OBSRgbColorWheelShader.json index 965e571d3..5b4a5222f 100644 --- a/docs/_data/Help/Add-OBSRgbColorWheelShader.json +++ b/docs/_data/Help/Add-OBSRgbColorWheelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a374e5d7445b36348ef662c249d2c30c23ba247c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4406/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRgbSplitShader.md | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSRgbSplitShader.md b/docs/Add-OBSRgbSplitShader.md index 6c35d7ee7..1ccf4fceb 100644 --- a/docs/Add-OBSRgbSplitShader.md +++ b/docs/Add-OBSRgbSplitShader.md @@ -2,7 +2,6 @@ Get-OBSRgbSplitShader --------------------- ### Synopsis - Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Bluey** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Greenx** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Greeny** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Redx** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **Redy** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbSplitShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e286f62a7fa473f431da016715e2ffb185d29064 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4407/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRgbSplitShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRgbSplitShader.json b/docs/_data/Help/Add-OBSRgbSplitShader.json index 6b97f7549..0e74e3f1b 100644 --- a/docs/_data/Help/Add-OBSRgbSplitShader.json +++ b/docs/_data/Help/Add-OBSRgbSplitShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 717fdd46a57d0948c296742d64528382e6006164 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4408/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRgbvisibilityShader.md | 45 +++++++++++++----------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSRgbvisibilityShader.md b/docs/Add-OBSRgbvisibilityShader.md index cf30841dc..83716a07b 100644 --- a/docs/Add-OBSRgbvisibilityShader.md +++ b/docs/Add-OBSRgbvisibilityShader.md @@ -2,7 +2,6 @@ Get-OBSRgbvisibilityShader -------------------------- ### Synopsis - Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **BlueVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Green** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **GreenVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Red** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **RedVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbvisibilityShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c1e5151fc3be01acc4214918e42e59f20a03901c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4409/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRgbvisibilityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRgbvisibilityShader.json b/docs/_data/Help/Add-OBSRgbvisibilityShader.json index 1675c70aa..90f27d82a 100644 --- a/docs/_data/Help/Add-OBSRgbvisibilityShader.json +++ b/docs/_data/Help/Add-OBSRgbvisibilityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 54b3c5e4dddf9fb023b58092dfbe129ebfdbefcd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4410/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRGSSAAShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSRGSSAAShader.md b/docs/Add-OBSRGSSAAShader.md index 8dcca16b3..bed002782 100644 --- a/docs/Add-OBSRGSSAAShader.md +++ b/docs/Add-OBSRGSSAAShader.md @@ -2,7 +2,6 @@ Get-OBSRGSSAAShader ------------------- ### Synopsis - Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpatialSigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRGSSAAShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 98fb8b8f7ca575354beba759fbbfb00dbb42198a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:23 +0000 Subject: [PATCH 4411/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRGSSAAShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRGSSAAShader.json b/docs/_data/Help/Add-OBSRGSSAAShader.json index 7585fa9af..58a2de6ed 100644 --- a/docs/_data/Help/Add-OBSRGSSAAShader.json +++ b/docs/_data/Help/Add-OBSRGSSAAShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8326a0b84a9ce3a939d560fd8c2b91a1180b0eb1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4412/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRippleShader.md | 41 +++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSRippleShader.md b/docs/Add-OBSRippleShader.md index 0adf52739..d2ae46e4a 100644 --- a/docs/Add-OBSRippleShader.md +++ b/docs/Add-OBSRippleShader.md @@ -2,7 +2,6 @@ Get-OBSRippleShader ------------------- ### Synopsis - Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |3 |false |center_pos_x| +|`[Float]`|false |named |False |center_pos_x| #### **CenterPosY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |4 |false |center_pos_y| +|`[Float]`|false |named |False |center_pos_y| #### **DistanceFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |distance_factor| +|`[Float]`|false |named |False |distance_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PowerFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |power_factor| +|`[Float]`|false |named |False |power_factor| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |1 |false |time_factor| +|`[Float]`|false |named |False |time_factor| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRippleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 12770c2e9b94cd9f6416736d5e0dada204f6f55c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4413/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRippleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRippleShader.json b/docs/_data/Help/Add-OBSRippleShader.json index 35583c3ec..0c381ad29 100644 --- a/docs/_data/Help/Add-OBSRippleShader.json +++ b/docs/_data/Help/Add-OBSRippleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a586834da894fcfa72e7fc400322682f13514201 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4414/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRotatingSourceShader.md | 43 ++++++++++++----------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSRotatingSourceShader.md b/docs/Add-OBSRotatingSourceShader.md index 9cf331863..263f7faf1 100644 --- a/docs/Add-OBSRotatingSourceShader.md +++ b/docs/Add-OBSRotatingSourceShader.md @@ -2,7 +2,6 @@ Get-OBSRotatingSourceShader --------------------------- ### Synopsis - Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,81 +13,81 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **KeepAspectratio** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |keep_aspectratio| +|`[Switch]`|false |named |False |keep_aspectratio| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Rotation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpinSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |spin_speed| +|`[Float]`|false |named |False |spin_speed| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XCenter** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |x_center| +|`[Float]`|false |named |False |x_center| #### **YCenter** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |y_center| +|`[Float]`|false |named |False |y_center| #### **Zoomin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRotatingSourceShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [-KeepAspectratio ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f7a5c8c254f700a7a8339eacc95c580030f8709b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4415/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRotatingSourceShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRotatingSourceShader.json b/docs/_data/Help/Add-OBSRotatingSourceShader.json index 81ca32462..695a60151 100644 --- a/docs/_data/Help/Add-OBSRotatingSourceShader.json +++ b/docs/_data/Help/Add-OBSRotatingSourceShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e892a3273b9152dbc7c9ac8477f9d48f34ec85b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4416/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRotatoeShader.md | 89 +++++++++++++++++------------------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/docs/Add-OBSRotatoeShader.md b/docs/Add-OBSRotatoeShader.md index d2e1374f4..689971ec5 100644 --- a/docs/Add-OBSRotatoeShader.md +++ b/docs/Add-OBSRotatoeShader.md @@ -2,7 +2,6 @@ Get-OBSRotatoeShader -------------------- ### Synopsis - Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,157 +15,157 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |12 |false |Angle_Degrees| +|`[Float]`|false |named |False |Angle_Degrees| #### **AxisX** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |9 |false |Axis_X | +|`[Float]`|false |named |False |Axis_X | #### **AxisY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |Axis_Y | +|`[Float]`|false |named |False |Axis_Y | #### **AxisZ** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |Axis_Z | +|`[Float]`|false |named |False |Axis_Z | #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |14 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |13 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |17 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |15 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |Rotate_Colors| +|`[Switch]`|false |named |False |Rotate_Colors| #### **RotatePixels** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |Rotate_Pixels| +|`[Switch]`|false |named |False |Rotate_Pixels| #### **RotateTransform** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Rotate_Transform| +|`[Switch]`|false |named |False |Rotate_Transform| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |18 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |8 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -182,11 +181,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRotatoeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [-RotateTransform ] [-RotatePixels ] [-RotateColors ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 43963c78c045b109b47265fbe219330a96ffeed8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4417/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRotatoeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRotatoeShader.json b/docs/_data/Help/Add-OBSRotatoeShader.json index 2e073a20f..9ebcffb5d 100644 --- a/docs/_data/Help/Add-OBSRotatoeShader.json +++ b/docs/_data/Help/Add-OBSRotatoeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 52ad397f849de4cef919a31c3f4c3ea7718ea851 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4418/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRoundedRect2Shader.md | 45 +++++++++++++------------------ 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSRoundedRect2Shader.md b/docs/Add-OBSRoundedRect2Shader.md index 2c520af9e..0e83e6f59 100644 --- a/docs/Add-OBSRoundedRect2Shader.md +++ b/docs/Add-OBSRoundedRect2Shader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRect2Shader ------------------------- ### Synopsis - Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |3 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FasterScan** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |faster_scan| +|`[Switch]`|false |named |False |faster_scan| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRect2Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [-FasterScan ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1347a5524ec494e9e4250568c2b750829e713255 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4419/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRoundedRect2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRoundedRect2Shader.json b/docs/_data/Help/Add-OBSRoundedRect2Shader.json index c73261647..92f11df06 100644 --- a/docs/_data/Help/Add-OBSRoundedRect2Shader.json +++ b/docs/_data/Help/Add-OBSRoundedRect2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2eb2f66765d979502f6cd07bc00e37d41d10a02a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4420/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRoundedRectPerCornerShader.md | 49 ++++++++++------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSRoundedRectPerCornerShader.md b/docs/Add-OBSRoundedRectPerCornerShader.md index f6c27a695..96e2b3661 100644 --- a/docs/Add-OBSRoundedRectPerCornerShader.md +++ b/docs/Add-OBSRoundedRectPerCornerShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectPerCornerShader --------------------------------- ### Synopsis - Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadiusBl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |3 |false |corner_radius_bl| +|`[Int]`|false |named |False |corner_radius_bl| #### **CornerRadiusBr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |corner_radius_br| +|`[Int]`|false |named |False |corner_radius_br| #### **CornerRadiusTl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |corner_radius_tl| +|`[Int]`|false |named |False |corner_radius_tl| #### **CornerRadiusTr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |corner_radius_tr| +|`[Int]`|false |named |False |corner_radius_tr| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9409170bf52a51cb191c0b253bd4814fbe731800 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4421/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json b/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json index 8a6fda223..a97578dbf 100644 --- a/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json +++ b/docs/_data/Help/Add-OBSRoundedRectPerCornerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 004789365db2447dcf9c3d5f9bfc15f5bd0b1330 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4422/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRoundedRectPerSideShader.md | 49 +++++++++++-------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSRoundedRectPerSideShader.md b/docs/Add-OBSRoundedRectPerSideShader.md index 9acbe4315..e86e8cbc7 100644 --- a/docs/Add-OBSRoundedRectPerSideShader.md +++ b/docs/Add-OBSRoundedRectPerSideShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectPerSideShader ------------------------------- ### Synopsis - Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadiusBottom** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------------| -|`[int]`|false |0 |false |corner_radius_bottom| +|`[Int]`|false |named |False |corner_radius_bottom| #### **CornerRadiusLeft** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |1 |false |corner_radius_left| +|`[Int]`|false |named |False |corner_radius_left| #### **CornerRadiusRight** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |3 |false |corner_radius_right| +|`[Int]`|false |named |False |corner_radius_right| #### **CornerRadiusTop** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |2 |false |corner_radius_top| +|`[Int]`|false |named |False |corner_radius_top| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectPerSideShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1d81a31d670f86b96a3344b90c7289d7132da01e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:24 +0000 Subject: [PATCH 4423/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRoundedRectPerSideShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json b/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json index 8def50b0d..4dbca8acf 100644 --- a/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json +++ b/docs/_data/Help/Add-OBSRoundedRectPerSideShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2c7ff178216f74f91be24b69a24aed9fe9c193b9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4424/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRoundedRectShader.md | 37 +++++++++++++------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSRoundedRectShader.md b/docs/Add-OBSRoundedRectShader.md index 9500c4280..a0c93c93b 100644 --- a/docs/Add-OBSRoundedRectShader.md +++ b/docs/Add-OBSRoundedRectShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectShader ------------------------ ### Synopsis - Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 33fd6b7ba2a92df929b4d0fad86d2e4fdc1162cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4425/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRoundedRectShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRoundedRectShader.json b/docs/_data/Help/Add-OBSRoundedRectShader.json index b49e57e9f..43f1cee77 100644 --- a/docs/_data/Help/Add-OBSRoundedRectShader.json +++ b/docs/_data/Help/Add-OBSRoundedRectShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b8af84d98e98d1017826b191d30d25bb3c7fc669 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4426/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRoundedStrokeGradientShader.md | 49 ++++++++++------------ 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSRoundedStrokeGradientShader.md b/docs/Add-OBSRoundedStrokeGradientShader.md index 2d331ceb9..23e412682 100644 --- a/docs/Add-OBSRoundedStrokeGradientShader.md +++ b/docs/Add-OBSRoundedStrokeGradientShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedStrokeGradientShader ---------------------------------- ### Synopsis - Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |border_colorL| +|`[String]`|false |named |False |border_colorL| #### **BorderColorR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |border_colorR| +|`[String]`|false |named |False |border_colorR| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CenterHeight** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |7 |false |center_height| +|`[Int]`|false |named |False |center_height| #### **CenterWidth** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |6 |false |center_width| +|`[Int]`|false |named |False |center_width| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------| -|`[int]`|false |2 |false |minimum_alpha_percent| +|`[Int]`|false |named |False |minimum_alpha_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RotationSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |rotation_speed| +|`[Int]`|false |named |False |rotation_speed| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedStrokeGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b8e145efb4df913cdb8f144a9b9628ff8349398f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4427/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json b/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json index a651afcef..d60d4b519 100644 --- a/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json +++ b/docs/_data/Help/Add-OBSRoundedStrokeGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 78fa82981ae5efdb10f9f5bda073f54f40fb14d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4428/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSRoundedStrokeShader.md | 41 +++++++++++++----------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSRoundedStrokeShader.md b/docs/Add-OBSRoundedStrokeShader.md index 60dc2a6d0..9a6b1f54c 100644 --- a/docs/Add-OBSRoundedStrokeShader.md +++ b/docs/Add-OBSRoundedStrokeShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedStrokeShader -------------------------- ### Synopsis - Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |3 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------| -|`[int]`|false |2 |false |minimum_alpha_percent| +|`[Int]`|false |named |False |minimum_alpha_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedStrokeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 70eca6f8b048b6a2f81c32f5dd469ae1ecf9944e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4429/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSRoundedStrokeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSRoundedStrokeShader.json b/docs/_data/Help/Add-OBSRoundedStrokeShader.json index 4e3b0befb..14cc8b08a 100644 --- a/docs/_data/Help/Add-OBSRoundedStrokeShader.json +++ b/docs/_data/Help/Add-OBSRoundedStrokeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 17d868a5d70c6b624812267cf81b2da783901838 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4430/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSScanLineShader.md | 49 +++++++++++++++-------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSScanLineShader.md b/docs/Add-OBSScanLineShader.md index cb42a98d4..2dc371b5d 100644 --- a/docs/Add-OBSScanLineShader.md +++ b/docs/Add-OBSScanLineShader.md @@ -2,7 +2,6 @@ Get-OBSScanLineShader --------------------- ### Synopsis - Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Boost** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Floor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Lengthwise** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Period** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Shift** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSScanLineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSScanLineShader [-Lengthwise ] [-Animate ] [[-Speed] ] [[-Angle] ] [-Shift ] [-Boost ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2e05c23d3e0ae14a50d1890112c2edf135735231 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4431/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSScanLineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSScanLineShader.json b/docs/_data/Help/Add-OBSScanLineShader.json index 0ada8f69a..d77b16a0f 100644 --- a/docs/_data/Help/Add-OBSScanLineShader.json +++ b/docs/_data/Help/Add-OBSScanLineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f1c409cbfae30b11e9a49debdd17263e5ee016dc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4432/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSeascapeShader.md | 49 +++++++++++++++-------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSSeascapeShader.md b/docs/Add-OBSSeascapeShader.md index 6c70bf96d..671c6c0d6 100644 --- a/docs/Add-OBSSeascapeShader.md +++ b/docs/Add-OBSSeascapeShader.md @@ -2,7 +2,6 @@ Get-OBSSeascapeShader --------------------- ### Synopsis - Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CAMERASPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |CAMERA_SPEED| +|`[Float]`|false |named |False |CAMERA_SPEED| #### **CAMERATURNSPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |7 |false |CAMERA_TURN_SPEED| +|`[Float]`|false |named |False |CAMERA_TURN_SPEED| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SEABASE** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |4 |false |SEA_BASE| +|`[String]`|false |named |False |SEA_BASE| #### **SEACHOPPY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |SEA_CHOPPY| +|`[Float]`|false |named |False |SEA_CHOPPY| #### **SEAFREQ** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |SEA_FREQ| +|`[Float]`|false |named |False |SEA_FREQ| #### **SEAHEIGHT** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |SEA_HEIGHT| +|`[Float]`|false |named |False |SEA_HEIGHT| #### **SEASPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |2 |false |SEA_SPEED| +|`[Float]`|false |named |False |SEA_SPEED| #### **SEAWATERCOLOR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |5 |false |SEA_WATER_COLOR| +|`[String]`|false |named |False |SEA_WATER_COLOR| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSeascapeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSeascapeShader [-AA ] [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e6b6bb5d3297a339545f3ea42a60ed0d8c96e592 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:25 +0000 Subject: [PATCH 4433/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSeascapeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSeascapeShader.json b/docs/_data/Help/Add-OBSSeascapeShader.json index 854433ab4..cdd926b70 100644 --- a/docs/_data/Help/Add-OBSSeascapeShader.json +++ b/docs/_data/Help/Add-OBSSeascapeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e9b4655480e3d7394661bc82b29e7f3fef60ce17 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4434/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSeasickShader.md | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Add-OBSSeasickShader.md b/docs/Add-OBSSeasickShader.md index 60e5d3aec..09ebefc32 100644 --- a/docs/Add-OBSSeasickShader.md +++ b/docs/Add-OBSSeasickShader.md @@ -2,7 +2,6 @@ Get-OBSSeasickShader -------------------- ### Synopsis - Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a0b3c294a073c5df9cf67b96eeb832f54e1e9521 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4435/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSeasickShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSeasickShader.json b/docs/_data/Help/Add-OBSSeasickShader.json index 74ab7991f..eef433c89 100644 --- a/docs/_data/Help/Add-OBSSeasickShader.json +++ b/docs/_data/Help/Add-OBSSeasickShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4598e8b026df7033fcb581a8d8623908812740c9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4436/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSelectiveColorShader.md | 53 +++++++++++++---------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Add-OBSSelectiveColorShader.md b/docs/Add-OBSSelectiveColorShader.md index cda62bba4..7dcfc66a1 100644 --- a/docs/Add-OBSSelectiveColorShader.md +++ b/docs/Add-OBSSelectiveColorShader.md @@ -2,7 +2,6 @@ Get-OBSSelectiveColorShader --------------------------- ### Synopsis - Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |4 |false |acceptance_Amplifier| +|`[Float]`|false |named |False |acceptance_Amplifier| #### **BackgroundType** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |6 |false |background_type| +|`[Int]`|false |named |False |background_type| #### **CutoffBlue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |cutoff_Blue| +|`[Float]`|false |named |False |cutoff_Blue| #### **CutoffGreen** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |1 |false |cutoff_Green| +|`[Float]`|false |named |False |cutoff_Green| #### **CutoffRed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |cutoff_Red| +|`[Float]`|false |named |False |cutoff_Red| #### **CutoffYellow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |3 |false |cutoff_Yellow| +|`[Float]`|false |named |False |cutoff_Yellow| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowBlue** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |show_Blue| +|`[Switch]`|false |named |False |show_Blue| #### **ShowGreen** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_Green| +|`[Switch]`|false |named |False |show_Green| #### **ShowRed** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[switch]`|false |Named |false |show_Red| +|`[Switch]`|false |named |False |show_Red| #### **ShowYellow** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |show_Yellow| +|`[Switch]`|false |named |False |show_Yellow| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSelectiveColorShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [-ShowRed ] [-ShowGreen ] [-ShowBlue ] [-ShowYellow ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1ec98627a06329ea311f51b7998606e67feadd7a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4437/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSelectiveColorShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSelectiveColorShader.json b/docs/_data/Help/Add-OBSSelectiveColorShader.json index 167a52600..fce5d6bdf 100644 --- a/docs/_data/Help/Add-OBSSelectiveColorShader.json +++ b/docs/_data/Help/Add-OBSSelectiveColorShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7b283287f508e764c60789838a3522e824c26557 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4438/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSShakeShader.md | 93 ++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/docs/Add-OBSShakeShader.md b/docs/Add-OBSShakeShader.md index 80d830c2e..c6932f1e5 100644 --- a/docs/Add-OBSShakeShader.md +++ b/docs/Add-OBSShakeShader.md @@ -2,7 +2,6 @@ Get-OBSShakeShader ------------------ ### Synopsis - Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,139 +15,139 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |8 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **MaxGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |12 |false |max_growth_pixels| +|`[Float]`|false |named |False |max_growth_pixels| #### **MinGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |11 |false |min_growth_pixels| +|`[Float]`|false |named |False |min_growth_pixels| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |13 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | - -#### **RandomScale** - -|Type |Required|Position|PipelineInput|Aliases | -|---------|--------|--------|-------------|------------| -|`[float]`|false |9 |false |random_scale| +|`[Float]`|false |named |False |rand_f | #### **RandomizeMovement** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[switch]`|false |Named |false |randomize_movement| +|`[Switch]`|false |named |False |randomize_movement| + +#### **RandomScale** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[Float]`|false |named |False |random_scale| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |10 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | #### **Worble** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -164,11 +163,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSShakeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [-Worble ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [-RandomizeMovement ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ae0820c8ba30c15d53f107de66673b56c041bf2b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4439/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSShakeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSShakeShader.json b/docs/_data/Help/Add-OBSShakeShader.json index 83de5fbb8..def40680c 100644 --- a/docs/_data/Help/Add-OBSShakeShader.json +++ b/docs/_data/Help/Add-OBSShakeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3d6972eb6be01b1bd5d7f62943a4a8e6e5acea96 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4440/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSShineShader.md | 59 +++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Add-OBSShineShader.md b/docs/Add-OBSShineShader.md index 6a3ae88ef..43194d999 100644 --- a/docs/Add-OBSShineShader.md +++ b/docs/Add-OBSShineShader.md @@ -2,7 +2,6 @@ Get-OBSShineShader ------------------ ### Synopsis - Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **DelayPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |4 |false |delay_percent| +|`[Int]`|false |named |False |delay_percent| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |3 |false |gradient_percent| +|`[Int]`|false |named |False |gradient_percent| #### **Hide** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LTex** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |l_tex | +|`[String]`|false |named |False |l_tex | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **OneDirection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |One_Direction| +|`[Switch]`|false |named |False |One_Direction| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShineColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |1 |false |shine_color| +|`[String]`|false |named |False |shine_color| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |2 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **StartAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |start_adjust| +|`[Float]`|false |named |False |start_adjust| #### **StopAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |7 |false |stop_adjust| +|`[Float]`|false |named |False |stop_adjust| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSShineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [-ApplyToAlphaLayer ] [-Ease ] [-Hide ] [-Reverse ] [-OneDirection ] [-Glitch ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5fb40c68bacd5f23b287533869b948df8b4a485c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4441/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSShineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSShineShader.json b/docs/_data/Help/Add-OBSShineShader.json index fd49a93f1..bb19782c3 100644 --- a/docs/_data/Help/Add-OBSShineShader.json +++ b/docs/_data/Help/Add-OBSShineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4e86414e0bf8ad34b3d435fa2b2331de5b8bdfa7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4442/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSimpleGradientShader.md | 47 ++++++++++++----------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBSSimpleGradientShader.md b/docs/Add-OBSSimpleGradientShader.md index 4590c71e3..2dc4b4a37 100644 --- a/docs/Add-OBSSimpleGradientShader.md +++ b/docs/Add-OBSSimpleGradientShader.md @@ -2,7 +2,6 @@ Get-OBSSimpleGradientShader --------------------------- ### Synopsis - Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |alpha_percentage| +|`[Int]`|false |named |False |alpha_percentage| #### **AnimateLensFlair** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[switch]`|false |Named |false |Animate_Lens_Flair| +|`[Switch]`|false |named |False |Animate_Lens_Flair| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |2 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LensFlair** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |Lens_Flair| +|`[Switch]`|false |named |False |Lens_Flair| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |speed_percentage| +|`[Int]`|false |named |False |speed_percentage| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSimpleGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [-LensFlair ] [-AnimateLensFlair ] [-ApplyToAlphaLayer ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 813f49072ec8cc0f8bb9e4bd3a38fcf075c2366b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4443/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSimpleGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSimpleGradientShader.json b/docs/_data/Help/Add-OBSSimpleGradientShader.json index 7f86021bb..223095c61 100644 --- a/docs/_data/Help/Add-OBSSimpleGradientShader.json +++ b/docs/_data/Help/Add-OBSSimpleGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7a9aa45b6ffb605cd64e999c7713f56a0be0fc6c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:26 +0000 Subject: [PATCH 4444/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSimplexNoiseShader.md | 49 +++++++++++++------------------ 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSSimplexNoiseShader.md b/docs/Add-OBSSimplexNoiseShader.md index 4805bb13d..399ba8482 100644 --- a/docs/Add-OBSSimplexNoiseShader.md +++ b/docs/Add-OBSSimplexNoiseShader.md @@ -2,7 +2,6 @@ Get-OBSSimplexNoiseShader ------------------------- ### Synopsis - Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **BackColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |4 |false |Back_Color| +|`[String]`|false |named |False |Back_Color| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ForeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |3 |false |Fore_Color| +|`[String]`|false |named |False |Fore_Color| #### **Fractal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Resolution** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SnapPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |Snap_Percent| +|`[Float]`|false |named |False |Snap_Percent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Speed_Percent| +|`[Float]`|false |named |False |Speed_Percent| #### **UseAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |Use_Alpha_Layer| +|`[Switch]`|false |named |False |Use_Alpha_Layer| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSimplexNoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [-Fractal ] [-UseAlphaLayer ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d81185ee5c65cdb07afc0493212099d037005072 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4445/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSimplexNoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSimplexNoiseShader.json b/docs/_data/Help/Add-OBSSimplexNoiseShader.json index d3aaa0216..6d0a22a7f 100644 --- a/docs/_data/Help/Add-OBSSimplexNoiseShader.json +++ b/docs/_data/Help/Add-OBSSimplexNoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a4b793b2667f34f6ce1cfd78fa8fa3f8c18100c3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4446/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSmartDenoiseShader.md | 47 +++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Add-OBSSmartDenoiseShader.md b/docs/Add-OBSSmartDenoiseShader.md index 32bbb243e..507159a2b 100644 --- a/docs/Add-OBSSmartDenoiseShader.md +++ b/docs/Add-OBSSmartDenoiseShader.md @@ -2,7 +2,6 @@ Get-OBSSmartDenoiseShader ------------------------- ### Synopsis - Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UKSigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **USigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UThreshold** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | - -#### **UseShaderTime** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Float]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSmartDenoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9a4123f808840840fba11b17311d2ab72c6793a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4447/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSmartDenoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSmartDenoiseShader.json b/docs/_data/Help/Add-OBSSmartDenoiseShader.json index d4bac7387..8f0aca83b 100644 --- a/docs/_data/Help/Add-OBSSmartDenoiseShader.json +++ b/docs/_data/Help/Add-OBSSmartDenoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f3645c1404f3d3b4a4db8571c717cec761bc0f61 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4448/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSpecularShineShader.md | 53 +++++++++++++----------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Add-OBSSpecularShineShader.md b/docs/Add-OBSSpecularShineShader.md index 502c87cb7..c07c1e32d 100644 --- a/docs/Add-OBSSpecularShineShader.md +++ b/docs/Add-OBSSpecularShineShader.md @@ -2,7 +2,6 @@ Get-OBSSpecularShineShader -------------------------- ### Synopsis - Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,99 +13,99 @@ Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStr ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FlattenNormal** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Hint** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **LightColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------| -|`[float[]]`|false |8 |false |Light_Color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------| +|`[System.Single[]]`|false |named |False |Light_Color| #### **LightPositionX** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **LightPositionY** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **LightStrength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Roughness** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StretchNormalX** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **StretchNormalY** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |7 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSpecularShineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c022c193077cdbfa3b90ca3ac1996e70fc459803 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4449/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSpecularShineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSpecularShineShader.json b/docs/_data/Help/Add-OBSSpecularShineShader.json index e31a95f7e..a63d6e628 100644 --- a/docs/_data/Help/Add-OBSSpecularShineShader.json +++ b/docs/_data/Help/Add-OBSSpecularShineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7172294697d0f1e9cbafdbcc363c301b72847093 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4450/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSpotlightShader.md | 45 ++++++++++++++-------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSSpotlightShader.md b/docs/Add-OBSSpotlightShader.md index bcc20ecf5..a515a5876 100644 --- a/docs/Add-OBSSpotlightShader.md +++ b/docs/Add-OBSSpotlightShader.md @@ -2,7 +2,6 @@ Get-OBSSpotlightShader ---------------------- ### Synopsis - Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,87 +13,87 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FocusPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Focus_Percent| +|`[Float]`|false |named |False |Focus_Percent| #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |3 |false |Horizontal_Offset| +|`[Float]`|false |named |False |Horizontal_Offset| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Speed_Percent| +|`[Float]`|false |named |False |Speed_Percent| #### **SpotlightColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |2 |false |Spotlight_Color| +|`[String]`|false |named |False |Spotlight_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VerticalOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |4 |false |Vertical_Offset| +|`[Float]`|false |named |False |Vertical_Offset| --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSpotlightShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [-Glitch ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 162359de478be550f6cba1100a9b1c5633353e3b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4451/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSpotlightShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSpotlightShader.json b/docs/_data/Help/Add-OBSSpotlightShader.json index 854182a18..f43d3b11e 100644 --- a/docs/_data/Help/Add-OBSSpotlightShader.json +++ b/docs/_data/Help/Add-OBSSpotlightShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cedaf0a52342e7c59d4383b2694bf51d278f431a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4452/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSSwirlShader.md | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Add-OBSSwirlShader.md b/docs/Add-OBSSwirlShader.md index 6d13602f0..29211abfa 100644 --- a/docs/Add-OBSSwirlShader.md +++ b/docs/Add-OBSSwirlShader.md @@ -2,7 +2,6 @@ Get-OBSSwirlShader ------------------ ### Synopsis - Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Inverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSwirlShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [-Animate ] [-Inverse ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 64ae740a515667b407bb969d82b14981326eb730 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:27 +0000 Subject: [PATCH 4453/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSSwirlShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSSwirlShader.json b/docs/_data/Help/Add-OBSSwirlShader.json index 2245a99c5..cde822f17 100644 --- a/docs/_data/Help/Add-OBSSwirlShader.json +++ b/docs/_data/Help/Add-OBSSwirlShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 994dbcd52f40ea1dddf859a32eb036d2f8f45afb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4454/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSTetraShader.md | 67 +++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Add-OBSTetraShader.md b/docs/Add-OBSTetraShader.md index 22b7e2073..0a05d4615 100644 --- a/docs/Add-OBSTetraShader.md +++ b/docs/Add-OBSTetraShader.md @@ -2,7 +2,6 @@ Get-OBSTetraShader ------------------ ### Synopsis - Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |14 |false | +|`[Float]`|false |named |False | #### **BluG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **BluR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **CynB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **CynG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |10 |false | +|`[Float]`|false |named |False | #### **CynR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |9 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |19 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GrnB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |8 |false | +|`[Float]`|false |named |False | #### **GrnG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |7 |false | +|`[Float]`|false |named |False | #### **GrnR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **MagB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **MagG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |16 |false | +|`[Float]`|false |named |False | #### **MagR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |15 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **RedG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **RedR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |20 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **YelB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **YelG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **YelR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTetraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ea3ffa0985d74a768187a9b123adec32c932413a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4455/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSTetraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSTetraShader.json b/docs/_data/Help/Add-OBSTetraShader.json index a26d27811..966d730b0 100644 --- a/docs/_data/Help/Add-OBSTetraShader.json +++ b/docs/_data/Help/Add-OBSTetraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0a3fbf1d8281e366ce707aaae1b90364e1030cd1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4456/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSThermalShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Add-OBSThermalShader.md b/docs/Add-OBSThermalShader.md index e4b5d9b87..69e7f9061 100644 --- a/docs/Add-OBSThermalShader.md +++ b/docs/Add-OBSThermalShader.md @@ -2,7 +2,6 @@ Get-OBSThermalShader -------------------- ### Synopsis - Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSThermalShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 0f8a06f9bbb95d77689f73ae92ef65a00e3a25e0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4457/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSThermalShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSThermalShader.json b/docs/_data/Help/Add-OBSThermalShader.json index cb5416546..422ae31ea 100644 --- a/docs/_data/Help/Add-OBSThermalShader.json +++ b/docs/_data/Help/Add-OBSThermalShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 556276c1e6388279428f05a0fa556ce54013ebab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4458/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSTvCrtSubpixelShader.md | 39 ++++++++++++------------------ 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSTvCrtSubpixelShader.md b/docs/Add-OBSTvCrtSubpixelShader.md index 89cec03cf..6e3aa0bda 100644 --- a/docs/Add-OBSTvCrtSubpixelShader.md +++ b/docs/Add-OBSTvCrtSubpixelShader.md @@ -2,7 +2,6 @@ Get-OBSTvCrtSubpixelShader -------------------------- ### Synopsis - Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |1 |false | +|`[Int]`|false |named |False | #### **ChannelWidth** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HGap** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VGap** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTvCrtSubpixelShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 17e48782c6e9b0f73396d992933d9f7911156337 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4459/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSTvCrtSubpixelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json b/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json index 0de0bf554..1f94cb996 100644 --- a/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json +++ b/docs/_data/Help/Add-OBSTvCrtSubpixelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d988b2919232c208db4d281536c247642424f586 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4460/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSTwistShader.md | 39 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSTwistShader.md b/docs/Add-OBSTwistShader.md index 98b175533..e10d1ef23 100644 --- a/docs/Add-OBSTwistShader.md +++ b/docs/Add-OBSTwistShader.md @@ -2,7 +2,6 @@ Get-OBSTwistShader ------------------ ### Synopsis - Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Rotation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTwistShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a27554d17400c920825159757a8033aba37af450 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4461/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSTwistShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSTwistShader.json b/docs/_data/Help/Add-OBSTwistShader.json index a8d7fc1b4..fdbb559eb 100644 --- a/docs/_data/Help/Add-OBSTwistShader.json +++ b/docs/_data/Help/Add-OBSTwistShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1cbb79f56591bc46a72a6a61761f9cde91681e5e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4462/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSTwoPassDropShadowShader.md | 77 ++++++++++++-------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Add-OBSTwoPassDropShadowShader.md b/docs/Add-OBSTwoPassDropShadowShader.md index dda6a0034..6ba646467 100644 --- a/docs/Add-OBSTwoPassDropShadowShader.md +++ b/docs/Add-OBSTwoPassDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSTwoPassDropShadowShader ------------------------------ ### Synopsis - Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------------| -|`[switch]`|false |Named |false |is_alpha_premultiplied| +|`[Switch]`|false |named |False |is_alpha_premultiplied| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShadowBlurSize** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |10 |false |shadow_blur_size| +|`[Int]`|false |named |False |shadow_blur_size| #### **ShadowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |11 |false |shadow_color| +|`[String]`|false |named |False |shadow_color| #### **ShadowOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |8 |false |shadow_offset_x| +|`[Int]`|false |named |False |shadow_offset_x| #### **ShadowOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |9 |false |shadow_offset_y| +|`[Int]`|false |named |False |shadow_offset_y| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [-IsAlphaPremultiplied ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1213d6e198afe5b7a823a3a2cfcf60a36179eb7e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4463/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSTwoPassDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json b/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json index 2461bde27..d0ea47a01 100644 --- a/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json +++ b/docs/_data/Help/Add-OBSTwoPassDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 112a090eea602e77e7d3911e82976ac28d45a227 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4464/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSVCRShader.md | 43 +++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSVCRShader.md b/docs/Add-OBSVCRShader.md index 4298e6956..9a417b3e6 100644 --- a/docs/Add-OBSVCRShader.md +++ b/docs/Add-OBSVCRShader.md @@ -2,7 +2,6 @@ Get-OBSVCRShader ---------------- ### Synopsis - Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 09aa8c911fd7f91301b8b14316dc03cd67101da1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:28 +0000 Subject: [PATCH 4465/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSVCRShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSVCRShader.json b/docs/_data/Help/Add-OBSVCRShader.json index 8d5c91699..7649be26d 100644 --- a/docs/_data/Help/Add-OBSVCRShader.json +++ b/docs/_data/Help/Add-OBSVCRShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0dabb27bb7d8c22151338cd0081a67982e5ab7d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4466/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSVHSShader.md | 59 ++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Add-OBSVHSShader.md b/docs/Add-OBSVHSShader.md index 3cde48cc4..752c8d25c 100644 --- a/docs/Add-OBSVHSShader.md +++ b/docs/Add-OBSVHSShader.md @@ -2,7 +2,6 @@ Get-OBSVHSShader ---------------- ### Synopsis - Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |5 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorOffsetIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| - -#### **Force** - |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[String]`|false |named |False | -#### **NoResponse** +#### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoiseIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **NoiseQuality** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **OffsetIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Range** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVHSShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-ColorToReplace] ] [-ApplyToSpecificColor ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4b6c832d0f7375ff1cbced6726750ac1571b8c0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4467/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSVHSShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSVHSShader.json b/docs/_data/Help/Add-OBSVHSShader.json index 6e4960fd1..4527a7869 100644 --- a/docs/_data/Help/Add-OBSVHSShader.json +++ b/docs/_data/Help/Add-OBSVHSShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 0adc17eb778fdcfa9fae68ec2abcee6e443bb0bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4468/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSVignettingShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSVignettingShader.md b/docs/Add-OBSVignettingShader.md index 516313fb4..b8d467837 100644 --- a/docs/Add-OBSVignettingShader.md +++ b/docs/Add-OBSVignettingShader.md @@ -2,7 +2,6 @@ Get-OBSVignettingShader ----------------------- ### Synopsis - Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InnerRadius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **OuterRadius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVignettingShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4e1a92a9de5758a12d51f07327beb84be70429ae Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4469/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSVignettingShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSVignettingShader.json b/docs/_data/Help/Add-OBSVignettingShader.json index 61647c987..3ee3ee0f8 100644 --- a/docs/_data/Help/Add-OBSVignettingShader.json +++ b/docs/_data/Help/Add-OBSVignettingShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 386af9677e5fc44df2ac245f78c9ba04c589501e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4470/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSVoronoiPixelationShader.md | 35 +++++++++++--------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Add-OBSVoronoiPixelationShader.md b/docs/Add-OBSVoronoiPixelationShader.md index 579397818..dcfc495cd 100644 --- a/docs/Add-OBSVoronoiPixelationShader.md +++ b/docs/Add-OBSVoronoiPixelationShader.md @@ -2,7 +2,6 @@ Get-OBSVoronoiPixelationShader ------------------------------ ### Synopsis - Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixH** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVoronoiPixelationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVoronoiPixelationShader [[-PixH] ] [-Alternative ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 00cf6bc13052a8ebad60e5a4cabcfb08c64b0aa8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4471/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSVoronoiPixelationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSVoronoiPixelationShader.json b/docs/_data/Help/Add-OBSVoronoiPixelationShader.json index 27678a463..adb637d96 100644 --- a/docs/_data/Help/Add-OBSVoronoiPixelationShader.json +++ b/docs/_data/Help/Add-OBSVoronoiPixelationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f4588c14287083c4980075023ecb9ff0a5381566 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4472/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSZigZagShader.md | 49 ++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Add-OBSZigZagShader.md b/docs/Add-OBSZigZagShader.md index 5172f3a4b..236ef9fe4 100644 --- a/docs/Add-OBSZigZagShader.md +++ b/docs/Add-OBSZigZagShader.md @@ -2,7 +2,6 @@ Get-OBSZigZagShader ------------------- ### Synopsis - Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Angle** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |7 |false | +|`[Int]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Period** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Phase** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZigZagShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 16768e7dcd6ab414e3f19c96851ea9c2521df959 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:29 +0000 Subject: [PATCH 4473/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSZigZagShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSZigZagShader.json b/docs/_data/Help/Add-OBSZigZagShader.json index 3d2b657a9..877d9a7dd 100644 --- a/docs/_data/Help/Add-OBSZigZagShader.json +++ b/docs/_data/Help/Add-OBSZigZagShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6ad6cf839998a947b98e636c14f6af7f80eaa08d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:30 +0000 Subject: [PATCH 4474/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSZoomBlurShader.md | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Add-OBSZoomBlurShader.md b/docs/Add-OBSZoomBlurShader.md index ae72bb140..5a397192f 100644 --- a/docs/Add-OBSZoomBlurShader.md +++ b/docs/Add-OBSZoomBlurShader.md @@ -2,7 +2,6 @@ Get-OBSZoomBlurShader --------------------- ### Synopsis - Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Magnitude** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Samples** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |2 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomBlurShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [-Ease ] [-Glitch ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 20c1ed8e976116edecec09fd7b3cf8e36e90e5af Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:30 +0000 Subject: [PATCH 4475/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSZoomBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSZoomBlurShader.json b/docs/_data/Help/Add-OBSZoomBlurShader.json index aee04c70d..5e3327904 100644 --- a/docs/_data/Help/Add-OBSZoomBlurShader.json +++ b/docs/_data/Help/Add-OBSZoomBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 59933c4072aa101dfc8a311e0c387d13d55bb1dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:30 +0000 Subject: [PATCH 4476/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSZoomShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Add-OBSZoomShader.md b/docs/Add-OBSZoomShader.md index efb3ec830..5124926cb 100644 --- a/docs/Add-OBSZoomShader.md +++ b/docs/Add-OBSZoomShader.md @@ -2,7 +2,6 @@ Get-OBSZoomShader ----------------- ### Synopsis - Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5b128109426f2e0806ec7035321efaa8070eb18c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:30 +0000 Subject: [PATCH 4477/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSZoomShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSZoomShader.json b/docs/_data/Help/Add-OBSZoomShader.json index 8cf5230c1..471ef8b0d 100644 --- a/docs/_data/Help/Add-OBSZoomShader.json +++ b/docs/_data/Help/Add-OBSZoomShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From eba872ab075c168c3c26588646b6d34ad020b4e9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:30 +0000 Subject: [PATCH 4478/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Add-OBSZoomXYShader.md | 39 +++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Add-OBSZoomXYShader.md b/docs/Add-OBSZoomXYShader.md index 371860238..0983ab4c2 100644 --- a/docs/Add-OBSZoomXYShader.md +++ b/docs/Add-OBSZoomXYShader.md @@ -2,7 +2,6 @@ Get-OBSZoomXYShader ------------------- ### Synopsis - Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPowe |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XPower** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |x_power| +|`[Float]`|false |named |False |x_power| #### **YPower** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |3 |false |y_power| +|`[Float]`|false |named |False |y_power| --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomXYShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 10a5e1bfc33c217b28cc7915151753db6ecc381e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:30 +0000 Subject: [PATCH 4479/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Add-OBSZoomXYShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Add-OBSZoomXYShader.json b/docs/_data/Help/Add-OBSZoomXYShader.json index cde841cc0..7bc63723c 100644 --- a/docs/_data/Help/Add-OBSZoomXYShader.json +++ b/docs/_data/Help/Add-OBSZoomXYShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dbbfbc14f43279f4d4a1b42dbb742cc82eb7242b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:39 +0000 Subject: [PATCH 4480/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBS3dSwapTransitionShader.md | 47 ++++++++++++--------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBS3dSwapTransitionShader.md b/docs/Set-OBS3dSwapTransitionShader.md index b06a53c24..7e003b128 100644 --- a/docs/Set-OBS3dSwapTransitionShader.md +++ b/docs/Set-OBS3dSwapTransitionShader.md @@ -2,7 +2,6 @@ Get-OBS3dSwapTransitionShader ----------------------------- ### Synopsis - Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Trans |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |background_color| +|`[String]`|false |named |False |background_color| #### **ConvertLinear** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **Depth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Perspective** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Reflection** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBS3dSwapTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From efe4c4c49a929dbe80a5eefc5830c486a809404b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:39 +0000 Subject: [PATCH 4481/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBS3dSwapTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBS3dSwapTransitionShader.json b/docs/_data/Help/Set-OBS3dSwapTransitionShader.json index e7595fbe4..9304b6700 100644 --- a/docs/_data/Help/Set-OBS3dSwapTransitionShader.json +++ b/docs/_data/Help/Set-OBS3dSwapTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBS3dSwapTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-Reflection] ] [[-Perspective] ] [[-Depth] ] [[-BackgroundColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ff2d4b951a38b6f74f8ad38a2254582a973cad40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:39 +0000 Subject: [PATCH 4482/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAddShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSAddShader.md b/docs/Set-OBSAddShader.md index a2db12cab..3273079cd 100644 --- a/docs/Set-OBSAddShader.md +++ b/docs/Set-OBSAddShader.md @@ -2,7 +2,6 @@ Get-OBSAddShader ---------------- ### Synopsis - Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OtherImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |other_image| +|`[String]`|false |named |False |other_image| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAddShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 0505ee3d31bb03e92f4e82b351caac4cdecef93c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:39 +0000 Subject: [PATCH 4483/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAddShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAddShader.json b/docs/_data/Help/Set-OBSAddShader.json index 705b8a877..65dcd33b8 100644 --- a/docs/_data/Help/Set-OBSAddShader.json +++ b/docs/_data/Help/Set-OBSAddShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAddShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 332c27d2cc478304c25b407ff09dd30a10324216 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:39 +0000 Subject: [PATCH 4484/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAlphaBorderShader.md | 37 +++++++++++++------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSAlphaBorderShader.md b/docs/Set-OBSAlphaBorderShader.md index 5184bf5c5..7670315ad 100644 --- a/docs/Set-OBSAlphaBorderShader.md +++ b/docs/Set-OBSAlphaBorderShader.md @@ -2,7 +2,6 @@ Get-OBSAlphaBorderShader ------------------------ ### Synopsis - Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |2 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |0 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAlphaBorderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b91175703d1a15ced30cf8f2f0a8ad3f0fd91038 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4485/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAlphaBorderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAlphaBorderShader.json b/docs/_data/Help/Set-OBSAlphaBorderShader.json index a1a1e027f..4b5d0cbfc 100644 --- a/docs/_data/Help/Set-OBSAlphaBorderShader.json +++ b/docs/_data/Help/Set-OBSAlphaBorderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAlphaBorderShader [[-BorderColor] ] [[-BorderThickness] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b50088241b4e8b0bae94432bbb74749d6fd2fdaa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4486/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAlphaGamingBentCameraShader.md | 51 ++++++++++------------ 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Set-OBSAlphaGamingBentCameraShader.md b/docs/Set-OBSAlphaGamingBentCameraShader.md index 82845c34b..761886161 100644 --- a/docs/Set-OBSAlphaGamingBentCameraShader.md +++ b/docs/Set-OBSAlphaGamingBentCameraShader.md @@ -2,7 +2,6 @@ Get-OBSAlphaGamingBentCameraShader ---------------------------------- ### Synopsis - Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,105 +13,105 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] < ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LeftFlipShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |left_flip_shadow| +|`[Float]`|false |named |False |left_flip_shadow| #### **LeftFlipWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |3 |false |left_flip_width| +|`[Float]`|false |named |False |left_flip_width| #### **LeftSideShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |2 |false |left_side_shadow| +|`[Float]`|false |named |False |left_side_shadow| #### **LeftSideSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |left_side_size| +|`[Float]`|false |named |False |left_side_size| #### **LeftSideWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |left_side_width| +|`[Float]`|false |named |False |left_side_width| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RightFlipShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |right_flip_shadow| +|`[Float]`|false |named |False |right_flip_shadow| #### **RightFlipWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |8 |false |right_flip_width| +|`[Float]`|false |named |False |right_flip_width| #### **RightSideShadow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |7 |false |right_side_shadow| +|`[Float]`|false |named |False |right_side_shadow| #### **RightSideSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |6 |false |right_side_size| +|`[Float]`|false |named |False |right_side_size| #### **RightSideWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |5 |false |right_side_width| +|`[Float]`|false |named |False |right_side_width| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAlphaGamingBentCameraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 926324403ff12df904a7897aa4da1ab73ca566cd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4487/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json b/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json index d0540bf7b..e40b97e64 100644 --- a/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json +++ b/docs/_data/Help/Set-OBSAlphaGamingBentCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 86f1f3b403a41e460b643c1bc7dff1ff8f000325 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4488/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAnimatedPathShader.md | 67 ++++++++++++++----------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Set-OBSAnimatedPathShader.md b/docs/Set-OBSAnimatedPathShader.md index 43304efaf..c2855cb1c 100644 --- a/docs/Set-OBSAnimatedPathShader.md +++ b/docs/Set-OBSAnimatedPathShader.md @@ -2,7 +2,6 @@ Get-OBSAnimatedPathShader ------------------------- ### Synopsis - Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-Elaps |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PathMap** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |8 |false |path_map| +|`[String]`|false |named |False |path_map| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |7 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAnimatedPathShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [-Reverse ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3463157a0d5f6b24c378ba8b26430c37a01d2d2e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4489/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAnimatedPathShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAnimatedPathShader.json b/docs/_data/Help/Set-OBSAnimatedPathShader.json index e880f077f..c3060fe1d 100644 --- a/docs/_data/Help/Set-OBSAnimatedPathShader.json +++ b/docs/_data/Help/Set-OBSAnimatedPathShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAnimatedPathShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-SpeedPercent] ] [[-PathMap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 5e012e7aa975767f7632c7b7ef07ae91d681a81f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4490/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAnimatedTextureShader.md | 97 +++++++++++++--------------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/docs/Set-OBSAnimatedTextureShader.md b/docs/Set-OBSAnimatedTextureShader.md index 2dc81b3d2..3eba62697 100644 --- a/docs/Set-OBSAnimatedTextureShader.md +++ b/docs/Set-OBSAnimatedTextureShader.md @@ -2,7 +2,6 @@ Get-OBSAnimatedTextureShader ---------------------------- ### Synopsis - Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,181 +15,181 @@ Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-El |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **AnimationImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |9 |false |Animation_Image| +|`[String]`|false |named |False |Animation_Image| #### **Bounce** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterAnimation** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |center_animation| +|`[Switch]`|false |named |False |center_animation| #### **ColorizationImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[string]`|false |10 |false |Colorization_Image| +|`[String]`|false |named |False |Colorization_Image| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |19 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PolarAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |11 |false |polar_angle| +|`[Float]`|false |named |False |polar_angle| #### **PolarAnimation** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |polar_animation| +|`[Switch]`|false |named |False |polar_animation| #### **PolarHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |12 |false |polar_height| +|`[Float]`|false |named |False |polar_height| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |20 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedHorizontalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------------| -|`[float]`|false |13 |false |speed_horizontal_percent| +|`[Float]`|false |named |False |speed_horizontal_percent| #### **SpeedVerticalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |14 |false |speed_vertical_percent| +|`[Float]`|false |named |False |speed_vertical_percent| #### **TintSpeedHorizontalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |15 |false |tint_speed_horizontal_percent| +|`[Float]`|false |named |False |tint_speed_horizontal_percent| #### **TintSpeedVerticalPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |16 |false |tint_speed_vertical_percent| +|`[Float]`|false |named |False |tint_speed_vertical_percent| #### **UseAnimationImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------------| -|`[switch]`|false |Named |false |Use_Animation_Image_Color| +|`[Switch]`|false |named |False |Use_Animation_Image_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -206,11 +205,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAnimatedTextureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [-Reverse ] [-Bounce ] [-CenterAnimation ] [-PolarAnimation ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [-UseAnimationImageColor ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f0233d2eb24801fe0d52d6eb990afe15b3b7dfe3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4491/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAnimatedTextureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAnimatedTextureShader.json b/docs/_data/Help/Set-OBSAnimatedTextureShader.json index b0e5f975f..31ace01a0 100644 --- a/docs/_data/Help/Set-OBSAnimatedTextureShader.json +++ b/docs/_data/Help/Set-OBSAnimatedTextureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAnimatedTextureShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-AnimationImage] ] [[-ColorizationImage] ] [[-PolarAngle] ] [[-PolarHeight] ] [[-SpeedHorizontalPercent] ] [[-SpeedVerticalPercent] ] [[-TintSpeedHorizontalPercent] ] [[-TintSpeedVerticalPercent] ] [[-Alpha] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3af88fef53e60db2cf147243d0ca8adf1f5d6c0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4492/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAsciiShader.md | 41 ++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSAsciiShader.md b/docs/Set-OBSAsciiShader.md index c6fa59029..fb5b5cfa9 100644 --- a/docs/Set-OBSAsciiShader.md +++ b/docs/Set-OBSAsciiShader.md @@ -2,7 +2,6 @@ Get-OBSAsciiShader ------------------ ### Synopsis - Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-BaseColor] ] [-Monochrome ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9c41bbc03b4454e9a0dedf52fa33e539fe30be63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4493/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAsciiShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAsciiShader.json b/docs/_data/Help/Set-OBSAsciiShader.json index 4d6d14224..f55fcc6aa 100644 --- a/docs/_data/Help/Set-OBSAsciiShader.json +++ b/docs/_data/Help/Set-OBSAsciiShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAsciiShader [[-Scale] ] [[-BaseColor] ] [[-CharacterSet] ] [[-Note] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6dddee5dcf7511a3caea3c0a6936374b1481ca35 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4494/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSAspectRatioShader.md | 71 ++++++++++++++------------------ 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/docs/Set-OBSAspectRatioShader.md b/docs/Set-OBSAspectRatioShader.md index 6b11f78ca..06e75861e 100644 --- a/docs/Set-OBSAspectRatioShader.md +++ b/docs/Set-OBSAspectRatioShader.md @@ -2,7 +2,6 @@ Get-OBSAspectRatioShader ------------------------ ### Synopsis - Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-Elapse |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSAspectRatioShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 26a71b2d8c217942ebfc4739dadcd6a55bec4be1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4495/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSAspectRatioShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSAspectRatioShader.json b/docs/_data/Help/Set-OBSAspectRatioShader.json index fd3cf291f..2affb92f9 100644 --- a/docs/_data/Help/Set-OBSAspectRatioShader.json +++ b/docs/_data/Help/Set-OBSAspectRatioShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSAspectRatioShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 77b313fbb39b58afbf71783721d67b143c9f7913 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:40 +0000 Subject: [PATCH 4496/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBackgroundRemovalShader.md | 81 ++++++++++++-------------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/docs/Set-OBSBackgroundRemovalShader.md b/docs/Set-OBSBackgroundRemovalShader.md index c793634cc..a49d8ebfe 100644 --- a/docs/Set-OBSBackgroundRemovalShader.md +++ b/docs/Set-OBSBackgroundRemovalShader.md @@ -2,7 +2,6 @@ Get-OBSBackgroundRemovalShader ------------------------------ ### Synopsis - Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,133 +15,133 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[- |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **Convert601to709** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Convert_601to709| +|`[Switch]`|false |named |False |Convert_601to709| #### **Convert709to601** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Convert_709to601| +|`[Switch]`|false |named |False |Convert_709to601| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Invert** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Target** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -158,11 +157,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBackgroundRemovalShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [-Invert ] [-Convert709to601 ] [-Convert601to709 ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c78af6f33bab42cb48a64f4d65e0b6ba1bbb18eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4497/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBackgroundRemovalShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBackgroundRemovalShader.json b/docs/_data/Help/Set-OBSBackgroundRemovalShader.json index 205be77d5..2d460871b 100644 --- a/docs/_data/Help/Set-OBSBackgroundRemovalShader.json +++ b/docs/_data/Help/Set-OBSBackgroundRemovalShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBackgroundRemovalShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-Target] ] [[-Color] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4763faefb115ccf45db9ee626719880811490762 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4498/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBlendOpacityShader.md | 59 ++++++++++++++----------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Set-OBSBlendOpacityShader.md b/docs/Set-OBSBlendOpacityShader.md index e33409d5c..57f3bbaba 100644 --- a/docs/Set-OBSBlendOpacityShader.md +++ b/docs/Set-OBSBlendOpacityShader.md @@ -2,7 +2,6 @@ Get-OBSBlendOpacityShader ------------------------- ### Synopsis - Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [-Rotational ] [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f420621035c0f197ec923b5fc982dc013086a2d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4499/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBlendOpacityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBlendOpacityShader.json b/docs/_data/Help/Set-OBSBlendOpacityShader.json index 7bbf047ed..a6d378c06 100644 --- a/docs/_data/Help/Set-OBSBlendOpacityShader.json +++ b/docs/_data/Help/Set-OBSBlendOpacityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBlendOpacityShader [[-RotationOffset] ] [[-OpacityStartPercent] ] [[-OpacityEndPercent] ] [[-Spread] ] [[-Speed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3c60732b91b4780b17f886c9d9eeee83ca4194d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4500/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBlinkShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSBlinkShader.md b/docs/Set-OBSBlinkShader.md index 5389fb6c4..4c2ef4b14 100644 --- a/docs/Set-OBSBlinkShader.md +++ b/docs/Set-OBSBlinkShader.md @@ -2,7 +2,6 @@ Get-OBSBlinkShader ------------------ ### Synopsis - Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 62acc52bcdd5aa2526d3bd8efb808793dc6dd519 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4501/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBlinkShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBlinkShader.json b/docs/_data/Help/Set-OBSBlinkShader.json index 2973e5079..376fc91b5 100644 --- a/docs/_data/Help/Set-OBSBlinkShader.json +++ b/docs/_data/Help/Set-OBSBlinkShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBlinkShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bf087683399354440a6646e7e0326ca96fcfdec4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4502/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBloomShader.md | 39 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSBloomShader.md b/docs/Set-OBSBloomShader.md index e4fc8bba8..9508b71d4 100644 --- a/docs/Set-OBSBloomShader.md +++ b/docs/Set-OBSBloomShader.md @@ -2,7 +2,6 @@ Get-OBSBloomShader ------------------ ### Synopsis - Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5a3b20dc9f3202f9a48cbbf9f9b1624bf1eacbdb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4503/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBloomShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBloomShader.json b/docs/_data/Help/Set-OBSBloomShader.json index b705909c3..b0ed430cd 100644 --- a/docs/_data/Help/Set-OBSBloomShader.json +++ b/docs/_data/Help/Set-OBSBloomShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBloomShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 57c13516a823a119ac49231fe512ba3f7b64565a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4504/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBorderShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSBorderShader.md b/docs/Set-OBSBorderShader.md index 88a592d7b..1a0c697e1 100644 --- a/docs/Set-OBSBorderShader.md +++ b/docs/Set-OBSBorderShader.md @@ -2,7 +2,6 @@ Get-OBSBorderShader ------------------- ### Synopsis - Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,49 +15,49 @@ Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-Filter |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBorderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From fb16b2ac743c97f53dd968d7a480c2a498d93e90 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4505/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBorderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBorderShader.json b/docs/_data/Help/Set-OBSBorderShader.json index 868dca86d..e916649e4 100644 --- a/docs/_data/Help/Set-OBSBorderShader.json +++ b/docs/_data/Help/Set-OBSBorderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBorderShader [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 39983067a627208ab65f5e7a4c035a5008fa9c08 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4506/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBoxBlurShader.md | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSBoxBlurShader.md b/docs/Set-OBSBoxBlurShader.md index fb293b9a4..1de90563b 100644 --- a/docs/Set-OBSBoxBlurShader.md +++ b/docs/Set-OBSBoxBlurShader.md @@ -2,7 +2,6 @@ Get-OBSBoxBlurShader -------------------- ### Synopsis - Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9bf015bc17703703df36d08f699ba4a9a0ab2047 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4507/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBoxBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBoxBlurShader.json b/docs/_data/Help/Set-OBSBoxBlurShader.json index e4f7d736f..b7c6450ad 100644 --- a/docs/_data/Help/Set-OBSBoxBlurShader.json +++ b/docs/_data/Help/Set-OBSBoxBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBoxBlurShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4409348441657499746c031fc92eed27dfb39ed4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4508/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBulgePinchShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSBulgePinchShader.md b/docs/Set-OBSBulgePinchShader.md index a946bf65a..a0c99f99e 100644 --- a/docs/Set-OBSBulgePinchShader.md +++ b/docs/Set-OBSBulgePinchShader.md @@ -2,7 +2,6 @@ Get-OBSBulgePinchShader ----------------------- ### Synopsis - Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] < |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Magnitude** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBulgePinchShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [-Animate ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e1c7768798d90b65f7866355952a20942b9921ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:41 +0000 Subject: [PATCH 4509/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBulgePinchShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBulgePinchShader.json b/docs/_data/Help/Set-OBSBulgePinchShader.json index 7ee877a41..be8927cc5 100644 --- a/docs/_data/Help/Set-OBSBulgePinchShader.json +++ b/docs/_data/Help/Set-OBSBulgePinchShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBulgePinchShader [[-Radius] ] [[-Magnitude] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c4e65a9a4b976a671344b45bbc6dfeb7263f96b7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4510/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSBurnShader.md | 53 +++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Set-OBSBurnShader.md b/docs/Set-OBSBurnShader.md index dc9a2b771..db2f92fb7 100644 --- a/docs/Set-OBSBurnShader.md +++ b/docs/Set-OBSBurnShader.md @@ -2,7 +2,6 @@ Get-OBSBurnShader ----------------- ### Synopsis - Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjus |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ApplySmoke** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |Apply_Smoke| +|`[Switch]`|false |named |False |Apply_Smoke| #### **ApplyToChannel** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Apply_to_Channel| +|`[Switch]`|false |named |False |Apply_to_Channel| #### **BurnGradient** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |0 |false |Burn_Gradient| +|`[String]`|false |named |False |Burn_Gradient| #### **DissolveValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |3 |false |Dissolve_Value| +|`[Float]`|false |named |False |Dissolve_Value| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |Gradient_Adjust| +|`[Float]`|false |named |False |Gradient_Adjust| #### **Iterations** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SmokeHorizonalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |4 |false |Smoke_Horizonal_Speed| +|`[Float]`|false |named |False |Smoke_Horizonal_Speed| #### **SmokeVerticalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |5 |false |Smoke_Vertical_Speed| +|`[Float]`|false |named |False |Smoke_Vertical_Speed| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSBurnShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [-Animated ] [-ApplyToChannel ] [-ApplySmoke ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6499bbab03e10ca099c7e7738195b0a3e1774b79 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4511/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSBurnShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSBurnShader.json b/docs/_data/Help/Set-OBSBurnShader.json index 0e5ad04b6..5ba3887fa 100644 --- a/docs/_data/Help/Set-OBSBurnShader.json +++ b/docs/_data/Help/Set-OBSBurnShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSBurnShader [[-BurnGradient] ] [[-Speed] ] [[-GradientAdjust] ] [[-DissolveValue] ] [[-SmokeHorizonalSpeed] ] [[-SmokeVerticalSpeed] ] [[-Iterations] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f8a78dd6c166475a78b7996f7697d176e0677a86 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4512/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCartoonShader.md | 75 ++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/docs/Set-OBSCartoonShader.md b/docs/Set-OBSCartoonShader.md index 0235e1b80..14b56e4cb 100644 --- a/docs/Set-OBSCartoonShader.md +++ b/docs/Set-OBSCartoonShader.md @@ -2,7 +2,6 @@ Get-OBSCartoonShader -------------------- ### Synopsis - Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,115 +15,115 @@ Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HueSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |9 |false |hue_steps| +|`[Int]`|false |named |False |hue_steps| #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ValueSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |10 |false |value_steps| +|`[Int]`|false |named |False |value_steps| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -140,11 +139,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCartoonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 55f2e4210be8151b6a0e97e34cac6361d4e88895 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4513/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCartoonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCartoonShader.json b/docs/_data/Help/Set-OBSCartoonShader.json index 38965ebad..88074a631 100644 --- a/docs/_data/Help/Set-OBSCartoonShader.json +++ b/docs/_data/Help/Set-OBSCartoonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCartoonShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Notes] ] [[-HueSteps] ] [[-ValueSteps] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7049a4c3fb417827d904024712c7aa70310ad055 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4514/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCellShadedShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSCellShadedShader.md b/docs/Set-OBSCellShadedShader.md index 7b68ec729..004a4eeca 100644 --- a/docs/Set-OBSCellShadedShader.md +++ b/docs/Set-OBSCellShadedShader.md @@ -2,7 +2,6 @@ Get-OBSCellShadedShader ----------------------- ### Synopsis - Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFacto |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **AngleSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |0 |false |Angle_Steps| +|`[Int]`|false |named |False |Angle_Steps| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RadiusSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Radius_Steps| +|`[Int]`|false |named |False |Radius_Steps| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCellShadedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 804b0a9553a5aa7e96d7ed645b8988c003fef6c6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4515/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCellShadedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCellShadedShader.json b/docs/_data/Help/Set-OBSCellShadedShader.json index 3d50c192f..f58cef3f2 100644 --- a/docs/_data/Help/Set-OBSCellShadedShader.json +++ b/docs/_data/Help/Set-OBSCellShadedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCellShadedShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 622059fa15fe8b4aa822e688ae9d62efac81365a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4516/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSChromaticAberrationShader.md | 47 ++++++++++-------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBSChromaticAberrationShader.md b/docs/Set-OBSChromaticAberrationShader.md index d2e270d01..16ec8a6c1 100644 --- a/docs/Set-OBSChromaticAberrationShader.md +++ b/docs/Set-OBSChromaticAberrationShader.md @@ -2,7 +2,6 @@ Get-OBSChromaticAberrationShader -------------------------------- ### Synopsis - Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIte |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |distort_barrel| +|`[Switch]`|false |named |False |distort_barrel| #### **DistortRadial** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |distort_radial| +|`[Switch]`|false |named |False |distort_radial| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gamma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumIter** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------| -|`[int]`|false |2 |false |num_iter| +|`[Int]`|false |named |False |num_iter| #### **OffsetSpectrumYcgco** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------------| -|`[switch]`|false |Named |false |offset_spectrum_ycgco| +|`[Switch]`|false |named |False |offset_spectrum_ycgco| #### **OffsetSpectrumYuv** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |offset_spectrum_yuv| +|`[Switch]`|false |named |False |offset_spectrum_yuv| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseRandom** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |use_random| +|`[Switch]`|false |named |False |use_random| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSChromaticAberrationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [-DistortRadial ] [-DistortBarrel ] [-OffsetSpectrumYcgco ] [-OffsetSpectrumYuv ] [-UseRandom ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 260dc1c85ccf5be88601fff33644bc007d038b41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4517/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSChromaticAberrationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSChromaticAberrationShader.json b/docs/_data/Help/Set-OBSChromaticAberrationShader.json index daa15776e..6cc5a22fa 100644 --- a/docs/_data/Help/Set-OBSChromaticAberrationShader.json +++ b/docs/_data/Help/Set-OBSChromaticAberrationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSChromaticAberrationShader [[-Power] ] [[-Gamma] ] [[-NumIter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 959eb3202a52a4a2f74b4677fd339449ecda83ce Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4518/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSChromaUVDistortionShader.md | 37 ++++++++++--------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSChromaUVDistortionShader.md b/docs/Set-OBSChromaUVDistortionShader.md index 00901d12d..036fe326d 100644 --- a/docs/Set-OBSChromaUVDistortionShader.md +++ b/docs/Set-OBSChromaUVDistortionShader.md @@ -2,7 +2,6 @@ Get-OBSChromaUVDistortionShader ------------------------------- ### Synopsis - Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Chroma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Distortion** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSChromaUVDistortionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3c24f88b62c109c70719ee1eca2fe5894d48d4a0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4519/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSChromaUVDistortionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSChromaUVDistortionShader.json b/docs/_data/Help/Set-OBSChromaUVDistortionShader.json index 66e162085..b44fc1c65 100644 --- a/docs/_data/Help/Set-OBSChromaUVDistortionShader.json +++ b/docs/_data/Help/Set-OBSChromaUVDistortionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSChromaUVDistortionShader [[-Distortion] ] [[-Amplitude] ] [[-Chroma] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3d531e8e7693bd6b209fd31f178ee468efff9725 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4520/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCircleMaskFilterShader.md | 43 +++++++++++---------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSCircleMaskFilterShader.md b/docs/Set-OBSCircleMaskFilterShader.md index 7d6a01076..510c1b8cc 100644 --- a/docs/Set-OBSCircleMaskFilterShader.md +++ b/docs/Set-OBSCircleMaskFilterShader.md @@ -2,7 +2,6 @@ Get-OBSCircleMaskFilterShader ----------------------------- ### Synopsis - Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-Ci |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CircleOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |1 |false |Circle_Offset_X| +|`[Int]`|false |named |False |Circle_Offset_X| #### **CircleOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |2 |false |Circle_Offset_Y| +|`[Int]`|false |named |False |Circle_Offset_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SourceOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |3 |false |Source_Offset_X| +|`[Int]`|false |named |False |Source_Offset_X| #### **SourceOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |4 |false |Source_Offset_Y| +|`[Int]`|false |named |False |Source_Offset_Y| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCircleMaskFilterShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [-Antialiasing ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7ee4aa3958df65eafcd99d5ccb100de32c4f3a99 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4521/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCircleMaskFilterShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCircleMaskFilterShader.json b/docs/_data/Help/Set-OBSCircleMaskFilterShader.json index 50ea58fd9..fb16ac976 100644 --- a/docs/_data/Help/Set-OBSCircleMaskFilterShader.json +++ b/docs/_data/Help/Set-OBSCircleMaskFilterShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCircleMaskFilterShader [[-Radius] ] [[-CircleOffsetX] ] [[-CircleOffsetY] ] [[-SourceOffsetX] ] [[-SourceOffsetY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4add8ca97d8d8552e1e2820360d3e4b930fdfcf3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:42 +0000 Subject: [PATCH 4522/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSClockAnalogShader.md | 77 +++++++++++++++----------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Set-OBSClockAnalogShader.md b/docs/Set-OBSClockAnalogShader.md index 5e56201df..2cf894bac 100644 --- a/docs/Set-OBSClockAnalogShader.md +++ b/docs/Set-OBSClockAnalogShader.md @@ -2,7 +2,6 @@ Get-OBSClockAnalogShader ------------------------ ### Synopsis - Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,111 +13,111 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-C ### Parameters #### **BackgroundColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|----------------| -|`[float[]]`|false |9 |false |background_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|----------------| +|`[System.Single[]]`|false |named |False |background_color| #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeMs** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |current_time_ms| +|`[Int]`|false |named |False |current_time_ms| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HourHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |4 |false |hour_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |hour_handle_color| #### **MinuteHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------------| -|`[float[]]`|false |5 |false |minute_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------------| +|`[System.Single[]]`|false |named |False |minute_handle_color| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OutlineColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------| -|`[float[]]`|false |7 |false |outline_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------| +|`[System.Single[]]`|false |named |False |outline_color| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SecondHandleColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-------------------| -|`[float[]]`|false |6 |false |second_handle_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-------------------| +|`[System.Single[]]`|false |named |False |second_handle_color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeOffsetHours** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |10 |false |time_offset_hours| +|`[Int]`|false |named |False |time_offset_hours| #### **TopLineColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------------| -|`[float[]]`|false |8 |false |top_line_color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------------| +|`[System.Single[]]`|false |named |False |top_line_color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockAnalogShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7e2a64173ab83b698bd27bc886a26fbcc7d0ded6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4523/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSClockAnalogShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSClockAnalogShader.json b/docs/_data/Help/Set-OBSClockAnalogShader.json index c188ec73d..ec1db7dfd 100644 --- a/docs/_data/Help/Set-OBSClockAnalogShader.json +++ b/docs/_data/Help/Set-OBSClockAnalogShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockAnalogShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-HourHandleColor] ] [[-MinuteHandleColor] ] [[-SecondHandleColor] ] [[-OutlineColor] ] [[-TopLineColor] ] [[-BackgroundColor] ] [[-TimeOffsetHours] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From fe9b8651397ef204632c7cd6032ca7768de94926 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4524/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSClockDigitalLedShader.md | 51 ++++++++++++---------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Set-OBSClockDigitalLedShader.md b/docs/Set-OBSClockDigitalLedShader.md index 739d5a131..5c31ba02b 100644 --- a/docs/Set-OBSClockDigitalLedShader.md +++ b/docs/Set-OBSClockDigitalLedShader.md @@ -2,7 +2,6 @@ Get-OBSClockDigitalLedShader ---------------------------- ### Synopsis - Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |2 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LedColor** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetHours** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |5 |false | +|`[Int]`|false |named |False | #### **OffsetSeconds** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowMatrix** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShowOff** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeMode** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [-ShowMatrix ] [-ShowOff ] [-Ampm ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 66c06416d543e0aef336d6c8170ae0866678c00b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4525/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSClockDigitalLedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSClockDigitalLedShader.json b/docs/_data/Help/Set-OBSClockDigitalLedShader.json index a0948321d..419b04585 100644 --- a/docs/_data/Help/Set-OBSClockDigitalLedShader.json +++ b/docs/_data/Help/Set-OBSClockDigitalLedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockDigitalLedShader [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-LedColor] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 42753854c757aa927b4a8e1d878c8727ff92e3ee Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4526/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSClockDigitalNixieShader.md | 75 ++++++++++++-------------- 1 file changed, 34 insertions(+), 41 deletions(-) diff --git a/docs/Set-OBSClockDigitalNixieShader.md b/docs/Set-OBSClockDigitalNixieShader.md index e73968e07..5af84a4da 100644 --- a/docs/Set-OBSClockDigitalNixieShader.md +++ b/docs/Set-OBSClockDigitalNixieShader.md @@ -2,7 +2,6 @@ Get-OBSClockDigitalNixieShader ------------------------------ ### Synopsis - Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,117 +13,117 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ### Parameters #### **Anodecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |10 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Anodehighlightscolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |11 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Corecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |7 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **CurrentTimeHour** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |current_time_hour| +|`[Int]`|false |named |False |current_time_hour| #### **CurrentTimeMin** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |current_time_min| +|`[Int]`|false |named |False |current_time_min| #### **CurrentTimeMs** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |current_time_ms| +|`[Int]`|false |named |False |current_time_ms| #### **CurrentTimeSec** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |current_time_sec| +|`[Int]`|false |named |False |current_time_sec| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Flarecolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |9 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Halocolor** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |8 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetHours** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |5 |false | +|`[Int]`|false |named |False | #### **OffsetSeconds** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |6 |false | +|`[Int]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeMode** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |4 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -140,11 +139,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSClockDigitalNixieShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 08fe10617ee103a03abd75e385450b70058bee7d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4527/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSClockDigitalNixieShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSClockDigitalNixieShader.json b/docs/_data/Help/Set-OBSClockDigitalNixieShader.json index 1cb0ec481..21739b95a 100644 --- a/docs/_data/Help/Set-OBSClockDigitalNixieShader.json +++ b/docs/_data/Help/Set-OBSClockDigitalNixieShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] ] [[-CurrentTimeSec] ] [[-CurrentTimeMin] ] [[-CurrentTimeHour] ] [[-TimeMode] ] [[-OffsetHours] ] [[-OffsetSeconds] ] [[-Corecolor] ] [[-Halocolor] ] [[-Flarecolor] ] [[-Anodecolor] ] [[-Anodehighlightscolor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a74ba5a0f842d11bf24dda51b722cf46444df95c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4528/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSColorDepthShader.md | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSColorDepthShader.md b/docs/Set-OBSColorDepthShader.md index 09a9a7a91..7a2c10ffb 100644 --- a/docs/Set-OBSColorDepthShader.md +++ b/docs/Set-OBSColorDepthShader.md @@ -2,7 +2,6 @@ Get-OBSColorDepthShader ----------------------- ### Synopsis - Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-Source |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSColorDepthShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From caf6665ff25f5fc1220ade1f3f53603091ae1c2c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4529/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSColorDepthShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSColorDepthShader.json b/docs/_data/Help/Set-OBSColorDepthShader.json index 571d37737..f27fcb23a 100644 --- a/docs/_data/Help/Set-OBSColorDepthShader.json +++ b/docs/_data/Help/Set-OBSColorDepthShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSColorDepthShader [[-ColorDepth] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b14c40a8fdf7478ce5353a75779071ec72398c60 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4530/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSColorGradeFilterShader.md | 41 +++++++++++---------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSColorGradeFilterShader.md b/docs/Set-OBSColorGradeFilterShader.md index c8b096fa0..c6a05c9a1 100644 --- a/docs/Set-OBSColorGradeFilterShader.md +++ b/docs/Set-OBSColorGradeFilterShader.md @@ -2,7 +2,6 @@ Get-OBSColorGradeFilterShader ----------------------------- ### Synopsis - Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmount ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Lut** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LutAmountPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |2 |false |lut_amount_percent| +|`[Int]`|false |named |False |lut_amount_percent| #### **LutOffsetPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |4 |false |lut_offset_percent| +|`[Int]`|false |named |False |lut_offset_percent| #### **LutScalePercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |3 |false |lut_scale_percent| +|`[Int]`|false |named |False |lut_scale_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSColorGradeFilterShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From efb6e4e7063806e62fcaa74b9450f30d52f770f9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4531/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSColorGradeFilterShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSColorGradeFilterShader.json b/docs/_data/Help/Set-OBSColorGradeFilterShader.json index 12b6a9177..b06631ebe 100644 --- a/docs/_data/Help/Set-OBSColorGradeFilterShader.json +++ b/docs/_data/Help/Set-OBSColorGradeFilterShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSColorGradeFilterShader [[-Notes] ] [[-Lut] ] [[-LutAmountPercent] ] [[-LutScalePercent] ] [[-LutOffsetPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d820dfe63d7049d5b6d6c8df1a1f1c2bacd70640 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4532/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCornerPinShader.md | 49 +++++++++++++++------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSCornerPinShader.md b/docs/Set-OBSCornerPinShader.md index 1a122c1ea..6fc77671d 100644 --- a/docs/Set-OBSCornerPinShader.md +++ b/docs/Set-OBSCornerPinShader.md @@ -2,7 +2,6 @@ Get-OBSCornerPinShader ---------------------- ### Synopsis - Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |Antialias_Edges| +|`[Switch]`|false |named |False |Antialias_Edges| #### **BottomLeftX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |4 |false |Bottom_Left_X| +|`[Float]`|false |named |False |Bottom_Left_X| #### **BottomLeftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Bottom_Left_Y| +|`[Float]`|false |named |False |Bottom_Left_Y| #### **BottomRightX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |6 |false |Bottom_Right_X| +|`[Float]`|false |named |False |Bottom_Right_X| #### **BottomRightY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |7 |false |Bottom_Right_Y| +|`[Float]`|false |named |False |Bottom_Right_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TopLeftX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |Top_Left_X| +|`[Float]`|false |named |False |Top_Left_X| #### **TopLeftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |Top_Left_Y| +|`[Float]`|false |named |False |Top_Left_Y| #### **TopRightX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Top_Right_X| +|`[Float]`|false |named |False |Top_Right_X| #### **TopRightY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |Top_Right_Y| +|`[Float]`|false |named |False |Top_Right_Y| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCornerPinShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCornerPinShader [-AntialiasEdges ] [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 86d969d2944f417089ec7c1bacfa2f527cb6d9ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:43 +0000 Subject: [PATCH 4533/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCornerPinShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCornerPinShader.json b/docs/_data/Help/Set-OBSCornerPinShader.json index d5d734e67..b86acea1f 100644 --- a/docs/_data/Help/Set-OBSCornerPinShader.json +++ b/docs/_data/Help/Set-OBSCornerPinShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCornerPinShader [[-TopLeftX] ] [[-TopLeftY] ] [[-TopRightX] ] [[-TopRightY] ] [[-BottomLeftX] ] [[-BottomLeftY] ] [[-BottomRightX] ] [[-BottomRightY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 639faed393a08c969261938cc084a8088e13ef5c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4534/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCrtCurvatureShader.md | 37 +++++++++++++------------------ 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSCrtCurvatureShader.md b/docs/Set-OBSCrtCurvatureShader.md index 16cd6a949..ab0280728 100644 --- a/docs/Set-OBSCrtCurvatureShader.md +++ b/docs/Set-OBSCrtCurvatureShader.md @@ -2,7 +2,6 @@ Get-OBSCrtCurvatureShader ------------------------- ### Synopsis - Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Featheri |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Feathering** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCrtCurvatureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d38859c2820f8a1de77393202b3f3f3d83b2429d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4535/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCrtCurvatureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCrtCurvatureShader.json b/docs/_data/Help/Set-OBSCrtCurvatureShader.json index 727f5e96c..f22cd33ef 100644 --- a/docs/_data/Help/Set-OBSCrtCurvatureShader.json +++ b/docs/_data/Help/Set-OBSCrtCurvatureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCrtCurvatureShader [[-Strength] ] [[-Border] ] [[-Feathering] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2536b861cc5b4f017fc427989c0fe66ce71ba251 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4536/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCurveShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSCurveShader.md b/docs/Set-OBSCurveShader.md index e164f1b6e..b2adf5321 100644 --- a/docs/Set-OBSCurveShader.md +++ b/docs/Set-OBSCurveShader.md @@ -2,7 +2,6 @@ Get-OBSCurveShader ------------------ ### Synopsis - Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From eeb31e3c7599f0b3c0366b9ae4d3984066e41291 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4537/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCurveShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCurveShader.json b/docs/_data/Help/Set-OBSCurveShader.json index 0a2b63e17..bdde1131c 100644 --- a/docs/_data/Help/Set-OBSCurveShader.json +++ b/docs/_data/Help/Set-OBSCurveShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCurveShader [[-Strength] ] [[-Scale] ] [[-CurveColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ba93a0dc9058c4a549b9596daf638ff40bb34031 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4538/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCutRectPerCornerShader.md | 49 ++++++++++++--------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSCutRectPerCornerShader.md b/docs/Set-OBSCutRectPerCornerShader.md index c76a7c6d2..2afa0f284 100644 --- a/docs/Set-OBSCutRectPerCornerShader.md +++ b/docs/Set-OBSCutRectPerCornerShader.md @@ -2,7 +2,6 @@ Get-OBSCutRectPerCornerShader ----------------------------- ### Synopsis - Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerB |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerBl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |3 |false |corner_bl| +|`[Int]`|false |named |False |corner_bl| #### **CornerBr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |2 |false |corner_br| +|`[Int]`|false |named |False |corner_br| #### **CornerTl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |0 |false |corner_tl| +|`[Int]`|false |named |False |corner_tl| #### **CornerTr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------| -|`[int]`|false |1 |false |corner_tr| +|`[Int]`|false |named |False |corner_tr| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCutRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 93de09cb63fffd8266799a05ec828da53b444e3e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4539/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCutRectPerCornerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCutRectPerCornerShader.json b/docs/_data/Help/Set-OBSCutRectPerCornerShader.json index 38453760e..1de0ae52d 100644 --- a/docs/_data/Help/Set-OBSCutRectPerCornerShader.json +++ b/docs/_data/Help/Set-OBSCutRectPerCornerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCutRectPerCornerShader [[-CornerTl] ] [[-CornerTr] ] [[-CornerBr] ] [[-CornerBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1dc433a515c6b273728243656908b30b9b80bcbb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4540/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSCylinderShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSCylinderShader.md b/docs/Set-OBSCylinderShader.md index 07a2cacf1..873c78048 100644 --- a/docs/Set-OBSCylinderShader.md +++ b/docs/Set-OBSCylinderShader.md @@ -2,7 +2,6 @@ Get-OBSCylinderShader --------------------- ### Synopsis - Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |background_cut| +|`[Float]`|false |named |False |background_cut| #### **CylinderFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |cylinder_factor| +|`[Float]`|false |named |False |cylinder_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSCylinderShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bd77f948c309452748bc438eced4e408d59e9ac1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4541/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSCylinderShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSCylinderShader.json b/docs/_data/Help/Set-OBSCylinderShader.json index 6f6a0f013..5774b470e 100644 --- a/docs/_data/Help/Set-OBSCylinderShader.json +++ b/docs/_data/Help/Set-OBSCylinderShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSCylinderShader [[-CylinderFactor] ] [[-BackgroundCut] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c29ca643c10bee41e81bc00738380fa58e8090b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4542/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDarkenShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSDarkenShader.md b/docs/Set-OBSDarkenShader.md index a3eab1244..0d45d9a78 100644 --- a/docs/Set-OBSDarkenShader.md +++ b/docs/Set-OBSDarkenShader.md @@ -2,7 +2,6 @@ Get-OBSDarkenShader ------------------- ### Synopsis - Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |1 |false |Fill_Percentage| +|`[Float]`|false |named |False |Fill_Percentage| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **OpacityPercentage** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |0 |false |Opacity_Percentage| +|`[Float]`|false |named |False |Opacity_Percentage| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDarkenShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7c10ccc6def00e0c9dac7a45bf599fc30a2942ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4543/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDarkenShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDarkenShader.json b/docs/_data/Help/Set-OBSDarkenShader.json index 73897b41b..9f2837528 100644 --- a/docs/_data/Help/Set-OBSDarkenShader.json +++ b/docs/_data/Help/Set-OBSDarkenShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDarkenShader [[-OpacityPercentage] ] [[-FillPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 505499582d8e956bc9a9e21d5e2374c8557bc325 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4544/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDeadPixelFixerShader.md | 35 ++++++++++++----------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSDeadPixelFixerShader.md b/docs/Set-OBSDeadPixelFixerShader.md index 52de7278a..7a0e34a40 100644 --- a/docs/Set-OBSDeadPixelFixerShader.md +++ b/docs/Set-OBSDeadPixelFixerShader.md @@ -2,7 +2,6 @@ Get-OBSDeadPixelFixerShader --------------------------- ### Synopsis - Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-Sourc |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |0 |false |Dead_Pixel_X| +|`[Int]`|false |named |False |Dead_Pixel_X| #### **DeadPixelY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Dead_Pixel_Y| +|`[Int]`|false |named |False |Dead_Pixel_Y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDeadPixelFixerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 78ed1145d3c5a1b77db2cb966b358922cc15f9c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:44 +0000 Subject: [PATCH 4545/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDeadPixelFixerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDeadPixelFixerShader.json b/docs/_data/Help/Set-OBSDeadPixelFixerShader.json index aa2307b6c..5e80f1339 100644 --- a/docs/_data/Help/Set-OBSDeadPixelFixerShader.json +++ b/docs/_data/Help/Set-OBSDeadPixelFixerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDeadPixelFixerShader [[-DeadPixelX] ] [[-DeadPixelY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a6f52da3c4777ec26fb79995706cbe3926e3e070 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4546/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDensitySatHueShader.md | 73 ++++++++++++++---------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Set-OBSDensitySatHueShader.md b/docs/Set-OBSDensitySatHueShader.md index 4880aadca..a30556382 100644 --- a/docs/Set-OBSDensitySatHueShader.md +++ b/docs/Set-OBSDensitySatHueShader.md @@ -2,7 +2,6 @@ Get-OBSDensitySatHueShader -------------------------- ### Synopsis - Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,169 +15,169 @@ Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-Saturati |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |13 |false |density_b| +|`[Float]`|false |named |False |density_b| #### **DensityC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |10 |false |density_c| +|`[Float]`|false |named |False |density_c| #### **DensityG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |7 |false |density_g| +|`[Float]`|false |named |False |density_g| #### **DensityM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |16 |false |density_m| +|`[Float]`|false |named |False |density_m| #### **DensityR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |1 |false |density_r| +|`[Float]`|false |named |False |density_r| #### **DensityY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |4 |false |density_y| +|`[Float]`|false |named |False |density_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |22 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlobalDensity** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |19 |false |global_density| +|`[Float]`|false |named |False |global_density| #### **GlobalSaturation** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |20 |false |global_saturation| +|`[Float]`|false |named |False |global_saturation| #### **HueShiftB** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |15 |false |hueShift_b| +|`[Float]`|false |named |False |hueShift_b| #### **HueShiftC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |12 |false |hueShift_c| +|`[Float]`|false |named |False |hueShift_c| #### **HueShiftG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |9 |false |hueShift_g| +|`[Float]`|false |named |False |hueShift_g| #### **HueShiftM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |18 |false |hueShift_m| +|`[Float]`|false |named |False |hueShift_m| #### **HueShiftR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |3 |false |hueShift_r| +|`[Float]`|false |named |False |hueShift_r| #### **HueShiftY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |6 |false |hueShift_y| +|`[Float]`|false |named |False |hueShift_y| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SaturationB** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |14 |false |saturation_b| +|`[Float]`|false |named |False |saturation_b| #### **SaturationC** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |11 |false |saturation_c| +|`[Float]`|false |named |False |saturation_c| #### **SaturationG** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |8 |false |saturation_g| +|`[Float]`|false |named |False |saturation_g| #### **SaturationM** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |17 |false |saturation_m| +|`[Float]`|false |named |False |saturation_m| #### **SaturationR** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |saturation_r| +|`[Float]`|false |named |False |saturation_r| #### **SaturationY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |5 |false |saturation_y| +|`[Float]`|false |named |False |saturation_y| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |23 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -194,11 +193,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDensitySatHueShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9b7aaef4c3c701987722799ea4237f8d4780d48a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4547/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDensitySatHueShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDensitySatHueShader.json b/docs/_data/Help/Set-OBSDensitySatHueShader.json index ca5255638..91dc11503 100644 --- a/docs/_data/Help/Set-OBSDensitySatHueShader.json +++ b/docs/_data/Help/Set-OBSDensitySatHueShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDensitySatHueShader [[-Notes] ] [[-DensityR] ] [[-SaturationR] ] [[-HueShiftR] ] [[-DensityY] ] [[-SaturationY] ] [[-HueShiftY] ] [[-DensityG] ] [[-SaturationG] ] [[-HueShiftG] ] [[-DensityC] ] [[-SaturationC] ] [[-HueShiftC] ] [[-DensityB] ] [[-SaturationB] ] [[-HueShiftB] ] [[-DensityM] ] [[-SaturationM] ] [[-HueShiftM] ] [[-GlobalDensity] ] [[-GlobalSaturation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 03917ae09fa37587a604b3bd1d240d98f9f55f38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4548/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDiffuseTransitionShader.md | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSDiffuseTransitionShader.md b/docs/Set-OBSDiffuseTransitionShader.md index 43a253369..75675e21b 100644 --- a/docs/Set-OBSDiffuseTransitionShader.md +++ b/docs/Set-OBSDiffuseTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSDiffuseTransitionShader ------------------------------ ### Synopsis - Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tran |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumSamples** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |3 |false |num_samples| +|`[Int]`|false |named |False |num_samples| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDiffuseTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e72247bce068c7f7d04c8a93bce49b92540b8a6d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4549/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDiffuseTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDiffuseTransitionShader.json b/docs/_data/Help/Set-OBSDiffuseTransitionShader.json index af344a64e..60618b4a7 100644 --- a/docs/_data/Help/Set-OBSDiffuseTransitionShader.json +++ b/docs/_data/Help/Set-OBSDiffuseTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDiffuseTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-NumSamples] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cab48d9e1dd4d56792abc8315ac1d7767a5403e5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4550/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDigitalRainShader.md | 47 ++++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBSDigitalRainShader.md b/docs/Set-OBSDigitalRainShader.md index 2cf2d3177..7260531c5 100644 --- a/docs/Set-OBSDigitalRainShader.md +++ b/docs/Set-OBSDigitalRainShader.md @@ -2,7 +2,6 @@ Get-OBSDigitalRainShader ------------------------ ### Synopsis - Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 511c582dadf04f27b9bddefd581c2489d36a4bd5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4551/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDigitalRainShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDigitalRainShader.json b/docs/_data/Help/Set-OBSDigitalRainShader.json index 9f8c5f9b2..92e7f0912 100644 --- a/docs/_data/Help/Set-OBSDigitalRainShader.json +++ b/docs/_data/Help/Set-OBSDigitalRainShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDigitalRainShader [[-Font] ] [[-Noise] ] [[-BaseColor] ] [[-RainSpeed] ] [[-CharSpeed] ] [[-GlowContrast] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1084b808241037da95b1ae02d4d45254d9d20feb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4552/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDivideRotateShader.md | 41 +++++++++++++------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSDivideRotateShader.md b/docs/Set-OBSDivideRotateShader.md index 651cec3c6..38615db21 100644 --- a/docs/Set-OBSDivideRotateShader.md +++ b/docs/Set-OBSDivideRotateShader.md @@ -2,7 +2,6 @@ Get-OBSDivideRotateShader ------------------------- ### Synopsis - Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[- |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |alpha_percentage| +|`[Int]`|false |named |False |alpha_percentage| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IChannel0** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |speed_percentage| +|`[Int]`|false |named |False |speed_percentage| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDivideRotateShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8da5b7439ef545544ceb76473a0bdffe0c93cb63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4553/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDivideRotateShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDivideRotateShader.json b/docs/_data/Help/Set-OBSDivideRotateShader.json index 9f95b286b..41662a5db 100644 --- a/docs/_data/Help/Set-OBSDivideRotateShader.json +++ b/docs/_data/Help/Set-OBSDivideRotateShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDivideRotateShader [[-IChannel0] ] [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 76634584ec356031669b917be31b45d7d0474838 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4554/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDoodleShader.md | 73 +++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Set-OBSDoodleShader.md b/docs/Set-OBSDoodleShader.md index 8939cc510..9727fc2fe 100644 --- a/docs/Set-OBSDoodleShader.md +++ b/docs/Set-OBSDoodleShader.md @@ -2,7 +2,6 @@ Get-OBSDoodleShader ------------------- ### Synopsis - Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |8 |false |Doodle_Scale_Percent| +|`[Float]`|false |named |False |Doodle_Scale_Percent| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SnapPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |9 |false |Snap_Percent| +|`[Float]`|false |named |False |Snap_Percent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDoodleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ec706b2c96808ba01ffb3eee5e57c66679d520b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4555/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDoodleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDoodleShader.json b/docs/_data/Help/Set-OBSDoodleShader.json index 769adca77..41105c78e 100644 --- a/docs/_data/Help/Set-OBSDoodleShader.json +++ b/docs/_data/Help/Set-OBSDoodleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDoodleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-DoodleScalePercent] ] [[-SnapPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9af44a7658aa7d6364db6f7255052261531633d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4556/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDrawingsShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSDrawingsShader.md b/docs/Set-OBSDrawingsShader.md index 219eef585..825061a5e 100644 --- a/docs/Set-OBSDrawingsShader.md +++ b/docs/Set-OBSDrawingsShader.md @@ -2,7 +2,6 @@ Get-OBSDrawingsShader --------------------- ### Synopsis - Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 80ece278fedcb38e8b2f834cf171e924aad0823a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4557/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDrawingsShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDrawingsShader.json b/docs/_data/Help/Set-OBSDrawingsShader.json index 48d75446d..9f29446bf 100644 --- a/docs/_data/Help/Set-OBSDrawingsShader.json +++ b/docs/_data/Help/Set-OBSDrawingsShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDrawingsShader [[-AngleNum] ] [[-SampNum] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From af7b1b5a424aac952bac1710c430455770cdaf40 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4558/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDropShadowShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSDropShadowShader.md b/docs/Set-OBSDropShadowShader.md index cd0d0bd1d..70e474ccf 100644 --- a/docs/Set-OBSDropShadowShader.md +++ b/docs/Set-OBSDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSDropShadowShader ----------------------- ### Synopsis - Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,81 +13,81 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-Sha ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------------| -|`[switch]`|false |Named |false |is_alpha_premultiplied| +|`[Switch]`|false |named |False |is_alpha_premultiplied| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShadowBlurSize** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |shadow_blur_size| +|`[Int]`|false |named |False |shadow_blur_size| #### **ShadowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |4 |false |shadow_color| +|`[String]`|false |named |False |shadow_color| #### **ShadowOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |0 |false |shadow_offset_x| +|`[Int]`|false |named |False |shadow_offset_x| #### **ShadowOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |1 |false |shadow_offset_y| +|`[Int]`|false |named |False |shadow_offset_y| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [-IsAlphaPremultiplied ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c23cd6e231a50252f78d12e449a1915e9188f7d6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:45 +0000 Subject: [PATCH 4559/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDropShadowShader.json b/docs/_data/Help/Set-OBSDropShadowShader.json index 2cdff2899..8c563d2a7 100644 --- a/docs/_data/Help/Set-OBSDropShadowShader.json +++ b/docs/_data/Help/Set-OBSDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-Notes] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 96e0559c37b0fbad2ed63eaae4ae02dedc18ed73 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4560/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDrunkShader.md | 57 +++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 32 deletions(-) diff --git a/docs/Set-OBSDrunkShader.md b/docs/Set-OBSDrunkShader.md index 792565154..7a27a5548 100644 --- a/docs/Set-OBSDrunkShader.md +++ b/docs/Set-OBSDrunkShader.md @@ -2,7 +2,6 @@ Get-OBSDrunkShader ------------------ ### Synopsis - Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **Blur** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |0 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |6 |false |glow_color| +|`[String]`|false |named |False |glow_color| #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |glow_percent| +|`[Int]`|false |named |False |glow_percent| #### **MaxBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |4 |false |max_brightness| +|`[Int]`|false |named |False |max_brightness| #### **MinBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |min_brightness| +|`[Int]`|false |named |False |min_brightness| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |5 |false |pulse_speed_percent| +|`[Int]`|false |named |False |pulse_speed_percent| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDrunkShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [-ApplyToAlphaLayer ] [[-GlowColor] ] [-Ease ] [-Glitch ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f0556351c6b9a0449d8a9731aa9f75cea9dbe883 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4561/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDrunkShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDrunkShader.json b/docs/_data/Help/Set-OBSDrunkShader.json index 3188fb20b..b5d121d86 100644 --- a/docs/_data/Help/Set-OBSDrunkShader.json +++ b/docs/_data/Help/Set-OBSDrunkShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDrunkShader [[-ColorMatrix] ] [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeedPercent] ] [[-GlowColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9430096ff878a22a9563d4489ce5d910400e834c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4562/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSDynamicMaskShader.md | 81 +++++++++++++++----------------- 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/docs/Set-OBSDynamicMaskShader.md b/docs/Set-OBSDynamicMaskShader.md index d3a9a0050..895c8d20a 100644 --- a/docs/Set-OBSDynamicMaskShader.md +++ b/docs/Set-OBSDynamicMaskShader.md @@ -2,7 +2,6 @@ Get-OBSDynamicMaskShader ------------------------ ### Synopsis - Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,193 +15,193 @@ Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |23 |false |alpha_alpha_input_value| +|`[Float]`|false |named |False |alpha_alpha_input_value| #### **AlphaBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |19 |false |alpha_base_value| +|`[Float]`|false |named |False |alpha_base_value| #### **AlphaBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |22 |false |alpha_blue_input_value| +|`[Float]`|false |named |False |alpha_blue_input_value| #### **AlphaGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |21 |false |alpha_green_input_value| +|`[Float]`|false |named |False |alpha_green_input_value| #### **AlphaMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |24 |false |alpha_multiplier| +|`[Float]`|false |named |False |alpha_multiplier| #### **AlphaRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |20 |false |alpha_red_input_value| +|`[Float]`|false |named |False |alpha_red_input_value| #### **BlueAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |17 |false |blue_alpha_input_value| +|`[Float]`|false |named |False |blue_alpha_input_value| #### **BlueBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |blue_base_value| +|`[Float]`|false |named |False |blue_base_value| #### **BlueBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |16 |false |blue_blue_input_value| +|`[Float]`|false |named |False |blue_blue_input_value| #### **BlueGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |15 |false |blue_green_input_value| +|`[Float]`|false |named |False |blue_green_input_value| #### **BlueMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |18 |false |blue_multiplier| +|`[Float]`|false |named |False |blue_multiplier| #### **BlueRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |14 |false |blue_red_input_value| +|`[Float]`|false |named |False |blue_red_input_value| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |26 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GreenAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |11 |false |green_alpha_input_value| +|`[Float]`|false |named |False |green_alpha_input_value| #### **GreenBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |green_base_value| +|`[Float]`|false |named |False |green_base_value| #### **GreenBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------------| -|`[float]`|false |10 |false |green_blue_input_value| +|`[Float]`|false |named |False |green_blue_input_value| #### **GreenGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------| -|`[float]`|false |9 |false |green_green_input_value| +|`[Float]`|false |named |False |green_green_input_value| #### **GreenMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |12 |false |green_multiplier| +|`[Float]`|false |named |False |green_multiplier| #### **GreenRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |8 |false |green_red_input_value| +|`[Float]`|false |named |False |green_red_input_value| #### **InputSource** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |0 |false |input_source| +|`[String]`|false |named |False |input_source| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedAlphaInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |5 |false |red_alpha_input_value| +|`[Float]`|false |named |False |red_alpha_input_value| #### **RedBaseValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |red_base_value| +|`[Float]`|false |named |False |red_base_value| #### **RedBlueInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |4 |false |red_blue_input_value| +|`[Float]`|false |named |False |red_blue_input_value| #### **RedGreenInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------| -|`[float]`|false |3 |false |red_green_input_value| +|`[Float]`|false |named |False |red_green_input_value| #### **RedMultiplier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |6 |false |red_multiplier| +|`[Float]`|false |named |False |red_multiplier| #### **RedRedInputValue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------------| -|`[float]`|false |2 |false |red_red_input_value| +|`[Float]`|false |named |False |red_red_input_value| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |27 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |25 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -218,11 +217,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSDynamicMaskShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1e5f5376df2e1434af8fa0d47a72ee4bfece3995 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4563/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSDynamicMaskShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSDynamicMaskShader.json b/docs/_data/Help/Set-OBSDynamicMaskShader.json index e9ad5017c..753b04007 100644 --- a/docs/_data/Help/Set-OBSDynamicMaskShader.json +++ b/docs/_data/Help/Set-OBSDynamicMaskShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSDynamicMaskShader [[-InputSource] ] [[-RedBaseValue] ] [[-RedRedInputValue] ] [[-RedGreenInputValue] ] [[-RedBlueInputValue] ] [[-RedAlphaInputValue] ] [[-RedMultiplier] ] [[-GreenBaseValue] ] [[-GreenRedInputValue] ] [[-GreenGreenInputValue] ] [[-GreenBlueInputValue] ] [[-GreenAlphaInputValue] ] [[-GreenMultiplier] ] [[-BlueBaseValue] ] [[-BlueRedInputValue] ] [[-BlueGreenInputValue] ] [[-BlueBlueInputValue] ] [[-BlueAlphaInputValue] ] [[-BlueMultiplier] ] [[-AlphaBaseValue] ] [[-AlphaRedInputValue] ] [[-AlphaGreenInputValue] ] [[-AlphaBlueInputValue] ] [[-AlphaAlphaInputValue] ] [[-AlphaMultiplier] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d67abf04fbfe90c0e826a39829a75b52a20ef1d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4564/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSEdgeDetectionShader.md | 63 +++++++++++++----------------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/docs/Set-OBSEdgeDetectionShader.md b/docs/Set-OBSEdgeDetectionShader.md index 23ad8c596..8be8a6643 100644 --- a/docs/Set-OBSEdgeDetectionShader.md +++ b/docs/Set-OBSEdgeDetectionShader.md @@ -2,7 +2,6 @@ Get-OBSEdgeDetectionShader -------------------------- ### Synopsis - Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-N |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |alpha_channel| +|`[Switch]`|false |named |False |alpha_channel| #### **AlphaInvert** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |alpha_invert| +|`[Switch]`|false |named |False |alpha_invert| #### **AlphaLevel** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |alpha_level| +|`[Float]`|false |named |False |alpha_level| #### **EdgeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |1 |false |edge_color| +|`[String]`|false |named |False |edge_color| #### **EdgeMultiply** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |edge_multiply| +|`[Switch]`|false |named |False |edge_multiply| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertEdge** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |invert_edge| - -#### **NoResponse** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False |invert_edge| #### **NonEdgeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[string]`|false |2 |false |non_edge_color| +|`[String]`|false |named |False |non_edge_color| #### **NonEdgeMultiply** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |non_edge_multiply| +|`[Switch]`|false |named |False |non_edge_multiply| + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |4 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **Sensitivity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEdgeDetectionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEdgeDetectionShader [[-Sensitivity] ] [-InvertEdge ] [[-EdgeColor] ] [-EdgeMultiply ] [[-NonEdgeColor] ] [-NonEdgeMultiply ] [-AlphaChannel ] [[-AlphaLevel] ] [-AlphaInvert ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7456adbbe8f14596c278ddf6e119763d78e4bc56 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4565/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSEdgeDetectionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSEdgeDetectionShader.json b/docs/_data/Help/Set-OBSEdgeDetectionShader.json index 9b494b357..d364ada5e 100644 --- a/docs/_data/Help/Set-OBSEdgeDetectionShader.json +++ b/docs/_data/Help/Set-OBSEdgeDetectionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEdgeDetectionShader [[-Sensitivity] ] [[-EdgeColor] ] [[-NonEdgeColor] ] [[-AlphaLevel] ] [[-RandF] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b60da5d3081f9e66ec462042b7412a78802bebd5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4566/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSEmbersShader.md | 95 +++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Set-OBSEmbersShader.md b/docs/Set-OBSEmbersShader.md index 0a77701e9..b20dd9715 100644 --- a/docs/Set-OBSEmbersShader.md +++ b/docs/Set-OBSEmbersShader.md @@ -2,7 +2,6 @@ Get-OBSEmbersShader ------------------- ### Synopsis - Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,175 +15,175 @@ Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |20 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **AnimationSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |Animation_Speed| +|`[Float]`|false |named |False |Animation_Speed| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |22 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LayersCount** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |17 |false |Layers_Count| +|`[Int]`|false |named |False |Layers_Count| #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |18 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |19 |false | +|`[Float]`|false |named |False | #### **MovementDirectionHorizontal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |14 |false |Movement_Direction_Horizontal| +|`[Float]`|false |named |False |Movement_Direction_Horizontal| #### **MovementDirectionVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |15 |false |Movement_Direction_Vertical| +|`[Float]`|false |named |False |Movement_Direction_Vertical| #### **MovementSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------------| -|`[int]`|false |16 |false |Movement_Speed_Percent| +|`[Int]`|false |named |False |Movement_Speed_Percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |12 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |23 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |21 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -200,11 +199,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbersShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From cbc6f1b50fccc0b796a7c149ab94decf4ec02d4f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4567/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSEmbersShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSEmbersShader.json b/docs/_data/Help/Set-OBSEmbersShader.json index 38e75a1fe..c25091fba 100644 --- a/docs/_data/Help/Set-OBSEmbersShader.json +++ b/docs/_data/Help/Set-OBSEmbersShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbersShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-AnimationSpeed] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-MovementSpeedPercent] ] [[-LayersCount] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b294a7683f05cb7c1fc0e38d9a1039a8da620d2b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4568/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSEmbossColorShader.md | 43 +++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSEmbossColorShader.md b/docs/Set-OBSEmbossColorShader.md index 1b946a4c0..2094b0100 100644 --- a/docs/Set-OBSEmbossColorShader.md +++ b/docs/Set-OBSEmbossColorShader.md @@ -2,7 +2,6 @@ Get-OBSEmbossColorShader ------------------------ ### Synopsis - Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFact |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **AngleSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |0 |false |Angle_Steps| +|`[Int]`|false |named |False |Angle_Steps| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RadiusSteps** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |1 |false |Radius_Steps| +|`[Int]`|false |named |False |Radius_Steps| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UpDownPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |3 |false |Up_Down_Percent| +|`[Int]`|false |named |False |Up_Down_Percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbossColorShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [-ApplyToAlphaLayer ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f74a927a6cdfcee1a04bf35a5252385c0f1b5734 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4569/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSEmbossColorShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSEmbossColorShader.json b/docs/_data/Help/Set-OBSEmbossColorShader.json index 88e8cc70a..a9e344e0c 100644 --- a/docs/_data/Help/Set-OBSEmbossColorShader.json +++ b/docs/_data/Help/Set-OBSEmbossColorShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbossColorShader [[-AngleSteps] ] [[-RadiusSteps] ] [[-AmpFactor] ] [[-UpDownPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1dc4e52b66754cbbaecca8f65fc75214a6423926 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:46 +0000 Subject: [PATCH 4570/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSEmbossShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSEmbossShader.md b/docs/Set-OBSEmbossShader.md index fa23ddd55..b054d901f 100644 --- a/docs/Set-OBSEmbossShader.md +++ b/docs/Set-OBSEmbossShader.md @@ -2,7 +2,6 @@ Get-OBSEmbossShader ------------------- ### Synopsis - Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderT |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |Use_Color| +|`[Switch]`|false |named |False |Use_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSEmbossShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSEmbossShader [-UseColor ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ea782056f213f0d4cc75a646c89988a664f9317d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4571/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSEmbossShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSEmbossShader.json b/docs/_data/Help/Set-OBSEmbossShader.json index 1a159dbbb..026c5ce18 100644 --- a/docs/_data/Help/Set-OBSEmbossShader.json +++ b/docs/_data/Help/Set-OBSEmbossShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSEmbossShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 73b557f80ddbe27c92cae57ae90a2b6768661c4e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4572/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSExeldroBentCameraShader.md | 51 +++++++++++--------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Set-OBSExeldroBentCameraShader.md b/docs/Set-OBSExeldroBentCameraShader.md index 912d4f2b9..d38ae0a1d 100644 --- a/docs/Set-OBSExeldroBentCameraShader.md +++ b/docs/Set-OBSExeldroBentCameraShader.md @@ -2,7 +2,6 @@ Get-OBSExeldroBentCameraShader ------------------------------ ### Synopsis - Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,105 +13,105 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6e38252dad3df7326c675313db1419c1d8f93601 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4573/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSExeldroBentCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSExeldroBentCameraShader.json b/docs/_data/Help/Set-OBSExeldroBentCameraShader.json index f7017ef5b..97ae580e0 100644 --- a/docs/_data/Help/Set-OBSExeldroBentCameraShader.json +++ b/docs/_data/Help/Set-OBSExeldroBentCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSExeldroBentCameraShader [[-LeftSideWidth] ] [[-LeftSideSize] ] [[-LeftSideShadow] ] [[-LeftFlipWidth] ] [[-LeftFlipShadow] ] [[-RightSideWidth] ] [[-RightSideSize] ] [[-RightSideShadow] ] [[-RightFlipWidth] ] [[-RightFlipShadow] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 044d917e890890ea8bc9054b93997d504a97527d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4574/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFadeTransitionShader.md | 39 ++++++++++++----------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSFadeTransitionShader.md b/docs/Set-OBSFadeTransitionShader.md index f36c14929..9ac586e6c 100644 --- a/docs/Set-OBSFadeTransitionShader.md +++ b/docs/Set-OBSFadeTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSFadeTransitionShader --------------------------- ### Synopsis - Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Transit |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFadeTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e5470319b728b1207dd30361ec7fe5d7bab227ec Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4575/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFadeTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFadeTransitionShader.json b/docs/_data/Help/Set-OBSFadeTransitionShader.json index d14e4ca63..bc051a0d4 100644 --- a/docs/_data/Help/Set-OBSFadeTransitionShader.json +++ b/docs/_data/Help/Set-OBSFadeTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFadeTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b11a53c1301fc502114d06f07c085dcd73c85928 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4576/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFillColorGradientShader.md | 41 +++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSFillColorGradientShader.md b/docs/Set-OBSFillColorGradientShader.md index 49cd80e2e..9b821e72f 100644 --- a/docs/Set-OBSFillColorGradientShader.md +++ b/docs/Set-OBSFillColorGradientShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorGradientShader ------------------------------ ### Synopsis - Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-G |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |4 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |Gradient_Offset| +|`[Float]`|false |named |False |Gradient_Offset| #### **GradientWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |1 |false |Gradient_Width| +|`[Float]`|false |named |False |Gradient_Width| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 763e5a42ca4d1747ee5c607926180b715cef0fea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4577/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFillColorGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFillColorGradientShader.json b/docs/_data/Help/Set-OBSFillColorGradientShader.json index 4123ff909..bf65f0cd9 100644 --- a/docs/_data/Help/Set-OBSFillColorGradientShader.json +++ b/docs/_data/Help/Set-OBSFillColorGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorGradientShader [[-Fill] ] [[-GradientWidth] ] [[-GradientOffset] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e99b96cacc091ee60aed53763316523d29bd2c9a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4578/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFillColorLinearShader.md | 37 +++++++++++----------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSFillColorLinearShader.md b/docs/Set-OBSFillColorLinearShader.md index c142370b9..7f2c04005 100644 --- a/docs/Set-OBSFillColorLinearShader.md +++ b/docs/Set-OBSFillColorLinearShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorLinearShader ---------------------------- ### Synopsis - Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillC |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |2 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |1 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorLinearShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e670e780ddf65f4b127e594455ac52e853b92e22 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4579/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFillColorLinearShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFillColorLinearShader.json b/docs/_data/Help/Set-OBSFillColorLinearShader.json index 6f3e71ec6..6da086b3c 100644 --- a/docs/_data/Help/Set-OBSFillColorLinearShader.json +++ b/docs/_data/Help/Set-OBSFillColorLinearShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorLinearShader [[-Fill] ] [[-FillDirection] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b012aecd4848e277375f37fb1214dc409b2a3340 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4580/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFillColorRadialDegreesShader.md | 43 +++++++++------------ 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSFillColorRadialDegreesShader.md b/docs/Set-OBSFillColorRadialDegreesShader.md index ae2234a6d..c57d04d7d 100644 --- a/docs/Set-OBSFillColorRadialDegreesShader.md +++ b/docs/Set-OBSFillColorRadialDegreesShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorRadialDegreesShader ----------------------------------- ### Synopsis - Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |5 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |0 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Start_Angle| +|`[Float]`|false |named |False |Start_Angle| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorRadialDegreesShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bdccd38e7fa5c2dc3a6a1f7cdfc9db7f8af595c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4581/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json b/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json index 81a001404..7ad1a1b70 100644 --- a/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json +++ b/docs/_data/Help/Set-OBSFillColorRadialDegreesShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorRadialDegreesShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4ff84c2ce04b4b83e541a0554160ccded4c3c469 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4582/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- .../Set-OBSFillColorRadialPercentageShader.md | 43 ++++++++----------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSFillColorRadialPercentageShader.md b/docs/Set-OBSFillColorRadialPercentageShader.md index 6cc1bd22f..8dfd505bf 100644 --- a/docs/Set-OBSFillColorRadialPercentageShader.md +++ b/docs/Set-OBSFillColorRadialPercentageShader.md @@ -2,7 +2,6 @@ Get-OBSFillColorRadialPercentageShader -------------------------------------- ### Synopsis - Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FillColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |5 |false |Fill_Color| +|`[String]`|false |named |False |Fill_Color| #### **FillDirection** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |0 |false |Fill_Direction| +|`[Int]`|false |named |False |Fill_Direction| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |Start_Angle| +|`[Float]`|false |named |False |Start_Angle| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFillColorRadialPercentageShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 02c32742f0c45692525ad01448f3a3fe8d4484e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:47 +0000 Subject: [PATCH 4583/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json b/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json index fd3c3342c..1a86c0783 100644 --- a/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json +++ b/docs/_data/Help/Set-OBSFillColorRadialPercentageShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFillColorRadialPercentageShader [[-FillDirection] ] [[-Fill] ] [[-StartAngle] ] [[-OffsetX] ] [[-OffsetY] ] [[-FillColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 29ba8674a7bf19f8302deb445c0cc517ac2ca284 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4584/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFilterTemplateShader.md | 77 +++++++++++++---------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Set-OBSFilterTemplateShader.md b/docs/Set-OBSFilterTemplateShader.md index 4b9d258a9..2763f7e3f 100644 --- a/docs/Set-OBSFilterTemplateShader.md +++ b/docs/Set-OBSFilterTemplateShader.md @@ -2,7 +2,6 @@ Get-OBSFilterTemplateShader --------------------------- ### Synopsis - Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |12 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFilterTemplateShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 85bad793a12044db854166eb356caa80afd2cd38 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4585/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFilterTemplateShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFilterTemplateShader.json b/docs/_data/Help/Set-OBSFilterTemplateShader.json index 3a0c96520..5c2eba345 100644 --- a/docs/_data/Help/Set-OBSFilterTemplateShader.json +++ b/docs/_data/Help/Set-OBSFilterTemplateShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFilterTemplateShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 58c6bc656ad3b0d2083984d0afeab6fd82e71ce2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4586/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFire3Shader.md | 107 +++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 57 deletions(-) diff --git a/docs/Set-OBSFire3Shader.md b/docs/Set-OBSFire3Shader.md index ba84c632d..2515dc6ac 100644 --- a/docs/Set-OBSFire3Shader.md +++ b/docs/Set-OBSFire3Shader.md @@ -2,7 +2,6 @@ Get-OBSFire3Shader ------------------ ### Synopsis - Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,211 +15,211 @@ Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |14 |false |Alpha_Percentage| +|`[Int]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |18 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |24 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FlameModifier** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |21 |false |Flame_Modifier| +|`[Float]`|false |named |False |Flame_Modifier| #### **FlameSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |19 |false |Flame_Size| +|`[Float]`|false |named |False |Flame_Size| #### **FlameTongueSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |22 |false |Flame_Tongue_Size| +|`[Float]`|false |named |False |Flame_Tongue_Size| #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FullWidth** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |Full_Width| +|`[Switch]`|false |named |False |Full_Width| #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **Invert** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |16 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **MovementDirectionHorizontal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |12 |false |Movement_Direction_Horizontal| +|`[Float]`|false |named |False |Movement_Direction_Horizontal| #### **MovementDirectionVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------------------| -|`[float]`|false |13 |false |Movement_Direction_Vertical| +|`[Float]`|false |named |False |Movement_Direction_Vertical| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |25 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |23 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SparkGridHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |20 |false |Spark_Grid_Height| +|`[Float]`|false |named |False |Spark_Grid_Height| #### **Speed** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |15 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -236,11 +235,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFire3Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [-Invert ] [[-LumaMin] ] [[-LumaMinSmooth] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-ColorToReplace] ] [-ApplyToSpecificColor ] [-FullWidth ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 19fd41a1f341d67a17753e221a739f9d3d76ba3f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4587/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFire3Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFire3Shader.json b/docs/_data/Help/Set-OBSFire3Shader.json index c29623591..e3602effa 100644 --- a/docs/_data/Help/Set-OBSFire3Shader.json +++ b/docs/_data/Help/Set-OBSFire3Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFire3Shader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-MovementDirectionHorizontal] ] [[-MovementDirectionVertical] ] [[-AlphaPercentage] ] [[-Speed] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-FlameSize] ] [[-SparkGridHeight] ] [[-FlameModifier] ] [[-FlameTongueSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7874c289b2549af48a8683214732dafa516a0e4b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4588/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFireShader.md | 55 +++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/docs/Set-OBSFireShader.md b/docs/Set-OBSFireShader.md index 2d0c6e393..99ce788bb 100644 --- a/docs/Set-OBSFireShader.md +++ b/docs/Set-OBSFireShader.md @@ -2,7 +2,6 @@ Get-OBSFireShader ----------------- ### Synopsis - Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,115 +15,115 @@ Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [-Invert ] [[-LumaMin] ] [[-LumaMinSmooth] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8c2c0c212467277b4d8ee9b2dbc7587855d9a1ba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4589/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFireShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFireShader.json b/docs/_data/Help/Set-OBSFireShader.json index a06399abd..af997ea1f 100644 --- a/docs/_data/Help/Set-OBSFireShader.json +++ b/docs/_data/Help/Set-OBSFireShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireShader [[-AlphaPercentage] ] [[-Speed] ] [[-FlameSize] ] [[-FireType] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f35f1e769eedd030775edc82d39e4eb69cf2cc63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4590/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFireworks2Shader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSFireworks2Shader.md b/docs/Set-OBSFireworks2Shader.md index dcb059676..54c300c8e 100644 --- a/docs/Set-OBSFireworks2Shader.md +++ b/docs/Set-OBSFireworks2Shader.md @@ -2,7 +2,6 @@ Get-OBSFireworks2Shader ----------------------- ### Synopsis - Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFireworks2Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4125b9fded8e503b2d10aae632bd0ddbeef1177a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4591/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFireworks2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFireworks2Shader.json b/docs/_data/Help/Set-OBSFireworks2Shader.json index 7f012b906..5f52a7e2b 100644 --- a/docs/_data/Help/Set-OBSFireworks2Shader.json +++ b/docs/_data/Help/Set-OBSFireworks2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireworks2Shader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b1545b333eabe6043efb65bf935c69d814b4450b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4592/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFireworksShader.md | 37 ++++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSFireworksShader.md b/docs/Set-OBSFireworksShader.md index 78ea455eb..79ddd0309 100644 --- a/docs/Set-OBSFireworksShader.md +++ b/docs/Set-OBSFireworksShader.md @@ -2,7 +2,6 @@ Get-OBSFireworksShader ---------------------- ### Synopsis - Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-Shad ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowFlash** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_flash| +|`[Switch]`|false |named |False |show_flash| #### **ShowStars** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_stars| +|`[Switch]`|false |named |False |show_stars| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UseTransparancy** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |use_transparancy| +|`[Switch]`|false |named |False |use_transparancy| --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFireworksShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFireworksShader [-ShowFlash ] [-ShowStars ] [-UseTransparancy ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 1fb0e672335406df53e94b1b4a32787fa9c304a4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4593/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFireworksShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFireworksShader.json b/docs/_data/Help/Set-OBSFireworksShader.json index d70cab7ad..306183c67 100644 --- a/docs/_data/Help/Set-OBSFireworksShader.json +++ b/docs/_data/Help/Set-OBSFireworksShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFireworksShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ac89262ac6189b0e1cef63dfd5ae09e5bcd60eb6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4594/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFisheyeShader.md | 37 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSFisheyeShader.md b/docs/Set-OBSFisheyeShader.md index ba70a8f14..ca4f154b9 100644 --- a/docs/Set-OBSFisheyeShader.md +++ b/docs/Set-OBSFisheyeShader.md @@ -2,7 +2,6 @@ Get-OBSFisheyeShader -------------------- ### Synopsis - Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |0 |false |center_x_percent| +|`[Float]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |1 |false |center_y_percent| +|`[Float]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFisheyeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e34ac41f69999955ac316bddd57dfc0cc39bb850 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:48 +0000 Subject: [PATCH 4595/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFisheyeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFisheyeShader.json b/docs/_data/Help/Set-OBSFisheyeShader.json index 88ef68395..bdcb9d2f4 100644 --- a/docs/_data/Help/Set-OBSFisheyeShader.json +++ b/docs/_data/Help/Set-OBSFisheyeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFisheyeShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 732638c3ca39f9776f7bc449ab45923be691bd8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4596/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFisheyeXyShader.md | 39 ++++++++++++++-------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSFisheyeXyShader.md b/docs/Set-OBSFisheyeXyShader.md index 9ac5e15f3..eebe2d2e3 100644 --- a/docs/Set-OBSFisheyeXyShader.md +++ b/docs/Set-OBSFisheyeXyShader.md @@ -2,7 +2,6 @@ Get-OBSFisheyeXyShader ---------------------- ### Synopsis - Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [ |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |0 |false |center_x_percent| +|`[Float]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |1 |false |center_y_percent| +|`[Float]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PowerX** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |power_x| +|`[Float]`|false |named |False |power_x| #### **PowerY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |3 |false |power_y| +|`[Float]`|false |named |False |power_y| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFisheyeXyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From fef1d5d93dc4ace05d2a493ad5250d03b50e7481 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4597/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFisheyeXyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFisheyeXyShader.json b/docs/_data/Help/Set-OBSFisheyeXyShader.json index 5386532d5..a4c4c84cb 100644 --- a/docs/_data/Help/Set-OBSFisheyeXyShader.json +++ b/docs/_data/Help/Set-OBSFisheyeXyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFisheyeXyShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-PowerX] ] [[-PowerY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d686881b149431fdb7274fa40a7932a1a65f5a8f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4598/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFlipShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSFlipShader.md b/docs/Set-OBSFlipShader.md index 2aa386c27..2ab91e53a 100644 --- a/docs/Set-OBSFlipShader.md +++ b/docs/Set-OBSFlipShader.md @@ -2,7 +2,6 @@ Get-OBSFlipShader ----------------- ### Synopsis - Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderTex ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFlipShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFlipShader [-Horizontal ] [-Vertical ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8786df0efaaf6ad929627ba06f9065e66abb9986 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4599/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFlipShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFlipShader.json b/docs/_data/Help/Set-OBSFlipShader.json index 3da225f21..7f6128fd1 100644 --- a/docs/_data/Help/Set-OBSFlipShader.json +++ b/docs/_data/Help/Set-OBSFlipShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFlipShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b728e91d1f737c20d6494eb75ed3809138d3101c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4600/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSFrostedGlassShader.md | 47 +++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBSFrostedGlassShader.md b/docs/Set-OBSFrostedGlassShader.md index c2abc55d6..9ec703727 100644 --- a/docs/Set-OBSFrostedGlassShader.md +++ b/docs/Set-OBSFrostedGlassShader.md @@ -2,7 +2,6 @@ Get-OBSFrostedGlassShader ------------------------- ### Synopsis - Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **Amount** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |4 |false |Border_Color| +|`[String]`|false |named |False |Border_Color| #### **BorderOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |3 |false |Border_Offset| +|`[Float]`|false |named |False |Border_Offset| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |Horizontal_Border| +|`[Switch]`|false |named |False |Horizontal_Border| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Scale** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSFrostedGlassShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [-Animate ] [-HorizontalBorder ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 249563bcadc85b18156e6559419fc5470d32dbf6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4601/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSFrostedGlassShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSFrostedGlassShader.json b/docs/_data/Help/Set-OBSFrostedGlassShader.json index 3076f6094..096325363 100644 --- a/docs/_data/Help/Set-OBSFrostedGlassShader.json +++ b/docs/_data/Help/Set-OBSFrostedGlassShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSFrostedGlassShader [[-AlphaPercent] ] [[-Amount] ] [[-Scale] ] [[-BorderOffset] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 26db01a0b2878148ebd9b3be7a55dc2bfabf7afd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4602/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGammaCorrectionShader.md | 39 ++++++++++++---------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSGammaCorrectionShader.md b/docs/Set-OBSGammaCorrectionShader.md index b4fb52ca0..33c7bd29d 100644 --- a/docs/Set-OBSGammaCorrectionShader.md +++ b/docs/Set-OBSGammaCorrectionShader.md @@ -2,7 +2,6 @@ Get-OBSGammaCorrectionShader ---------------------------- ### Synopsis - Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9a3ebad879459e4ddcc3140995b9abd9c242f7d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4603/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGammaCorrectionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGammaCorrectionShader.json b/docs/_data/Help/Set-OBSGammaCorrectionShader.json index be6f57eb7..d4c899951 100644 --- a/docs/_data/Help/Set-OBSGammaCorrectionShader.json +++ b/docs/_data/Help/Set-OBSGammaCorrectionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGammaCorrectionShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9f3fa897f3fc147db6c2c2cd3307551c28585f75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4604/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGaussianBlurAdvancedShader.md | 45 ++++++++++------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSGaussianBlurAdvancedShader.md b/docs/Set-OBSGaussianBlurAdvancedShader.md index 39a67d808..cafaf8c34 100644 --- a/docs/Set-OBSGaussianBlurAdvancedShader.md +++ b/docs/Set-OBSGaussianBlurAdvancedShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurAdvancedShader --------------------------------- ### Synopsis - Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |6 |false |Mask_Bottom| +|`[Float]`|false |named |False |Mask_Bottom| #### **MaskLeft** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |3 |false |Mask_Left| +|`[Float]`|false |named |False |Mask_Left| #### **MaskRight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |4 |false |Mask_Right| +|`[Float]`|false |named |False |Mask_Right| #### **MaskTop** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |Mask_Top| +|`[Float]`|false |named |False |Mask_Top| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Quality** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Size** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurAdvancedShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 0340c2547d8deed06c4ac3a738d710d0d484f07e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4605/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json b/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json index 56bccb351..19d234348 100644 --- a/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json +++ b/docs/_data/Help/Set-OBSGaussianBlurAdvancedShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurAdvancedShader [[-Directions] ] [[-Quality] ] [[-Size] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c11d0638d7d3c49210a981632c7c90a1d69e8754 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4606/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGaussianBlurShader.md | 97 ++++++++++++++----------------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/docs/Set-OBSGaussianBlurShader.md b/docs/Set-OBSGaussianBlurShader.md index 4ac697d20..fbe664236 100644 --- a/docs/Set-OBSGaussianBlurShader.md +++ b/docs/Set-OBSGaussianBlurShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurShader ------------------------- ### Synopsis - Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-Image |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |7 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **ImageSize** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |2 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **ImageTexel** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |3 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **Kernel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |11 |false | +|`[String]`|false |named |False | #### **KernelTexel** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |12 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |13 |false |pixel_size| +|`[Float]`|false |named |False |pixel_size| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UDiameter** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------| -|`[int]`|false |5 |false |u_diameter| +|`[Int]`|false |named |False |u_diameter| #### **URadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------| -|`[int]`|false |4 |false |u_radius| - -#### **UTexelDelta** - -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|------------| -|`[float[]]`|false |6 |false |u_texelDelta| +|`[Int]`|false |named |False |u_radius| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | + +#### **UTexelDelta** + +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|------------| +|`[System.Single[]]`|false |named |False |u_texelDelta| #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |8 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |10 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |9 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 978fa028f6e58e9b85df62fc24954c3d963155cb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4607/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGaussianBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGaussianBlurShader.json b/docs/_data/Help/Set-OBSGaussianBlurShader.json index 4a6d210db..9630c3f94 100644 --- a/docs/_data/Help/Set-OBSGaussianBlurShader.json +++ b/docs/_data/Help/Set-OBSGaussianBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurShader [[-ViewProj] ] [[-Image] ] [[-ImageSize] ] [[-ImageTexel] ] [[-URadius] ] [[-UDiameter] ] [[-UTexelDelta] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-Kernel] ] [[-KernelTexel] ] [[-PixelSize] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 84301fb645b485a68ef2ab2f6a91679ea49066d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:49 +0000 Subject: [PATCH 4608/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGaussianBlurSimpleShader.md | 41 ++++++++++--------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSGaussianBlurSimpleShader.md b/docs/Set-OBSGaussianBlurSimpleShader.md index 7cd0578d8..08cf58d9d 100644 --- a/docs/Set-OBSGaussianBlurSimpleShader.md +++ b/docs/Set-OBSGaussianBlurSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianBlurSimpleShader ------------------------------- ### Synopsis - Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,75 +13,75 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-Mas ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MaskBottom** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |4 |false |Mask_Bottom| +|`[Float]`|false |named |False |Mask_Bottom| #### **MaskLeft** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |1 |false |Mask_Left| +|`[Float]`|false |named |False |Mask_Left| #### **MaskRight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |2 |false |Mask_Right| +|`[Float]`|false |named |False |Mask_Right| #### **MaskTop** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |Mask_Top| +|`[Float]`|false |named |False |Mask_Top| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianBlurSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From bf6e5812b0f22207f10ccea94e4800b2715e49c5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4609/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json b/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json index 994a9e4b8..da9109be2 100644 --- a/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json +++ b/docs/_data/Help/Set-OBSGaussianBlurSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianBlurSimpleShader [[-Strength] ] [[-MaskLeft] ] [[-MaskRight] ] [[-MaskTop] ] [[-MaskBottom] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4e28adea111f0fceeffbfae07c69af7abfca6916 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4610/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGaussianExampleShader.md | 77 +++++++++++++--------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Set-OBSGaussianExampleShader.md b/docs/Set-OBSGaussianExampleShader.md index d35ba3b44..7fe2a9fc9 100644 --- a/docs/Set-OBSGaussianExampleShader.md +++ b/docs/Set-OBSGaussianExampleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianExampleShader ---------------------------- ### Synopsis - Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-El |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |9 |false |after_image| +|`[String]`|false |named |False |after_image| #### **BeforeImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |8 |false |before_image| +|`[String]`|false |named |False |before_image| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **Exp** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InitialImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |initial_image| +|`[String]`|false |named |False |initial_image| #### **MaxDistance** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |11 |false |max_distance| +|`[Float]`|false |named |False |max_distance| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TextColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |10 |false |text_color| +|`[String]`|false |named |False |text_color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianExampleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 137d30ba957b10af227badac9f026c56bbdc3a58 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4611/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGaussianExampleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGaussianExampleShader.json b/docs/_data/Help/Set-OBSGaussianExampleShader.json index e2a0de96e..58383d56d 100644 --- a/docs/_data/Help/Set-OBSGaussianExampleShader.json +++ b/docs/_data/Help/Set-OBSGaussianExampleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianExampleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-InitialImage] ] [[-BeforeImage] ] [[-AfterImage] ] [[-TextColor] ] [[-MaxDistance] ] [[-Exp] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 64fa03f3ca5239e2e13f8fae9c0d7db56d883166 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4612/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGaussianSimpleShader.md | 89 +++++++++++++---------------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/docs/Set-OBSGaussianSimpleShader.md b/docs/Set-OBSGaussianSimpleShader.md index 6505d646d..a79364813 100644 --- a/docs/Set-OBSGaussianSimpleShader.md +++ b/docs/Set-OBSGaussianSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSGaussianSimpleShader --------------------------- ### Synopsis - Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | - -#### **LOD** - -|Type |Required|Position|PipelineInput| -|-------|--------|--------|-------------| -|`[int]`|false |13 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| + +#### **LOD** + +|Type |Required|Position|PipelineInput| +|-------|--------|--------|-------------| +|`[Int]`|false |named |False | #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **Samples** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |12 |false | +|`[Int]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |6 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGaussianSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 172daf8b784a28284922b939280fdcb9bf34321c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4613/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGaussianSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGaussianSimpleShader.json b/docs/_data/Help/Set-OBSGaussianSimpleShader.json index b81e0bb7d..60b80d6bf 100644 --- a/docs/_data/Help/Set-OBSGaussianSimpleShader.json +++ b/docs/_data/Help/Set-OBSGaussianSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGaussianSimpleShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Samples] ] [[-LOD] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 43bf998ea195f6d73a34f17bc9f06f00d7de9e0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4614/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGbCameraShader.md | 51 +++++++++++++++-------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Set-OBSGbCameraShader.md b/docs/Set-OBSGbCameraShader.md index cfaa24156..00d602a6b 100644 --- a/docs/Set-OBSGbCameraShader.md +++ b/docs/Set-OBSGbCameraShader.md @@ -2,7 +2,6 @@ Get-OBSGbCameraShader --------------------- ### Synopsis - Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Bright |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |alternative_bayer| +|`[Switch]`|false |named |False |alternative_bayer| #### **Brightness** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Color1** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |5 |false |color_1| +|`[String]`|false |named |False |color_1| #### **Color2** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |6 |false |color_2| +|`[String]`|false |named |False |color_2| #### **Color3** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |7 |false |color_3| +|`[String]`|false |named |False |color_3| #### **Color4** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |8 |false |color_4| +|`[String]`|false |named |False |color_4| #### **Contrast** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **DitherFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |dither_factor| +|`[Float]`|false |named |False |dither_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gamma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixelSize** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGbCameraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [-AlternativeBayer ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 495995f91c68cfe20b66b031e594d5c7b50bcfba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4615/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGbCameraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGbCameraShader.json b/docs/_data/Help/Set-OBSGbCameraShader.json index dafdd12f4..2701fc6fa 100644 --- a/docs/_data/Help/Set-OBSGbCameraShader.json +++ b/docs/_data/Help/Set-OBSGbCameraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGbCameraShader [[-PixelSize] ] [[-DitherFactor] ] [[-Brightness] ] [[-Contrast] ] [[-Gamma] ] [[-Color1] ] [[-Color2] ] [[-Color3] ] [[-Color4] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cb91ad087eca906a6ca4e8f1e6f2a2fbc9b0d2b8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4616/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGlassShader.md | 51 ++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/Set-OBSGlassShader.md b/docs/Set-OBSGlassShader.md index 9c7c8c425..a9e640b0a 100644 --- a/docs/Set-OBSGlassShader.md +++ b/docs/Set-OBSGlassShader.md @@ -2,7 +2,6 @@ Get-OBSGlassShader ------------------ ### Synopsis - Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |6 |false |Border_Color| +|`[String]`|false |named |False |Border_Color| #### **BorderOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Border_Offset| +|`[Float]`|false |named |False |Border_Offset| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlassColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |7 |false |Glass_Color| +|`[String]`|false |named |False |Glass_Color| #### **HorizontalBorder** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------| -|`[switch]`|false |Named |false |Horizontal_Border| +|`[Switch]`|false |named |False |Horizontal_Border| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **OffsetAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Offset_Amount| +|`[Float]`|false |named |False |Offset_Amount| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReflectionOffset** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |4 |false |Reflection_Offset| +|`[Int]`|false |named |False |Reflection_Offset| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XSize** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **YSize** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlassShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [-HorizontalBorder ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8891bffce714dd87a04d79aaefbcfd487c699ace Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4617/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGlassShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGlassShader.json b/docs/_data/Help/Set-OBSGlassShader.json index 3895d11fe..ccb74fed9 100644 --- a/docs/_data/Help/Set-OBSGlassShader.json +++ b/docs/_data/Help/Set-OBSGlassShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlassShader [[-AlphaPercent] ] [[-OffsetAmount] ] [[-XSize] ] [[-YSize] ] [[-ReflectionOffset] ] [[-BorderOffset] ] [[-BorderColor] ] [[-GlassColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6083872043914344eaf459e39c4d2fd5b623ff14 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4618/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGlitchAnalogShader.md | 61 ++++++++++++++----------------- 1 file changed, 27 insertions(+), 34 deletions(-) diff --git a/docs/Set-OBSGlitchAnalogShader.md b/docs/Set-OBSGlitchAnalogShader.md index aa2faa36e..a2d4886f8 100644 --- a/docs/Set-OBSGlitchAnalogShader.md +++ b/docs/Set-OBSGlitchAnalogShader.md @@ -2,7 +2,6 @@ Get-OBSGlitchAnalogShader ------------------------- ### Synopsis - Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,133 +15,133 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJit |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |8 |false |alpha_percent| +|`[Int]`|false |named |False |alpha_percent| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorDriftAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |5 |false |color_drift_amount| +|`[Float]`|false |named |False |color_drift_amount| #### **ColorDriftSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |6 |false |color_drift_speed| +|`[Float]`|false |named |False |color_drift_speed| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |9 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalShake** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |horizontal_shake| +|`[Float]`|false |named |False |horizontal_shake| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |10 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |7 |false |pulse_speed_percent| +|`[Int]`|false |named |False |pulse_speed_percent| #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |rotate_colors| +|`[Switch]`|false |named |False |rotate_colors| #### **ScanLineJitterDisplacement** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------------------| -|`[float]`|false |0 |false |scan_line_jitter_displacement| +|`[Float]`|false |named |False |scan_line_jitter_displacement| #### **ScanLineJitterThresholdPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------------------------| -|`[int]`|false |1 |false |scan_line_jitter_threshold_percent| +|`[Int]`|false |named |False |scan_line_jitter_threshold_percent| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VerticalJumpAmount** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |2 |false |vertical_jump_amount| +|`[Float]`|false |named |False |vertical_jump_amount| #### **VerticalSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |3 |false |vertical_speed| +|`[Float]`|false |named |False |vertical_speed| --- @@ -158,11 +157,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlitchAnalogShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [-RotateColors ] [-ApplyToAlphaLayer ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 44eb3fef25e656db1ae04f071573cc212bfe2f00 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4619/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGlitchAnalogShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGlitchAnalogShader.json b/docs/_data/Help/Set-OBSGlitchAnalogShader.json index 5872cd9b9..305702c1f 100644 --- a/docs/_data/Help/Set-OBSGlitchAnalogShader.json +++ b/docs/_data/Help/Set-OBSGlitchAnalogShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] ] [[-ScanLineJitterThresholdPercent] ] [[-VerticalJumpAmount] ] [[-VerticalSpeed] ] [[-HorizontalShake] ] [[-ColorDriftAmount] ] [[-ColorDriftSpeed] ] [[-PulseSpeedPercent] ] [[-AlphaPercent] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b33ce7d00987f7a97be053c4443e5826c2a34436 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:50 +0000 Subject: [PATCH 4620/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGlitchShader.md | 45 ++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSGlitchShader.md b/docs/Set-OBSGlitchShader.md index 239c02bb5..9bd5cfbb6 100644 --- a/docs/Set-OBSGlitchShader.md +++ b/docs/Set-OBSGlitchShader.md @@ -2,7 +2,6 @@ Get-OBSGlitchShader ------------------- ### Synopsis - Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | - -#### **SPEED** - -|Type |Required|Position|PipelineInput| -|---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| + +#### **SPEED** + +|Type |Required|Position|PipelineInput| +|---------|--------|--------|-------------| +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlitchShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e5d85e866b84c03998b0f98173ea191f6a263b07 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4621/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGlitchShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGlitchShader.json b/docs/_data/Help/Set-OBSGlitchShader.json index 8a54d1bac..7cff399c7 100644 --- a/docs/_data/Help/Set-OBSGlitchShader.json +++ b/docs/_data/Help/Set-OBSGlitchShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlitchShader [[-AMT] ] [[-SPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9700302042b48850f065e1f6f9b1581170452ca1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4622/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGlowShader.md | 45 +++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSGlowShader.md b/docs/Set-OBSGlowShader.md index f6d735389..46c7373c1 100644 --- a/docs/Set-OBSGlowShader.md +++ b/docs/Set-OBSGlowShader.md @@ -2,7 +2,6 @@ Get-OBSGlowShader ----------------- ### Synopsis - Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |1 |false | +|`[Int]`|false |named |False | #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GlowPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |0 |false |glow_percent| +|`[Int]`|false |named |False |glow_percent| #### **MaxBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |max_brightness| +|`[Int]`|false |named |False |max_brightness| #### **MinBrightness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |2 |false |min_brightness| +|`[Int]`|false |named |False |min_brightness| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |4 |false |pulse_speed| +|`[Int]`|false |named |False |pulse_speed| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGlowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [-Ease ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From beac1efbe96f3505467d163b85032514a913fa63 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4623/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGlowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGlowShader.json b/docs/_data/Help/Set-OBSGlowShader.json index 17b954e3b..bf035acbe 100644 --- a/docs/_data/Help/Set-OBSGlowShader.json +++ b/docs/_data/Help/Set-OBSGlowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGlowShader [[-GlowPercent] ] [[-Blur] ] [[-MinBrightness] ] [[-MaxBrightness] ] [[-PulseSpeed] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 88b043b0f1cc0f7c7b51d56ad5aed6d570e49ae4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4624/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSGradientShader.md | 67 ++++++++++++++++------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Set-OBSGradientShader.md b/docs/Set-OBSGradientShader.md index 0659fe535..a4c8f01cf 100644 --- a/docs/Set-OBSGradientShader.md +++ b/docs/Set-OBSGradientShader.md @@ -2,7 +2,6 @@ Get-OBSGradientShader --------------------- ### Synopsis - Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleC |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |6 |false |alpha_percent| +|`[Int]`|false |named |False |alpha_percent| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |8 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **EndColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |4 |false |end_color| +|`[String]`|false |named |False |end_color| #### **EndStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |end_step| +|`[Float]`|false |named |False |end_step| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientCenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------------------| -|`[int]`|false |10 |false |gradient_center_height_percentage| +|`[Int]`|false |named |False |gradient_center_height_percentage| #### **GradientCenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------------------------| -|`[int]`|false |9 |false |gradient_center_width_percentage| +|`[Int]`|false |named |False |gradient_center_width_percentage| #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MiddleColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |middle_color| +|`[String]`|false |named |False |middle_color| #### **MiddleStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |middle_step| +|`[Float]`|false |named |False |middle_step| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |11 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PulseSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------| -|`[int]`|false |7 |false |pulse_speed| +|`[Int]`|false |named |False |pulse_speed| #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |rotate_colors| +|`[Switch]`|false |named |False |rotate_colors| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |start_color| +|`[String]`|false |named |False |start_color| #### **StartStep** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |start_step| +|`[Float]`|false |named |False |start_step| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [-Ease ] [-RotateColors ] [-ApplyToAlphaLayer ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [-Horizontal ] [-Vertical ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 91b04df1f5d151e98a6d591f8fa684c86d6b7229 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4625/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSGradientShader.json b/docs/_data/Help/Set-OBSGradientShader.json index da25a5b56..d163fa07d 100644 --- a/docs/_data/Help/Set-OBSGradientShader.json +++ b/docs/_data/Help/Set-OBSGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSGradientShader [[-StartColor] ] [[-StartStep] ] [[-MiddleColor] ] [[-MiddleStep] ] [[-EndColor] ] [[-EndStep] ] [[-AlphaPercent] ] [[-PulseSpeed] ] [[-ColorToReplace] ] [[-GradientCenterWidthPercentage] ] [[-GradientCenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 43aa4dc7cbf468259ba89efb80c6e406e105acba Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4626/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSHalftoneShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSHalftoneShader.md b/docs/Set-OBSHalftoneShader.md index 0702de0f7..f9b030f89 100644 --- a/docs/Set-OBSHalftoneShader.md +++ b/docs/Set-OBSHalftoneShader.md @@ -2,7 +2,6 @@ Get-OBSHalftoneShader --------------------- ### Synopsis - Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterN ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Threshold** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHalftoneShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 824f03e41c5802082ac9f690cf8d074cbcb657d1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4627/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSHalftoneShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSHalftoneShader.json b/docs/_data/Help/Set-OBSHalftoneShader.json index 5169bdc1a..b579880d4 100644 --- a/docs/_data/Help/Set-OBSHalftoneShader.json +++ b/docs/_data/Help/Set-OBSHalftoneShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHalftoneShader [[-Threshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 69ae57de6fe0a80dee9bbd09243e15a4b5cee552 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4628/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSHeatWaveSimpleShader.md | 39 ++++++++++++----------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSHeatWaveSimpleShader.md b/docs/Set-OBSHeatWaveSimpleShader.md index 55816175b..9c3daead6 100644 --- a/docs/Set-OBSHeatWaveSimpleShader.md +++ b/docs/Set-OBSHeatWaveSimpleShader.md @@ -2,7 +2,6 @@ Get-OBSHeatWaveSimpleShader --------------------------- ### Synopsis - Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortio |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Rate** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHeatWaveSimpleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2ab3ae97b0046dbd1dbee315c85dfb5c955ff666 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4629/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSHeatWaveSimpleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json b/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json index 867dcd3de..89a4eea44 100644 --- a/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json +++ b/docs/_data/Help/Set-OBSHeatWaveSimpleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHeatWaveSimpleShader [[-Rate] ] [[-Strength] ] [[-Distortion] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 03a14abc4d7f0ffb9b92a21ad57a089388fd4f9c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4630/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSHexagonShader.md | 59 ++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Set-OBSHexagonShader.md b/docs/Set-OBSHexagonShader.md index 9216f8b42..b33cac6d6 100644 --- a/docs/Set-OBSHexagonShader.md +++ b/docs/Set-OBSHexagonShader.md @@ -2,7 +2,6 @@ Get-OBSHexagonShader -------------------- ### Synopsis - Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |1 |false |Alpha_Percent| +|`[Int]`|false |named |False |Alpha_Percent| #### **Blend** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **BorderWidth** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |3 |false |Border_Width| +|`[Int]`|false |named |False |Border_Width| #### **DistortX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |5 |false |Distort_X| +|`[Float]`|false |named |False |Distort_X| #### **DistortY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |6 |false |Distort_Y| +|`[Float]`|false |named |False |Distort_Y| #### **Equilateral** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |11 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HexColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |0 |false |Hex_Color| +|`[String]`|false |named |False |Hex_Color| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **OffsetX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |7 |false |Offset_X| +|`[Float]`|false |named |False |Offset_X| #### **OffsetY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |8 |false |Offset_Y| +|`[Float]`|false |named |False |Offset_Y| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Quantity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |12 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |10 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |4 |false |Speed_Percent| +|`[Int]`|false |named |False |Speed_Percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ZoomAnimate** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Zoom_Animate| +|`[Switch]`|false |named |False |Zoom_Animate| --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHexagonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [-Blend ] [-Equilateral ] [-ZoomAnimate ] [[-SpeedPercent] ] [-Glitch ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From db6ad819261070fcce99525c169e93ee80bc71a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4631/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSHexagonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSHexagonShader.json b/docs/_data/Help/Set-OBSHexagonShader.json index eaacec57e..da567fd2b 100644 --- a/docs/_data/Help/Set-OBSHexagonShader.json +++ b/docs/_data/Help/Set-OBSHexagonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHexagonShader [[-HexColor] ] [[-AlphaPercent] ] [[-Quantity] ] [[-BorderWidth] ] [[-SpeedPercent] ] [[-DistortX] ] [[-DistortY] ] [[-OffsetX] ] [[-OffsetY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 63c26e1a9a1348f4dc5cc21aafc6fd57f2afa11f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:51 +0000 Subject: [PATCH 4632/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSHslHsvSaturationShader.md | 41 +++++++++++---------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSHslHsvSaturationShader.md b/docs/Set-OBSHslHsvSaturationShader.md index cb3fb0050..3abdab852 100644 --- a/docs/Set-OBSHslHsvSaturationShader.md +++ b/docs/Set-OBSHslHsvSaturationShader.md @@ -2,7 +2,6 @@ Get-OBSHslHsvSaturationShader ----------------------------- ### Synopsis - Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f27dc1f59c82a718cdcebcbfc82decd36270fa41 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4633/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSHslHsvSaturationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSHslHsvSaturationShader.json b/docs/_data/Help/Set-OBSHslHsvSaturationShader.json index 0cd6171c5..f3bdd6bea 100644 --- a/docs/_data/Help/Set-OBSHslHsvSaturationShader.json +++ b/docs/_data/Help/Set-OBSHslHsvSaturationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] ] [[-HslGamma] ] [[-HsvSaturationFactor] ] [[-HsvGamma] ] [[-AdjustmentOrder] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From cde7b60851f3481333bbdd8a3aaba45e1243f873 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4634/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSHueRotatonShader.md | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSHueRotatonShader.md b/docs/Set-OBSHueRotatonShader.md index f98d9993b..24140b07f 100644 --- a/docs/Set-OBSHueRotatonShader.md +++ b/docs/Set-OBSHueRotatonShader.md @@ -2,7 +2,6 @@ Get-OBSHueRotatonShader ----------------------- ### Synopsis - Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HueOverride** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Hue_Override| +|`[Switch]`|false |named |False |Hue_Override| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSHueRotatonShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSHueRotatonShader [[-Speed] ] [-HueOverride ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5aa069351e6eb5c58bf39e26d88f9208a1ba7aa1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4635/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSHueRotatonShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSHueRotatonShader.json b/docs/_data/Help/Set-OBSHueRotatonShader.json index bfe2409ff..7d1b0626c 100644 --- a/docs/_data/Help/Set-OBSHueRotatonShader.json +++ b/docs/_data/Help/Set-OBSHueRotatonShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSHueRotatonShader [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 340397224734eecf5b824d8b5c37aceb194eaa75 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4636/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSIntensityScopeShader.md | 35 ++++++++++++----------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSIntensityScopeShader.md b/docs/Set-OBSIntensityScopeShader.md index 9a45b9e83..392da7346 100644 --- a/docs/Set-OBSIntensityScopeShader.md +++ b/docs/Set-OBSIntensityScopeShader.md @@ -2,7 +2,6 @@ Get-OBSIntensityScopeShader --------------------------- ### Synopsis - Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Gain** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSIntensityScopeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5ff10a5b06d59cc16e71a774d727ec6b36170b0d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4637/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSIntensityScopeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSIntensityScopeShader.json b/docs/_data/Help/Set-OBSIntensityScopeShader.json index fea527830..c79bc6f1f 100644 --- a/docs/_data/Help/Set-OBSIntensityScopeShader.json +++ b/docs/_data/Help/Set-OBSIntensityScopeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSIntensityScopeShader [[-Gain] ] [[-Blend] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 89c90f164048b1916c75f8a75b83de0932337365 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4638/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSInvertLumaShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSInvertLumaShader.md b/docs/Set-OBSInvertLumaShader.md index 8d70cf701..14e1b743a 100644 --- a/docs/Set-OBSInvertLumaShader.md +++ b/docs/Set-OBSInvertLumaShader.md @@ -2,7 +2,6 @@ Get-OBSInvertLumaShader ----------------------- ### Synopsis - Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-Sha ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |1 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GammaCorrection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Gamma_Correction| +|`[Switch]`|false |named |False |Gamma_Correction| #### **InvertColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Invert_Color| +|`[Switch]`|false |named |False |Invert_Color| #### **InvertLuma** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |Invert_Luma| +|`[Switch]`|false |named |False |Invert_Luma| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |2 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |0 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TestRamp** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |Test_Ramp| +|`[Switch]`|false |named |False |Test_Ramp| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSInvertLumaShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSInvertLumaShader [-InvertColor ] [-InvertLuma ] [-GammaCorrection ] [-TestRamp ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From eb0f8a3e6d1a5b368da76da105bc076cc735bfcc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4639/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSInvertLumaShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSInvertLumaShader.json b/docs/_data/Help/Set-OBSInvertLumaShader.json index 5b6e144c7..5abd320e4 100644 --- a/docs/_data/Help/Set-OBSInvertLumaShader.json +++ b/docs/_data/Help/Set-OBSInvertLumaShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSInvertLumaShader [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6aa2d681b3d669c8fe8890291e7e18b51667181e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4640/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSLuminance2Shader.md | 47 ++++++++++++++------------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBSLuminance2Shader.md b/docs/Set-OBSLuminance2Shader.md index ded8118db..1b3afb79b 100644 --- a/docs/Set-OBSLuminance2Shader.md +++ b/docs/Set-OBSLuminance2Shader.md @@ -2,7 +2,6 @@ Get-OBSLuminance2Shader ----------------------- ### Synopsis - Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [-InvertImageColor ] [-InvertAlphaChannel ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c7401a212135c72c71c2bd54e7f258e0787f72fa Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4641/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSLuminance2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSLuminance2Shader.json b/docs/_data/Help/Set-OBSLuminance2Shader.json index 210290dee..4555c78a8 100644 --- a/docs/_data/Help/Set-OBSLuminance2Shader.json +++ b/docs/_data/Help/Set-OBSLuminance2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminance2Shader [[-Color] ] [[-LumaMax] ] [[-LumaMin] ] [[-LumaMaxSmooth] ] [[-LumaMinSmooth] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From aa48736a74d5b209459bc2a101727cde29903c82 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4642/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSLuminanceAlphaShader.md | 83 +++++++++++++---------------- 1 file changed, 38 insertions(+), 45 deletions(-) diff --git a/docs/Set-OBSLuminanceAlphaShader.md b/docs/Set-OBSLuminanceAlphaShader.md index c7cd3777d..ef0f0d526 100644 --- a/docs/Set-OBSLuminanceAlphaShader.md +++ b/docs/Set-OBSLuminanceAlphaShader.md @@ -2,7 +2,6 @@ Get-OBSLuminanceAlphaShader --------------------------- ### Synopsis - Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-Ela |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |add_val| +|`[Float]`|false |named |False |add_val| #### **Color** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |9 |false | +|`[String]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |8 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |14 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Level** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **MulVal** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |mul_val| +|`[Float]`|false |named |False |mul_val| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |15 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |13 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSLuminanceAlphaShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [-InvertAlphaChannel ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3ac138dd77f89c12c015c42a92ceed34ff36d034 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4643/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSLuminanceAlphaShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSLuminanceAlphaShader.json b/docs/_data/Help/Set-OBSLuminanceAlphaShader.json index 77530e77b..d269489b4 100644 --- a/docs/_data/Help/Set-OBSLuminanceAlphaShader.json +++ b/docs/_data/Help/Set-OBSLuminanceAlphaShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminanceAlphaShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ColorMatrix] ] [[-Color] ] [[-MulVal] ] [[-AddVal] ] [[-Level] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 40f4fea19f424dccb5f5e3d00f612820e8397b2f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4644/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSLuminanceShader.md | 41 ++++++++++++++-------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSLuminanceShader.md b/docs/Set-OBSLuminanceShader.md index 368dd6b97..16e34f312 100644 --- a/docs/Set-OBSLuminanceShader.md +++ b/docs/Set-OBSLuminanceShader.md @@ -2,7 +2,6 @@ Get-OBSLuminanceShader ---------------------- ### Synopsis - Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertAlphaChannel** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InvertImageColor** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Level** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSLuminanceShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [-InvertImageColor ] [-InvertAlphaChannel ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 537353e51cda9b482139fbaf947c09387bc4a558 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:52 +0000 Subject: [PATCH 4645/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSLuminanceShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSLuminanceShader.json b/docs/_data/Help/Set-OBSLuminanceShader.json index d5142f1d2..1e89f6f54 100644 --- a/docs/_data/Help/Set-OBSLuminanceShader.json +++ b/docs/_data/Help/Set-OBSLuminanceShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSLuminanceShader [[-Color] ] [[-Level] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From ec4ca06365e79a9875d50c375b5682f1b7154019 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4646/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSMatrixShader.md | 93 +++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/docs/Set-OBSMatrixShader.md b/docs/Set-OBSMatrixShader.md index 699167349..373688964 100644 --- a/docs/Set-OBSMatrixShader.md +++ b/docs/Set-OBSMatrixShader.md @@ -2,7 +2,6 @@ Get-OBSMatrixShader ------------------- ### Synopsis - Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,157 +15,157 @@ Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |16 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |18 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **InvertDirection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Invert_Direction| +|`[Switch]`|false |named |False |Invert_Direction| #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |11 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **Loops** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |10 |false | +|`[Int]`|false |named |False | #### **LumaMin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **LumaMinSmooth** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |14 |false | +|`[Float]`|false |named |False | #### **Mouse** -|Type |Required|Position|PipelineInput| -|-----------|--------|--------|-------------| -|`[float[]]`|false |12 |false | +|Type |Required|Position|PipelineInput| +|-------------------|--------|--------|-------------| +|`[System.Single[]]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandActivationF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |rand_activation_f| +|`[Float]`|false |named |False |rand_activation_f| #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |7 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RandInstanceF** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |8 |false |rand_instance_f| +|`[Float]`|false |named |False |rand_instance_f| #### **Ratio** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |15 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |19 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |17 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |6 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |5 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -182,11 +181,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSMatrixShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [-InvertDirection ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [-ApplyToAlphaLayer ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2b5bc0c51e52e09f544e7f9ec81799d0335a23da Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4647/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSMatrixShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSMatrixShader.json b/docs/_data/Help/Set-OBSMatrixShader.json index 81fb6d551..ccd1e30d0 100644 --- a/docs/_data/Help/Set-OBSMatrixShader.json +++ b/docs/_data/Help/Set-OBSMatrixShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSMatrixShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvSize] ] [[-UvPixelInterval] ] [[-RandF] ] [[-RandInstanceF] ] [[-RandActivationF] ] [[-Loops] ] [[-LocalTime] ] [[-Mouse] ] [[-LumaMin] ] [[-LumaMinSmooth] ] [[-Ratio] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 9bf9152d5cc4cabe8b5836cd408719e0c5b931e2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4648/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSMultiplyShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSMultiplyShader.md b/docs/Set-OBSMultiplyShader.md index 552434c86..76e066219 100644 --- a/docs/Set-OBSMultiplyShader.md +++ b/docs/Set-OBSMultiplyShader.md @@ -2,7 +2,6 @@ Get-OBSMultiplyShader --------------------- ### Synopsis - Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-Filte ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OtherImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |0 |false |other_image| +|`[String]`|false |named |False |other_image| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSMultiplyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 733d29b165c8e7fc97254a7aa35f8e9c7508453b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4649/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSMultiplyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSMultiplyShader.json b/docs/_data/Help/Set-OBSMultiplyShader.json index c41d7067f..1a09f039f 100644 --- a/docs/_data/Help/Set-OBSMultiplyShader.json +++ b/docs/_data/Help/Set-OBSMultiplyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSMultiplyShader [[-OtherImage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 39f19fa8ad1529713f89908c06ac5731a6e1d060 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4650/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSNightSkyShader.md | 95 ++++++++++++++++------------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Set-OBSNightSkyShader.md b/docs/Set-OBSNightSkyShader.md index 3cda16ee1..d088124c6 100644 --- a/docs/Set-OBSNightSkyShader.md +++ b/docs/Set-OBSNightSkyShader.md @@ -2,7 +2,6 @@ Get-OBSNightSkyShader --------------------- ### Synopsis - Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-Cen |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |3 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |2 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |1 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **IncludeClouds** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Include_Clouds| +|`[Switch]`|false |named |False |Include_Clouds| #### **IncludeMoon** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[switch]`|false |Named |false |Include_Moon| +|`[Switch]`|false |named |False |Include_Moon| #### **LIGHTSKY** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |7 |false |LIGHT_SKY| - -#### **MOONCOLOR** - -|Type |Required|Position|PipelineInput|Aliases | -|----------|--------|--------|-------------|----------| -|`[string]`|false |9 |false |MOON_COLOR| +|`[String]`|false |named |False |LIGHT_SKY| #### **MoonBumpSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |11 |false |moon_bump_size| +|`[Float]`|false |named |False |moon_bump_size| + +#### **MOONCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[String]`|false |named |False |MOON_COLOR| #### **MoonPositionX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |12 |false |Moon_Position_x| +|`[Float]`|false |named |False |Moon_Position_x| #### **MoonPositionY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |13 |false |Moon_Position_y| +|`[Float]`|false |named |False |Moon_Position_y| #### **MoonSize** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |10 |false |moon_size| +|`[Float]`|false |named |False |moon_size| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NumberStars** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |4 |false |number_stars| +|`[Int]`|false |named |False |number_stars| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| + +#### **ShaderText** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |ShaderContent| #### **SKYCOLOR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |5 |false |SKY_COLOR| +|`[String]`|false |named |False |SKY_COLOR| #### **SKYLIGHTNESS** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |SKY_LIGHTNESS| +|`[Float]`|false |named |False |SKY_LIGHTNESS| -#### **STARCOLOR** - -|Type |Required|Position|PipelineInput|Aliases | -|----------|--------|--------|-------------|----------| -|`[string]`|false |6 |false |STAR_COLOR| - -#### **ShaderText** +#### **SourceName** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| - -#### **SourceName** - -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | + +#### **STARCOLOR** + +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|----------| +|`[String]`|false |named |False |STAR_COLOR| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSNightSkyShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSNightSkyShader [[-Speed] ] [-IncludeClouds ] [-IncludeMoon ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From debf8ae14452cca6021cb1ed29e2063090ab58c7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4651/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSNightSkyShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSNightSkyShader.json b/docs/_data/Help/Set-OBSNightSkyShader.json index 5e8e788ec..00e458c7f 100644 --- a/docs/_data/Help/Set-OBSNightSkyShader.json +++ b/docs/_data/Help/Set-OBSNightSkyShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSNightSkyShader [[-Speed] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-AlphaPercentage] ] [[-NumberStars] ] [[-SKYCOLOR] ] [[-STARCOLOR] ] [[-LIGHTSKY] ] [[-SKYLIGHTNESS] ] [[-MOONCOLOR] ] [[-MoonSize] ] [[-MoonBumpSize] ] [[-MoonPositionX] ] [[-MoonPositionY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e6221cd451598321ace2f6a501fb404236ec56f5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4652/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSOpacityShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSOpacityShader.md b/docs/Set-OBSOpacityShader.md index 1b7aa1459..950b992be 100644 --- a/docs/Set-OBSOpacityShader.md +++ b/docs/Set-OBSOpacityShader.md @@ -2,7 +2,6 @@ Get-OBSOpacityShader -------------------- ### Synopsis - Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSOpacityShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5c654ac53c10a007973d0c94f5f56e51b7bdd99a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4653/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSOpacityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSOpacityShader.json b/docs/_data/Help/Set-OBSOpacityShader.json index 0b7145c2b..29698c99d 100644 --- a/docs/_data/Help/Set-OBSOpacityShader.json +++ b/docs/_data/Help/Set-OBSOpacityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSOpacityShader [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 1455b2edc5cd8c3be2f3c1e5066be739f65d783b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4654/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPagePeelShader.md | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSPagePeelShader.md b/docs/Set-OBSPagePeelShader.md index 33a3026ae..5797684b3 100644 --- a/docs/Set-OBSPagePeelShader.md +++ b/docs/Set-OBSPagePeelShader.md @@ -2,7 +2,6 @@ Get-OBSPagePeelShader --------------------- ### Synopsis - Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ed374373f479119661b907f468deb2df940ac0d0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4655/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPagePeelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPagePeelShader.json b/docs/_data/Help/Set-OBSPagePeelShader.json index afad989ec..142f98f65 100644 --- a/docs/_data/Help/Set-OBSPagePeelShader.json +++ b/docs/_data/Help/Set-OBSPagePeelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPagePeelShader [[-Speed] ] [[-Position] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 06cdf67479effeedd6f8cead14b47474b2b80a57 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:53 +0000 Subject: [PATCH 4656/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPagePeelTransitionShader.md | 43 +++++++++++-------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSPagePeelTransitionShader.md b/docs/Set-OBSPagePeelTransitionShader.md index cf4836bd4..04b597945 100644 --- a/docs/Set-OBSPagePeelTransitionShader.md +++ b/docs/Set-OBSPagePeelTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSPagePeelTransitionShader ------------------------------- ### Synopsis - Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-Tra |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ImageA** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |image_a| +|`[String]`|false |named |False |image_a| #### **ImageB** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |1 |false |image_b| +|`[String]`|false |named |False |image_b| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |3 |false |page_color| +|`[String]`|false |named |False |page_color| #### **PageTransparency** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |4 |false |page_transparency| +|`[Float]`|false |named |False |page_transparency| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |2 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPagePeelTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [-ConvertLinear ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a7ab85400eaa66233094dc58fe153476295b3425 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4657/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPagePeelTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPagePeelTransitionShader.json b/docs/_data/Help/Set-OBSPagePeelTransitionShader.json index 8dc3b44f8..fd398f3cb 100644 --- a/docs/_data/Help/Set-OBSPagePeelTransitionShader.json +++ b/docs/_data/Help/Set-OBSPagePeelTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPagePeelTransitionShader [[-ImageA] ] [[-ImageB] ] [[-TransitionTime] ] [[-PageColor] ] [[-PageTransparency] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4ca719c877ec721f1b3b88728dffa8420e63304c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4658/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPerlinNoiseShader.md | 53 ++++++++++++++------------------ 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Set-OBSPerlinNoiseShader.md b/docs/Set-OBSPerlinNoiseShader.md index bbe6bc6b6..2ed65cd01 100644 --- a/docs/Set-OBSPerlinNoiseShader.md +++ b/docs/Set-OBSPerlinNoiseShader.md @@ -2,7 +2,6 @@ Get-OBSPerlinNoiseShader ------------------------ ### Synopsis - Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-Speed |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ApplyToChannel** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |apply_to_channel| +|`[Switch]`|false |named |False |apply_to_channel| #### **BlackNoise** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |5 |false |black_noise| +|`[Float]`|false |named |False |black_noise| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Inverted** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Iterations** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **Multiply** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **SpeedHorizonal** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |1 |false |speed_horizonal| +|`[Float]`|false |named |False |speed_horizonal| #### **SpeedVertical** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |2 |false |speed_vertical| +|`[Float]`|false |named |False |speed_vertical| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **WhiteNoise** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |4 |false |white_noise| +|`[Float]`|false |named |False |white_noise| --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPerlinNoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPerlinNoiseShader [[-Speed] ] [-Animated ] [-ApplyToChannel ] [-Inverted ] [-Multiply ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c1cebe737739ad365a20d7896bcfebdf3d13bb73 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4659/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPerlinNoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPerlinNoiseShader.json b/docs/_data/Help/Set-OBSPerlinNoiseShader.json index f1c26be33..fbad434ed 100644 --- a/docs/_data/Help/Set-OBSPerlinNoiseShader.json +++ b/docs/_data/Help/Set-OBSPerlinNoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPerlinNoiseShader [[-Speed] ] [[-SpeedHorizonal] ] [[-SpeedVertical] ] [[-Iterations] ] [[-WhiteNoise] ] [[-BlackNoise] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 37ed535f4af626cb9bc55eb6edf525885e153b20 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4660/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPieChartShader.md | 79 ++++++++++++++++------------------- 1 file changed, 36 insertions(+), 43 deletions(-) diff --git a/docs/Set-OBSPieChartShader.md b/docs/Set-OBSPieChartShader.md index 61511f8ac..f052dd633 100644 --- a/docs/Set-OBSPieChartShader.md +++ b/docs/Set-OBSPieChartShader.md @@ -2,7 +2,6 @@ Get-OBSPieChartShader --------------------- ### Synopsis - Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,187 +15,187 @@ Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Start |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |5 |false |color_1| +|`[String]`|false |named |False |color_1| #### **Color10** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |23 |false |color_10| +|`[String]`|false |named |False |color_10| #### **Color2** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |7 |false |color_2| +|`[String]`|false |named |False |color_2| #### **Color3** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |9 |false |color_3| +|`[String]`|false |named |False |color_3| #### **Color4** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |11 |false |color_4| +|`[String]`|false |named |False |color_4| #### **Color5** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |13 |false |color_5| +|`[String]`|false |named |False |color_5| #### **Color6** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |15 |false |color_6| +|`[String]`|false |named |False |color_6| #### **Color7** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |17 |false |color_7| +|`[String]`|false |named |False |color_7| #### **Color8** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |19 |false |color_8| +|`[String]`|false |named |False |color_8| #### **Color9** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |21 |false |color_9| +|`[String]`|false |named |False |color_9| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |25 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InnerRadius** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |inner_radius| +|`[Float]`|false |named |False |inner_radius| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **OuterRadius** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |1 |false |outer_radius| +|`[Float]`|false |named |False |outer_radius| #### **Part1** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |4 |false |part_1 | +|`[Int]`|false |named |False |part_1 | #### **Part10** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |22 |false |part_10| +|`[Int]`|false |named |False |part_10| #### **Part2** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |6 |false |part_2 | +|`[Int]`|false |named |False |part_2 | #### **Part3** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |8 |false |part_3 | +|`[Int]`|false |named |False |part_3 | #### **Part4** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |10 |false |part_4 | +|`[Int]`|false |named |False |part_4 | #### **Part5** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |12 |false |part_5 | +|`[Int]`|false |named |False |part_5 | #### **Part6** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |14 |false |part_6 | +|`[Int]`|false |named |False |part_6 | #### **Part7** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |16 |false |part_7 | +|`[Int]`|false |named |False |part_7 | #### **Part8** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |18 |false |part_8 | +|`[Int]`|false |named |False |part_8 | #### **Part9** |Type |Required|Position|PipelineInput|Aliases| |-------|--------|--------|-------------|-------| -|`[int]`|false |20 |false |part_9 | +|`[Int]`|false |named |False |part_9 | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |26 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |24 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StartAngle** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |start_angle| +|`[Float]`|false |named |False |start_angle| #### **Total** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -212,11 +211,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPieChartShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 77eac6014655d61886c5ecf1be19aa222bfc50d3 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4661/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPieChartShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPieChartShader.json b/docs/_data/Help/Set-OBSPieChartShader.json index 535375e5a..8468a8cbf 100644 --- a/docs/_data/Help/Set-OBSPieChartShader.json +++ b/docs/_data/Help/Set-OBSPieChartShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPieChartShader [[-InnerRadius] ] [[-OuterRadius] ] [[-StartAngle] ] [[-Total] ] [[-Part1] ] [[-Color1] ] [[-Part2] ] [[-Color2] ] [[-Part3] ] [[-Color3] ] [[-Part4] ] [[-Color4] ] [[-Part5] ] [[-Color5] ] [[-Part6] ] [[-Color6] ] [[-Part7] ] [[-Color7] ] [[-Part8] ] [[-Color8] ] [[-Part9] ] [[-Color9] ] [[-Part10] ] [[-Color10] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d913e1992209624e35e9d38a7cbe275d4745514a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4662/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPixelationShader.md | 37 +++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSPixelationShader.md b/docs/Set-OBSPixelationShader.md index 9b236ea71..ecf125657 100644 --- a/docs/Set-OBSPixelationShader.md +++ b/docs/Set-OBSPixelationShader.md @@ -2,7 +2,6 @@ Get-OBSPixelationShader ----------------------- ### Synopsis - Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-No ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TargetHeight** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Target_Height| +|`[Float]`|false |named |False |Target_Height| #### **TargetWidth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |Target_Width| +|`[Float]`|false |named |False |Target_Width| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPixelationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b3f57d63806cb2411824700def07fc3b6a4894fd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4663/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPixelationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPixelationShader.json b/docs/_data/Help/Set-OBSPixelationShader.json index b2d891902..d472e6820 100644 --- a/docs/_data/Help/Set-OBSPixelationShader.json +++ b/docs/_data/Help/Set-OBSPixelationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPixelationShader [[-TargetWidth] ] [[-TargetHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From c13d22af6403333c70b44849521cbfda5cb144c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4664/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPixelationTransitionShader.md | 41 ++++++++++------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSPixelationTransitionShader.md b/docs/Set-OBSPixelationTransitionShader.md index 1055f053e..3fb035b18 100644 --- a/docs/Set-OBSPixelationTransitionShader.md +++ b/docs/Set-OBSPixelationTransitionShader.md @@ -2,7 +2,6 @@ Get-OBSPixelationTransitionShader --------------------------------- ### Synopsis - Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **ConvertLinear** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |convert_linear| +|`[Switch]`|false |named |False |convert_linear| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TransitionTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |transition_time| +|`[Float]`|false |named |False |transition_time| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPixelationTransitionShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPixelationTransitionShader [[-TransitionTime] ] [-ConvertLinear ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e32a41a420688e8d538c1123ee2ddfced84432d5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4665/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPixelationTransitionShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPixelationTransitionShader.json b/docs/_data/Help/Set-OBSPixelationTransitionShader.json index 6f03e9326..db7640c48 100644 --- a/docs/_data/Help/Set-OBSPixelationTransitionShader.json +++ b/docs/_data/Help/Set-OBSPixelationTransitionShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPixelationTransitionShader [[-TransitionTime] ] [[-Power] ] [[-CenterX] ] [[-CenterY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2e419b6af209bc3997412747b5d51e1528f9c68f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4666/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPolarShader.md | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSPolarShader.md b/docs/Set-OBSPolarShader.md index 68dd8d7f1..5897d8ac8 100644 --- a/docs/Set-OBSPolarShader.md +++ b/docs/Set-OBSPolarShader.md @@ -2,7 +2,6 @@ Get-OBSPolarShader ------------------ ### Synopsis - Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |0 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |1 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Flip** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PointY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |point_y| +|`[Float]`|false |named |False |point_y| #### **Repeat** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Rotate** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Scale** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPolarShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [-Flip ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b223c44e0a9af4f5e642c8a24efc50728e24e3a7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:54 +0000 Subject: [PATCH 4667/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPolarShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPolarShader.json b/docs/_data/Help/Set-OBSPolarShader.json index 1894d8c24..da26497c4 100644 --- a/docs/_data/Help/Set-OBSPolarShader.json +++ b/docs/_data/Help/Set-OBSPolarShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPolarShader [[-CenterX] ] [[-CenterY] ] [[-PointY] ] [[-Rotate] ] [[-Repeat] ] [[-Scale] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a3c4ece543123db5927ce04c82bc80c18147b879 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4668/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSPulseShader.md | 73 +++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 40 deletions(-) diff --git a/docs/Set-OBSPulseShader.md b/docs/Set-OBSPulseShader.md index 70dd71f14..235344156 100644 --- a/docs/Set-OBSPulseShader.md +++ b/docs/Set-OBSPulseShader.md @@ -2,7 +2,6 @@ Get-OBSPulseShader ------------------ ### Synopsis - Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |12 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **MaxGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |10 |false |max_growth_pixels| +|`[Float]`|false |named |False |max_growth_pixels| #### **MinGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |9 |false |min_growth_pixels| +|`[Float]`|false |named |False |min_growth_pixels| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |13 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |11 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |8 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSPulseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 6fa0d08df2d485edd137756c3957de8bc8a7d070 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4669/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSPulseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSPulseShader.json b/docs/_data/Help/Set-OBSPulseShader.json index 1b7dcf056..36d742590 100644 --- a/docs/_data/Help/Set-OBSPulseShader.json +++ b/docs/_data/Help/Set-OBSPulseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSPulseShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From aaa0ca93120aecd8e3702209bacd7940493cfdd5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4670/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRainbowShader.md | 67 ++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Set-OBSRainbowShader.md b/docs/Set-OBSRainbowShader.md index 74a21a669..36220daae 100644 --- a/docs/Set-OBSRainbowShader.md +++ b/docs/Set-OBSRainbowShader.md @@ -2,7 +2,6 @@ Get-OBSRainbowShader -------------------- ### Synopsis - Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Luminosity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |7 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| - -#### **RotationOffset** - -|Type |Required|Position|PipelineInput|Aliases | -|---------|--------|--------|-------------|---------------| -|`[float]`|false |5 |false |Rotation_Offset| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **Rotational** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | + +#### **RotationOffset** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|---------------| +|`[Float]`|false |named |False |Rotation_Offset| #### **Saturation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Spread** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRainbowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [-Vertical ] [-Rotational ] [[-RotationOffset] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From fcbd5b3ae2308804ef30795beedaed076900ca15 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4671/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRainbowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRainbowShader.json b/docs/_data/Help/Set-OBSRainbowShader.json index 3bb4556a6..8de2d3c9c 100644 --- a/docs/_data/Help/Set-OBSRainbowShader.json +++ b/docs/_data/Help/Set-OBSRainbowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRainbowShader [[-Saturation] ] [[-Luminosity] ] [[-Spread] ] [[-Speed] ] [[-AlphaPercentage] ] [[-RotationOffset] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From b469283acce5f399c8aec53d04c89f7472914690 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4672/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRainWindowShader.md | 43 ++++++++++++++------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSRainWindowShader.md b/docs/Set-OBSRainWindowShader.md index f487aa584..57f5b044c 100644 --- a/docs/Set-OBSRainWindowShader.md +++ b/docs/Set-OBSRainWindowShader.md @@ -2,7 +2,6 @@ Get-OBSRainWindowShader ----------------------- ### Synopsis - Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **DebugShader** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Size** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **TrailColor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |3 |false |trail_color| +|`[Float]`|false |named |False |trail_color| #### **TrailStrength** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------| -|`[float]`|false |2 |false |trail_strength| +|`[Float]`|false |named |False |trail_strength| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRainWindowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [-DebugShader ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d1603f2361e0659687dbcedec7468456240b1e5e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4673/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRainWindowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRainWindowShader.json b/docs/_data/Help/Set-OBSRainWindowShader.json index 41316a192..13054569f 100644 --- a/docs/_data/Help/Set-OBSRainWindowShader.json +++ b/docs/_data/Help/Set-OBSRainWindowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRainWindowShader [[-Size] ] [[-BlurSize] ] [[-TrailStrength] ] [[-TrailColor] ] [[-Speed] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 81f8c0fa16396085eb7dcdbd2dbb0d549a11821d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4674/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRectangularDropShadowShader.md | 39 +++++++++------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSRectangularDropShadowShader.md b/docs/Set-OBSRectangularDropShadowShader.md index db1484da1..a583748d5 100644 --- a/docs/Set-OBSRectangularDropShadowShader.md +++ b/docs/Set-OBSRectangularDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSRectangularDropShadowShader ---------------------------------- ### Synopsis - Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e7e0bf15146a870791df538d2c2789acd396adea Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4675/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRectangularDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRectangularDropShadowShader.json b/docs/_data/Help/Set-OBSRectangularDropShadowShader.json index 650a53285..5122a4871 100644 --- a/docs/_data/Help/Set-OBSRectangularDropShadowShader.json +++ b/docs/_data/Help/Set-OBSRectangularDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From fba1994a3f18dc226245ddfc471562281856ad8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4676/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSReflectShader.md | 39 +++++++++++++++--------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSReflectShader.md b/docs/Set-OBSReflectShader.md index 081732d11..0c8c374d2 100644 --- a/docs/Set-OBSReflectShader.md +++ b/docs/Set-OBSReflectShader.md @@ -2,7 +2,6 @@ Get-OBSReflectShader -------------------- ### Synopsis - Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Sour |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |3 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Horizontal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |2 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Vertical** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSReflectShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSReflectShader [-Horizontal ] [-Vertical ] [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 7520f9f54a4f2b4778552ce509e02fb178c5205f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4677/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSReflectShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSReflectShader.json b/docs/_data/Help/Set-OBSReflectShader.json index 219e772c8..262473d12 100644 --- a/docs/_data/Help/Set-OBSReflectShader.json +++ b/docs/_data/Help/Set-OBSReflectShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSReflectShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4b1688b35dc6812cef26c68c2bb301bcff8a43e6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4678/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRemovePartialPixelsShader.md | 35 ++++++++++-------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSRemovePartialPixelsShader.md b/docs/Set-OBSRemovePartialPixelsShader.md index d87614b8e..95bacf4d8 100644 --- a/docs/Set-OBSRemovePartialPixelsShader.md +++ b/docs/Set-OBSRemovePartialPixelsShader.md @@ -2,7 +2,6 @@ Get-OBSRemovePartialPixelsShader -------------------------------- ### Synopsis - Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,57 +13,57 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From b2a1309e14f530f92ea240691da8754c82353d2d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:55 +0000 Subject: [PATCH 4679/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRemovePartialPixelsShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json b/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json index 54b30405e..36c15cd20 100644 --- a/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json +++ b/docs/_data/Help/Set-OBSRemovePartialPixelsShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dfc1326cc139129ffa5dc9feebcad3228bec3964 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4680/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRepeatShader.md | 91 +++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 49 deletions(-) diff --git a/docs/Set-OBSRepeatShader.md b/docs/Set-OBSRepeatShader.md index 667dae8f4..d65e1f118 100644 --- a/docs/Set-OBSRepeatShader.md +++ b/docs/Set-OBSRepeatShader.md @@ -2,7 +2,6 @@ Get-OBSRepeatShader ------------------- ### Synopsis - Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-Co |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |1 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ColorRangeMax** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |3 |false |color_range_max| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_max| #### **ColorRangeMin** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |2 |false |color_range_min| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_min| #### **Copies** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |5 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |13 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |6 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |8 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |7 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |9 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRepeatShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5691e01e5b7c33aec7dac7aab774363444b48417 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4681/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRepeatShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRepeatShader.json b/docs/_data/Help/Set-OBSRepeatShader.json index 6c4a86a74..9bd54d604 100644 --- a/docs/_data/Help/Set-OBSRepeatShader.json +++ b/docs/_data/Help/Set-OBSRepeatShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRepeatShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Alpha] ] [[-Copies] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7026d0234f228adb26d8b7de9f3c1a2594ccfb91 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4682/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRepeatTextureShader.md | 95 ++++++++++++++---------------- 1 file changed, 44 insertions(+), 51 deletions(-) diff --git a/docs/Set-OBSRepeatTextureShader.md b/docs/Set-OBSRepeatTextureShader.md index 0f344d854..e1eb176c7 100644 --- a/docs/Set-OBSRepeatTextureShader.md +++ b/docs/Set-OBSRepeatTextureShader.md @@ -2,7 +2,6 @@ Get-OBSRepeatTextureShader -------------------------- ### Synopsis - Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,139 +15,139 @@ Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |15 |false |alpha_percentage| +|`[Float]`|false |named |False |alpha_percentage| #### **Blend** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **ColorMatrix** -|Type |Required|Position|PipelineInput|Aliases | -|-------------|--------|--------|-------------|------------| -|`[float[][]]`|false |1 |false |color_matrix| +|Type |Required|Position|PipelineInput|Aliases | +|---------------------|--------|--------|-------------|------------| +|`[System.Single[][]]`|false |named |False |color_matrix| #### **ColorRangeMax** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |3 |false |color_range_max| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_max| #### **ColorRangeMin** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------------| -|`[float[]]`|false |2 |false |color_range_min| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------------| +|`[System.Single[]]`|false |named |False |color_range_min| #### **Copies** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |17 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |14 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |18 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TexImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[string]`|false |5 |false |tex_image| +|`[String]`|false |named |False |tex_image| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |7 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |9 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |8 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |10 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -164,11 +163,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRepeatTextureShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From a0582e09bfd5afeb7cd6282bb144fae4585a9ee7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4683/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRepeatTextureShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRepeatTextureShader.json b/docs/_data/Help/Set-OBSRepeatTextureShader.json index d382ca992..d451333fa 100644 --- a/docs/_data/Help/Set-OBSRepeatTextureShader.json +++ b/docs/_data/Help/Set-OBSRepeatTextureShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRepeatTextureShader [[-ViewProj] ] [[-ColorMatrix] ] [[-ColorRangeMin] ] [[-ColorRangeMax] ] [[-Image] ] [[-TexImage] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-UvSize] ] [[-RandF] ] [[-Blend] ] [[-Copies] ] [[-Notes] ] [[-AlphaPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bfa4db1b5c348f7898a817474b5be48bd112b5a9 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4684/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRGBAPercentShader.md | 39 +++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSRGBAPercentShader.md b/docs/Set-OBSRGBAPercentShader.md index d913689eb..470f8a426 100644 --- a/docs/Set-OBSRGBAPercentShader.md +++ b/docs/Set-OBSRGBAPercentShader.md @@ -2,7 +2,6 @@ Get-OBSRGBAPercentShader ------------------------ ### Synopsis - Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-Bl |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **BluePercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GreenPercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedPercent** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRGBAPercentShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d7dab9ad3e75e41e8af66e9c824489a4fcee0e8d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4685/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRGBAPercentShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRGBAPercentShader.json b/docs/_data/Help/Set-OBSRGBAPercentShader.json index 5d6cb64aa..4752fb944 100644 --- a/docs/_data/Help/Set-OBSRGBAPercentShader.json +++ b/docs/_data/Help/Set-OBSRGBAPercentShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRGBAPercentShader [[-RedPercent] ] [[-GreenPercent] ] [[-BluePercent] ] [[-AlphaPercent] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 379d215582ae085898847202e68621dc95cbc658 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4686/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRgbColorWheelShader.md | 49 +++++++++++++----------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSRgbColorWheelShader.md b/docs/Set-OBSRgbColorWheelShader.md index abd506c11..92f676011 100644 --- a/docs/Set-OBSRgbColorWheelShader.md +++ b/docs/Set-OBSRgbColorWheelShader.md @@ -2,7 +2,6 @@ Get-OBSRgbColorWheelShader -------------------------- ### Synopsis - Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorTo |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |3 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |5 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |4 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **ColorDepth** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |1 |false |color_depth| +|`[Float]`|false |named |False |color_depth| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |2 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbColorWheelShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [-ApplyToImage ] [-ReplaceImageColor ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ed1dcd1b2b7b79a692b9c5769c21aec0c00f0e7e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4687/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRgbColorWheelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRgbColorWheelShader.json b/docs/_data/Help/Set-OBSRgbColorWheelShader.json index 965e571d3..5b4a5222f 100644 --- a/docs/_data/Help/Set-OBSRgbColorWheelShader.json +++ b/docs/_data/Help/Set-OBSRgbColorWheelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbColorWheelShader [[-Speed] ] [[-ColorDepth] ] [[-ColorToReplace] ] [[-AlphaPercentage] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6a1d0538661aa421ecf3fd5390e200035fb9cc8a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4688/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRgbSplitShader.md | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSRgbSplitShader.md b/docs/Set-OBSRgbSplitShader.md index 6c35d7ee7..1ccf4fceb 100644 --- a/docs/Set-OBSRgbSplitShader.md +++ b/docs/Set-OBSRgbSplitShader.md @@ -2,7 +2,6 @@ Get-OBSRgbSplitShader --------------------- ### Synopsis - Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **Bluey** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Greenx** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Greeny** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Redx** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **Redy** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbSplitShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2229df427688f35dcd79d9315bcc22b1b372a230 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4689/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRgbSplitShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRgbSplitShader.json b/docs/_data/Help/Set-OBSRgbSplitShader.json index 6b97f7549..0e74e3f1b 100644 --- a/docs/_data/Help/Set-OBSRgbSplitShader.json +++ b/docs/_data/Help/Set-OBSRgbSplitShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbSplitShader [[-Redx] ] [[-Redy] ] [[-Greenx] ] [[-Greeny] ] [[-Bluex] ] [[-Bluey] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3b8a22eff9fbe98fa74826290ce1c3ed1c4b2ce4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4690/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRgbvisibilityShader.md | 45 +++++++++++++----------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSRgbvisibilityShader.md b/docs/Set-OBSRgbvisibilityShader.md index cf30841dc..83716a07b 100644 --- a/docs/Set-OBSRgbvisibilityShader.md +++ b/docs/Set-OBSRgbvisibilityShader.md @@ -2,7 +2,6 @@ Get-OBSRgbvisibilityShader -------------------------- ### Synopsis - Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **BlueVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Green** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **GreenVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Red** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **RedVisibility** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRgbvisibilityShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 52acc184d4f47cf7b6a6b19521b0f000cbbe4082 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:56 +0000 Subject: [PATCH 4691/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRgbvisibilityShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRgbvisibilityShader.json b/docs/_data/Help/Set-OBSRgbvisibilityShader.json index 1675c70aa..90f27d82a 100644 --- a/docs/_data/Help/Set-OBSRgbvisibilityShader.json +++ b/docs/_data/Help/Set-OBSRgbvisibilityShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRgbvisibilityShader [[-Red] ] [[-Green] ] [[-Blue] ] [[-RedVisibility] ] [[-GreenVisibility] ] [[-BlueVisibility] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6d4abe754d44db20a9c72aefb190e780b0dc851e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4692/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRGSSAAShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSRGSSAAShader.md b/docs/Set-OBSRGSSAAShader.md index 8dcca16b3..bed002782 100644 --- a/docs/Set-OBSRGSSAAShader.md +++ b/docs/Set-OBSRGSSAAShader.md @@ -2,7 +2,6 @@ Get-OBSRGSSAAShader ------------------- ### Synopsis - Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |2 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpatialSigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRGSSAAShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 019458d6776eebb621aa14aa9d3b65dd78b9aef0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4693/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRGSSAAShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRGSSAAShader.json b/docs/_data/Help/Set-OBSRGSSAAShader.json index 7585fa9af..58a2de6ed 100644 --- a/docs/_data/Help/Set-OBSRGSSAAShader.json +++ b/docs/_data/Help/Set-OBSRGSSAAShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRGSSAAShader [[-ColorSigma] ] [[-SpatialSigma] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7bf0b4de60bd350fc73ae3c99a48fb35d035f377 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4694/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRippleShader.md | 41 +++++++++++++++---------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSRippleShader.md b/docs/Set-OBSRippleShader.md index 0adf52739..d2ae46e4a 100644 --- a/docs/Set-OBSRippleShader.md +++ b/docs/Set-OBSRippleShader.md @@ -2,7 +2,6 @@ Get-OBSRippleShader ------------------- ### Synopsis - Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-Power |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |3 |false |center_pos_x| +|`[Float]`|false |named |False |center_pos_x| #### **CenterPosY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |4 |false |center_pos_y| +|`[Float]`|false |named |False |center_pos_y| #### **DistanceFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |0 |false |distance_factor| +|`[Float]`|false |named |False |distance_factor| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PowerFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |power_factor| +|`[Float]`|false |named |False |power_factor| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **TimeFactor** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |1 |false |time_factor| +|`[Float]`|false |named |False |time_factor| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRippleShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 25a44a34b5f55dda9f291edb97421c37d0d34e6d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4695/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRippleShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRippleShader.json b/docs/_data/Help/Set-OBSRippleShader.json index 35583c3ec..0c381ad29 100644 --- a/docs/_data/Help/Set-OBSRippleShader.json +++ b/docs/_data/Help/Set-OBSRippleShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRippleShader [[-DistanceFactor] ] [[-TimeFactor] ] [[-PowerFactor] ] [[-CenterPosX] ] [[-CenterPosY] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 8a480a7dacfb844b7f60a207cfffe02b7e793305 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4696/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRotatingSourceShader.md | 43 ++++++++++++----------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSRotatingSourceShader.md b/docs/Set-OBSRotatingSourceShader.md index 9cf331863..263f7faf1 100644 --- a/docs/Set-OBSRotatingSourceShader.md +++ b/docs/Set-OBSRotatingSourceShader.md @@ -2,7 +2,6 @@ Get-OBSRotatingSourceShader --------------------------- ### Synopsis - Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,81 +13,81 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoom ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **KeepAspectratio** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |keep_aspectratio| +|`[Switch]`|false |named |False |keep_aspectratio| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Rotation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpinSpeed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |spin_speed| +|`[Float]`|false |named |False |spin_speed| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XCenter** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |x_center| +|`[Float]`|false |named |False |x_center| #### **YCenter** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |y_center| +|`[Float]`|false |named |False |y_center| #### **Zoomin** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRotatingSourceShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [-KeepAspectratio ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4393857d9e7ba0dff4ff49065c3d8f0422aea518 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4697/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRotatingSourceShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRotatingSourceShader.json b/docs/_data/Help/Set-OBSRotatingSourceShader.json index 81ca32462..695a60151 100644 --- a/docs/_data/Help/Set-OBSRotatingSourceShader.json +++ b/docs/_data/Help/Set-OBSRotatingSourceShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRotatingSourceShader [[-SpinSpeed] ] [[-Rotation] ] [[-Zoomin] ] [[-XCenter] ] [[-YCenter] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From f065ec86ad395097221e104b67df65737a6f232f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4698/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRotatoeShader.md | 89 +++++++++++++++++------------------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/docs/Set-OBSRotatoeShader.md b/docs/Set-OBSRotatoeShader.md index d2e1374f4..689971ec5 100644 --- a/docs/Set-OBSRotatoeShader.md +++ b/docs/Set-OBSRotatoeShader.md @@ -2,7 +2,6 @@ Get-OBSRotatoeShader -------------------- ### Synopsis - Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,157 +15,157 @@ Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTim |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |12 |false |Angle_Degrees| +|`[Float]`|false |named |False |Angle_Degrees| #### **AxisX** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |9 |false |Axis_X | +|`[Float]`|false |named |False |Axis_X | #### **AxisY** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |10 |false |Axis_Y | +|`[Float]`|false |named |False |Axis_Y | #### **AxisZ** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |11 |false |Axis_Z | +|`[Float]`|false |named |False |Axis_Z | #### **CenterHeightPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------------| -|`[int]`|false |14 |false |center_height_percentage| +|`[Int]`|false |named |False |center_height_percentage| #### **CenterWidthPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------------| -|`[int]`|false |13 |false |center_width_percentage| +|`[Int]`|false |named |False |center_width_percentage| #### **ElapsedTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |17 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |15 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **RotateColors** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |Rotate_Colors| +|`[Switch]`|false |named |False |Rotate_Colors| #### **RotatePixels** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |Rotate_Pixels| +|`[Switch]`|false |named |False |Rotate_Pixels| #### **RotateTransform** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[switch]`|false |Named |false |Rotate_Transform| +|`[Switch]`|false |named |False |Rotate_Transform| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |18 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |16 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |8 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -182,11 +181,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRotatoeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [-RotateTransform ] [-RotatePixels ] [-RotateColors ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3265fae60a3fe7b9c371872544a71f0221d201ca Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4699/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRotatoeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRotatoeShader.json b/docs/_data/Help/Set-OBSRotatoeShader.json index 2e073a20f..9ebcffb5d 100644 --- a/docs/_data/Help/Set-OBSRotatoeShader.json +++ b/docs/_data/Help/Set-OBSRotatoeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRotatoeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-SpeedPercent] ] [[-AxisX] ] [[-AxisY] ] [[-AxisZ] ] [[-AngleDegrees] ] [[-CenterWidthPercentage] ] [[-CenterHeightPercentage] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From eae9573723e324742a659980bef878ddba197caf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4700/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRoundedRect2Shader.md | 45 +++++++++++++------------------ 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSRoundedRect2Shader.md b/docs/Set-OBSRoundedRect2Shader.md index 2c520af9e..0e83e6f59 100644 --- a/docs/Set-OBSRoundedRect2Shader.md +++ b/docs/Set-OBSRoundedRect2Shader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRect2Shader ------------------------- ### Synopsis - Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |4 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |3 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FasterScan** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |faster_scan| +|`[Switch]`|false |named |False |faster_scan| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRect2Shader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [-FasterScan ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From e99edc8ae71a325b5a46a85aae4e359908e056f1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4701/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRoundedRect2Shader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRoundedRect2Shader.json b/docs/_data/Help/Set-OBSRoundedRect2Shader.json index c73261647..92f11df06 100644 --- a/docs/_data/Help/Set-OBSRoundedRect2Shader.json +++ b/docs/_data/Help/Set-OBSRoundedRect2Shader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRect2Shader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 03afde6ce12459c33b5bc615d55eb426a3550031 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4702/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRoundedRectPerCornerShader.md | 49 ++++++++++------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSRoundedRectPerCornerShader.md b/docs/Set-OBSRoundedRectPerCornerShader.md index f6c27a695..96e2b3661 100644 --- a/docs/Set-OBSRoundedRectPerCornerShader.md +++ b/docs/Set-OBSRoundedRectPerCornerShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectPerCornerShader --------------------------------- ### Synopsis - Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] < |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadiusBl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |3 |false |corner_radius_bl| +|`[Int]`|false |named |False |corner_radius_bl| #### **CornerRadiusBr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |2 |false |corner_radius_br| +|`[Int]`|false |named |False |corner_radius_br| #### **CornerRadiusTl** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |corner_radius_tl| +|`[Int]`|false |named |False |corner_radius_tl| #### **CornerRadiusTr** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |corner_radius_tr| +|`[Int]`|false |named |False |corner_radius_tr| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectPerCornerShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8f0c8b595832d933eb4c6f9bf297b157ec9111c2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:57 +0000 Subject: [PATCH 4703/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json b/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json index 8a6fda223..a97578dbf 100644 --- a/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json +++ b/docs/_data/Help/Set-OBSRoundedRectPerCornerShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] ] [[-CornerRadiusTr] ] [[-CornerRadiusBr] ] [[-CornerRadiusBl] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From aaaa9a44cd74726883af295e39208969a9643804 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4704/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRoundedRectPerSideShader.md | 49 +++++++++++-------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSRoundedRectPerSideShader.md b/docs/Set-OBSRoundedRectPerSideShader.md index 9acbe4315..e86e8cbc7 100644 --- a/docs/Set-OBSRoundedRectPerSideShader.md +++ b/docs/Set-OBSRoundedRectPerSideShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectPerSideShader ------------------------------- ### Synopsis - Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLef |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |8 |false |alpha_cut_off| +|`[Float]`|false |named |False |alpha_cut_off| #### **BorderAlphaEnd** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |7 |false |border_alpha_end| +|`[Float]`|false |named |False |border_alpha_end| #### **BorderAlphaStart** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------------| -|`[float]`|false |6 |false |border_alpha_start| +|`[Float]`|false |named |False |border_alpha_start| #### **BorderColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |5 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |4 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadiusBottom** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------------| -|`[int]`|false |0 |false |corner_radius_bottom| +|`[Int]`|false |named |False |corner_radius_bottom| #### **CornerRadiusLeft** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------------| -|`[int]`|false |1 |false |corner_radius_left| +|`[Int]`|false |named |False |corner_radius_left| #### **CornerRadiusRight** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------------| -|`[int]`|false |3 |false |corner_radius_right| +|`[Int]`|false |named |False |corner_radius_right| #### **CornerRadiusTop** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-----------------| -|`[int]`|false |2 |false |corner_radius_top| +|`[Int]`|false |named |False |corner_radius_top| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectPerSideShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9574b7cf2587a0e3bf168d227a5153beb441288c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4705/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRoundedRectPerSideShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json b/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json index 8def50b0d..4dbca8acf 100644 --- a/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json +++ b/docs/_data/Help/Set-OBSRoundedRectPerSideShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] ] [[-CornerRadiusLeft] ] [[-CornerRadiusTop] ] [[-CornerRadiusRight] ] [[-BorderThickness] ] [[-BorderColor] ] [[-BorderAlphaStart] ] [[-BorderAlphaEnd] ] [[-AlphaCutOff] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From bcf6a95c6dad1669b288e868c67f95f61c583891 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4706/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRoundedRectShader.md | 37 +++++++++++++------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSRoundedRectShader.md b/docs/Set-OBSRoundedRectShader.md index 9500c4280..a0c93c93b 100644 --- a/docs/Set-OBSRoundedRectShader.md +++ b/docs/Set-OBSRoundedRectShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedRectShader ------------------------ ### Synopsis - Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-B |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |2 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedRectShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 16d959fc6ed7b1c7ce7027034dd613cae5223d37 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4707/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRoundedRectShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRoundedRectShader.json b/docs/_data/Help/Set-OBSRoundedRectShader.json index b49e57e9f..43f1cee77 100644 --- a/docs/_data/Help/Set-OBSRoundedRectShader.json +++ b/docs/_data/Help/Set-OBSRoundedRectShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedRectShader [[-CornerRadius] ] [[-BorderThickness] ] [[-BorderColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 26ba83dc9ea2bfbebc432439c634c2d06d9fb66d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4708/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRoundedStrokeGradientShader.md | 49 ++++++++++------------ 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSRoundedStrokeGradientShader.md b/docs/Set-OBSRoundedStrokeGradientShader.md index 2d331ceb9..23e412682 100644 --- a/docs/Set-OBSRoundedStrokeGradientShader.md +++ b/docs/Set-OBSRoundedStrokeGradientShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedStrokeGradientShader ---------------------------------- ### Synopsis - Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] < |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |4 |false |border_colorL| +|`[String]`|false |named |False |border_colorL| #### **BorderColorR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |border_colorR| +|`[String]`|false |named |False |border_colorR| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CenterHeight** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |7 |false |center_height| +|`[Int]`|false |named |False |center_height| #### **CenterWidth** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|------------| -|`[int]`|false |6 |false |center_width| +|`[Int]`|false |named |False |center_width| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------| -|`[int]`|false |2 |false |minimum_alpha_percent| +|`[Int]`|false |named |False |minimum_alpha_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RotationSpeed** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|--------------| -|`[int]`|false |3 |false |rotation_speed| +|`[Int]`|false |named |False |rotation_speed| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedStrokeGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c4c56ad2576b09fbf42c03a7afe0013f1e1c5dc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4709/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json b/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json index a651afcef..d60d4b519 100644 --- a/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json +++ b/docs/_data/Help/Set-OBSRoundedStrokeGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedStrokeGradientShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-RotationSpeed] ] [[-BorderColorL] ] [[-BorderColorR] ] [[-CenterWidth] ] [[-CenterHeight] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 3a7272fa0cb9ac851416962a0315c79a615f7d0e Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4710/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSRoundedStrokeShader.md | 41 +++++++++++++----------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSRoundedStrokeShader.md b/docs/Set-OBSRoundedStrokeShader.md index 60dc2a6d0..9a6b1f54c 100644 --- a/docs/Set-OBSRoundedStrokeShader.md +++ b/docs/Set-OBSRoundedStrokeShader.md @@ -2,7 +2,6 @@ Get-OBSRoundedStrokeShader -------------------------- ### Synopsis - Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[ |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |3 |false |border_color| +|`[String]`|false |named |False |border_color| #### **BorderThickness** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |border_thickness| +|`[Int]`|false |named |False |border_thickness| #### **CornerRadius** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |0 |false |corner_radius| +|`[Int]`|false |named |False |corner_radius| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **MinimumAlphaPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------------| -|`[int]`|false |2 |false |minimum_alpha_percent| +|`[Int]`|false |named |False |minimum_alpha_percent| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -98,11 +97,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSRoundedStrokeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 8e01437b838d15e02c366a54e1f9d9185b0a49fc Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4711/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSRoundedStrokeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSRoundedStrokeShader.json b/docs/_data/Help/Set-OBSRoundedStrokeShader.json index 4e3b0befb..14cc8b08a 100644 --- a/docs/_data/Help/Set-OBSRoundedStrokeShader.json +++ b/docs/_data/Help/Set-OBSRoundedStrokeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSRoundedStrokeShader [[-CornerRadius] ] [[-BorderThickness] ] [[-MinimumAlphaPercent] ] [[-BorderColor] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7685a1f9a2726af6ffd71a817745174e060d4b87 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4712/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSScanLineShader.md | 49 +++++++++++++++-------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSScanLineShader.md b/docs/Set-OBSScanLineShader.md index cb42a98d4..2dc371b5d 100644 --- a/docs/Set-OBSScanLineShader.md +++ b/docs/Set-OBSScanLineShader.md @@ -2,7 +2,6 @@ Get-OBSScanLineShader --------------------- ### Synopsis - Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Boost** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Floor** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Lengthwise** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Period** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **Shift** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSScanLineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSScanLineShader [-Lengthwise ] [-Animate ] [[-Speed] ] [[-Angle] ] [-Shift ] [-Boost ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 89425b4b3fc4bb5dacf8c925b0628bde4b96c3e7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4713/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSScanLineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSScanLineShader.json b/docs/_data/Help/Set-OBSScanLineShader.json index 0ada8f69a..d77b16a0f 100644 --- a/docs/_data/Help/Set-OBSScanLineShader.json +++ b/docs/_data/Help/Set-OBSScanLineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSScanLineShader [[-Speed] ] [[-Angle] ] [[-Floor] ] [[-Period] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 31bf9d80037ecd8547f11f0f1d4902ac9354b626 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4714/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSeascapeShader.md | 49 +++++++++++++++-------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSSeascapeShader.md b/docs/Set-OBSSeascapeShader.md index 6c70bf96d..671c6c0d6 100644 --- a/docs/Set-OBSSeascapeShader.md +++ b/docs/Set-OBSSeascapeShader.md @@ -2,7 +2,6 @@ Get-OBSSeascapeShader --------------------- ### Synopsis - Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CAMERASPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |CAMERA_SPEED| +|`[Float]`|false |named |False |CAMERA_SPEED| #### **CAMERATURNSPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |7 |false |CAMERA_TURN_SPEED| +|`[Float]`|false |named |False |CAMERA_TURN_SPEED| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **SEABASE** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[string]`|false |4 |false |SEA_BASE| +|`[String]`|false |named |False |SEA_BASE| #### **SEACHOPPY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |1 |false |SEA_CHOPPY| +|`[Float]`|false |named |False |SEA_CHOPPY| #### **SEAFREQ** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |SEA_FREQ| +|`[Float]`|false |named |False |SEA_FREQ| #### **SEAHEIGHT** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |SEA_HEIGHT| +|`[Float]`|false |named |False |SEA_HEIGHT| #### **SEASPEED** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------| -|`[float]`|false |2 |false |SEA_SPEED| +|`[Float]`|false |named |False |SEA_SPEED| #### **SEAWATERCOLOR** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |5 |false |SEA_WATER_COLOR| +|`[String]`|false |named |False |SEA_WATER_COLOR| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSeascapeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSeascapeShader [-AA ] [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 0ed0aa45321009a80d85e1b551616195e5f48893 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4715/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSeascapeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSeascapeShader.json b/docs/_data/Help/Set-OBSSeascapeShader.json index 854433ab4..cdd926b70 100644 --- a/docs/_data/Help/Set-OBSSeascapeShader.json +++ b/docs/_data/Help/Set-OBSSeascapeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSeascapeShader [[-SEAHEIGHT] ] [[-SEACHOPPY] ] [[-SEASPEED] ] [[-SEAFREQ] ] [[-SEABASE] ] [[-SEAWATERCOLOR] ] [[-CAMERASPEED] ] [[-CAMERATURNSPEED] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From a3249eba909f41487c02a82989a413c03ec780bf Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:58 +0000 Subject: [PATCH 4716/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSeasickShader.md | 41 +++++++++++++++--------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/docs/Set-OBSSeasickShader.md b/docs/Set-OBSSeasickShader.md index 60e5d3aec..09ebefc32 100644 --- a/docs/Set-OBSSeasickShader.md +++ b/docs/Set-OBSSeasickShader.md @@ -2,7 +2,6 @@ Get-OBSSeasickShader -------------------- ### Synopsis - Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,73 +15,73 @@ Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 09cc5fc675ff270c2435f6c367535d3f3f3fc332 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4717/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSeasickShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSeasickShader.json b/docs/_data/Help/Set-OBSSeasickShader.json index 74ab7991f..eef433c89 100644 --- a/docs/_data/Help/Set-OBSSeasickShader.json +++ b/docs/_data/Help/Set-OBSSeasickShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSeasickShader [[-Notes] ] [[-Amplitude] ] [[-Speed] ] [[-Frequency] ] [[-Opacity] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 721f87bcba8b87bf1c798e61b629a290212cf0bb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4718/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSelectiveColorShader.md | 53 +++++++++++++---------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Set-OBSSelectiveColorShader.md b/docs/Set-OBSSelectiveColorShader.md index cda62bba4..7dcfc66a1 100644 --- a/docs/Set-OBSSelectiveColorShader.md +++ b/docs/Set-OBSSelectiveColorShader.md @@ -2,7 +2,6 @@ Get-OBSSelectiveColorShader --------------------------- ### Synopsis - Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,109 +15,109 @@ Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-C |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------------------| -|`[float]`|false |4 |false |acceptance_Amplifier| +|`[Float]`|false |named |False |acceptance_Amplifier| #### **BackgroundType** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |6 |false |background_type| +|`[Int]`|false |named |False |background_type| #### **CutoffBlue** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |2 |false |cutoff_Blue| +|`[Float]`|false |named |False |cutoff_Blue| #### **CutoffGreen** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |1 |false |cutoff_Green| +|`[Float]`|false |named |False |cutoff_Green| #### **CutoffRed** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |0 |false |cutoff_Red| +|`[Float]`|false |named |False |cutoff_Red| #### **CutoffYellow** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |3 |false |cutoff_Yellow| +|`[Float]`|false |named |False |cutoff_Yellow| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShowBlue** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------| -|`[switch]`|false |Named |false |show_Blue| +|`[Switch]`|false |named |False |show_Blue| #### **ShowGreen** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |show_Green| +|`[Switch]`|false |named |False |show_Green| #### **ShowRed** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------| -|`[switch]`|false |Named |false |show_Red| +|`[Switch]`|false |named |False |show_Red| #### **ShowYellow** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[switch]`|false |Named |false |show_Yellow| +|`[Switch]`|false |named |False |show_Yellow| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -134,11 +133,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSelectiveColorShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [-ShowRed ] [-ShowGreen ] [-ShowBlue ] [-ShowYellow ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From c7dc19028b1b111a369113a4ac946dd77e56a482 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4719/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSelectiveColorShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSelectiveColorShader.json b/docs/_data/Help/Set-OBSSelectiveColorShader.json index 167a52600..fce5d6bdf 100644 --- a/docs/_data/Help/Set-OBSSelectiveColorShader.json +++ b/docs/_data/Help/Set-OBSSelectiveColorShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSelectiveColorShader [[-CutoffRed] ] [[-CutoffGreen] ] [[-CutoffBlue] ] [[-CutoffYellow] ] [[-AcceptanceAmplifier] ] [[-Notes] ] [[-BackgroundType] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4b9d55d556d24d26785a8f0951e9a330f3234244 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4720/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSShakeShader.md | 93 ++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 50 deletions(-) diff --git a/docs/Set-OBSShakeShader.md b/docs/Set-OBSShakeShader.md index 80d830c2e..c6932f1e5 100644 --- a/docs/Set-OBSShakeShader.md +++ b/docs/Set-OBSShakeShader.md @@ -2,7 +2,6 @@ Get-OBSShakeShader ------------------ ### Synopsis - Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,139 +15,139 @@ Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |15 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **LocalTime** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------| -|`[float]`|false |8 |false |local_time| +|`[Float]`|false |named |False |local_time| #### **MaxGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |12 |false |max_growth_pixels| +|`[Float]`|false |named |False |max_growth_pixels| #### **MinGrowthPixels** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |11 |false |min_growth_pixels| +|`[Float]`|false |named |False |min_growth_pixels| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |13 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | - -#### **RandomScale** - -|Type |Required|Position|PipelineInput|Aliases | -|---------|--------|--------|-------------|------------| -|`[float]`|false |9 |false |random_scale| +|`[Float]`|false |named |False |rand_f | #### **RandomizeMovement** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[switch]`|false |Named |false |randomize_movement| +|`[Switch]`|false |named |False |randomize_movement| + +#### **RandomScale** + +|Type |Required|Position|PipelineInput|Aliases | +|---------|--------|--------|-------------|------------| +|`[Float]`|false |named |False |random_scale| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |16 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |14 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Speed** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |10 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | #### **Worble** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -164,11 +163,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSShakeShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [-Worble ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [-RandomizeMovement ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 36f186e2c5fc5d836cc333b15abb8fbdc1c99592 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4721/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSShakeShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSShakeShader.json b/docs/_data/Help/Set-OBSShakeShader.json index 83de5fbb8..def40680c 100644 --- a/docs/_data/Help/Set-OBSShakeShader.json +++ b/docs/_data/Help/Set-OBSShakeShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSShakeShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-LocalTime] ] [[-RandomScale] ] [[-Speed] ] [[-MinGrowthPixels] ] [[-MaxGrowthPixels] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7ac7abad01da176c3d3147504659b56667dc4492 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4722/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSShineShader.md | 59 +++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Set-OBSShineShader.md b/docs/Set-OBSShineShader.md index 6a3ae88ef..43194d999 100644 --- a/docs/Set-OBSShineShader.md +++ b/docs/Set-OBSShineShader.md @@ -2,7 +2,6 @@ Get-OBSShineShader ------------------ ### Synopsis - Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,127 +15,127 @@ Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **DelayPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |4 |false |delay_percent| +|`[Int]`|false |named |False |delay_percent| #### **Ease** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |9 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GradientPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |3 |false |gradient_percent| +|`[Int]`|false |named |False |gradient_percent| #### **Hide** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LTex** |Type |Required|Position|PipelineInput|Aliases| |----------|--------|--------|-------------|-------| -|`[string]`|false |0 |false |l_tex | +|`[String]`|false |named |False |l_tex | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **OneDirection** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[switch]`|false |Named |false |One_Direction| +|`[Switch]`|false |named |False |One_Direction| #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Reverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |10 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShineColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------| -|`[string]`|false |1 |false |shine_color| +|`[String]`|false |named |False |shine_color| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |8 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |2 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **StartAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |6 |false |start_adjust| +|`[Float]`|false |named |False |start_adjust| #### **StopAdjust** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------| -|`[float]`|false |7 |false |stop_adjust| +|`[Float]`|false |named |False |stop_adjust| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -152,11 +151,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSShineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [-ApplyToAlphaLayer ] [-Ease ] [-Hide ] [-Reverse ] [-OneDirection ] [-Glitch ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4ef5607200d85ee2dbda4831e479c22591c65823 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4723/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSShineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSShineShader.json b/docs/_data/Help/Set-OBSShineShader.json index fd49a93f1..bb19782c3 100644 --- a/docs/_data/Help/Set-OBSShineShader.json +++ b/docs/_data/Help/Set-OBSShineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSShineShader [[-LTex] ] [[-ShineColor] ] [[-SpeedPercent] ] [[-GradientPercent] ] [[-DelayPercent] ] [[-Notes] ] [[-StartAdjust] ] [[-StopAdjust] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6972ca3c9a85287fe8418bfb97f612b11050da16 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4724/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSimpleGradientShader.md | 47 ++++++++++++----------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBSSimpleGradientShader.md b/docs/Set-OBSSimpleGradientShader.md index 4590c71e3..2dc4b4a37 100644 --- a/docs/Set-OBSSimpleGradientShader.md +++ b/docs/Set-OBSSimpleGradientShader.md @@ -2,7 +2,6 @@ Get-OBSSimpleGradientShader --------------------------- ### Synopsis - Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,91 +15,91 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |alpha_percentage| +|`[Int]`|false |named |False |alpha_percentage| #### **AnimateLensFlair** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------------| -|`[switch]`|false |Named |false |Animate_Lens_Flair| +|`[Switch]`|false |named |False |Animate_Lens_Flair| #### **ApplyToAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------------| -|`[switch]`|false |Named |false |Apply_To_Alpha_Layer| +|`[Switch]`|false |named |False |Apply_To_Alpha_Layer| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |2 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **LensFlair** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[switch]`|false |Named |false |Lens_Flair| +|`[Switch]`|false |named |False |Lens_Flair| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercentage** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |speed_percentage| +|`[Int]`|false |named |False |speed_percentage| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -116,11 +115,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSimpleGradientShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [-LensFlair ] [-AnimateLensFlair ] [-ApplyToAlphaLayer ] [-ApplyToSpecificColor ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2cbd8a145575d8d63065bb0d782c0690154649b5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4725/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSimpleGradientShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSimpleGradientShader.json b/docs/_data/Help/Set-OBSSimpleGradientShader.json index 7f86021bb..223095c61 100644 --- a/docs/_data/Help/Set-OBSSimpleGradientShader.json +++ b/docs/_data/Help/Set-OBSSimpleGradientShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSimpleGradientShader [[-SpeedPercentage] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 60ab22bd81bef79e55fc3ef498c996b12ea31b04 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4726/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSimplexNoiseShader.md | 49 +++++++++++++------------------ 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSSimplexNoiseShader.md b/docs/Set-OBSSimplexNoiseShader.md index 4805bb13d..399ba8482 100644 --- a/docs/Set-OBSSimplexNoiseShader.md +++ b/docs/Set-OBSSimplexNoiseShader.md @@ -2,7 +2,6 @@ Get-OBSSimplexNoiseShader ------------------------- ### Synopsis - Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |5 |false |Alpha_Percent| +|`[Float]`|false |named |False |Alpha_Percent| #### **BackColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |4 |false |Back_Color| +|`[String]`|false |named |False |Back_Color| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ForeColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------| -|`[string]`|false |3 |false |Fore_Color| +|`[String]`|false |named |False |Fore_Color| #### **Fractal** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |6 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Resolution** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SnapPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |0 |false |Snap_Percent| +|`[Float]`|false |named |False |Snap_Percent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Speed_Percent| +|`[Float]`|false |named |False |Speed_Percent| #### **UseAlphaLayer** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[switch]`|false |Named |false |Use_Alpha_Layer| +|`[Switch]`|false |named |False |Use_Alpha_Layer| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSimplexNoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [-Fractal ] [-UseAlphaLayer ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 47016b009a20f5030f9cd601c23efc942704be0f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:23:59 +0000 Subject: [PATCH 4727/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSimplexNoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSimplexNoiseShader.json b/docs/_data/Help/Set-OBSSimplexNoiseShader.json index d3aaa0216..6d0a22a7f 100644 --- a/docs/_data/Help/Set-OBSSimplexNoiseShader.json +++ b/docs/_data/Help/Set-OBSSimplexNoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSimplexNoiseShader [[-SnapPercent] ] [[-SpeedPercent] ] [[-Resolution] ] [[-ForeColor] ] [[-BackColor] ] [[-AlphaPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From d59c561d1d9713037570d7d1b3cb7373df5543d4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4728/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSmartDenoiseShader.md | 47 +++++++++++++------------------ 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/docs/Set-OBSSmartDenoiseShader.md b/docs/Set-OBSSmartDenoiseShader.md index 32bbb243e..507159a2b 100644 --- a/docs/Set-OBSSmartDenoiseShader.md +++ b/docs/Set-OBSSmartDenoiseShader.md @@ -2,7 +2,6 @@ Get-OBSSmartDenoiseShader ------------------------- ### Synopsis - Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,63 +13,63 @@ Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UKSigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | + +#### **UseShaderTime** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **USigma** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UThreshold** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | - -#### **UseShaderTime** - -|Type |Required|Position|PipelineInput| -|----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Float]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSmartDenoiseShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 5dfa87f221318fe84344f6840679c125ddc985ad Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4729/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSmartDenoiseShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSmartDenoiseShader.json b/docs/_data/Help/Set-OBSSmartDenoiseShader.json index d4bac7387..8f0aca83b 100644 --- a/docs/_data/Help/Set-OBSSmartDenoiseShader.json +++ b/docs/_data/Help/Set-OBSSmartDenoiseShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSmartDenoiseShader [[-USigma] ] [[-UKSigma] ] [[-UThreshold] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 7774f6cae5c68a4424ab45eda68b1ce3551270d7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4730/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSpecularShineShader.md | 53 +++++++++++++----------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/docs/Set-OBSSpecularShineShader.md b/docs/Set-OBSSpecularShineShader.md index 502c87cb7..c07c1e32d 100644 --- a/docs/Set-OBSSpecularShineShader.md +++ b/docs/Set-OBSSpecularShineShader.md @@ -2,7 +2,6 @@ Get-OBSSpecularShineShader -------------------------- ### Synopsis - Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,99 +13,99 @@ Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStr ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FlattenNormal** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Hint** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |0 |false | +|`[String]`|false |named |False | #### **LightColor** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------| -|`[float[]]`|false |8 |false |Light_Color| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------| +|`[System.Single[]]`|false |named |False |Light_Color| #### **LightPositionX** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **LightPositionY** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **LightStrength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Roughness** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **StretchNormalX** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **StretchNormalY** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |7 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSpecularShineShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 99c89503f869ccbcc372258bc569cb52af3f8002 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4731/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSpecularShineShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSpecularShineShader.json b/docs/_data/Help/Set-OBSSpecularShineShader.json index e31a95f7e..a63d6e628 100644 --- a/docs/_data/Help/Set-OBSSpecularShineShader.json +++ b/docs/_data/Help/Set-OBSSpecularShineShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSpecularShineShader [[-Hint] ] [[-Roughness] ] [[-LightStrength] ] [[-LightPositionX] ] [[-LightPositionY] ] [[-FlattenNormal] ] [[-StretchNormalX] ] [[-StretchNormalY] ] [[-LightColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From dd1797a477a7136390d72f1218492ac5e843d85d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4732/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSpotlightShader.md | 45 ++++++++++++++-------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSSpotlightShader.md b/docs/Set-OBSSpotlightShader.md index bcc20ecf5..a515a5876 100644 --- a/docs/Set-OBSSpotlightShader.md +++ b/docs/Set-OBSSpotlightShader.md @@ -2,7 +2,6 @@ Get-OBSSpotlightShader ---------------------- ### Synopsis - Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,87 +13,87 @@ Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-Sp ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |7 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **FocusPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |1 |false |Focus_Percent| +|`[Float]`|false |named |False |Focus_Percent| #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HorizontalOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-----------------| -|`[float]`|false |3 |false |Horizontal_Offset| +|`[Float]`|false |named |False |Horizontal_Offset| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |5 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |8 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |6 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|-------------| -|`[float]`|false |0 |false |Speed_Percent| +|`[Float]`|false |named |False |Speed_Percent| #### **SpotlightColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|---------------| -|`[string]`|false |2 |false |Spotlight_Color| +|`[String]`|false |named |False |Spotlight_Color| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VerticalOffset** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|---------------| -|`[float]`|false |4 |false |Vertical_Offset| +|`[Float]`|false |named |False |Vertical_Offset| --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSpotlightShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [-Glitch ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From d82b70cb6dfb2618c814ce9531d1022fae2e97b1 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4733/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSpotlightShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSpotlightShader.json b/docs/_data/Help/Set-OBSSpotlightShader.json index 854182a18..f43d3b11e 100644 --- a/docs/_data/Help/Set-OBSSpotlightShader.json +++ b/docs/_data/Help/Set-OBSSpotlightShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSpotlightShader [[-SpeedPercent] ] [[-FocusPercent] ] [[-SpotlightColor] ] [[-HorizontalOffset] ] [[-VerticalOffset] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 43f92a715726b7efdcc475294b740b2301f53694 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4734/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSSwirlShader.md | 45 ++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/docs/Set-OBSSwirlShader.md b/docs/Set-OBSSwirlShader.md index 6d13602f0..29211abfa 100644 --- a/docs/Set-OBSSwirlShader.md +++ b/docs/Set-OBSSwirlShader.md @@ -2,7 +2,6 @@ Get-OBSSwirlShader ------------------ ### Synopsis - Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,85 +15,85 @@ Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |2 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |3 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |6 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Inverse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |4 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |7 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |5 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -110,11 +109,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSSwirlShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [-Animate ] [-Inverse ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 608901c6fe4698729fe551ec58a9c4d113d89bab Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4735/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSSwirlShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSSwirlShader.json b/docs/_data/Help/Set-OBSSwirlShader.json index 2245a99c5..cde822f17 100644 --- a/docs/_data/Help/Set-OBSSwirlShader.json +++ b/docs/_data/Help/Set-OBSSwirlShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSSwirlShader [[-Radius] ] [[-Angle] ] [[-CenterX] ] [[-CenterY] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 215107c01057c39d7a7777b45872d8232ad4e86d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4736/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSTetraShader.md | 67 +++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/docs/Set-OBSTetraShader.md b/docs/Set-OBSTetraShader.md index 22b7e2073..0a05d4615 100644 --- a/docs/Set-OBSTetraShader.md +++ b/docs/Set-OBSTetraShader.md @@ -2,7 +2,6 @@ Get-OBSTetraShader ------------------ ### Synopsis - Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,151 +15,151 @@ Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |14 |false | +|`[Float]`|false |named |False | #### **BluG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |13 |false | +|`[Float]`|false |named |False | #### **BluR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |12 |false | +|`[Float]`|false |named |False | #### **CynB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |11 |false | +|`[Float]`|false |named |False | #### **CynG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |10 |false | +|`[Float]`|false |named |False | #### **CynR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |9 |false | +|`[Float]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |19 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **GrnB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |8 |false | +|`[Float]`|false |named |False | #### **GrnG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |7 |false | +|`[Float]`|false |named |False | #### **GrnR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **MagB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |17 |false | +|`[Float]`|false |named |False | #### **MagG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |16 |false | +|`[Float]`|false |named |False | #### **MagR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |15 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RedB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **RedG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **RedR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |20 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |18 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **YelB** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |5 |false | +|`[Float]`|false |named |False | #### **YelG** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **YelR** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | --- @@ -176,11 +175,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTetraShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9fda8d404e6d6dd1bba8eb3fdb58fad301f1bd9d Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4737/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSTetraShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSTetraShader.json b/docs/_data/Help/Set-OBSTetraShader.json index a26d27811..966d730b0 100644 --- a/docs/_data/Help/Set-OBSTetraShader.json +++ b/docs/_data/Help/Set-OBSTetraShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTetraShader [[-RedR] ] [[-RedG] ] [[-RedB] ] [[-YelR] ] [[-YelG] ] [[-YelB] ] [[-GrnR] ] [[-GrnG] ] [[-GrnB] ] [[-CynR] ] [[-CynG] ] [[-CynB] ] [[-BluR] ] [[-BluG] ] [[-BluB] ] [[-MagR] ] [[-MagG] ] [[-MagB] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 6c8f8dd4741e47654060bf241d4416ab1fd73498 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4738/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSThermalShader.md | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/docs/Set-OBSThermalShader.md b/docs/Set-OBSThermalShader.md index e4b5d9b87..69e7f9061 100644 --- a/docs/Set-OBSThermalShader.md +++ b/docs/Set-OBSThermalShader.md @@ -2,7 +2,6 @@ Get-OBSThermalShader -------------------- ### Synopsis - Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,51 +13,51 @@ Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterNam ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **Strength** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -74,11 +73,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSThermalShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 2e4bdb3e7fbbd4f24fc65495000fd784ba96c1b2 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:00 +0000 Subject: [PATCH 4739/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSThermalShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSThermalShader.json b/docs/_data/Help/Set-OBSThermalShader.json index cb5416546..422ae31ea 100644 --- a/docs/_data/Help/Set-OBSThermalShader.json +++ b/docs/_data/Help/Set-OBSThermalShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSThermalShader [[-Strength] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 15bdbdcf0b3700615da0a8fc1dee741a827a9c0b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4740/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSTvCrtSubpixelShader.md | 39 ++++++++++++------------------ 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSTvCrtSubpixelShader.md b/docs/Set-OBSTvCrtSubpixelShader.md index 89cec03cf..6e3aa0bda 100644 --- a/docs/Set-OBSTvCrtSubpixelShader.md +++ b/docs/Set-OBSTvCrtSubpixelShader.md @@ -2,7 +2,6 @@ Get-OBSTvCrtSubpixelShader -------------------------- ### Synopsis - Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-H |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |1 |false | +|`[Int]`|false |named |False | #### **ChannelWidth** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **HGap** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |2 |false | +|`[Int]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **VGap** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |3 |false | +|`[Int]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTvCrtSubpixelShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 9ab379012a5f2625e7f06fd5a3b35e8417ee959a Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4741/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSTvCrtSubpixelShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json b/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json index 0de0bf554..1f94cb996 100644 --- a/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json +++ b/docs/_data/Help/Set-OBSTvCrtSubpixelShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTvCrtSubpixelShader [[-ChannelWidth] ] [[-ChannelHeight] ] [[-HGap] ] [[-VGap] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4c846b526d5c9698b333a04ed325c99bb98fa886 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4742/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSTwistShader.md | 39 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSTwistShader.md b/docs/Set-OBSTwistShader.md index 98b175533..e10d1ef23 100644 --- a/docs/Set-OBSTwistShader.md +++ b/docs/Set-OBSTwistShader.md @@ -2,7 +2,6 @@ Get-OBSTwistShader ------------------ ### Synopsis - Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Rotation** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTwistShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f44cedeba3a2b8d5078fc2f4bf4f1cd5cf463719 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4743/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSTwistShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSTwistShader.json b/docs/_data/Help/Set-OBSTwistShader.json index a8d7fc1b4..fdbb559eb 100644 --- a/docs/_data/Help/Set-OBSTwistShader.json +++ b/docs/_data/Help/Set-OBSTwistShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTwistShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-Rotation] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 501d9f21e2bfbb9083847d635cd4b621dd35c830 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4744/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSTwoPassDropShadowShader.md | 77 ++++++++++++-------------- 1 file changed, 35 insertions(+), 42 deletions(-) diff --git a/docs/Set-OBSTwoPassDropShadowShader.md b/docs/Set-OBSTwoPassDropShadowShader.md index dda6a0034..6ba646467 100644 --- a/docs/Set-OBSTwoPassDropShadowShader.md +++ b/docs/Set-OBSTwoPassDropShadowShader.md @@ -2,7 +2,6 @@ Get-OBSTwoPassDropShadowShader ------------------------------ ### Synopsis - Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,121 +15,121 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[- |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|------------| -|`[float]`|false |2 |false |elapsed_time| +|`[Float]`|false |named |False |elapsed_time| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |13 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Image** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |1 |false | +|`[String]`|false |named |False | #### **IsAlphaPremultiplied** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------------| -|`[switch]`|false |Named |false |is_alpha_premultiplied| +|`[Switch]`|false |named |False |is_alpha_premultiplied| #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **RandF** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |6 |false |rand_f | +|`[Float]`|false |named |False |rand_f | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |14 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **ShadowBlurSize** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |10 |false |shadow_blur_size| +|`[Int]`|false |named |False |shadow_blur_size| #### **ShadowColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|------------| -|`[string]`|false |11 |false |shadow_color| +|`[String]`|false |named |False |shadow_color| #### **ShadowOffsetX** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |8 |false |shadow_offset_x| +|`[Int]`|false |named |False |shadow_offset_x| #### **ShadowOffsetY** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|---------------| -|`[int]`|false |9 |false |shadow_offset_y| +|`[Int]`|false |named |False |shadow_offset_y| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |12 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **UvOffset** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|---------| -|`[float[]]`|false |3 |false |uv_offset| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|---------| +|`[System.Single[]]`|false |named |False |uv_offset| #### **UvPixelInterval** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|-----------------| -|`[float[]]`|false |5 |false |uv_pixel_interval| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|-----------------| +|`[System.Single[]]`|false |named |False |uv_pixel_interval| #### **UvScale** -|Type |Required|Position|PipelineInput|Aliases | -|-----------|--------|--------|-------------|--------| -|`[float[]]`|false |4 |false |uv_scale| +|Type |Required|Position|PipelineInput|Aliases | +|-------------------|--------|--------|-------------|--------| +|`[System.Single[]]`|false |named |False |uv_scale| #### **UvSize** -|Type |Required|Position|PipelineInput|Aliases| -|-----------|--------|--------|-------------|-------| -|`[float[]]`|false |7 |false |uv_size| +|Type |Required|Position|PipelineInput|Aliases| +|-------------------|--------|--------|-------------|-------| +|`[System.Single[]]`|false |named |False |uv_size| #### **ViewProj** -|Type |Required|Position|PipelineInput| -|-------------|--------|--------|-------------| -|`[float[][]]`|false |0 |false | +|Type |Required|Position|PipelineInput| +|---------------------|--------|--------|-------------| +|`[System.Single[][]]`|false |named |False | --- @@ -146,11 +145,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [-IsAlphaPremultiplied ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From deaaf7277815d74faaeed664f253e34a2c90f7e8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4745/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSTwoPassDropShadowShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json b/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json index 2461bde27..d0ea47a01 100644 --- a/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json +++ b/docs/_data/Help/Set-OBSTwoPassDropShadowShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSTwoPassDropShadowShader [[-ViewProj] ] [[-Image] ] [[-ElapsedTime] ] [[-UvOffset] ] [[-UvScale] ] [[-UvPixelInterval] ] [[-RandF] ] [[-UvSize] ] [[-ShadowOffsetX] ] [[-ShadowOffsetY] ] [[-ShadowBlurSize] ] [[-ShadowColor] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e23ad3211dffa535bd1539f06a982ba326f25f3c Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4746/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSVCRShader.md | 43 +++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSVCRShader.md b/docs/Set-OBSVCRShader.md index 4298e6956..9a417b3e6 100644 --- a/docs/Set-OBSVCRShader.md +++ b/docs/Set-OBSVCRShader.md @@ -2,7 +2,6 @@ Get-OBSVCRShader ---------------- ### Synopsis - Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 15ed90ef78575321e3341457b2d10a296f201929 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4747/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSVCRShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSVCRShader.json b/docs/_data/Help/Set-OBSVCRShader.json index 8d5c91699..7649be26d 100644 --- a/docs/_data/Help/Set-OBSVCRShader.json +++ b/docs/_data/Help/Set-OBSVCRShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVCRShader [[-VerticalShift] ] [[-Distort] ] [[-Vignet] ] [[-Stripe] ] [[-VerticalFactor] ] [[-VerticalHeight] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From e51c855575ca9abf08d65a28bc1395429dd6d152 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4748/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSVHSShader.md | 59 ++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 33 deletions(-) diff --git a/docs/Set-OBSVHSShader.md b/docs/Set-OBSVHSShader.md index 3cde48cc4..752c8d25c 100644 --- a/docs/Set-OBSVHSShader.md +++ b/docs/Set-OBSVHSShader.md @@ -2,7 +2,6 @@ Get-OBSVHSShader ---------------- ### Synopsis - Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,103 +15,103 @@ Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|----------------| -|`[float]`|false |5 |false |Alpha_Percentage| +|`[Float]`|false |named |False |Alpha_Percentage| #### **ApplyToImage** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|--------------| -|`[switch]`|false |Named |false |Apply_To_Image| +|`[Switch]`|false |named |False |Apply_To_Image| #### **ApplyToSpecificColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-----------------------| -|`[switch]`|false |Named |false |Apply_To_Specific_Color| +|`[Switch]`|false |named |False |Apply_To_Specific_Color| #### **ColorOffsetIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |4 |false | +|`[Float]`|false |named |False | #### **ColorToReplace** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|----------------| -|`[string]`|false |6 |false |Color_To_Replace| +|`[String]`|false |named |False |Color_To_Replace| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |8 |true (ByPropertyName)| - -#### **Force** - |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[String]`|false |named |False | -#### **NoResponse** +#### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoiseIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **NoiseQuality** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | + +#### **NoResponse** + +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[Switch]`|false |named |False | #### **OffsetIntensity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Range** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ReplaceImageColor** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------------| -|`[switch]`|false |Named |false |Replace_Image_Color| +|`[Switch]`|false |named |False |Replace_Image_Color| #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |9 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |7 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -128,11 +127,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVHSShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [-ApplyToImage ] [-ReplaceImageColor ] [[-ColorToReplace] ] [-ApplyToSpecificColor ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4759d6bf39c64f12b864cd2188c0c8c46fc87985 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4749/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSVHSShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSVHSShader.json b/docs/_data/Help/Set-OBSVHSShader.json index 6e4960fd1..4527a7869 100644 --- a/docs/_data/Help/Set-OBSVHSShader.json +++ b/docs/_data/Help/Set-OBSVHSShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVHSShader [[-Range] ] [[-OffsetIntensity] ] [[-NoiseQuality] ] [[-NoiseIntensity] ] [[-ColorOffsetIntensity] ] [[-AlphaPercentage] ] [[-ColorToReplace] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 433834f6319d14813655e4e101e9df60ed586c50 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4750/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSVignettingShader.md | 39 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSVignettingShader.md b/docs/Set-OBSVignettingShader.md index 516313fb4..b8d467837 100644 --- a/docs/Set-OBSVignettingShader.md +++ b/docs/Set-OBSVignettingShader.md @@ -2,7 +2,6 @@ Get-OBSVignettingShader ----------------------- ### Synopsis - Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -14,69 +13,69 @@ Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opa ### Parameters #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **InnerRadius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **Opacity** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **OuterRadius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVignettingShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From f0893390ec162a392d05f0373f7e9da6c8f9948f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:01 +0000 Subject: [PATCH 4751/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSVignettingShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSVignettingShader.json b/docs/_data/Help/Set-OBSVignettingShader.json index 61647c987..3ee3ee0f8 100644 --- a/docs/_data/Help/Set-OBSVignettingShader.json +++ b/docs/_data/Help/Set-OBSVignettingShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVignettingShader [[-InnerRadius] ] [[-OuterRadius] ] [[-Opacity] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 319cd9831b6eb9597b3ceb79cf9416eff6b919f7 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4752/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSVoronoiPixelationShader.md | 35 +++++++++++--------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/Set-OBSVoronoiPixelationShader.md b/docs/Set-OBSVoronoiPixelationShader.md index 579397818..dcfc495cd 100644 --- a/docs/Set-OBSVoronoiPixelationShader.md +++ b/docs/Set-OBSVoronoiPixelationShader.md @@ -2,7 +2,6 @@ Get-OBSVoronoiPixelationShader ------------------------------ ### Synopsis - Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,55 +15,55 @@ Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-Fil |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |2 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PixH** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |3 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |1 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -80,11 +79,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSVoronoiPixelationShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSVoronoiPixelationShader [[-PixH] ] [-Alternative ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From ce43314b972984cb03bfe570303a8e84fc2d45b0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4753/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSVoronoiPixelationShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSVoronoiPixelationShader.json b/docs/_data/Help/Set-OBSVoronoiPixelationShader.json index 27678a463..adb637d96 100644 --- a/docs/_data/Help/Set-OBSVoronoiPixelationShader.json +++ b/docs/_data/Help/Set-OBSVoronoiPixelationShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSVoronoiPixelationShader [[-PixH] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 71d458df8bd9e79a47a5e7a36b76c0b3ab7bae60 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4754/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSZigZagShader.md | 49 ++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/Set-OBSZigZagShader.md b/docs/Set-OBSZigZagShader.md index 5172f3a4b..236ef9fe4 100644 --- a/docs/Set-OBSZigZagShader.md +++ b/docs/Set-OBSZigZagShader.md @@ -2,7 +2,6 @@ Get-OBSZigZagShader ------------------- ### Synopsis - Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,97 +15,97 @@ Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [ |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |3 |false | +|`[Float]`|false |named |False | #### **Angle** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **Animate** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |7 |false | +|`[Int]`|false |named |False | #### **CenterX** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |4 |false |center_x| +|`[Float]`|false |named |False |center_x| #### **CenterY** |Type |Required|Position|PipelineInput|Aliases | |---------|--------|--------|-------------|--------| -|`[float]`|false |5 |false |center_y| +|`[Float]`|false |named |False |center_y| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |10 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |8 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Period** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **Phase** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |6 |false | +|`[Float]`|false |named |False | #### **Radius** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |0 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |11 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |9 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -122,11 +121,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZigZagShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From fa192ba9be54e3a53e696257a5687708f3f09938 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4755/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSZigZagShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSZigZagShader.json b/docs/_data/Help/Set-OBSZigZagShader.json index 3d2b657a9..877d9a7dd 100644 --- a/docs/_data/Help/Set-OBSZigZagShader.json +++ b/docs/_data/Help/Set-OBSZigZagShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZigZagShader [[-Radius] ] [[-Angle] ] [[-Period] ] [[-Amplitude] ] [[-CenterX] ] [[-CenterY] ] [[-Phase] ] [[-Animate] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2ae58e7fa918ef385a91a977352a435d1800a988 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4756/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSZoomBlurShader.md | 43 +++++++++++++++-------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/docs/Set-OBSZoomBlurShader.md b/docs/Set-OBSZoomBlurShader.md index ae72bb140..5a397192f 100644 --- a/docs/Set-OBSZoomBlurShader.md +++ b/docs/Set-OBSZoomBlurShader.md @@ -2,7 +2,6 @@ Get-OBSZoomBlurShader --------------------- ### Synopsis - Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,79 +15,79 @@ Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Glitch** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Magnitude** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |1 |false | +|`[Float]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Notes** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[string]`|false |3 |false | +|`[String]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Samples** |Type |Required|Position|PipelineInput| |-------|--------|--------|-------------| -|`[int]`|false |0 |false | +|`[Int]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **SpeedPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|-------------| -|`[int]`|false |2 |false |speed_percent| +|`[Int]`|false |named |False |speed_percent| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -104,11 +103,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomBlurShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [-Ease ] [-Glitch ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 4cbece652ccc3c0644fb6202d2a0eed63502b7eb Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4757/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSZoomBlurShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSZoomBlurShader.json b/docs/_data/Help/Set-OBSZoomBlurShader.json index aee04c70d..5e3327904 100644 --- a/docs/_data/Help/Set-OBSZoomBlurShader.json +++ b/docs/_data/Help/Set-OBSZoomBlurShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomBlurShader [[-Samples] ] [[-Magnitude] ] [[-SpeedPercent] ] [[-Notes] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 4c20358bed6aed0ef8524fefdf161f61b9d9f9d0 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4758/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSZoomShader.md | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/docs/Set-OBSZoomShader.md b/docs/Set-OBSZoomShader.md index efb3ec830..5124926cb 100644 --- a/docs/Set-OBSZoomShader.md +++ b/docs/Set-OBSZoomShader.md @@ -2,7 +2,6 @@ Get-OBSZoomShader ----------------- ### Synopsis - Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,61 +15,61 @@ Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |4 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **Power** |Type |Required|Position|PipelineInput| |---------|--------|--------|-------------| -|`[float]`|false |2 |false | +|`[Float]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |5 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |3 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | --- @@ -86,11 +85,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 111d170e9652882b09cd92261bcf6e67392721b4 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4759/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSZoomShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSZoomShader.json b/docs/_data/Help/Set-OBSZoomShader.json index 8cf5230c1..471ef8b0d 100644 --- a/docs/_data/Help/Set-OBSZoomShader.json +++ b/docs/_data/Help/Set-OBSZoomShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-Power] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 2de98cb3e353e00c9c09b312370e17e4eb86e8dd Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4760/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/Set-OBSZoomXYShader.md | 39 +++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/Set-OBSZoomXYShader.md b/docs/Set-OBSZoomXYShader.md index 371860238..0983ab4c2 100644 --- a/docs/Set-OBSZoomXYShader.md +++ b/docs/Set-OBSZoomXYShader.md @@ -2,7 +2,6 @@ Get-OBSZoomXYShader ------------------- ### Synopsis - Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [] --- @@ -16,67 +15,67 @@ Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPowe |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |0 |false |center_x_percent| +|`[Int]`|false |named |False |center_x_percent| #### **CenterYPercent** |Type |Required|Position|PipelineInput|Aliases | |-------|--------|--------|-------------|----------------| -|`[int]`|false |1 |false |center_y_percent| +|`[Int]`|false |named |False |center_y_percent| #### **FilterName** -|Type |Required|Position|PipelineInput | -|----------|--------|--------|---------------------| -|`[string]`|false |5 |true (ByPropertyName)| +|Type |Required|Position|PipelineInput| +|----------|--------|--------|-------------| +|`[String]`|false |named |False | #### **Force** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **NoResponse** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **PassThru** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **ShaderText** |Type |Required|Position|PipelineInput|Aliases | |----------|--------|--------|-------------|-------------| -|`[string]`|false |6 |false |ShaderContent| +|`[String]`|false |named |False |ShaderContent| #### **SourceName** -|Type |Required|Position|PipelineInput |Aliases | -|----------|--------|--------|---------------------|-------------| -|`[string]`|false |4 |true (ByPropertyName)|SceneItemName| +|Type |Required|Position|PipelineInput|Aliases | +|----------|--------|--------|-------------|-------------| +|`[String]`|false |named |False |SceneItemName| #### **UseShaderTime** |Type |Required|Position|PipelineInput| |----------|--------|--------|-------------| -|`[switch]`|false |Named |false | +|`[Switch]`|false |named |False | #### **XPower** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |2 |false |x_power| +|`[Float]`|false |named |False |x_power| #### **YPower** |Type |Required|Position|PipelineInput|Aliases| |---------|--------|--------|-------------|-------| -|`[float]`|false |3 |false |y_power| +|`[Float]`|false |named |False |y_power| --- @@ -92,11 +91,5 @@ System.String ### Syntax ```PowerShell -syntaxItem -``` -```PowerShell ----------- -``` -```PowerShell -{@{name=Get-OBSZoomXYShader; CommonParameters=True; parameter=System.Object[]}} +Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force ] [-PassThru ] [-NoResponse ] [-UseShaderTime ] [] ``` From 3b62ed388e3cc7aa0ef3a245a75f167d169f4331 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:02 +0000 Subject: [PATCH 4761/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- docs/_data/Help/Set-OBSZoomXYShader.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_data/Help/Set-OBSZoomXYShader.json b/docs/_data/Help/Set-OBSZoomXYShader.json index cde841cc0..7bc63723c 100644 --- a/docs/_data/Help/Set-OBSZoomXYShader.json +++ b/docs/_data/Help/Set-OBSZoomXYShader.json @@ -1,5 +1,5 @@ { - "Synopsis": "\nGet-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []\n", + "Synopsis": "Get-OBSZoomXYShader [[-CenterXPercent] ] [[-CenterYPercent] ] [[-XPower] ] [[-YPower] ] [[-SourceName] ] [[-FilterName] ] [[-ShaderText] ] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] []", "Description": "", "Parameters": [ { @@ -23,7 +23,7 @@ null ], "Inputs": [ - "System.String\n" + "System.String" ], "Outputs": [ "System.Object" From 790d85777709ee6cb6f6c3cb15c168ddd2e31d7b Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:24:40 +0000 Subject: [PATCH 4762/4768] fix: Improving obs-powershell startup time ( Fixes #214 ) --- obs-powershell-Help.xml | 8928 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 8505 insertions(+), 423 deletions(-) diff --git a/obs-powershell-Help.xml b/obs-powershell-Help.xml index 070de7014..491a4549b 100644 --- a/obs-powershell-Help.xml +++ b/obs-powershell-Help.xml @@ -1443,9 +1443,7 @@ This can increase performance, and also silently ignore critical errorsOBS3dSwapTransitionShader Get - -Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-Reflection] <float>] [[-Perspective] <float>] [[-Depth] <float>] [[-BackgroundColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-Reflection] <float>] [[-Perspective] <float>] [[-Depth] <float>] [[-BackgroundColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -1457,6 +1455,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ImageA + + String @@ -1469,6 +1469,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ImageB + + String @@ -1481,6 +1483,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g TransitionTime + + Float @@ -1493,6 +1497,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ConvertLinear + + Switch @@ -1505,6 +1511,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Reflection + + Float @@ -1517,6 +1525,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Perspective + + Float @@ -1529,6 +1539,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Depth + + Float @@ -1541,6 +1553,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g BackgroundColor + + String @@ -1553,6 +1567,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g SourceName + + String @@ -1565,6 +1581,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g FilterName + + String @@ -1577,6 +1595,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ShaderText + + String @@ -1589,6 +1609,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Force + + Switch @@ -1601,6 +1623,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g PassThru + + Switch @@ -1613,6 +1637,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g NoResponse + + Switch @@ -1625,6 +1651,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g UseShaderTime + + Switch @@ -1640,6 +1668,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g BackgroundColor + + String @@ -1652,6 +1682,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ConvertLinear + + Switch @@ -1664,6 +1696,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Depth + + Float @@ -1676,6 +1710,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g FilterName + + String @@ -1688,6 +1724,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Force + + Switch @@ -1700,6 +1738,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ImageA + + String @@ -1712,6 +1752,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ImageB + + String @@ -1724,6 +1766,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g NoResponse + + Switch @@ -1736,6 +1780,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g PassThru + + Switch @@ -1748,6 +1794,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Perspective + + Float @@ -1760,6 +1808,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g Reflection + + Float @@ -1772,6 +1822,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g ShaderText + + String @@ -1784,6 +1836,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g SourceName + + String @@ -1796,6 +1850,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g TransitionTime + + Float @@ -1808,6 +1864,8 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g UseShaderTime + + Switch @@ -1843,9 +1901,7 @@ Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string&g OBSAddShader Get - -Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -1857,6 +1913,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ OtherImage + + String @@ -1869,6 +1927,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ SourceName + + String @@ -1881,6 +1941,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ FilterName + + String @@ -1893,6 +1955,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ ShaderText + + String @@ -1905,6 +1969,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ Force + + Switch @@ -1917,6 +1983,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ PassThru + + Switch @@ -1929,6 +1997,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ NoResponse + + Switch @@ -1941,6 +2011,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ UseShaderTime + + Switch @@ -1956,6 +2028,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ FilterName + + String @@ -1968,6 +2042,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ Force + + Switch @@ -1980,6 +2056,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ NoResponse + + Switch @@ -1992,6 +2070,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ OtherImage + + String @@ -2004,6 +2084,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ PassThru + + Switch @@ -2016,6 +2098,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ ShaderText + + String @@ -2028,6 +2112,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ SourceName + + String @@ -2040,6 +2126,8 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ UseShaderTime + + Switch @@ -2075,9 +2163,7 @@ Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [ OBSAlphaBorderShader Get - -Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] <int>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] <int>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -2089,6 +2175,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < BorderColor + + String @@ -2101,6 +2189,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < BorderThickness + + Int @@ -2113,6 +2203,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < AlphaCutOff + + Float @@ -2125,6 +2217,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < SourceName + + String @@ -2137,6 +2231,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < FilterName + + String @@ -2149,6 +2245,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < ShaderText + + String @@ -2161,6 +2259,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < Force + + Switch @@ -2173,6 +2273,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < PassThru + + Switch @@ -2185,6 +2287,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < NoResponse + + Switch @@ -2197,6 +2301,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < UseShaderTime + + Switch @@ -2212,6 +2318,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < AlphaCutOff + + Float @@ -2224,6 +2332,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < BorderColor + + String @@ -2236,6 +2346,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < BorderThickness + + Int @@ -2248,6 +2360,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < FilterName + + String @@ -2260,6 +2374,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < Force + + Switch @@ -2272,6 +2388,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < NoResponse + + Switch @@ -2284,6 +2402,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < PassThru + + Switch @@ -2296,6 +2416,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < ShaderText + + String @@ -2308,6 +2430,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < SourceName + + String @@ -2320,6 +2444,8 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < UseShaderTime + + Switch @@ -2355,9 +2481,7 @@ Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] < OBSAlphaGamingBentCameraShader Get - -Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -2369,6 +2493,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftSideWidth + + Float @@ -2381,6 +2507,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftSideSize + + Float @@ -2393,6 +2521,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftSideShadow + + Float @@ -2405,6 +2535,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftFlipWidth + + Float @@ -2417,6 +2549,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftFlipShadow + + Float @@ -2429,6 +2563,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightSideWidth + + Float @@ -2441,6 +2577,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightSideSize + + Float @@ -2453,6 +2591,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightSideShadow + + Float @@ -2465,6 +2605,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightFlipWidth + + Float @@ -2477,6 +2619,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightFlipShadow + + Float @@ -2489,6 +2633,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS SourceName + + String @@ -2501,6 +2647,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS FilterName + + String @@ -2513,6 +2661,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS ShaderText + + String @@ -2525,6 +2675,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS Force + + Switch @@ -2537,6 +2689,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS PassThru + + Switch @@ -2549,6 +2703,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS NoResponse + + Switch @@ -2561,6 +2717,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS UseShaderTime + + Switch @@ -2576,6 +2734,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS FilterName + + String @@ -2588,6 +2748,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS Force + + Switch @@ -2600,6 +2762,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftFlipShadow + + Float @@ -2612,6 +2776,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftFlipWidth + + Float @@ -2624,6 +2790,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftSideShadow + + Float @@ -2636,6 +2804,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftSideSize + + Float @@ -2648,6 +2818,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS LeftSideWidth + + Float @@ -2660,6 +2832,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS NoResponse + + Switch @@ -2672,6 +2846,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS PassThru + + Switch @@ -2684,6 +2860,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightFlipShadow + + Float @@ -2696,6 +2874,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightFlipWidth + + Float @@ -2708,6 +2888,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightSideShadow + + Float @@ -2720,6 +2902,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightSideSize + + Float @@ -2732,6 +2916,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS RightSideWidth + + Float @@ -2744,6 +2930,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS ShaderText + + String @@ -2756,6 +2944,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS SourceName + + String @@ -2768,6 +2958,8 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS UseShaderTime + + Switch @@ -2803,9 +2995,7 @@ Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideS OBSAnimatedPathShader Get - -Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-SpeedPercent] <int>] [[-PathMap] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-SpeedPercent] <int>] [[-PathMap] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -2817,6 +3007,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g ViewProj + + System.Single[][] @@ -2829,6 +3021,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g Image + + String @@ -2841,6 +3035,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g ElapsedTime + + Float @@ -2853,6 +3049,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvOffset + + System.Single[] @@ -2865,6 +3063,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvScale + + System.Single[] @@ -2877,6 +3077,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvPixelInterval + + System.Single[] @@ -2889,6 +3091,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g RandF + + Float @@ -2901,6 +3105,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g SpeedPercent + + Int @@ -2913,6 +3119,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g PathMap + + String @@ -2925,6 +3133,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g Reverse + + Switch @@ -2937,6 +3147,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g SourceName + + String @@ -2949,6 +3161,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g FilterName + + String @@ -2961,6 +3175,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g ShaderText + + String @@ -2973,6 +3189,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g Force + + Switch @@ -2985,6 +3203,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g PassThru + + Switch @@ -2997,6 +3217,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g NoResponse + + Switch @@ -3009,6 +3231,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UseShaderTime + + Switch @@ -3024,6 +3248,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g ElapsedTime + + Float @@ -3036,6 +3262,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g FilterName + + String @@ -3048,6 +3276,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g Force + + Switch @@ -3060,6 +3290,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g Image + + String @@ -3072,6 +3304,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g NoResponse + + Switch @@ -3084,6 +3318,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g PassThru + + Switch @@ -3096,6 +3332,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g PathMap + + String @@ -3108,6 +3346,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g RandF + + Float @@ -3120,6 +3360,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g Reverse + + Switch @@ -3132,6 +3374,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g ShaderText + + String @@ -3144,6 +3388,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g SourceName + + String @@ -3156,6 +3402,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g SpeedPercent + + Int @@ -3168,6 +3416,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UseShaderTime + + Switch @@ -3180,6 +3430,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvOffset + + System.Single[] @@ -3192,6 +3444,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvPixelInterval + + System.Single[] @@ -3204,6 +3458,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvScale + + System.Single[] @@ -3216,6 +3472,8 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g ViewProj + + System.Single[][] @@ -3251,9 +3509,7 @@ Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string&g OBSAnimatedTextureShader Get - -Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-AnimationImage] <string>] [[-ColorizationImage] <string>] [[-PolarAngle] <float>] [[-PolarHeight] <float>] [[-SpeedHorizontalPercent] <float>] [[-SpeedVerticalPercent] <float>] [[-TintSpeedHorizontalPercent] <float>] [[-TintSpeedVerticalPercent] <float>] [[-Alpha] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-AnimationImage] <string>] [[-ColorizationImage] <string>] [[-PolarAngle] <float>] [[-PolarHeight] <float>] [[-SpeedHorizontalPercent] <float>] [[-SpeedVerticalPercent] <float>] [[-TintSpeedHorizontalPercent] <float>] [[-TintSpeedVerticalPercent] <float>] [[-Alpha] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -3265,6 +3521,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ViewProj + + System.Single[][] @@ -3277,6 +3535,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Image + + String @@ -3289,6 +3549,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ElapsedTime + + Float @@ -3301,6 +3563,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvOffset + + System.Single[] @@ -3313,6 +3577,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvScale + + System.Single[] @@ -3325,6 +3591,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvPixelInterval + + System.Single[] @@ -3337,6 +3605,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin RandF + + Float @@ -3349,6 +3619,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvSize + + System.Single[] @@ -3361,6 +3633,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Notes + + String @@ -3373,6 +3647,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin AnimationImage + + String @@ -3385,6 +3661,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ColorizationImage + + String @@ -3397,6 +3675,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Reverse + + Switch @@ -3409,6 +3689,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Bounce + + Switch @@ -3421,6 +3703,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin CenterAnimation + + Switch @@ -3433,6 +3717,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PolarAnimation + + Switch @@ -3445,6 +3731,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PolarAngle + + Float @@ -3457,6 +3745,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PolarHeight + + Float @@ -3469,6 +3759,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin SpeedHorizontalPercent + + Float @@ -3481,6 +3773,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin SpeedVerticalPercent + + Float @@ -3493,6 +3787,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin TintSpeedHorizontalPercent + + Float @@ -3505,6 +3801,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin TintSpeedVerticalPercent + + Float @@ -3517,6 +3815,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Alpha + + Float @@ -3529,6 +3829,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UseAnimationImageColor + + Switch @@ -3541,6 +3843,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin SourceName + + String @@ -3553,6 +3857,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin FilterName + + String @@ -3565,6 +3871,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ShaderText + + String @@ -3577,6 +3885,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Force + + Switch @@ -3589,6 +3899,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PassThru + + Switch @@ -3601,6 +3913,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin NoResponse + + Switch @@ -3613,6 +3927,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UseShaderTime + + Switch @@ -3628,6 +3944,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Alpha + + Float @@ -3640,6 +3958,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin AnimationImage + + String @@ -3652,6 +3972,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Bounce + + Switch @@ -3664,6 +3986,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin CenterAnimation + + Switch @@ -3676,6 +4000,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ColorizationImage + + String @@ -3688,6 +4014,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ElapsedTime + + Float @@ -3700,6 +4028,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin FilterName + + String @@ -3712,6 +4042,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Force + + Switch @@ -3724,6 +4056,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Image + + String @@ -3736,6 +4070,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin NoResponse + + Switch @@ -3748,6 +4084,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Notes + + String @@ -3760,6 +4098,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PassThru + + Switch @@ -3772,6 +4112,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PolarAngle + + Float @@ -3784,6 +4126,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PolarAnimation + + Switch @@ -3796,6 +4140,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin PolarHeight + + Float @@ -3808,6 +4154,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin RandF + + Float @@ -3820,6 +4168,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin Reverse + + Switch @@ -3832,6 +4182,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ShaderText + + String @@ -3844,6 +4196,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin SourceName + + String @@ -3856,6 +4210,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin SpeedHorizontalPercent + + Float @@ -3868,6 +4224,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin SpeedVerticalPercent + + Float @@ -3880,6 +4238,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin TintSpeedHorizontalPercent + + Float @@ -3892,6 +4252,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin TintSpeedVerticalPercent + + Float @@ -3904,6 +4266,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UseAnimationImageColor + + Switch @@ -3916,6 +4280,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UseShaderTime + + Switch @@ -3928,6 +4294,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvOffset + + System.Single[] @@ -3940,6 +4308,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvPixelInterval + + System.Single[] @@ -3952,6 +4322,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvScale + + System.Single[] @@ -3964,6 +4336,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin UvSize + + System.Single[] @@ -3976,6 +4350,8 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin ViewProj + + System.Single[][] @@ -4011,9 +4387,7 @@ Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <strin OBSAsciiShader Get - -Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-CharacterSet] <int>] [[-Note] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-CharacterSet] <int>] [[-Note] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -4025,6 +4399,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Scale + + Int @@ -4037,6 +4413,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara BaseColor + + String @@ -4049,6 +4427,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Monochrome + + Switch @@ -4061,6 +4441,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara CharacterSet + + Int @@ -4073,6 +4455,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Note + + String @@ -4085,6 +4469,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara SourceName + + String @@ -4097,6 +4483,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara FilterName + + String @@ -4109,6 +4497,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara ShaderText + + String @@ -4121,6 +4511,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Force + + Switch @@ -4133,6 +4525,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara PassThru + + Switch @@ -4145,6 +4539,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara NoResponse + + Switch @@ -4157,6 +4553,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara UseShaderTime + + Switch @@ -4172,6 +4570,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara BaseColor + + String @@ -4184,6 +4584,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara CharacterSet + + Int @@ -4196,6 +4598,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara FilterName + + String @@ -4208,6 +4612,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Force + + Switch @@ -4220,6 +4626,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Monochrome + + Switch @@ -4232,6 +4640,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara NoResponse + + Switch @@ -4244,6 +4654,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Note + + String @@ -4256,6 +4668,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara PassThru + + Switch @@ -4268,6 +4682,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara Scale + + Int @@ -4280,6 +4696,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara ShaderText + + String @@ -4292,6 +4710,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara SourceName + + String @@ -4304,6 +4724,8 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara UseShaderTime + + Switch @@ -4339,9 +4761,7 @@ Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-Chara OBSAspectRatioShader Get - -Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -4353,6 +4773,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> ViewProj + + System.Single[][] @@ -4365,6 +4787,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> Image + + String @@ -4377,6 +4801,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> ElapsedTime + + Float @@ -4389,6 +4815,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvOffset + + System.Single[] @@ -4401,6 +4829,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvScale + + System.Single[] @@ -4413,6 +4843,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvPixelInterval + + System.Single[] @@ -4425,6 +4857,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> RandF + + Float @@ -4437,6 +4871,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvSize + + System.Single[] @@ -4449,6 +4885,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> BorderColor + + String @@ -4461,6 +4899,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> Notes + + String @@ -4473,6 +4913,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> SourceName + + String @@ -4485,6 +4927,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> FilterName + + String @@ -4497,6 +4941,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> ShaderText + + String @@ -4509,6 +4955,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> Force + + Switch @@ -4521,6 +4969,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> PassThru + + Switch @@ -4533,6 +4983,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> NoResponse + + Switch @@ -4545,6 +4997,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UseShaderTime + + Switch @@ -4560,6 +5014,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> BorderColor + + String @@ -4572,6 +5028,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> ElapsedTime + + Float @@ -4584,6 +5042,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> FilterName + + String @@ -4596,6 +5056,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> Force + + Switch @@ -4608,6 +5070,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> Image + + String @@ -4620,6 +5084,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> NoResponse + + Switch @@ -4632,6 +5098,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> Notes + + String @@ -4644,6 +5112,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> PassThru + + Switch @@ -4656,6 +5126,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> RandF + + Float @@ -4668,6 +5140,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> ShaderText + + String @@ -4680,6 +5154,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> SourceName + + String @@ -4692,6 +5168,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UseShaderTime + + Switch @@ -4704,6 +5182,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvOffset + + System.Single[] @@ -4716,6 +5196,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvPixelInterval + + System.Single[] @@ -4728,6 +5210,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvScale + + System.Single[] @@ -4740,6 +5224,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> UvSize + + System.Single[] @@ -4752,6 +5238,8 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> ViewProj + + System.Single[][] @@ -4787,9 +5275,7 @@ Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string> OBSBackgroundRemovalShader Get - -Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-Target] <string>] [[-Color] <string>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-Target] <string>] [[-Color] <string>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -4801,6 +5287,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str ViewProj + + System.Single[][] @@ -4813,6 +5301,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Image + + String @@ -4825,6 +5315,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str ElapsedTime + + Float @@ -4837,6 +5329,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvOffset + + System.Single[] @@ -4849,6 +5343,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvScale + + System.Single[] @@ -4861,6 +5357,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvPixelInterval + + System.Single[] @@ -4873,6 +5371,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str RandF + + Float @@ -4885,6 +5385,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvSize + + System.Single[] @@ -4897,6 +5399,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Notes + + String @@ -4909,6 +5413,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Target + + String @@ -4921,6 +5427,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Color + + String @@ -4933,6 +5441,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Opacity + + Float @@ -4945,6 +5455,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Invert + + Switch @@ -4957,6 +5469,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Convert709to601 + + Switch @@ -4969,6 +5483,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Convert601to709 + + Switch @@ -4981,6 +5497,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str SourceName + + String @@ -4993,6 +5511,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str FilterName + + String @@ -5005,6 +5525,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str ShaderText + + String @@ -5017,6 +5539,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Force + + Switch @@ -5029,6 +5553,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str PassThru + + Switch @@ -5041,6 +5567,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str NoResponse + + Switch @@ -5053,6 +5581,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UseShaderTime + + Switch @@ -5068,6 +5598,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Color + + String @@ -5080,6 +5612,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Convert601to709 + + Switch @@ -5092,6 +5626,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Convert709to601 + + Switch @@ -5104,6 +5640,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str ElapsedTime + + Float @@ -5116,6 +5654,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str FilterName + + String @@ -5128,6 +5668,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Force + + Switch @@ -5140,6 +5682,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Image + + String @@ -5152,6 +5696,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Invert + + Switch @@ -5164,6 +5710,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str NoResponse + + Switch @@ -5176,6 +5724,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Notes + + String @@ -5188,6 +5738,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Opacity + + Float @@ -5200,6 +5752,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str PassThru + + Switch @@ -5212,6 +5766,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str RandF + + Float @@ -5224,6 +5780,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str ShaderText + + String @@ -5236,6 +5794,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str SourceName + + String @@ -5248,6 +5808,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str Target + + String @@ -5260,6 +5822,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UseShaderTime + + Switch @@ -5272,6 +5836,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvOffset + + System.Single[] @@ -5284,6 +5850,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvPixelInterval + + System.Single[] @@ -5296,6 +5864,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvScale + + System.Single[] @@ -5308,6 +5878,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str UvSize + + System.Single[] @@ -5320,6 +5892,8 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str ViewProj + + System.Single[][] @@ -5355,9 +5929,7 @@ Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <str OBSBlendOpacityShader Get - -Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPercent] <float>] [[-OpacityEndPercent] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPercent] <float>] [[-OpacityEndPercent] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -5369,6 +5941,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Vertical + + Switch @@ -5381,6 +5955,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Rotational + + Switch @@ -5393,6 +5969,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce RotationOffset + + Float @@ -5405,6 +5983,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce OpacityStartPercent + + Float @@ -5417,6 +5997,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce OpacityEndPercent + + Float @@ -5429,6 +6011,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Spread + + Float @@ -5441,6 +6025,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Speed + + Float @@ -5453,6 +6039,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce ApplyToAlphaLayer + + Switch @@ -5465,6 +6053,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Notes + + String @@ -5477,6 +6067,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce SourceName + + String @@ -5489,6 +6081,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce FilterName + + String @@ -5501,6 +6095,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce ShaderText + + String @@ -5513,6 +6109,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Force + + Switch @@ -5525,6 +6123,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce PassThru + + Switch @@ -5537,6 +6137,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce NoResponse + + Switch @@ -5549,6 +6151,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce UseShaderTime + + Switch @@ -5564,6 +6168,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce ApplyToAlphaLayer + + Switch @@ -5576,6 +6182,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce FilterName + + String @@ -5588,6 +6196,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Force + + Switch @@ -5600,6 +6210,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce NoResponse + + Switch @@ -5612,6 +6224,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Notes + + String @@ -5624,6 +6238,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce OpacityEndPercent + + Float @@ -5636,6 +6252,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce OpacityStartPercent + + Float @@ -5648,6 +6266,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce PassThru + + Switch @@ -5660,6 +6280,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Rotational + + Switch @@ -5672,6 +6294,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce RotationOffset + + Float @@ -5684,6 +6308,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce ShaderText + + String @@ -5696,6 +6322,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce SourceName + + String @@ -5708,6 +6336,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Speed + + Float @@ -5720,6 +6350,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Spread + + Float @@ -5732,6 +6364,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce UseShaderTime + + Switch @@ -5744,6 +6378,8 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce Vertical + + Switch @@ -5779,9 +6415,7 @@ Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPerce OBSBlinkShader Get - -Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -5793,6 +6427,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi Speed + + Float @@ -5805,6 +6441,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi SourceName + + String @@ -5817,6 +6455,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi FilterName + + String @@ -5829,6 +6469,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi ShaderText + + String @@ -5841,6 +6483,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi Force + + Switch @@ -5853,6 +6497,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi PassThru + + Switch @@ -5865,6 +6511,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi NoResponse + + Switch @@ -5877,6 +6525,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi UseShaderTime + + Switch @@ -5892,6 +6542,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi FilterName + + String @@ -5904,6 +6556,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi Force + + Switch @@ -5916,6 +6570,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi NoResponse + + Switch @@ -5928,6 +6584,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi PassThru + + Switch @@ -5940,6 +6598,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi ShaderText + + String @@ -5952,6 +6612,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi SourceName + + String @@ -5964,6 +6626,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi Speed + + Float @@ -5976,6 +6640,8 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi UseShaderTime + + Switch @@ -6011,9 +6677,7 @@ Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-Fi OBSBloomShader Get - -Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -6025,6 +6689,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A AngleSteps + + Int @@ -6037,6 +6703,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A RadiusSteps + + Int @@ -6049,6 +6717,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A AmpFactor + + Float @@ -6061,6 +6731,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A Notes + + String @@ -6073,6 +6745,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A SourceName + + String @@ -6085,6 +6759,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A FilterName + + String @@ -6097,6 +6773,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A ShaderText + + String @@ -6109,6 +6787,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A Force + + Switch @@ -6121,6 +6801,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A PassThru + + Switch @@ -6133,6 +6815,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A NoResponse + + Switch @@ -6145,6 +6829,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A UseShaderTime + + Switch @@ -6160,6 +6846,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A AmpFactor + + Float @@ -6172,6 +6860,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A AngleSteps + + Int @@ -6184,6 +6874,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A FilterName + + String @@ -6196,6 +6888,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A Force + + Switch @@ -6208,6 +6902,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A NoResponse + + Switch @@ -6220,6 +6916,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A Notes + + String @@ -6232,6 +6930,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A PassThru + + Switch @@ -6244,6 +6944,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A RadiusSteps + + Int @@ -6256,6 +6958,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A ShaderText + + String @@ -6268,6 +6972,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A SourceName + + String @@ -6280,6 +6986,8 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A UseShaderTime + + Switch @@ -6315,9 +7023,7 @@ Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-A OBSBorderShader Get - -Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -6329,6 +7035,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> BorderColor + + String @@ -6341,6 +7049,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> SourceName + + String @@ -6353,6 +7063,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> FilterName + + String @@ -6365,6 +7077,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> ShaderText + + String @@ -6377,6 +7091,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> Force + + Switch @@ -6389,6 +7105,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> PassThru + + Switch @@ -6401,6 +7119,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> NoResponse + + Switch @@ -6413,6 +7133,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> UseShaderTime + + Switch @@ -6428,6 +7150,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> BorderColor + + String @@ -6440,6 +7164,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> FilterName + + String @@ -6452,6 +7178,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> Force + + Switch @@ -6464,6 +7192,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> NoResponse + + Switch @@ -6476,6 +7206,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> PassThru + + Switch @@ -6488,6 +7220,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> ShaderText + + String @@ -6500,6 +7234,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> SourceName + + String @@ -6512,6 +7248,8 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> UseShaderTime + + Switch @@ -6547,9 +7285,7 @@ Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string> OBSBoxBlurShader Get - -Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -6561,6 +7297,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma Strength + + Int @@ -6573,6 +7311,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskLeft + + Float @@ -6585,6 +7325,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskRight + + Float @@ -6597,6 +7339,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskTop + + Float @@ -6609,6 +7353,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskBottom + + Float @@ -6621,6 +7367,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma SourceName + + String @@ -6633,6 +7381,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma FilterName + + String @@ -6645,6 +7395,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma ShaderText + + String @@ -6657,6 +7409,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma Force + + Switch @@ -6669,6 +7423,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma PassThru + + Switch @@ -6681,6 +7437,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma NoResponse + + Switch @@ -6693,6 +7451,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma UseShaderTime + + Switch @@ -6708,6 +7468,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma FilterName + + String @@ -6720,6 +7482,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma Force + + Switch @@ -6732,6 +7496,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskBottom + + Float @@ -6744,6 +7510,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskLeft + + Float @@ -6756,6 +7524,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskRight + + Float @@ -6768,6 +7538,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma MaskTop + + Float @@ -6780,6 +7552,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma NoResponse + + Switch @@ -6792,6 +7566,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma PassThru + + Switch @@ -6804,6 +7580,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma ShaderText + + String @@ -6816,6 +7594,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma SourceName + + String @@ -6828,6 +7608,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma Strength + + Int @@ -6840,6 +7622,8 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma UseShaderTime + + Switch @@ -6875,9 +7659,7 @@ Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-Ma OBSBulgePinchShader Get - -Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -6889,6 +7671,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Radius + + Float @@ -6901,6 +7685,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Magnitude + + Float @@ -6913,6 +7699,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ CenterX + + Float @@ -6925,6 +7713,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ CenterY + + Float @@ -6937,6 +7727,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Animate + + Switch @@ -6949,6 +7741,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Notes + + String @@ -6961,6 +7755,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ SourceName + + String @@ -6973,6 +7769,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ FilterName + + String @@ -6985,6 +7783,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ ShaderText + + String @@ -6997,6 +7797,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Force + + Switch @@ -7009,6 +7811,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ PassThru + + Switch @@ -7021,6 +7825,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ NoResponse + + Switch @@ -7033,6 +7839,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ UseShaderTime + + Switch @@ -7048,6 +7856,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Animate + + Switch @@ -7060,6 +7870,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ CenterX + + Float @@ -7072,6 +7884,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ CenterY + + Float @@ -7084,6 +7898,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ FilterName + + String @@ -7096,6 +7912,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Force + + Switch @@ -7108,6 +7926,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Magnitude + + Float @@ -7120,6 +7940,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ NoResponse + + Switch @@ -7132,6 +7954,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Notes + + String @@ -7144,6 +7968,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ PassThru + + Switch @@ -7156,6 +7982,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ Radius + + Float @@ -7168,6 +7996,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ ShaderText + + String @@ -7180,6 +8010,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ SourceName + + String @@ -7192,6 +8024,8 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ UseShaderTime + + Switch @@ -7227,9 +8061,7 @@ Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [ OBSBurnShader Get - -Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-GradientAdjust] <float>] [[-DissolveValue] <float>] [[-SmokeHorizonalSpeed] <float>] [[-SmokeVerticalSpeed] <float>] [[-Iterations] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-GradientAdjust] <float>] [[-DissolveValue] <float>] [[-SmokeHorizonalSpeed] <float>] [[-SmokeVerticalSpeed] <float>] [[-Iterations] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -7241,6 +8073,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G BurnGradient + + String @@ -7253,6 +8087,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Speed + + Float @@ -7265,6 +8101,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G GradientAdjust + + Float @@ -7277,6 +8115,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G DissolveValue + + Float @@ -7289,6 +8129,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Animated + + Switch @@ -7301,6 +8143,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G ApplyToChannel + + Switch @@ -7313,6 +8157,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G ApplySmoke + + Switch @@ -7325,6 +8171,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G SmokeHorizonalSpeed + + Float @@ -7337,6 +8185,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G SmokeVerticalSpeed + + Float @@ -7349,6 +8199,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Iterations + + Int @@ -7361,6 +8213,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Notes + + String @@ -7373,6 +8227,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G SourceName + + String @@ -7385,6 +8241,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G FilterName + + String @@ -7397,6 +8255,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G ShaderText + + String @@ -7409,6 +8269,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Force + + Switch @@ -7421,6 +8283,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G PassThru + + Switch @@ -7433,6 +8297,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G NoResponse + + Switch @@ -7445,6 +8311,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G UseShaderTime + + Switch @@ -7460,6 +8328,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Animated + + Switch @@ -7472,6 +8342,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G ApplySmoke + + Switch @@ -7484,6 +8356,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G ApplyToChannel + + Switch @@ -7496,6 +8370,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G BurnGradient + + String @@ -7508,6 +8384,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G DissolveValue + + Float @@ -7520,6 +8398,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G FilterName + + String @@ -7532,6 +8412,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Force + + Switch @@ -7544,6 +8426,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G GradientAdjust + + Float @@ -7556,6 +8440,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Iterations + + Int @@ -7568,6 +8454,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G NoResponse + + Switch @@ -7580,6 +8468,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Notes + + String @@ -7592,6 +8482,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G PassThru + + Switch @@ -7604,6 +8496,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G ShaderText + + String @@ -7616,6 +8510,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G SmokeHorizonalSpeed + + Float @@ -7628,6 +8524,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G SmokeVerticalSpeed + + Float @@ -7640,6 +8538,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G SourceName + + String @@ -7652,6 +8552,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G Speed + + Float @@ -7664,6 +8566,8 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G UseShaderTime + + Switch @@ -7699,9 +8603,7 @@ Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-G OBSCartoonShader Get - -Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-HueSteps] <int>] [[-ValueSteps] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-HueSteps] <int>] [[-ValueSteps] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -7713,6 +8615,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ViewProj + + System.Single[][] @@ -7725,6 +8629,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Image + + String @@ -7737,6 +8643,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ElapsedTime + + Float @@ -7749,6 +8657,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvOffset + + System.Single[] @@ -7761,6 +8671,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvScale + + System.Single[] @@ -7773,6 +8685,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvPixelInterval + + System.Single[] @@ -7785,6 +8699,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RandF + + Float @@ -7797,6 +8713,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvSize + + System.Single[] @@ -7809,6 +8727,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Notes + + String @@ -7821,6 +8741,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ HueSteps + + Int @@ -7833,6 +8755,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ValueSteps + + Int @@ -7845,6 +8769,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ApplyToAlphaLayer + + Switch @@ -7857,6 +8783,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ SourceName + + String @@ -7869,6 +8797,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ FilterName + + String @@ -7881,6 +8811,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ShaderText + + String @@ -7893,6 +8825,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Force + + Switch @@ -7905,6 +8839,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ PassThru + + Switch @@ -7917,6 +8853,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ NoResponse + + Switch @@ -7929,6 +8867,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UseShaderTime + + Switch @@ -7944,6 +8884,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ApplyToAlphaLayer + + Switch @@ -7956,6 +8898,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ElapsedTime + + Float @@ -7968,6 +8912,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ FilterName + + String @@ -7980,6 +8926,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Force + + Switch @@ -7992,6 +8940,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ HueSteps + + Int @@ -8004,6 +8954,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Image + + String @@ -8016,6 +8968,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ NoResponse + + Switch @@ -8028,6 +8982,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Notes + + String @@ -8040,6 +8996,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ PassThru + + Switch @@ -8052,6 +9010,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RandF + + Float @@ -8064,6 +9024,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ShaderText + + String @@ -8076,6 +9038,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ SourceName + + String @@ -8088,6 +9052,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UseShaderTime + + Switch @@ -8100,6 +9066,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvOffset + + System.Single[] @@ -8112,6 +9080,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvPixelInterval + + System.Single[] @@ -8124,6 +9094,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvScale + + System.Single[] @@ -8136,6 +9108,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvSize + + System.Single[] @@ -8148,6 +9122,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ValueSteps + + Int @@ -8160,6 +9136,8 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ViewProj + + System.Single[][] @@ -8195,9 +9173,7 @@ Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ OBSCellShadedShader Get - -Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -8209,6 +9185,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] AngleSteps + + Int @@ -8221,6 +9199,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] RadiusSteps + + Int @@ -8233,6 +9213,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] AmpFactor + + Float @@ -8245,6 +9227,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] Notes + + String @@ -8257,6 +9241,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] SourceName + + String @@ -8269,6 +9255,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] FilterName + + String @@ -8281,6 +9269,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] ShaderText + + String @@ -8293,6 +9283,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] Force + + Switch @@ -8305,6 +9297,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] PassThru + + Switch @@ -8317,6 +9311,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] NoResponse + + Switch @@ -8329,6 +9325,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] UseShaderTime + + Switch @@ -8344,6 +9342,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] AmpFactor + + Float @@ -8356,6 +9356,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] AngleSteps + + Int @@ -8368,6 +9370,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] FilterName + + String @@ -8380,6 +9384,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] Force + + Switch @@ -8392,6 +9398,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] NoResponse + + Switch @@ -8404,6 +9412,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] Notes + + String @@ -8416,6 +9426,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] PassThru + + Switch @@ -8428,6 +9440,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] RadiusSteps + + Int @@ -8440,6 +9454,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] ShaderText + + String @@ -8452,6 +9468,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] SourceName + + String @@ -8464,6 +9482,8 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] UseShaderTime + + Switch @@ -8499,9 +9519,7 @@ Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] OBSChromaticAberrationShader Get - -Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float>] [[-NumIter] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float>] [[-NumIter] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -8513,6 +9531,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> Power + + Float @@ -8525,6 +9545,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> Gamma + + Float @@ -8537,6 +9559,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> NumIter + + Int @@ -8549,6 +9573,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> DistortRadial + + Switch @@ -8561,6 +9587,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> DistortBarrel + + Switch @@ -8573,6 +9601,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> OffsetSpectrumYcgco + + Switch @@ -8585,6 +9615,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> OffsetSpectrumYuv + + Switch @@ -8597,6 +9629,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> UseRandom + + Switch @@ -8609,6 +9643,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> SourceName + + String @@ -8621,6 +9657,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> FilterName + + String @@ -8633,6 +9671,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> ShaderText + + String @@ -8645,6 +9685,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> Force + + Switch @@ -8657,6 +9699,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> PassThru + + Switch @@ -8669,6 +9713,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> NoResponse + + Switch @@ -8681,6 +9727,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> UseShaderTime + + Switch @@ -8696,6 +9744,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> DistortBarrel + + Switch @@ -8708,6 +9758,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> DistortRadial + + Switch @@ -8720,6 +9772,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> FilterName + + String @@ -8732,6 +9786,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> Force + + Switch @@ -8744,6 +9800,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> Gamma + + Float @@ -8756,6 +9814,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> NoResponse + + Switch @@ -8768,6 +9828,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> NumIter + + Int @@ -8780,6 +9842,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> OffsetSpectrumYcgco + + Switch @@ -8792,6 +9856,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> OffsetSpectrumYuv + + Switch @@ -8804,6 +9870,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> PassThru + + Switch @@ -8816,6 +9884,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> Power + + Float @@ -8828,6 +9898,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> ShaderText + + String @@ -8840,6 +9912,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> SourceName + + String @@ -8852,6 +9926,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> UseRandom + + Switch @@ -8864,6 +9940,8 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> UseShaderTime + + Switch @@ -8899,9 +9977,7 @@ Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float> OBSChromaUVDistortionShader Get - -Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] <float>] [[-Chroma] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] <float>] [[-Chroma] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -8913,6 +9989,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Distortion + + Float @@ -8925,6 +10003,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Amplitude + + Float @@ -8937,6 +10017,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Chroma + + Float @@ -8949,6 +10031,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < SourceName + + String @@ -8961,6 +10045,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < FilterName + + String @@ -8973,6 +10059,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < ShaderText + + String @@ -8985,6 +10073,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Force + + Switch @@ -8997,6 +10087,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < PassThru + + Switch @@ -9009,6 +10101,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < NoResponse + + Switch @@ -9021,6 +10115,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < UseShaderTime + + Switch @@ -9036,6 +10132,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Amplitude + + Float @@ -9048,6 +10146,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Chroma + + Float @@ -9060,6 +10160,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Distortion + + Float @@ -9072,6 +10174,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < FilterName + + String @@ -9084,6 +10188,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < Force + + Switch @@ -9096,6 +10202,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < NoResponse + + Switch @@ -9108,6 +10216,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < PassThru + + Switch @@ -9120,6 +10230,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < ShaderText + + String @@ -9132,6 +10244,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < SourceName + + String @@ -9144,6 +10258,8 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < UseShaderTime + + Switch @@ -9179,9 +10295,7 @@ Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] < OBSCircleMaskFilterShader Get - -Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <int>] [[-CircleOffsetY] <int>] [[-SourceOffsetX] <int>] [[-SourceOffsetY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <int>] [[-CircleOffsetY] <int>] [[-SourceOffsetX] <int>] [[-SourceOffsetY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -9193,6 +10307,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in Radius + + Float @@ -9205,6 +10321,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in CircleOffsetX + + Int @@ -9217,6 +10335,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in CircleOffsetY + + Int @@ -9229,6 +10349,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in SourceOffsetX + + Int @@ -9241,6 +10363,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in SourceOffsetY + + Int @@ -9253,6 +10377,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in Antialiasing + + Switch @@ -9265,6 +10391,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in SourceName + + String @@ -9277,6 +10405,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in FilterName + + String @@ -9289,6 +10419,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in ShaderText + + String @@ -9301,6 +10433,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in Force + + Switch @@ -9313,6 +10447,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in PassThru + + Switch @@ -9325,6 +10461,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in NoResponse + + Switch @@ -9337,6 +10475,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in UseShaderTime + + Switch @@ -9352,6 +10492,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in Antialiasing + + Switch @@ -9364,6 +10506,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in CircleOffsetX + + Int @@ -9376,6 +10520,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in CircleOffsetY + + Int @@ -9388,6 +10534,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in FilterName + + String @@ -9400,6 +10548,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in Force + + Switch @@ -9412,6 +10562,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in NoResponse + + Switch @@ -9424,6 +10576,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in PassThru + + Switch @@ -9436,6 +10590,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in Radius + + Float @@ -9448,6 +10604,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in ShaderText + + String @@ -9460,6 +10618,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in SourceName + + String @@ -9472,6 +10632,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in SourceOffsetX + + Int @@ -9484,6 +10646,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in SourceOffsetY + + Int @@ -9496,6 +10660,8 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in UseShaderTime + + Switch @@ -9531,9 +10697,7 @@ Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <in OBSClockAnalogShader Get - -Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-HourHandleColor] <float[]>] [[-MinuteHandleColor] <float[]>] [[-SecondHandleColor] <float[]>] [[-OutlineColor] <float[]>] [[-TopLineColor] <float[]>] [[-BackgroundColor] <float[]>] [[-TimeOffsetHours] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-HourHandleColor] <float[]>] [[-MinuteHandleColor] <float[]>] [[-SecondHandleColor] <float[]>] [[-OutlineColor] <float[]>] [[-TopLineColor] <float[]>] [[-BackgroundColor] <float[]>] [[-TimeOffsetHours] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -9545,6 +10709,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeMs + + Int @@ -9557,6 +10723,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeSec + + Int @@ -9569,6 +10737,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeMin + + Int @@ -9581,6 +10751,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeHour + + Int @@ -9593,6 +10765,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i HourHandleColor + + System.Single[] @@ -9605,6 +10779,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i MinuteHandleColor + + System.Single[] @@ -9617,6 +10793,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i SecondHandleColor + + System.Single[] @@ -9629,6 +10807,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i OutlineColor + + System.Single[] @@ -9641,6 +10821,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i TopLineColor + + System.Single[] @@ -9653,6 +10835,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i BackgroundColor + + System.Single[] @@ -9665,6 +10849,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i TimeOffsetHours + + Int @@ -9677,6 +10863,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i SourceName + + String @@ -9689,6 +10877,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i FilterName + + String @@ -9701,6 +10891,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i ShaderText + + String @@ -9713,6 +10905,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i Force + + Switch @@ -9725,6 +10919,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i PassThru + + Switch @@ -9737,6 +10933,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i NoResponse + + Switch @@ -9749,6 +10947,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i UseShaderTime + + Switch @@ -9764,6 +10964,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i BackgroundColor + + System.Single[] @@ -9776,6 +10978,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeHour + + Int @@ -9788,6 +10992,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeMin + + Int @@ -9800,6 +11006,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeMs + + Int @@ -9812,6 +11020,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i CurrentTimeSec + + Int @@ -9824,6 +11034,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i FilterName + + String @@ -9836,6 +11048,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i Force + + Switch @@ -9848,6 +11062,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i HourHandleColor + + System.Single[] @@ -9860,6 +11076,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i MinuteHandleColor + + System.Single[] @@ -9872,6 +11090,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i NoResponse + + Switch @@ -9884,6 +11104,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i OutlineColor + + System.Single[] @@ -9896,6 +11118,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i PassThru + + Switch @@ -9908,6 +11132,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i SecondHandleColor + + System.Single[] @@ -9920,6 +11146,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i ShaderText + + String @@ -9932,6 +11160,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i SourceName + + String @@ -9944,6 +11174,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i TimeOffsetHours + + Int @@ -9956,6 +11188,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i TopLineColor + + System.Single[] @@ -9968,6 +11202,8 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i UseShaderTime + + Switch @@ -10003,9 +11239,7 @@ Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <i OBSClockDigitalLedShader Get - -Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-LedColor] <string>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-LedColor] <string>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -10017,6 +11251,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] CurrentTimeSec + + Int @@ -10029,6 +11265,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] CurrentTimeMin + + Int @@ -10041,6 +11279,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] CurrentTimeHour + + Int @@ -10053,6 +11293,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] TimeMode + + Int @@ -10065,6 +11307,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] ShowMatrix + + Switch @@ -10077,6 +11321,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] ShowOff + + Switch @@ -10089,6 +11335,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] Ampm + + Switch @@ -10101,6 +11349,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] LedColor + + String @@ -10113,6 +11363,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] OffsetHours + + Int @@ -10125,6 +11377,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] OffsetSeconds + + Int @@ -10137,6 +11391,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] SourceName + + String @@ -10149,6 +11405,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] FilterName + + String @@ -10161,6 +11419,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] ShaderText + + String @@ -10173,6 +11433,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] Force + + Switch @@ -10185,6 +11447,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] PassThru + + Switch @@ -10197,6 +11461,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] NoResponse + + Switch @@ -10209,6 +11475,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] UseShaderTime + + Switch @@ -10224,6 +11492,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] Ampm + + Switch @@ -10236,6 +11506,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] CurrentTimeHour + + Int @@ -10248,6 +11520,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] CurrentTimeMin + + Int @@ -10260,6 +11534,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] CurrentTimeSec + + Int @@ -10272,6 +11548,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] FilterName + + String @@ -10284,6 +11562,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] Force + + Switch @@ -10296,6 +11576,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] LedColor + + String @@ -10308,6 +11590,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] NoResponse + + Switch @@ -10320,6 +11604,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] OffsetHours + + Int @@ -10332,6 +11618,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] OffsetSeconds + + Int @@ -10344,6 +11632,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] PassThru + + Switch @@ -10356,6 +11646,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] ShaderText + + String @@ -10368,6 +11660,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] ShowMatrix + + Switch @@ -10380,6 +11674,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] ShowOff + + Switch @@ -10392,6 +11688,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] SourceName + + String @@ -10404,6 +11702,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] TimeMode + + Int @@ -10416,6 +11716,8 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] UseShaderTime + + Switch @@ -10451,9 +11753,7 @@ Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] OBSClockDigitalNixieShader Get - -Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-Corecolor] <float[]>] [[-Halocolor] <float[]>] [[-Flarecolor] <float[]>] [[-Anodecolor] <float[]>] [[-Anodehighlightscolor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-Corecolor] <float[]>] [[-Halocolor] <float[]>] [[-Flarecolor] <float[]>] [[-Anodecolor] <float[]>] [[-Anodehighlightscolor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -10465,6 +11765,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeMs + + Int @@ -10477,6 +11779,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeSec + + Int @@ -10489,6 +11793,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeMin + + Int @@ -10501,6 +11807,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeHour + + Int @@ -10513,6 +11821,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] TimeMode + + Int @@ -10525,6 +11835,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] OffsetHours + + Int @@ -10537,6 +11849,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] OffsetSeconds + + Int @@ -10549,6 +11863,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Corecolor + + System.Single[] @@ -10561,6 +11877,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Halocolor + + System.Single[] @@ -10573,6 +11891,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Flarecolor + + System.Single[] @@ -10585,6 +11905,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Anodecolor + + System.Single[] @@ -10597,6 +11919,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Anodehighlightscolor + + System.Single[] @@ -10609,6 +11933,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] SourceName + + String @@ -10621,6 +11947,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] FilterName + + String @@ -10633,6 +11961,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] ShaderText + + String @@ -10645,6 +11975,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Force + + Switch @@ -10657,6 +11989,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] PassThru + + Switch @@ -10669,6 +12003,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] NoResponse + + Switch @@ -10681,6 +12017,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] UseShaderTime + + Switch @@ -10696,6 +12034,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Anodecolor + + System.Single[] @@ -10708,6 +12048,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Anodehighlightscolor + + System.Single[] @@ -10720,6 +12062,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Corecolor + + System.Single[] @@ -10732,6 +12076,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeHour + + Int @@ -10744,6 +12090,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeMin + + Int @@ -10756,6 +12104,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeMs + + Int @@ -10768,6 +12118,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] CurrentTimeSec + + Int @@ -10780,6 +12132,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] FilterName + + String @@ -10792,6 +12146,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Flarecolor + + System.Single[] @@ -10804,6 +12160,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Force + + Switch @@ -10816,6 +12174,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] Halocolor + + System.Single[] @@ -10828,6 +12188,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] NoResponse + + Switch @@ -10840,6 +12202,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] OffsetHours + + Int @@ -10852,6 +12216,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] OffsetSeconds + + Int @@ -10864,6 +12230,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] PassThru + + Switch @@ -10876,6 +12244,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] ShaderText + + String @@ -10888,6 +12258,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] SourceName + + String @@ -10900,6 +12272,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] TimeMode + + Int @@ -10912,6 +12286,8 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] UseShaderTime + + Switch @@ -10947,9 +12323,7 @@ Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] OBSColorDepthShader Get - -Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -10961,6 +12335,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> ColorDepth + + Float @@ -10973,6 +12349,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> PixelSize + + Float @@ -10985,6 +12363,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> SourceName + + String @@ -10997,6 +12377,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> FilterName + + String @@ -11009,6 +12391,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> ShaderText + + String @@ -11021,6 +12405,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> Force + + Switch @@ -11033,6 +12419,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> PassThru + + Switch @@ -11045,6 +12433,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> NoResponse + + Switch @@ -11057,6 +12447,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> UseShaderTime + + Switch @@ -11072,6 +12464,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> ColorDepth + + Float @@ -11084,6 +12478,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> FilterName + + String @@ -11096,6 +12492,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> Force + + Switch @@ -11108,6 +12506,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> NoResponse + + Switch @@ -11120,6 +12520,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> PassThru + + Switch @@ -11132,6 +12534,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> PixelSize + + Float @@ -11144,6 +12548,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> ShaderText + + String @@ -11156,6 +12562,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> SourceName + + String @@ -11168,6 +12576,8 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> UseShaderTime + + Switch @@ -11203,9 +12613,7 @@ Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float> OBSColorGradeFilterShader Get - -Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] [[-LutAmountPercent] <int>] [[-LutScalePercent] <int>] [[-LutOffsetPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] [[-LutAmountPercent] <int>] [[-LutScalePercent] <int>] [[-LutOffsetPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -11217,6 +12625,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] Notes + + String @@ -11229,6 +12639,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] Lut + + String @@ -11241,6 +12653,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] LutAmountPercent + + Int @@ -11253,6 +12667,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] LutScalePercent + + Int @@ -11265,6 +12681,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] LutOffsetPercent + + Int @@ -11277,6 +12695,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] SourceName + + String @@ -11289,6 +12709,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] FilterName + + String @@ -11301,6 +12723,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] ShaderText + + String @@ -11313,6 +12737,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] Force + + Switch @@ -11325,6 +12751,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] PassThru + + Switch @@ -11337,6 +12765,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] NoResponse + + Switch @@ -11349,6 +12779,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] UseShaderTime + + Switch @@ -11364,6 +12796,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] FilterName + + String @@ -11376,6 +12810,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] Force + + Switch @@ -11388,6 +12824,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] Lut + + String @@ -11400,6 +12838,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] LutAmountPercent + + Int @@ -11412,6 +12852,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] LutOffsetPercent + + Int @@ -11424,6 +12866,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] LutScalePercent + + Int @@ -11436,6 +12880,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] NoResponse + + Switch @@ -11448,6 +12894,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] Notes + + String @@ -11460,6 +12908,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] PassThru + + Switch @@ -11472,6 +12922,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] ShaderText + + String @@ -11484,6 +12936,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] SourceName + + String @@ -11496,6 +12950,8 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] UseShaderTime + + Switch @@ -11531,9 +12987,7 @@ Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] OBSCornerPinShader Get - -Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [[-TopRightX] <float>] [[-TopRightY] <float>] [[-BottomLeftX] <float>] [[-BottomLeftY] <float>] [[-BottomRightX] <float>] [[-BottomRightY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [[-TopRightX] <float>] [[-TopRightY] <float>] [[-BottomLeftX] <float>] [[-BottomLeftY] <float>] [[-BottomRightX] <float>] [[-BottomRightY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -11545,6 +12999,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ AntialiasEdges + + Switch @@ -11557,6 +13013,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopLeftX + + Float @@ -11569,6 +13027,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopLeftY + + Float @@ -11581,6 +13041,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopRightX + + Float @@ -11593,6 +13055,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopRightY + + Float @@ -11605,6 +13069,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomLeftX + + Float @@ -11617,6 +13083,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomLeftY + + Float @@ -11629,6 +13097,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomRightX + + Float @@ -11641,6 +13111,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomRightY + + Float @@ -11653,6 +13125,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ SourceName + + String @@ -11665,6 +13139,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ FilterName + + String @@ -11677,6 +13153,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ ShaderText + + String @@ -11689,6 +13167,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ Force + + Switch @@ -11701,6 +13181,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ PassThru + + Switch @@ -11713,6 +13195,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ NoResponse + + Switch @@ -11725,6 +13209,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ UseShaderTime + + Switch @@ -11740,6 +13226,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ AntialiasEdges + + Switch @@ -11752,6 +13240,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomLeftX + + Float @@ -11764,6 +13254,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomLeftY + + Float @@ -11776,6 +13268,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomRightX + + Float @@ -11788,6 +13282,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ BottomRightY + + Float @@ -11800,6 +13296,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ FilterName + + String @@ -11812,6 +13310,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ Force + + Switch @@ -11824,6 +13324,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ NoResponse + + Switch @@ -11836,6 +13338,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ PassThru + + Switch @@ -11848,6 +13352,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ ShaderText + + String @@ -11860,6 +13366,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ SourceName + + String @@ -11872,6 +13380,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopLeftX + + Float @@ -11884,6 +13394,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopLeftY + + Float @@ -11896,6 +13408,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopRightX + + Float @@ -11908,6 +13422,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ TopRightY + + Float @@ -11920,6 +13436,8 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ UseShaderTime + + Switch @@ -11955,9 +13473,7 @@ Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [ OBSCrtCurvatureShader Get - -Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] [[-Feathering] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] [[-Feathering] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -11969,6 +13485,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Strength + + Float @@ -11981,6 +13499,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Border + + String @@ -11993,6 +13513,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Feathering + + Float @@ -12005,6 +13527,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] SourceName + + String @@ -12017,6 +13541,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] FilterName + + String @@ -12029,6 +13555,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] ShaderText + + String @@ -12041,6 +13569,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Force + + Switch @@ -12053,6 +13583,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] PassThru + + Switch @@ -12065,6 +13597,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] NoResponse + + Switch @@ -12077,6 +13611,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] UseShaderTime + + Switch @@ -12092,6 +13628,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Border + + String @@ -12104,6 +13642,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Feathering + + Float @@ -12116,6 +13656,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] FilterName + + String @@ -12128,6 +13670,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Force + + Switch @@ -12140,6 +13684,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] NoResponse + + Switch @@ -12152,6 +13698,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] PassThru + + Switch @@ -12164,6 +13712,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] ShaderText + + String @@ -12176,6 +13726,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] SourceName + + String @@ -12188,6 +13740,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] Strength + + Float @@ -12200,6 +13754,8 @@ Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] UseShaderTime + + Switch @@ -12615,9 +14171,7 @@ This can increase performance, and also silently ignore critical errorsOBSCurveShader Get - -Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-CurveColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-CurveColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -12629,6 +14183,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve Strength + + Float @@ -12641,6 +14197,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve Scale + + Float @@ -12653,6 +14211,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve CurveColor + + String @@ -12665,6 +14225,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve SourceName + + String @@ -12677,6 +14239,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve FilterName + + String @@ -12689,6 +14253,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve ShaderText + + String @@ -12701,6 +14267,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve Force + + Switch @@ -12713,6 +14281,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve PassThru + + Switch @@ -12725,6 +14295,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve NoResponse + + Switch @@ -12737,6 +14309,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve UseShaderTime + + Switch @@ -12752,6 +14326,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve CurveColor + + String @@ -12764,6 +14340,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve FilterName + + String @@ -12776,6 +14354,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve Force + + Switch @@ -12788,6 +14368,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve NoResponse + + Switch @@ -12800,6 +14382,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve PassThru + + Switch @@ -12812,6 +14396,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve Scale + + Float @@ -12824,6 +14410,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve ShaderText + + String @@ -12836,6 +14424,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve SourceName + + String @@ -12848,6 +14438,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve Strength + + Float @@ -12860,6 +14452,8 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve UseShaderTime + + Switch @@ -12895,9 +14489,7 @@ Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-Curve OBSCutRectPerCornerShader Get - -Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int>] [[-CornerBr] <int>] [[-CornerBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int>] [[-CornerBr] <int>] [[-CornerBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -12909,6 +14501,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerTl + + Int @@ -12921,6 +14515,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerTr + + Int @@ -12933,6 +14529,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerBr + + Int @@ -12945,6 +14543,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerBl + + Int @@ -12957,6 +14557,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderThickness + + Int @@ -12969,6 +14571,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderColor + + String @@ -12981,6 +14585,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderAlphaStart + + Float @@ -12993,6 +14599,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderAlphaEnd + + Float @@ -13005,6 +14613,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> AlphaCutOff + + Float @@ -13017,6 +14627,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> SourceName + + String @@ -13029,6 +14641,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> FilterName + + String @@ -13041,6 +14655,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> ShaderText + + String @@ -13053,6 +14669,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> Force + + Switch @@ -13065,6 +14683,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> PassThru + + Switch @@ -13077,6 +14697,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> NoResponse + + Switch @@ -13089,6 +14711,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> UseShaderTime + + Switch @@ -13104,6 +14728,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> AlphaCutOff + + Float @@ -13116,6 +14742,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderAlphaEnd + + Float @@ -13128,6 +14756,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderAlphaStart + + Float @@ -13140,6 +14770,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderColor + + String @@ -13152,6 +14784,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> BorderThickness + + Int @@ -13164,6 +14798,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerBl + + Int @@ -13176,6 +14812,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerBr + + Int @@ -13188,6 +14826,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerTl + + Int @@ -13200,6 +14840,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> CornerTr + + Int @@ -13212,6 +14854,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> FilterName + + String @@ -13224,6 +14868,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> Force + + Switch @@ -13236,6 +14882,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> NoResponse + + Switch @@ -13248,6 +14896,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> PassThru + + Switch @@ -13260,6 +14910,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> ShaderText + + String @@ -13272,6 +14924,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> SourceName + + String @@ -13284,6 +14938,8 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> UseShaderTime + + Switch @@ -13319,9 +14975,7 @@ Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int> OBSCylinderShader Get - -Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -13333,6 +14987,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl CylinderFactor + + Float @@ -13345,6 +15001,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl BackgroundCut + + Float @@ -13357,6 +15015,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl SourceName + + String @@ -13369,6 +15029,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl FilterName + + String @@ -13381,6 +15043,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl ShaderText + + String @@ -13393,6 +15057,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl Force + + Switch @@ -13405,6 +15071,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl PassThru + + Switch @@ -13417,6 +15085,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl NoResponse + + Switch @@ -13429,6 +15099,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl UseShaderTime + + Switch @@ -13444,6 +15116,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl BackgroundCut + + Float @@ -13456,6 +15130,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl CylinderFactor + + Float @@ -13468,6 +15144,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl FilterName + + String @@ -13480,6 +15158,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl Force + + Switch @@ -13492,6 +15172,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl NoResponse + + Switch @@ -13504,6 +15186,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl PassThru + + Switch @@ -13516,6 +15200,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl ShaderText + + String @@ -13528,6 +15214,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl SourceName + + String @@ -13540,6 +15228,8 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl UseShaderTime + + Switch @@ -13575,9 +15265,7 @@ Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <fl OBSDarkenShader Get - -Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -13589,6 +15277,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < OpacityPercentage + + Float @@ -13601,6 +15291,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < FillPercentage + + Float @@ -13613,6 +15305,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < Notes + + String @@ -13625,6 +15319,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < SourceName + + String @@ -13637,6 +15333,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < FilterName + + String @@ -13649,6 +15347,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < ShaderText + + String @@ -13661,6 +15361,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < Force + + Switch @@ -13673,6 +15375,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < PassThru + + Switch @@ -13685,6 +15389,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < NoResponse + + Switch @@ -13697,6 +15403,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < UseShaderTime + + Switch @@ -13712,6 +15420,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < FillPercentage + + Float @@ -13724,6 +15434,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < FilterName + + String @@ -13736,6 +15448,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < Force + + Switch @@ -13748,6 +15462,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < NoResponse + + Switch @@ -13760,6 +15476,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < Notes + + String @@ -13772,6 +15490,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < OpacityPercentage + + Float @@ -13784,6 +15504,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < PassThru + + Switch @@ -13796,6 +15518,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < ShaderText + + String @@ -13808,6 +15532,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < SourceName + + String @@ -13820,6 +15546,8 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < UseShaderTime + + Switch @@ -13855,9 +15583,7 @@ Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] < OBSDeadPixelFixerShader Get - -Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -13869,6 +15595,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g DeadPixelX + + Int @@ -13881,6 +15609,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g DeadPixelY + + Int @@ -13893,6 +15623,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g SourceName + + String @@ -13905,6 +15637,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g FilterName + + String @@ -13917,6 +15651,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g ShaderText + + String @@ -13929,6 +15665,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g Force + + Switch @@ -13941,6 +15679,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g PassThru + + Switch @@ -13953,6 +15693,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g NoResponse + + Switch @@ -13965,6 +15707,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g UseShaderTime + + Switch @@ -13980,6 +15724,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g DeadPixelX + + Int @@ -13992,6 +15738,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g DeadPixelY + + Int @@ -14004,6 +15752,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g FilterName + + String @@ -14016,6 +15766,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g Force + + Switch @@ -14028,6 +15780,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g NoResponse + + Switch @@ -14040,6 +15794,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g PassThru + + Switch @@ -14052,6 +15808,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g ShaderText + + String @@ -14064,6 +15822,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g SourceName + + String @@ -14076,6 +15836,8 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g UseShaderTime + + Switch @@ -14111,9 +15873,7 @@ Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int&g OBSDensitySatHueShader Get - -Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] [[-SaturationR] <float>] [[-HueShiftR] <float>] [[-DensityY] <float>] [[-SaturationY] <float>] [[-HueShiftY] <float>] [[-DensityG] <float>] [[-SaturationG] <float>] [[-HueShiftG] <float>] [[-DensityC] <float>] [[-SaturationC] <float>] [[-HueShiftC] <float>] [[-DensityB] <float>] [[-SaturationB] <float>] [[-HueShiftB] <float>] [[-DensityM] <float>] [[-SaturationM] <float>] [[-HueShiftM] <float>] [[-GlobalDensity] <float>] [[-GlobalSaturation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] [[-SaturationR] <float>] [[-HueShiftR] <float>] [[-DensityY] <float>] [[-SaturationY] <float>] [[-HueShiftY] <float>] [[-DensityG] <float>] [[-SaturationG] <float>] [[-HueShiftG] <float>] [[-DensityC] <float>] [[-SaturationC] <float>] [[-HueShiftC] <float>] [[-DensityB] <float>] [[-SaturationB] <float>] [[-HueShiftB] <float>] [[-DensityM] <float>] [[-SaturationM] <float>] [[-HueShiftM] <float>] [[-GlobalDensity] <float>] [[-GlobalSaturation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -14125,6 +15885,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] Notes + + String @@ -14137,6 +15899,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityR + + Float @@ -14149,6 +15913,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationR + + Float @@ -14161,6 +15927,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftR + + Float @@ -14173,6 +15941,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityY + + Float @@ -14185,6 +15955,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationY + + Float @@ -14197,6 +15969,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftY + + Float @@ -14209,6 +15983,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityG + + Float @@ -14221,6 +15997,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationG + + Float @@ -14233,6 +16011,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftG + + Float @@ -14245,6 +16025,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityC + + Float @@ -14257,6 +16039,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationC + + Float @@ -14269,6 +16053,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftC + + Float @@ -14281,6 +16067,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityB + + Float @@ -14293,6 +16081,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationB + + Float @@ -14305,6 +16095,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftB + + Float @@ -14317,6 +16109,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityM + + Float @@ -14329,6 +16123,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationM + + Float @@ -14341,6 +16137,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftM + + Float @@ -14353,6 +16151,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] GlobalDensity + + Float @@ -14365,6 +16165,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] GlobalSaturation + + Float @@ -14377,6 +16179,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SourceName + + String @@ -14389,6 +16193,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] FilterName + + String @@ -14401,6 +16207,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] ShaderText + + String @@ -14413,6 +16221,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] Force + + Switch @@ -14425,6 +16235,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] PassThru + + Switch @@ -14437,6 +16249,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] NoResponse + + Switch @@ -14449,6 +16263,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] UseShaderTime + + Switch @@ -14464,6 +16280,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityB + + Float @@ -14476,6 +16294,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityC + + Float @@ -14488,6 +16308,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityG + + Float @@ -14500,6 +16322,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityM + + Float @@ -14512,6 +16336,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityR + + Float @@ -14524,6 +16350,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] DensityY + + Float @@ -14536,6 +16364,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] FilterName + + String @@ -14548,6 +16378,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] Force + + Switch @@ -14560,6 +16392,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] GlobalDensity + + Float @@ -14572,6 +16406,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] GlobalSaturation + + Float @@ -14584,6 +16420,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftB + + Float @@ -14596,6 +16434,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftC + + Float @@ -14608,6 +16448,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftG + + Float @@ -14620,6 +16462,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftM + + Float @@ -14632,6 +16476,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftR + + Float @@ -14644,6 +16490,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] HueShiftY + + Float @@ -14656,6 +16504,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] NoResponse + + Switch @@ -14668,6 +16518,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] Notes + + String @@ -14680,6 +16532,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] PassThru + + Switch @@ -14692,6 +16546,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationB + + Float @@ -14704,6 +16560,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationC + + Float @@ -14716,6 +16574,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationG + + Float @@ -14728,6 +16588,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationM + + Float @@ -14740,6 +16602,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationR + + Float @@ -14752,6 +16616,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SaturationY + + Float @@ -14764,6 +16630,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] ShaderText + + String @@ -14776,6 +16644,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] SourceName + + String @@ -14788,6 +16658,8 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] UseShaderTime + + Switch @@ -14823,9 +16695,7 @@ Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] OBSDiffuseTransitionShader Get - -Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-NumSamples] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-NumSamples] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -14837,6 +16707,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ImageA + + String @@ -14849,6 +16721,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ImageB + + String @@ -14861,6 +16735,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& TransitionTime + + Float @@ -14873,6 +16749,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ConvertLinear + + Switch @@ -14885,6 +16763,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& NumSamples + + Int @@ -14897,6 +16777,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& SourceName + + String @@ -14909,6 +16791,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& FilterName + + String @@ -14921,6 +16805,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ShaderText + + String @@ -14933,6 +16819,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& Force + + Switch @@ -14945,6 +16833,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& PassThru + + Switch @@ -14957,6 +16847,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& NoResponse + + Switch @@ -14969,6 +16861,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& UseShaderTime + + Switch @@ -14984,6 +16878,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ConvertLinear + + Switch @@ -14996,6 +16892,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& FilterName + + String @@ -15008,6 +16906,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& Force + + Switch @@ -15020,6 +16920,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ImageA + + String @@ -15032,6 +16934,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ImageB + + String @@ -15044,6 +16948,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& NoResponse + + Switch @@ -15056,6 +16962,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& NumSamples + + Int @@ -15068,6 +16976,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& PassThru + + Switch @@ -15080,6 +16990,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& ShaderText + + String @@ -15092,6 +17004,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& SourceName + + String @@ -15104,6 +17018,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& TransitionTime + + Float @@ -15116,6 +17032,8 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& UseShaderTime + + Switch @@ -15151,9 +17069,7 @@ Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string& OBSDigitalRainShader Get - -Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-BaseColor] <string>] [[-RainSpeed] <float>] [[-CharSpeed] <float>] [[-GlowContrast] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-BaseColor] <string>] [[-RainSpeed] <float>] [[-CharSpeed] <float>] [[-GlowContrast] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -15165,6 +17081,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B Font + + String @@ -15177,6 +17095,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B Noise + + String @@ -15189,6 +17109,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B BaseColor + + String @@ -15201,6 +17123,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B RainSpeed + + Float @@ -15213,6 +17137,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B CharSpeed + + Float @@ -15225,6 +17151,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B GlowContrast + + Float @@ -15237,6 +17165,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B SourceName + + String @@ -15249,6 +17179,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B FilterName + + String @@ -15261,6 +17193,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B ShaderText + + String @@ -15273,6 +17207,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B Force + + Switch @@ -15285,6 +17221,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B PassThru + + Switch @@ -15297,6 +17235,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B NoResponse + + Switch @@ -15309,6 +17249,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B UseShaderTime + + Switch @@ -15324,6 +17266,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B BaseColor + + String @@ -15336,6 +17280,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B CharSpeed + + Float @@ -15348,6 +17294,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B FilterName + + String @@ -15360,6 +17308,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B Font + + String @@ -15372,6 +17322,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B Force + + Switch @@ -15384,6 +17336,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B GlowContrast + + Float @@ -15396,6 +17350,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B Noise + + String @@ -15408,6 +17364,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B NoResponse + + Switch @@ -15420,6 +17378,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B PassThru + + Switch @@ -15432,6 +17392,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B RainSpeed + + Float @@ -15444,6 +17406,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B ShaderText + + String @@ -15456,6 +17420,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B SourceName + + String @@ -15468,6 +17434,8 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B UseShaderTime + + Switch @@ -15503,9 +17471,7 @@ Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-B OBSDivideRotateShader Get - -Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -15517,6 +17483,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < IChannel0 + + String @@ -15529,6 +17497,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < SpeedPercentage + + Int @@ -15541,6 +17511,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < AlphaPercentage + + Int @@ -15553,6 +17525,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < ApplyToAlphaLayer + + Switch @@ -15565,6 +17539,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < Notes + + String @@ -15577,6 +17553,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < SourceName + + String @@ -15589,6 +17567,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < FilterName + + String @@ -15601,6 +17581,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < ShaderText + + String @@ -15613,6 +17595,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < Force + + Switch @@ -15625,6 +17609,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < PassThru + + Switch @@ -15637,6 +17623,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < NoResponse + + Switch @@ -15649,6 +17637,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < UseShaderTime + + Switch @@ -15664,6 +17654,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < AlphaPercentage + + Int @@ -15676,6 +17668,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < ApplyToAlphaLayer + + Switch @@ -15688,6 +17682,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < FilterName + + String @@ -15700,6 +17696,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < Force + + Switch @@ -15712,6 +17710,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < IChannel0 + + String @@ -15724,6 +17724,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < NoResponse + + Switch @@ -15736,6 +17738,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < Notes + + String @@ -15748,6 +17752,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < PassThru + + Switch @@ -15760,6 +17766,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < ShaderText + + String @@ -15772,6 +17780,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < SourceName + + String @@ -15784,6 +17794,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < SpeedPercentage + + Int @@ -15796,6 +17808,8 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < UseShaderTime + + Switch @@ -15831,9 +17845,7 @@ Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] < OBSDoodleShader Get - -Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-DoodleScalePercent] <float>] [[-SnapPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-DoodleScalePercent] <float>] [[-SnapPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -15845,6 +17857,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ViewProj + + System.Single[][] @@ -15857,6 +17871,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Image + + String @@ -15869,6 +17885,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ElapsedTime + + Float @@ -15881,6 +17899,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvOffset + + System.Single[] @@ -15893,6 +17913,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvScale + + System.Single[] @@ -15905,6 +17927,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvPixelInterval + + System.Single[] @@ -15917,6 +17941,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandF + + Float @@ -15929,6 +17955,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvSize + + System.Single[] @@ -15941,6 +17969,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ DoodleScalePercent + + Float @@ -15953,6 +17983,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SnapPercent + + Float @@ -15965,6 +17997,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Notes + + String @@ -15977,6 +18011,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SourceName + + String @@ -15989,6 +18025,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ FilterName + + String @@ -16001,6 +18039,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ShaderText + + String @@ -16013,6 +18053,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Force + + Switch @@ -16025,6 +18067,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ PassThru + + Switch @@ -16037,6 +18081,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ NoResponse + + Switch @@ -16049,6 +18095,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UseShaderTime + + Switch @@ -16064,6 +18112,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ DoodleScalePercent + + Float @@ -16076,6 +18126,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ElapsedTime + + Float @@ -16088,6 +18140,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ FilterName + + String @@ -16100,6 +18154,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Force + + Switch @@ -16112,6 +18168,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Image + + String @@ -16124,6 +18182,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ NoResponse + + Switch @@ -16136,6 +18196,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Notes + + String @@ -16148,6 +18210,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ PassThru + + Switch @@ -16160,6 +18224,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandF + + Float @@ -16172,6 +18238,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ShaderText + + String @@ -16184,6 +18252,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SnapPercent + + Float @@ -16196,6 +18266,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SourceName + + String @@ -16208,6 +18280,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UseShaderTime + + Switch @@ -16220,6 +18294,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvOffset + + System.Single[] @@ -16232,6 +18308,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvPixelInterval + + System.Single[] @@ -16244,6 +18322,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvScale + + System.Single[] @@ -16256,6 +18336,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvSize + + System.Single[] @@ -16268,6 +18350,8 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ViewProj + + System.Single[][] @@ -16303,9 +18387,7 @@ Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ OBSDrawingsShader Get - -Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -16317,6 +18399,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour AngleNum + + Int @@ -16329,6 +18413,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour SampNum + + Int @@ -16341,6 +18427,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour SourceName + + String @@ -16353,6 +18441,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour FilterName + + String @@ -16365,6 +18455,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour ShaderText + + String @@ -16377,6 +18469,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour Force + + Switch @@ -16389,6 +18483,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour PassThru + + Switch @@ -16401,6 +18497,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour NoResponse + + Switch @@ -16413,6 +18511,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour UseShaderTime + + Switch @@ -16428,6 +18528,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour AngleNum + + Int @@ -16440,6 +18542,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour FilterName + + String @@ -16452,6 +18556,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour Force + + Switch @@ -16464,6 +18570,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour NoResponse + + Switch @@ -16476,6 +18584,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour PassThru + + Switch @@ -16488,6 +18598,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour SampNum + + Int @@ -16500,6 +18612,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour ShaderText + + String @@ -16512,6 +18626,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour SourceName + + String @@ -16524,6 +18640,8 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour UseShaderTime + + Switch @@ -16559,9 +18677,7 @@ Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-Sour OBSDropShadowShader Get - -Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-Notes] <string>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-Notes] <string>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -16573,6 +18689,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowOffsetX + + Int @@ -16585,6 +18703,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowOffsetY + + Int @@ -16597,6 +18717,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowBlurSize + + Int @@ -16609,6 +18731,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int Notes + + String @@ -16621,6 +18745,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowColor + + String @@ -16633,6 +18759,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int IsAlphaPremultiplied + + Switch @@ -16645,6 +18773,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int SourceName + + String @@ -16657,6 +18787,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int FilterName + + String @@ -16669,6 +18801,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShaderText + + String @@ -16681,6 +18815,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int Force + + Switch @@ -16693,6 +18829,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int PassThru + + Switch @@ -16705,6 +18843,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int NoResponse + + Switch @@ -16717,6 +18857,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int UseShaderTime + + Switch @@ -16732,6 +18874,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int FilterName + + String @@ -16744,6 +18888,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int Force + + Switch @@ -16756,6 +18902,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int IsAlphaPremultiplied + + Switch @@ -16768,6 +18916,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int NoResponse + + Switch @@ -16780,6 +18930,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int Notes + + String @@ -16792,6 +18944,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int PassThru + + Switch @@ -16804,6 +18958,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShaderText + + String @@ -16816,6 +18972,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowBlurSize + + Int @@ -16828,6 +18986,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowColor + + String @@ -16840,6 +19000,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowOffsetX + + Int @@ -16852,6 +19014,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int ShadowOffsetY + + Int @@ -16864,6 +19028,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int SourceName + + String @@ -16876,6 +19042,8 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int UseShaderTime + + Switch @@ -16911,9 +19079,7 @@ Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int OBSDrunkShader Get - -Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeedPercent] <int>] [[-GlowColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeedPercent] <int>] [[-GlowColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -16925,6 +19091,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> ColorMatrix + + System.Single[][] @@ -16937,6 +19105,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> GlowPercent + + Int @@ -16949,6 +19119,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Blur + + Int @@ -16961,6 +19133,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> MinBrightness + + Int @@ -16973,6 +19147,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> MaxBrightness + + Int @@ -16985,6 +19161,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> PulseSpeedPercent + + Int @@ -16997,6 +19175,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> ApplyToAlphaLayer + + Switch @@ -17009,6 +19189,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> GlowColor + + String @@ -17021,6 +19203,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Ease + + Switch @@ -17033,6 +19217,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Glitch + + Switch @@ -17045,6 +19231,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Notes + + String @@ -17057,6 +19245,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> SourceName + + String @@ -17069,6 +19259,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> FilterName + + String @@ -17081,6 +19273,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> ShaderText + + String @@ -17093,6 +19287,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Force + + Switch @@ -17105,6 +19301,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> PassThru + + Switch @@ -17117,6 +19315,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> NoResponse + + Switch @@ -17129,6 +19329,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> UseShaderTime + + Switch @@ -17144,6 +19346,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> ApplyToAlphaLayer + + Switch @@ -17156,6 +19360,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Blur + + Int @@ -17168,6 +19374,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> ColorMatrix + + System.Single[][] @@ -17180,6 +19388,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Ease + + Switch @@ -17192,6 +19402,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> FilterName + + String @@ -17204,6 +19416,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Force + + Switch @@ -17216,6 +19430,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Glitch + + Switch @@ -17228,6 +19444,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> GlowColor + + String @@ -17240,6 +19458,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> GlowPercent + + Int @@ -17252,6 +19472,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> MaxBrightness + + Int @@ -17264,6 +19486,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> MinBrightness + + Int @@ -17276,6 +19500,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> NoResponse + + Switch @@ -17288,6 +19514,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> Notes + + String @@ -17300,6 +19528,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> PassThru + + Switch @@ -17312,6 +19542,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> PulseSpeedPercent + + Int @@ -17324,6 +19556,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> ShaderText + + String @@ -17336,6 +19570,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> SourceName + + String @@ -17348,6 +19584,8 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> UseShaderTime + + Switch @@ -17383,9 +19621,7 @@ Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int> OBSDynamicMaskShader Get - -Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <float>] [[-RedRedInputValue] <float>] [[-RedGreenInputValue] <float>] [[-RedBlueInputValue] <float>] [[-RedAlphaInputValue] <float>] [[-RedMultiplier] <float>] [[-GreenBaseValue] <float>] [[-GreenRedInputValue] <float>] [[-GreenGreenInputValue] <float>] [[-GreenBlueInputValue] <float>] [[-GreenAlphaInputValue] <float>] [[-GreenMultiplier] <float>] [[-BlueBaseValue] <float>] [[-BlueRedInputValue] <float>] [[-BlueGreenInputValue] <float>] [[-BlueBlueInputValue] <float>] [[-BlueAlphaInputValue] <float>] [[-BlueMultiplier] <float>] [[-AlphaBaseValue] <float>] [[-AlphaRedInputValue] <float>] [[-AlphaGreenInputValue] <float>] [[-AlphaBlueInputValue] <float>] [[-AlphaAlphaInputValue] <float>] [[-AlphaMultiplier] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <float>] [[-RedRedInputValue] <float>] [[-RedGreenInputValue] <float>] [[-RedBlueInputValue] <float>] [[-RedAlphaInputValue] <float>] [[-RedMultiplier] <float>] [[-GreenBaseValue] <float>] [[-GreenRedInputValue] <float>] [[-GreenGreenInputValue] <float>] [[-GreenBlueInputValue] <float>] [[-GreenAlphaInputValue] <float>] [[-GreenMultiplier] <float>] [[-BlueBaseValue] <float>] [[-BlueRedInputValue] <float>] [[-BlueGreenInputValue] <float>] [[-BlueBlueInputValue] <float>] [[-BlueAlphaInputValue] <float>] [[-BlueMultiplier] <float>] [[-AlphaBaseValue] <float>] [[-AlphaRedInputValue] <float>] [[-AlphaGreenInputValue] <float>] [[-AlphaBlueInputValue] <float>] [[-AlphaAlphaInputValue] <float>] [[-AlphaMultiplier] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -17397,6 +19633,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl InputSource + + String @@ -17409,6 +19647,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedBaseValue + + Float @@ -17421,6 +19661,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedRedInputValue + + Float @@ -17433,6 +19675,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedGreenInputValue + + Float @@ -17445,6 +19689,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedBlueInputValue + + Float @@ -17457,6 +19703,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedAlphaInputValue + + Float @@ -17469,6 +19717,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedMultiplier + + Float @@ -17481,6 +19731,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenBaseValue + + Float @@ -17493,6 +19745,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenRedInputValue + + Float @@ -17505,6 +19759,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenGreenInputValue + + Float @@ -17517,6 +19773,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenBlueInputValue + + Float @@ -17529,6 +19787,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenAlphaInputValue + + Float @@ -17541,6 +19801,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenMultiplier + + Float @@ -17553,6 +19815,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueBaseValue + + Float @@ -17565,6 +19829,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueRedInputValue + + Float @@ -17577,6 +19843,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueGreenInputValue + + Float @@ -17589,6 +19857,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueBlueInputValue + + Float @@ -17601,6 +19871,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueAlphaInputValue + + Float @@ -17613,6 +19885,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueMultiplier + + Float @@ -17625,6 +19899,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaBaseValue + + Float @@ -17637,6 +19913,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaRedInputValue + + Float @@ -17649,6 +19927,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaGreenInputValue + + Float @@ -17661,6 +19941,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaBlueInputValue + + Float @@ -17673,6 +19955,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaAlphaInputValue + + Float @@ -17685,6 +19969,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaMultiplier + + Float @@ -17697,6 +19983,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl SourceName + + String @@ -17709,6 +19997,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl FilterName + + String @@ -17721,6 +20011,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl ShaderText + + String @@ -17733,6 +20025,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl Force + + Switch @@ -17745,6 +20039,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl PassThru + + Switch @@ -17757,6 +20053,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl NoResponse + + Switch @@ -17769,6 +20067,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl UseShaderTime + + Switch @@ -17784,6 +20084,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaAlphaInputValue + + Float @@ -17796,6 +20098,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaBaseValue + + Float @@ -17808,6 +20112,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaBlueInputValue + + Float @@ -17820,6 +20126,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaGreenInputValue + + Float @@ -17832,6 +20140,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaMultiplier + + Float @@ -17844,6 +20154,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl AlphaRedInputValue + + Float @@ -17856,6 +20168,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueAlphaInputValue + + Float @@ -17868,6 +20182,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueBaseValue + + Float @@ -17880,6 +20196,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueBlueInputValue + + Float @@ -17892,6 +20210,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueGreenInputValue + + Float @@ -17904,6 +20224,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueMultiplier + + Float @@ -17916,6 +20238,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl BlueRedInputValue + + Float @@ -17928,6 +20252,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl FilterName + + String @@ -17940,6 +20266,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl Force + + Switch @@ -17952,6 +20280,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenAlphaInputValue + + Float @@ -17964,6 +20294,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenBaseValue + + Float @@ -17976,6 +20308,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenBlueInputValue + + Float @@ -17988,6 +20322,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenGreenInputValue + + Float @@ -18000,6 +20336,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenMultiplier + + Float @@ -18012,6 +20350,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl GreenRedInputValue + + Float @@ -18024,6 +20364,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl InputSource + + String @@ -18036,6 +20378,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl NoResponse + + Switch @@ -18048,6 +20392,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl PassThru + + Switch @@ -18060,6 +20406,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedAlphaInputValue + + Float @@ -18072,6 +20420,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedBaseValue + + Float @@ -18084,6 +20434,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedBlueInputValue + + Float @@ -18096,6 +20448,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedGreenInputValue + + Float @@ -18108,6 +20462,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedMultiplier + + Float @@ -18120,6 +20476,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl RedRedInputValue + + Float @@ -18132,6 +20490,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl ShaderText + + String @@ -18144,6 +20504,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl SourceName + + String @@ -18156,6 +20518,8 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl UseShaderTime + + Switch @@ -18191,9 +20555,7 @@ Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <fl OBSEdgeDetectionShader Get - -Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <string>] [[-NonEdgeColor] <string>] [[-AlphaLevel] <float>] [[-RandF] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <string>] [[-NonEdgeColor] <string>] [[-AlphaLevel] <float>] [[-RandF] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -18205,6 +20567,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri Sensitivity + + Float @@ -18217,6 +20581,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri InvertEdge + + Switch @@ -18229,6 +20595,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri EdgeColor + + String @@ -18241,6 +20609,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri EdgeMultiply + + Switch @@ -18253,6 +20623,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri NonEdgeColor + + String @@ -18265,6 +20637,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri NonEdgeMultiply + + Switch @@ -18277,6 +20651,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri AlphaChannel + + Switch @@ -18289,6 +20665,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri AlphaLevel + + Float @@ -18301,6 +20679,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri AlphaInvert + + Switch @@ -18313,6 +20693,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri RandF + + Float @@ -18325,6 +20707,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri Notes + + String @@ -18337,6 +20721,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri SourceName + + String @@ -18349,6 +20735,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri FilterName + + String @@ -18361,6 +20749,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri ShaderText + + String @@ -18373,6 +20763,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri Force + + Switch @@ -18385,6 +20777,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri PassThru + + Switch @@ -18397,6 +20791,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri NoResponse + + Switch @@ -18409,6 +20805,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri UseShaderTime + + Switch @@ -18424,6 +20822,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri AlphaChannel + + Switch @@ -18436,6 +20836,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri AlphaInvert + + Switch @@ -18448,6 +20850,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri AlphaLevel + + Float @@ -18460,6 +20864,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri EdgeColor + + String @@ -18472,6 +20878,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri EdgeMultiply + + Switch @@ -18484,6 +20892,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri FilterName + + String @@ -18496,6 +20906,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri Force + + Switch @@ -18508,6 +20920,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri InvertEdge + + Switch @@ -18520,6 +20934,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri NonEdgeColor + + String @@ -18532,6 +20948,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri NonEdgeMultiply + + Switch @@ -18544,6 +20962,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri NoResponse + + Switch @@ -18556,6 +20976,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri Notes + + String @@ -18568,6 +20990,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri PassThru + + Switch @@ -18580,6 +21004,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri RandF + + Float @@ -18592,6 +21018,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri Sensitivity + + Float @@ -18604,6 +21032,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri ShaderText + + String @@ -18616,6 +21046,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri SourceName + + String @@ -18628,6 +21060,8 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri UseShaderTime + + Switch @@ -18728,9 +21162,7 @@ Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <stri OBSEmbersShader Get - -Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-AnimationSpeed] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-MovementSpeedPercent] <int>] [[-LayersCount] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-AnimationSpeed] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-MovementSpeedPercent] <int>] [[-LayersCount] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -18742,6 +21174,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ViewProj + + System.Single[][] @@ -18754,6 +21188,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Image + + String @@ -18766,6 +21202,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ElapsedTime + + Float @@ -18778,6 +21216,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvOffset + + System.Single[] @@ -18790,6 +21230,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvScale + + System.Single[] @@ -18802,6 +21244,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvSize + + System.Single[] @@ -18814,6 +21258,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvPixelInterval + + System.Single[] @@ -18826,6 +21272,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandF + + Float @@ -18838,6 +21286,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandInstanceF + + Float @@ -18850,6 +21300,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandActivationF + + Float @@ -18862,6 +21314,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Loops + + Int @@ -18874,6 +21328,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LocalTime + + Float @@ -18886,6 +21342,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Notes + + String @@ -18898,6 +21356,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ AnimationSpeed + + Float @@ -18910,6 +21370,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ MovementDirectionHorizontal + + Float @@ -18922,6 +21384,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ MovementDirectionVertical + + Float @@ -18934,6 +21398,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ MovementSpeedPercent + + Int @@ -18946,6 +21412,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LayersCount + + Int @@ -18958,6 +21426,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMin + + Float @@ -18970,6 +21440,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMinSmooth + + Float @@ -18982,6 +21454,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ AlphaPercentage + + Float @@ -18994,6 +21468,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ApplyToAlphaLayer + + Switch @@ -19006,6 +21482,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SourceName + + String @@ -19018,6 +21496,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ FilterName + + String @@ -19030,6 +21510,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ShaderText + + String @@ -19042,6 +21524,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Force + + Switch @@ -19054,6 +21538,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ PassThru + + Switch @@ -19066,6 +21552,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ NoResponse + + Switch @@ -19078,6 +21566,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UseShaderTime + + Switch @@ -19093,6 +21583,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ AlphaPercentage + + Float @@ -19105,6 +21597,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ AnimationSpeed + + Float @@ -19117,6 +21611,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ApplyToAlphaLayer + + Switch @@ -19129,6 +21625,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ElapsedTime + + Float @@ -19141,6 +21639,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ FilterName + + String @@ -19153,6 +21653,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Force + + Switch @@ -19165,6 +21667,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Image + + String @@ -19177,6 +21681,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LayersCount + + Int @@ -19189,6 +21695,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LocalTime + + Float @@ -19201,6 +21709,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Loops + + Int @@ -19213,6 +21723,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMin + + Float @@ -19225,6 +21737,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMinSmooth + + Float @@ -19237,6 +21751,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ MovementDirectionHorizontal + + Float @@ -19249,6 +21765,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ MovementDirectionVertical + + Float @@ -19261,6 +21779,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ MovementSpeedPercent + + Int @@ -19273,6 +21793,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ NoResponse + + Switch @@ -19285,6 +21807,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Notes + + String @@ -19297,6 +21821,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ PassThru + + Switch @@ -19309,6 +21835,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandActivationF + + Float @@ -19321,6 +21849,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandF + + Float @@ -19333,6 +21863,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandInstanceF + + Float @@ -19345,6 +21877,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ShaderText + + String @@ -19357,6 +21891,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SourceName + + String @@ -19369,6 +21905,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UseShaderTime + + Switch @@ -19381,6 +21919,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvOffset + + System.Single[] @@ -19393,6 +21933,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvPixelInterval + + System.Single[] @@ -19405,6 +21947,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvScale + + System.Single[] @@ -19417,6 +21961,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvSize + + System.Single[] @@ -19429,6 +21975,8 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ViewProj + + System.Single[][] @@ -19464,9 +22012,7 @@ Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ OBSEmbossColorShader Get - -Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-UpDownPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-UpDownPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -19478,6 +22024,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> AngleSteps + + Int @@ -19490,6 +22038,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> RadiusSteps + + Int @@ -19502,6 +22052,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> AmpFactor + + Float @@ -19514,6 +22066,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> UpDownPercent + + Int @@ -19526,6 +22080,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> ApplyToAlphaLayer + + Switch @@ -19538,6 +22094,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> Notes + + String @@ -19550,6 +22108,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> SourceName + + String @@ -19562,6 +22122,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> FilterName + + String @@ -19574,6 +22136,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> ShaderText + + String @@ -19586,6 +22150,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> Force + + Switch @@ -19598,6 +22164,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> PassThru + + Switch @@ -19610,6 +22178,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> NoResponse + + Switch @@ -19622,6 +22192,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> UseShaderTime + + Switch @@ -19637,6 +22209,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> AmpFactor + + Float @@ -19649,6 +22223,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> AngleSteps + + Int @@ -19661,6 +22237,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> ApplyToAlphaLayer + + Switch @@ -19673,6 +22251,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> FilterName + + String @@ -19685,6 +22265,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> Force + + Switch @@ -19697,6 +22279,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> NoResponse + + Switch @@ -19709,6 +22293,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> Notes + + String @@ -19721,6 +22307,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> PassThru + + Switch @@ -19733,6 +22321,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> RadiusSteps + + Int @@ -19745,6 +22335,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> ShaderText + + String @@ -19757,6 +22349,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> SourceName + + String @@ -19769,6 +22363,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> UpDownPercent + + Int @@ -19781,6 +22377,8 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> UseShaderTime + + Switch @@ -19816,9 +22414,7 @@ Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int> OBSEmbossShader Get - -Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -19830,6 +22426,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> UseColor + + Switch @@ -19842,6 +22440,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> ApplyToAlphaLayer + + Switch @@ -19854,6 +22454,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> SourceName + + String @@ -19866,6 +22468,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> FilterName + + String @@ -19878,6 +22482,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> ShaderText + + String @@ -19890,6 +22496,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> Force + + Switch @@ -19902,6 +22510,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> PassThru + + Switch @@ -19914,6 +22524,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> NoResponse + + Switch @@ -19926,6 +22538,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> UseShaderTime + + Switch @@ -19941,6 +22555,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> ApplyToAlphaLayer + + Switch @@ -19953,6 +22569,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> FilterName + + String @@ -19965,6 +22583,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> Force + + Switch @@ -19977,6 +22597,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> NoResponse + + Switch @@ -19989,6 +22611,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> PassThru + + Switch @@ -20001,6 +22625,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> ShaderText + + String @@ -20013,6 +22639,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> SourceName + + String @@ -20025,6 +22653,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> UseColor + + Switch @@ -20037,6 +22667,8 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> UseShaderTime + + Switch @@ -20072,9 +22704,7 @@ Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string> OBSExeldroBentCameraShader Get - -Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -20086,6 +22716,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftSideWidth + + Float @@ -20098,6 +22730,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftSideSize + + Float @@ -20110,6 +22744,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftSideShadow + + Float @@ -20122,6 +22758,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftFlipWidth + + Float @@ -20134,6 +22772,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftFlipShadow + + Float @@ -20146,6 +22786,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightSideWidth + + Float @@ -20158,6 +22800,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightSideSize + + Float @@ -20170,6 +22814,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightSideShadow + + Float @@ -20182,6 +22828,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightFlipWidth + + Float @@ -20194,6 +22842,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightFlipShadow + + Float @@ -20206,6 +22856,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] SourceName + + String @@ -20218,6 +22870,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] FilterName + + String @@ -20230,6 +22884,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] ShaderText + + String @@ -20242,6 +22898,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] Force + + Switch @@ -20254,6 +22912,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] PassThru + + Switch @@ -20266,6 +22926,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] NoResponse + + Switch @@ -20278,6 +22940,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] UseShaderTime + + Switch @@ -20293,6 +22957,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] FilterName + + String @@ -20305,6 +22971,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] Force + + Switch @@ -20317,6 +22985,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftFlipShadow + + Float @@ -20329,6 +22999,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftFlipWidth + + Float @@ -20341,6 +23013,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftSideShadow + + Float @@ -20353,6 +23027,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftSideSize + + Float @@ -20365,6 +23041,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] LeftSideWidth + + Float @@ -20377,6 +23055,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] NoResponse + + Switch @@ -20389,6 +23069,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] PassThru + + Switch @@ -20401,6 +23083,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightFlipShadow + + Float @@ -20413,6 +23097,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightFlipWidth + + Float @@ -20425,6 +23111,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightSideShadow + + Float @@ -20437,6 +23125,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightSideSize + + Float @@ -20449,6 +23139,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] RightSideWidth + + Float @@ -20461,6 +23153,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] ShaderText + + String @@ -20473,6 +23167,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] SourceName + + String @@ -20485,6 +23181,8 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] UseShaderTime + + Switch @@ -20520,9 +23218,7 @@ Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] OBSFadeTransitionShader Get - -Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -20534,6 +23230,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ImageA + + String @@ -20546,6 +23244,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ImageB + + String @@ -20558,6 +23258,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> TransitionTime + + Float @@ -20570,6 +23272,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ConvertLinear + + Switch @@ -20582,6 +23286,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> SourceName + + String @@ -20594,6 +23300,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> FilterName + + String @@ -20606,6 +23314,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ShaderText + + String @@ -20618,6 +23328,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> Force + + Switch @@ -20630,6 +23342,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> PassThru + + Switch @@ -20642,6 +23356,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> NoResponse + + Switch @@ -20654,6 +23370,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> UseShaderTime + + Switch @@ -20669,6 +23387,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ConvertLinear + + Switch @@ -20681,6 +23401,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> FilterName + + String @@ -20693,6 +23415,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> Force + + Switch @@ -20705,6 +23429,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ImageA + + String @@ -20717,6 +23443,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ImageB + + String @@ -20729,6 +23457,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> NoResponse + + Switch @@ -20741,6 +23471,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> PassThru + + Switch @@ -20753,6 +23485,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> ShaderText + + String @@ -20765,6 +23499,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> SourceName + + String @@ -20777,6 +23513,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> TransitionTime + + Float @@ -20789,6 +23527,8 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> UseShaderTime + + Switch @@ -20824,9 +23564,7 @@ Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string> OBSFillColorGradientShader Get - -Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <float>] [[-GradientOffset] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <float>] [[-GradientOffset] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -20838,6 +23576,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo Fill + + Float @@ -20850,6 +23590,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo GradientWidth + + Float @@ -20862,6 +23604,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo GradientOffset + + Float @@ -20874,6 +23618,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo FillDirection + + Int @@ -20886,6 +23632,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo FillColor + + String @@ -20898,6 +23646,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo SourceName + + String @@ -20910,6 +23660,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo FilterName + + String @@ -20922,6 +23674,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo ShaderText + + String @@ -20934,6 +23688,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo Force + + Switch @@ -20946,6 +23702,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo PassThru + + Switch @@ -20958,6 +23716,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo NoResponse + + Switch @@ -20970,6 +23730,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo UseShaderTime + + Switch @@ -20985,6 +23747,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo Fill + + Float @@ -20997,6 +23761,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo FillColor + + String @@ -21009,6 +23775,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo FillDirection + + Int @@ -21021,6 +23789,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo FilterName + + String @@ -21033,6 +23803,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo Force + + Switch @@ -21045,6 +23817,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo GradientOffset + + Float @@ -21057,6 +23831,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo GradientWidth + + Float @@ -21069,6 +23845,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo NoResponse + + Switch @@ -21081,6 +23859,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo PassThru + + Switch @@ -21093,6 +23873,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo ShaderText + + String @@ -21105,6 +23887,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo SourceName + + String @@ -21117,6 +23901,8 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo UseShaderTime + + Switch @@ -21152,9 +23938,7 @@ Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <flo OBSFillColorLinearShader Get - -Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -21166,6 +23950,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g Fill + + Float @@ -21178,6 +23964,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g FillDirection + + Int @@ -21190,6 +23978,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g FillColor + + String @@ -21202,6 +23992,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g SourceName + + String @@ -21214,6 +24006,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g FilterName + + String @@ -21226,6 +24020,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g ShaderText + + String @@ -21238,6 +24034,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g Force + + Switch @@ -21250,6 +24048,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g PassThru + + Switch @@ -21262,6 +24062,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g NoResponse + + Switch @@ -21274,6 +24076,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g UseShaderTime + + Switch @@ -21289,6 +24093,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g Fill + + Float @@ -21301,6 +24107,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g FillColor + + String @@ -21313,6 +24121,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g FillDirection + + Int @@ -21325,6 +24135,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g FilterName + + String @@ -21337,6 +24149,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g Force + + Switch @@ -21349,6 +24163,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g NoResponse + + Switch @@ -21361,6 +24177,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g PassThru + + Switch @@ -21373,6 +24191,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g ShaderText + + String @@ -21385,6 +24205,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g SourceName + + String @@ -21397,6 +24219,8 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g UseShaderTime + + Switch @@ -21432,9 +24256,7 @@ Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int&g OBSFillColorRadialDegreesShader Get - -Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -21446,6 +24268,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < FillDirection + + Int @@ -21458,6 +24282,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < Fill + + Float @@ -21470,6 +24296,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < StartAngle + + Float @@ -21482,6 +24310,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < OffsetX + + Float @@ -21494,6 +24324,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < OffsetY + + Float @@ -21506,6 +24338,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < FillColor + + String @@ -21518,6 +24352,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < SourceName + + String @@ -21530,6 +24366,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < FilterName + + String @@ -21542,6 +24380,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < ShaderText + + String @@ -21554,6 +24394,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < Force + + Switch @@ -21566,6 +24408,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < PassThru + + Switch @@ -21578,6 +24422,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < NoResponse + + Switch @@ -21590,6 +24436,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < UseShaderTime + + Switch @@ -21605,6 +24453,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < Fill + + Float @@ -21617,6 +24467,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < FillColor + + String @@ -21629,6 +24481,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < FillDirection + + Int @@ -21641,6 +24495,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < FilterName + + String @@ -21653,6 +24509,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < Force + + Switch @@ -21665,6 +24523,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < NoResponse + + Switch @@ -21677,6 +24537,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < OffsetX + + Float @@ -21689,6 +24551,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < OffsetY + + Float @@ -21701,6 +24565,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < PassThru + + Switch @@ -21713,6 +24579,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < ShaderText + + String @@ -21725,6 +24593,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < SourceName + + String @@ -21737,6 +24607,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < StartAngle + + Float @@ -21749,6 +24621,8 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < UseShaderTime + + Switch @@ -21784,9 +24658,7 @@ Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] < OBSFillColorRadialPercentageShader Get - -Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -21798,6 +24670,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & FillDirection + + Int @@ -21810,6 +24684,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & Fill + + Float @@ -21822,6 +24698,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & StartAngle + + Float @@ -21834,6 +24712,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & OffsetX + + Float @@ -21846,6 +24726,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & OffsetY + + Float @@ -21858,6 +24740,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & FillColor + + String @@ -21870,6 +24754,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & SourceName + + String @@ -21882,6 +24768,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & FilterName + + String @@ -21894,6 +24782,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & ShaderText + + String @@ -21906,6 +24796,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & Force + + Switch @@ -21918,6 +24810,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & PassThru + + Switch @@ -21930,6 +24824,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & NoResponse + + Switch @@ -21942,6 +24838,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & UseShaderTime + + Switch @@ -21957,6 +24855,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & Fill + + Float @@ -21969,6 +24869,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & FillColor + + String @@ -21981,6 +24883,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & FillDirection + + Int @@ -21993,6 +24897,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & FilterName + + String @@ -22005,6 +24911,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & Force + + Switch @@ -22017,6 +24925,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & NoResponse + + Switch @@ -22029,6 +24939,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & OffsetX + + Float @@ -22041,6 +24953,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & OffsetY + + Float @@ -22053,6 +24967,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & PassThru + + Switch @@ -22065,6 +24981,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & ShaderText + + String @@ -22077,6 +24995,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & SourceName + + String @@ -22089,6 +25009,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & StartAngle + + Float @@ -22101,6 +25023,8 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & UseShaderTime + + Switch @@ -22136,9 +25060,7 @@ Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] & OBSFilterTemplateShader Get - -Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -22150,6 +25072,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string ViewProj + + System.Single[][] @@ -22162,6 +25086,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Image + + String @@ -22174,6 +25100,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string ElapsedTime + + Float @@ -22186,6 +25114,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvOffset + + System.Single[] @@ -22198,6 +25128,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvScale + + System.Single[] @@ -22210,6 +25142,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvPixelInterval + + System.Single[] @@ -22222,6 +25156,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvSize + + System.Single[] @@ -22234,6 +25170,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string RandF + + Float @@ -22246,6 +25184,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string RandInstanceF + + Float @@ -22258,6 +25198,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string RandActivationF + + Float @@ -22270,6 +25212,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Loops + + Int @@ -22282,6 +25226,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string LocalTime + + Float @@ -22294,6 +25240,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Notes + + String @@ -22306,6 +25254,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string SourceName + + String @@ -22318,6 +25268,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string FilterName + + String @@ -22330,6 +25282,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string ShaderText + + String @@ -22342,6 +25296,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Force + + Switch @@ -22354,6 +25310,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string PassThru + + Switch @@ -22366,6 +25324,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string NoResponse + + Switch @@ -22378,6 +25338,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UseShaderTime + + Switch @@ -22393,6 +25355,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string ElapsedTime + + Float @@ -22405,6 +25369,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string FilterName + + String @@ -22417,6 +25383,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Force + + Switch @@ -22429,6 +25397,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Image + + String @@ -22441,6 +25411,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string LocalTime + + Float @@ -22453,6 +25425,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Loops + + Int @@ -22465,6 +25439,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string NoResponse + + Switch @@ -22477,6 +25453,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string Notes + + String @@ -22489,6 +25467,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string PassThru + + Switch @@ -22501,6 +25481,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string RandActivationF + + Float @@ -22513,6 +25495,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string RandF + + Float @@ -22525,6 +25509,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string RandInstanceF + + Float @@ -22537,6 +25523,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string ShaderText + + String @@ -22549,6 +25537,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string SourceName + + String @@ -22561,6 +25551,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UseShaderTime + + Switch @@ -22573,6 +25565,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvOffset + + System.Single[] @@ -22585,6 +25579,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvPixelInterval + + System.Single[] @@ -22597,6 +25593,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvScale + + System.Single[] @@ -22609,6 +25607,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string UvSize + + System.Single[] @@ -22621,6 +25621,8 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string ViewProj + + System.Single[][] @@ -22656,9 +25658,7 @@ Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string OBSFire3Shader Get - -Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-FlameSize] <float>] [[-SparkGridHeight] <float>] [[-FlameModifier] <float>] [[-FlameTongueSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-FlameSize] <float>] [[-SparkGridHeight] <float>] [[-FlameModifier] <float>] [[-FlameTongueSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -22670,6 +25670,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ViewProj + + System.Single[][] @@ -22682,6 +25684,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Image + + String @@ -22694,6 +25698,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ElapsedTime + + Float @@ -22706,6 +25712,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvOffset + + System.Single[] @@ -22718,6 +25726,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvScale + + System.Single[] @@ -22730,6 +25740,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvPixelInterval + + System.Single[] @@ -22742,6 +25754,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvSize + + System.Single[] @@ -22754,6 +25768,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandF + + Float @@ -22766,6 +25782,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandInstanceF + + Float @@ -22778,6 +25796,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandActivationF + + Float @@ -22790,6 +25810,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Loops + + Int @@ -22802,6 +25824,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LocalTime + + Float @@ -22814,6 +25838,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MovementDirectionHorizontal + + Float @@ -22826,6 +25852,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MovementDirectionVertical + + Float @@ -22838,6 +25866,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- AlphaPercentage + + Int @@ -22850,6 +25880,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Speed + + Int @@ -22862,6 +25894,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Invert + + Switch @@ -22874,6 +25908,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LumaMin + + Float @@ -22886,6 +25922,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LumaMinSmooth + + Float @@ -22898,6 +25936,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ApplyToImage + + Switch @@ -22910,6 +25950,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ReplaceImageColor + + Switch @@ -22922,6 +25964,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ColorToReplace + + String @@ -22934,6 +25978,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ApplyToSpecificColor + + Switch @@ -22946,6 +25992,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FullWidth + + Switch @@ -22958,6 +26006,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FlameSize + + Float @@ -22970,6 +26020,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SparkGridHeight + + Float @@ -22982,6 +26034,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FlameModifier + + Float @@ -22994,6 +26048,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FlameTongueSize + + Float @@ -23006,6 +26062,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SourceName + + String @@ -23018,6 +26076,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FilterName + + String @@ -23030,6 +26090,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ShaderText + + String @@ -23042,6 +26104,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Force + + Switch @@ -23054,6 +26118,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- PassThru + + Switch @@ -23066,6 +26132,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- NoResponse + + Switch @@ -23078,6 +26146,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UseShaderTime + + Switch @@ -23093,6 +26163,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- AlphaPercentage + + Int @@ -23105,6 +26177,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ApplyToImage + + Switch @@ -23117,6 +26191,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ApplyToSpecificColor + + Switch @@ -23129,6 +26205,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ColorToReplace + + String @@ -23141,6 +26219,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ElapsedTime + + Float @@ -23153,6 +26233,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FilterName + + String @@ -23165,6 +26247,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FlameModifier + + Float @@ -23177,6 +26261,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FlameSize + + Float @@ -23189,6 +26275,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FlameTongueSize + + Float @@ -23201,6 +26289,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Force + + Switch @@ -23213,6 +26303,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FullWidth + + Switch @@ -23225,6 +26317,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Image + + String @@ -23237,6 +26331,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Invert + + Switch @@ -23249,6 +26345,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LocalTime + + Float @@ -23261,6 +26359,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Loops + + Int @@ -23273,6 +26373,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LumaMin + + Float @@ -23285,6 +26387,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LumaMinSmooth + + Float @@ -23297,6 +26401,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MovementDirectionHorizontal + + Float @@ -23309,6 +26415,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MovementDirectionVertical + + Float @@ -23321,6 +26429,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- NoResponse + + Switch @@ -23333,6 +26443,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- PassThru + + Switch @@ -23345,6 +26457,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandActivationF + + Float @@ -23357,6 +26471,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandF + + Float @@ -23369,6 +26485,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandInstanceF + + Float @@ -23381,6 +26499,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ReplaceImageColor + + Switch @@ -23393,6 +26513,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ShaderText + + String @@ -23405,6 +26527,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SourceName + + String @@ -23417,6 +26541,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SparkGridHeight + + Float @@ -23429,6 +26555,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Speed + + Int @@ -23441,6 +26569,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UseShaderTime + + Switch @@ -23453,6 +26583,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvOffset + + System.Single[] @@ -23465,6 +26597,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvPixelInterval + + System.Single[] @@ -23477,6 +26611,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvScale + + System.Single[] @@ -23489,6 +26625,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvSize + + System.Single[] @@ -23501,6 +26639,8 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ViewProj + + System.Single[][] @@ -23536,9 +26676,7 @@ Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- OBSFireShader Get - -Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-FlameSize] <int>] [[-FireType] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-FlameSize] <int>] [[-FireType] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -23550,6 +26688,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla AlphaPercentage + + Int @@ -23562,6 +26702,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Speed + + Int @@ -23574,6 +26716,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla FlameSize + + Int @@ -23586,6 +26730,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla FireType + + Int @@ -23598,6 +26744,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Invert + + Switch @@ -23610,6 +26758,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla LumaMin + + Float @@ -23622,6 +26772,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla LumaMinSmooth + + Float @@ -23634,6 +26786,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ApplyToImage + + Switch @@ -23646,6 +26800,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ReplaceImageColor + + Switch @@ -23658,6 +26814,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ApplyToSpecificColor + + Switch @@ -23670,6 +26828,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ColorToReplace + + String @@ -23682,6 +26842,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Notes + + String @@ -23694,6 +26856,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla SourceName + + String @@ -23706,6 +26870,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla FilterName + + String @@ -23718,6 +26884,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ShaderText + + String @@ -23730,6 +26898,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Force + + Switch @@ -23742,6 +26912,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla PassThru + + Switch @@ -23754,6 +26926,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla NoResponse + + Switch @@ -23766,6 +26940,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla UseShaderTime + + Switch @@ -23781,6 +26957,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla AlphaPercentage + + Int @@ -23793,6 +26971,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ApplyToImage + + Switch @@ -23805,6 +26985,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ApplyToSpecificColor + + Switch @@ -23817,6 +26999,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ColorToReplace + + String @@ -23829,6 +27013,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla FilterName + + String @@ -23841,6 +27027,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla FireType + + Int @@ -23853,6 +27041,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla FlameSize + + Int @@ -23865,6 +27055,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Force + + Switch @@ -23877,6 +27069,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Invert + + Switch @@ -23889,6 +27083,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla LumaMin + + Float @@ -23901,6 +27097,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla LumaMinSmooth + + Float @@ -23913,6 +27111,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla NoResponse + + Switch @@ -23925,6 +27125,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Notes + + String @@ -23937,6 +27139,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla PassThru + + Switch @@ -23949,6 +27153,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ReplaceImageColor + + Switch @@ -23961,6 +27167,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla ShaderText + + String @@ -23973,6 +27181,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla SourceName + + String @@ -23985,6 +27195,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla Speed + + Int @@ -23997,6 +27209,8 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla UseShaderTime + + Switch @@ -24032,9 +27246,7 @@ Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-Fla OBSFireworks2Shader Get - -Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -24046,6 +27258,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] Speed + + Float @@ -24058,6 +27272,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] SourceName + + String @@ -24070,6 +27286,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] FilterName + + String @@ -24082,6 +27300,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] ShaderText + + String @@ -24094,6 +27314,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] Force + + Switch @@ -24106,6 +27328,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] PassThru + + Switch @@ -24118,6 +27342,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] NoResponse + + Switch @@ -24130,6 +27356,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] UseShaderTime + + Switch @@ -24145,6 +27373,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] FilterName + + String @@ -24157,6 +27387,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] Force + + Switch @@ -24169,6 +27401,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] NoResponse + + Switch @@ -24181,6 +27415,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] PassThru + + Switch @@ -24193,6 +27429,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] ShaderText + + String @@ -24205,6 +27443,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] SourceName + + String @@ -24217,6 +27457,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] Speed + + Float @@ -24229,6 +27471,8 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] UseShaderTime + + Switch @@ -24264,9 +27508,7 @@ Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] OBSFireworksShader Get - -Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -24278,6 +27520,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& ShowFlash + + Switch @@ -24290,6 +27534,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& ShowStars + + Switch @@ -24302,6 +27548,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& UseTransparancy + + Switch @@ -24314,6 +27562,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& SourceName + + String @@ -24326,6 +27576,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& FilterName + + String @@ -24338,6 +27590,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& ShaderText + + String @@ -24350,6 +27604,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& Force + + Switch @@ -24362,6 +27618,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& PassThru + + Switch @@ -24374,6 +27632,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& NoResponse + + Switch @@ -24386,6 +27646,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& UseShaderTime + + Switch @@ -24401,6 +27663,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& FilterName + + String @@ -24413,6 +27677,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& Force + + Switch @@ -24425,6 +27691,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& NoResponse + + Switch @@ -24437,6 +27705,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& PassThru + + Switch @@ -24449,6 +27719,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& ShaderText + + String @@ -24461,6 +27733,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& ShowFlash + + Switch @@ -24473,6 +27747,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& ShowStars + + Switch @@ -24485,6 +27761,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& SourceName + + String @@ -24497,6 +27775,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& UseShaderTime + + Switch @@ -24509,6 +27789,8 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& UseTransparancy + + Switch @@ -24544,9 +27826,7 @@ Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string& OBSFisheyeShader Get - -Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -24558,6 +27838,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl CenterXPercent + + Float @@ -24570,6 +27852,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl CenterYPercent + + Float @@ -24582,6 +27866,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl Power + + Float @@ -24594,6 +27880,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl SourceName + + String @@ -24606,6 +27894,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl FilterName + + String @@ -24618,6 +27908,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl ShaderText + + String @@ -24630,6 +27922,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl Force + + Switch @@ -24642,6 +27936,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl PassThru + + Switch @@ -24654,6 +27950,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl NoResponse + + Switch @@ -24666,6 +27964,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl UseShaderTime + + Switch @@ -24681,6 +27981,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl CenterXPercent + + Float @@ -24693,6 +27995,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl CenterYPercent + + Float @@ -24705,6 +28009,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl FilterName + + String @@ -24717,6 +28023,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl Force + + Switch @@ -24729,6 +28037,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl NoResponse + + Switch @@ -24741,6 +28051,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl PassThru + + Switch @@ -24753,6 +28065,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl Power + + Float @@ -24765,6 +28079,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl ShaderText + + String @@ -24777,6 +28093,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl SourceName + + String @@ -24789,6 +28107,8 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl UseShaderTime + + Switch @@ -24824,9 +28144,7 @@ Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <fl OBSFisheyeXyShader Get - -Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-PowerX] <float>] [[-PowerY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-PowerX] <float>] [[-PowerY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -24838,6 +28156,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < CenterXPercent + + Float @@ -24850,6 +28170,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < CenterYPercent + + Float @@ -24862,6 +28184,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < PowerX + + Float @@ -24874,6 +28198,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < PowerY + + Float @@ -24886,6 +28212,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < SourceName + + String @@ -24898,6 +28226,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < FilterName + + String @@ -24910,6 +28240,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < ShaderText + + String @@ -24922,6 +28254,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < Force + + Switch @@ -24934,6 +28268,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < PassThru + + Switch @@ -24946,6 +28282,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < NoResponse + + Switch @@ -24958,6 +28296,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < UseShaderTime + + Switch @@ -24973,6 +28313,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < CenterXPercent + + Float @@ -24985,6 +28327,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < CenterYPercent + + Float @@ -24997,6 +28341,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < FilterName + + String @@ -25009,6 +28355,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < Force + + Switch @@ -25021,6 +28369,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < NoResponse + + Switch @@ -25033,6 +28383,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < PassThru + + Switch @@ -25045,6 +28397,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < PowerX + + Float @@ -25057,6 +28411,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < PowerY + + Float @@ -25069,6 +28425,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < ShaderText + + String @@ -25081,6 +28439,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < SourceName + + String @@ -25093,6 +28453,8 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < UseShaderTime + + Switch @@ -25128,9 +28490,7 @@ Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] < OBSFlipShader Get - -Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -25142,6 +28502,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] Horizontal + + Switch @@ -25154,6 +28516,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] Vertical + + Switch @@ -25166,6 +28530,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] SourceName + + String @@ -25178,6 +28544,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] FilterName + + String @@ -25190,6 +28558,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] ShaderText + + String @@ -25202,6 +28572,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] Force + + Switch @@ -25214,6 +28586,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] PassThru + + Switch @@ -25226,6 +28600,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] NoResponse + + Switch @@ -25238,6 +28614,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] UseShaderTime + + Switch @@ -25253,6 +28631,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] FilterName + + String @@ -25265,6 +28645,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] Force + + Switch @@ -25277,6 +28659,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] Horizontal + + Switch @@ -25289,6 +28673,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] NoResponse + + Switch @@ -25301,6 +28687,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] PassThru + + Switch @@ -25313,6 +28701,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] ShaderText + + String @@ -25325,6 +28715,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] SourceName + + String @@ -25337,6 +28729,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] UseShaderTime + + Switch @@ -25349,6 +28743,8 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] Vertical + + Switch @@ -25384,9 +28780,7 @@ Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] OBSFrostedGlassShader Get - -Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float>] [[-Scale] <float>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float>] [[-Scale] <float>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -25398,6 +28792,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g AlphaPercent + + Float @@ -25410,6 +28806,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Amount + + Float @@ -25422,6 +28820,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Scale + + Float @@ -25434,6 +28834,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Animate + + Switch @@ -25446,6 +28848,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g HorizontalBorder + + Switch @@ -25458,6 +28862,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g BorderOffset + + Float @@ -25470,6 +28876,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g BorderColor + + String @@ -25482,6 +28890,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Notes + + String @@ -25494,6 +28904,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g SourceName + + String @@ -25506,6 +28918,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g FilterName + + String @@ -25518,6 +28932,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g ShaderText + + String @@ -25530,6 +28946,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Force + + Switch @@ -25542,6 +28960,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g PassThru + + Switch @@ -25554,6 +28974,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g NoResponse + + Switch @@ -25566,6 +28988,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g UseShaderTime + + Switch @@ -25581,6 +29005,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g AlphaPercent + + Float @@ -25593,6 +29019,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Amount + + Float @@ -25605,6 +29033,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Animate + + Switch @@ -25617,6 +29047,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g BorderColor + + String @@ -25629,6 +29061,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g BorderOffset + + Float @@ -25641,6 +29075,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g FilterName + + String @@ -25653,6 +29089,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Force + + Switch @@ -25665,6 +29103,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g HorizontalBorder + + Switch @@ -25677,6 +29117,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g NoResponse + + Switch @@ -25689,6 +29131,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Notes + + String @@ -25701,6 +29145,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g PassThru + + Switch @@ -25713,6 +29159,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g Scale + + Float @@ -25725,6 +29173,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g ShaderText + + String @@ -25737,6 +29187,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g SourceName + + String @@ -25749,6 +29201,8 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g UseShaderTime + + Switch @@ -25784,9 +29238,7 @@ Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float&g OBSGammaCorrectionShader Get - -Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -25798,6 +29250,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Red + + Float @@ -25810,6 +29264,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Green + + Float @@ -25822,6 +29278,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Blue + + Float @@ -25834,6 +29292,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Notes + + String @@ -25846,6 +29306,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- SourceName + + String @@ -25858,6 +29320,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- FilterName + + String @@ -25870,6 +29334,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- ShaderText + + String @@ -25882,6 +29348,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Force + + Switch @@ -25894,6 +29362,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- PassThru + + Switch @@ -25906,6 +29376,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- NoResponse + + Switch @@ -25918,6 +29390,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- UseShaderTime + + Switch @@ -25933,6 +29407,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Blue + + Float @@ -25945,6 +29421,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- FilterName + + String @@ -25957,6 +29435,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Force + + Switch @@ -25969,6 +29449,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Green + + Float @@ -25981,6 +29463,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- NoResponse + + Switch @@ -25993,6 +29477,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Notes + + String @@ -26005,6 +29491,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- PassThru + + Switch @@ -26017,6 +29505,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- Red + + Float @@ -26029,6 +29519,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- ShaderText + + String @@ -26041,6 +29533,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- SourceName + + String @@ -26053,6 +29547,8 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- UseShaderTime + + Switch @@ -26088,9 +29584,7 @@ Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[- OBSGaussianBlurAdvancedShader Get - -Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] <float>] [[-Size] <float>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] <float>] [[-Size] <float>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -26102,6 +29596,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Directions + + Float @@ -26114,6 +29610,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Quality + + Float @@ -26126,6 +29624,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Size + + Float @@ -26138,6 +29638,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskLeft + + Float @@ -26150,6 +29652,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskRight + + Float @@ -26162,6 +29666,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskTop + + Float @@ -26174,6 +29680,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskBottom + + Float @@ -26186,6 +29694,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < SourceName + + String @@ -26198,6 +29708,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < FilterName + + String @@ -26210,6 +29722,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < ShaderText + + String @@ -26222,6 +29736,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Force + + Switch @@ -26234,6 +29750,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < PassThru + + Switch @@ -26246,6 +29764,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < NoResponse + + Switch @@ -26258,6 +29778,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < UseShaderTime + + Switch @@ -26273,6 +29795,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Directions + + Float @@ -26285,6 +29809,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < FilterName + + String @@ -26297,6 +29823,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Force + + Switch @@ -26309,6 +29837,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskBottom + + Float @@ -26321,6 +29851,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskLeft + + Float @@ -26333,6 +29865,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskRight + + Float @@ -26345,6 +29879,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < MaskTop + + Float @@ -26357,6 +29893,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < NoResponse + + Switch @@ -26369,6 +29907,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < PassThru + + Switch @@ -26381,6 +29921,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Quality + + Float @@ -26393,6 +29935,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < ShaderText + + String @@ -26405,6 +29949,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < Size + + Float @@ -26417,6 +29963,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < SourceName + + String @@ -26429,6 +29977,8 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < UseShaderTime + + Switch @@ -26464,9 +30014,7 @@ Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] < OBSGaussianBlurShader Get - -Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ImageSize] <float[]>] [[-ImageTexel] <float[]>] [[-URadius] <int>] [[-UDiameter] <int>] [[-UTexelDelta] <float[]>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-Kernel] <string>] [[-KernelTexel] <float[]>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ImageSize] <float[]>] [[-ImageTexel] <float[]>] [[-URadius] <int>] [[-UDiameter] <int>] [[-UTexelDelta] <float[]>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-Kernel] <string>] [[-KernelTexel] <float[]>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -26478,6 +30026,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ViewProj + + System.Single[][] @@ -26490,6 +30040,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g Image + + String @@ -26502,6 +30054,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ImageSize + + System.Single[] @@ -26514,6 +30068,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ImageTexel + + System.Single[] @@ -26526,6 +30082,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g URadius + + Int @@ -26538,6 +30096,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UDiameter + + Int @@ -26550,6 +30110,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UTexelDelta + + System.Single[] @@ -26562,6 +30124,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ElapsedTime + + Float @@ -26574,6 +30138,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvOffset + + System.Single[] @@ -26586,6 +30152,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvScale + + System.Single[] @@ -26598,6 +30166,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvPixelInterval + + System.Single[] @@ -26610,6 +30180,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g Kernel + + String @@ -26622,6 +30194,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g KernelTexel + + System.Single[] @@ -26634,6 +30208,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g PixelSize + + Float @@ -26646,6 +30222,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g SourceName + + String @@ -26658,6 +30236,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g FilterName + + String @@ -26670,6 +30250,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ShaderText + + String @@ -26682,6 +30264,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g Force + + Switch @@ -26694,6 +30278,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g PassThru + + Switch @@ -26706,6 +30292,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g NoResponse + + Switch @@ -26718,6 +30306,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UseShaderTime + + Switch @@ -26733,6 +30323,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ElapsedTime + + Float @@ -26745,6 +30337,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g FilterName + + String @@ -26757,6 +30351,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g Force + + Switch @@ -26769,6 +30365,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g Image + + String @@ -26781,6 +30379,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ImageSize + + System.Single[] @@ -26793,6 +30393,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ImageTexel + + System.Single[] @@ -26805,6 +30407,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g Kernel + + String @@ -26817,6 +30421,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g KernelTexel + + System.Single[] @@ -26829,6 +30435,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g NoResponse + + Switch @@ -26841,6 +30449,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g PassThru + + Switch @@ -26853,6 +30463,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g PixelSize + + Float @@ -26865,6 +30477,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ShaderText + + String @@ -26877,6 +30491,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g SourceName + + String @@ -26889,6 +30505,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UDiameter + + Int @@ -26901,6 +30519,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g URadius + + Int @@ -26913,6 +30533,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UseShaderTime + + Switch @@ -26925,6 +30547,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UTexelDelta + + System.Single[] @@ -26937,6 +30561,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvOffset + + System.Single[] @@ -26949,6 +30575,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvPixelInterval + + System.Single[] @@ -26961,6 +30589,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g UvScale + + System.Single[] @@ -26973,6 +30603,8 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g ViewProj + + System.Single[][] @@ -27008,9 +30640,7 @@ Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string&g OBSGaussianBlurSimpleShader Get - -Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -27022,6 +30652,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float Strength + + Int @@ -27034,6 +30666,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskLeft + + Float @@ -27046,6 +30680,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskRight + + Float @@ -27058,6 +30694,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskTop + + Float @@ -27070,6 +30708,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskBottom + + Float @@ -27082,6 +30722,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float SourceName + + String @@ -27094,6 +30736,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float FilterName + + String @@ -27106,6 +30750,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float ShaderText + + String @@ -27118,6 +30764,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float Force + + Switch @@ -27130,6 +30778,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float PassThru + + Switch @@ -27142,6 +30792,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float NoResponse + + Switch @@ -27154,6 +30806,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float UseShaderTime + + Switch @@ -27169,6 +30823,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float FilterName + + String @@ -27181,6 +30837,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float Force + + Switch @@ -27193,6 +30851,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskBottom + + Float @@ -27205,6 +30865,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskLeft + + Float @@ -27217,6 +30879,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskRight + + Float @@ -27229,6 +30893,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float MaskTop + + Float @@ -27241,6 +30907,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float NoResponse + + Switch @@ -27253,6 +30921,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float PassThru + + Switch @@ -27265,6 +30935,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float ShaderText + + String @@ -27277,6 +30949,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float SourceName + + String @@ -27289,6 +30963,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float Strength + + Int @@ -27301,6 +30977,8 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float UseShaderTime + + Switch @@ -27336,9 +31014,7 @@ Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float OBSGaussianExampleShader Get - -Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-InitialImage] <string>] [[-BeforeImage] <string>] [[-AfterImage] <string>] [[-TextColor] <string>] [[-MaxDistance] <float>] [[-Exp] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-InitialImage] <string>] [[-BeforeImage] <string>] [[-AfterImage] <string>] [[-TextColor] <string>] [[-MaxDistance] <float>] [[-Exp] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -27350,6 +31026,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin ViewProj + + System.Single[][] @@ -27362,6 +31040,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin Image + + String @@ -27374,6 +31054,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin ElapsedTime + + Float @@ -27386,6 +31068,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvOffset + + System.Single[] @@ -27398,6 +31082,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvScale + + System.Single[] @@ -27410,6 +31096,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvSize + + System.Single[] @@ -27422,6 +31110,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvPixelInterval + + System.Single[] @@ -27434,6 +31124,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin InitialImage + + String @@ -27446,6 +31138,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin BeforeImage + + String @@ -27458,6 +31152,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin AfterImage + + String @@ -27470,6 +31166,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin TextColor + + String @@ -27482,6 +31180,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin MaxDistance + + Float @@ -27494,6 +31194,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin Exp + + Float @@ -27506,6 +31208,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin SourceName + + String @@ -27518,6 +31222,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin FilterName + + String @@ -27530,6 +31236,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin ShaderText + + String @@ -27542,6 +31250,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin Force + + Switch @@ -27554,6 +31264,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin PassThru + + Switch @@ -27566,6 +31278,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin NoResponse + + Switch @@ -27578,6 +31292,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UseShaderTime + + Switch @@ -27593,6 +31309,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin AfterImage + + String @@ -27605,6 +31323,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin BeforeImage + + String @@ -27617,6 +31337,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin ElapsedTime + + Float @@ -27629,6 +31351,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin Exp + + Float @@ -27641,6 +31365,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin FilterName + + String @@ -27653,6 +31379,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin Force + + Switch @@ -27665,6 +31393,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin Image + + String @@ -27677,6 +31407,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin InitialImage + + String @@ -27689,6 +31421,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin MaxDistance + + Float @@ -27701,6 +31435,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin NoResponse + + Switch @@ -27713,6 +31449,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin PassThru + + Switch @@ -27725,6 +31463,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin ShaderText + + String @@ -27737,6 +31477,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin SourceName + + String @@ -27749,6 +31491,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin TextColor + + String @@ -27761,6 +31505,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UseShaderTime + + Switch @@ -27773,6 +31519,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvOffset + + System.Single[] @@ -27785,6 +31533,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvPixelInterval + + System.Single[] @@ -27797,6 +31547,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvScale + + System.Single[] @@ -27809,6 +31561,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin UvSize + + System.Single[] @@ -27821,6 +31575,8 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin ViewProj + + System.Single[][] @@ -27856,9 +31612,7 @@ Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <strin OBSGaussianSimpleShader Get - -Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Samples] <int>] [[-LOD] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Samples] <int>] [[-LOD] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -27870,6 +31624,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string ViewProj + + System.Single[][] @@ -27882,6 +31638,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Image + + String @@ -27894,6 +31652,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string ElapsedTime + + Float @@ -27906,6 +31666,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvOffset + + System.Single[] @@ -27918,6 +31680,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvScale + + System.Single[] @@ -27930,6 +31694,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvPixelInterval + + System.Single[] @@ -27942,6 +31708,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvSize + + System.Single[] @@ -27954,6 +31722,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string RandF + + Float @@ -27966,6 +31736,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string RandInstanceF + + Float @@ -27978,6 +31750,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string RandActivationF + + Float @@ -27990,6 +31764,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Loops + + Int @@ -28002,6 +31778,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string LocalTime + + Float @@ -28014,6 +31792,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Samples + + Int @@ -28026,6 +31806,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string LOD + + Int @@ -28038,6 +31820,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string SourceName + + String @@ -28050,6 +31834,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string FilterName + + String @@ -28062,6 +31848,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string ShaderText + + String @@ -28074,6 +31862,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Force + + Switch @@ -28086,6 +31876,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string PassThru + + Switch @@ -28098,6 +31890,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string NoResponse + + Switch @@ -28110,6 +31904,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UseShaderTime + + Switch @@ -28125,6 +31921,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string ElapsedTime + + Float @@ -28137,6 +31935,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string FilterName + + String @@ -28149,6 +31949,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Force + + Switch @@ -28161,6 +31963,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Image + + String @@ -28173,6 +31977,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string LocalTime + + Float @@ -28185,6 +31991,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string LOD + + Int @@ -28197,6 +32005,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Loops + + Int @@ -28209,6 +32019,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string NoResponse + + Switch @@ -28221,6 +32033,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string PassThru + + Switch @@ -28233,6 +32047,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string RandActivationF + + Float @@ -28245,6 +32061,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string RandF + + Float @@ -28257,6 +32075,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string RandInstanceF + + Float @@ -28269,6 +32089,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string Samples + + Int @@ -28281,6 +32103,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string ShaderText + + String @@ -28293,6 +32117,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string SourceName + + String @@ -28305,6 +32131,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UseShaderTime + + Switch @@ -28317,6 +32145,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvOffset + + System.Single[] @@ -28329,6 +32159,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvPixelInterval + + System.Single[] @@ -28341,6 +32173,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvScale + + System.Single[] @@ -28353,6 +32187,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string UvSize + + System.Single[] @@ -28365,6 +32201,8 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string ViewProj + + System.Single[][] @@ -28400,9 +32238,7 @@ Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string OBSGbCameraShader Get - -Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float>] [[-Brightness] <float>] [[-Contrast] <float>] [[-Gamma] <float>] [[-Color1] <string>] [[-Color2] <string>] [[-Color3] <string>] [[-Color4] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float>] [[-Brightness] <float>] [[-Contrast] <float>] [[-Gamma] <float>] [[-Color1] <string>] [[-Color2] <string>] [[-Color3] <string>] [[-Color4] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -28414,6 +32250,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> PixelSize + + Float @@ -28426,6 +32264,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> DitherFactor + + Float @@ -28438,6 +32278,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> AlternativeBayer + + Switch @@ -28450,6 +32292,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Brightness + + Float @@ -28462,6 +32306,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Contrast + + Float @@ -28474,6 +32320,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Gamma + + Float @@ -28486,6 +32334,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color1 + + String @@ -28498,6 +32348,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color2 + + String @@ -28510,6 +32362,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color3 + + String @@ -28522,6 +32376,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color4 + + String @@ -28534,6 +32390,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> SourceName + + String @@ -28546,6 +32404,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> FilterName + + String @@ -28558,6 +32418,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> ShaderText + + String @@ -28570,6 +32432,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Force + + Switch @@ -28582,6 +32446,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> PassThru + + Switch @@ -28594,6 +32460,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> NoResponse + + Switch @@ -28606,6 +32474,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> UseShaderTime + + Switch @@ -28621,6 +32491,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> AlternativeBayer + + Switch @@ -28633,6 +32505,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Brightness + + Float @@ -28645,6 +32519,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color1 + + String @@ -28657,6 +32533,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color2 + + String @@ -28669,6 +32547,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color3 + + String @@ -28681,6 +32561,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Color4 + + String @@ -28693,6 +32575,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Contrast + + Float @@ -28705,6 +32589,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> DitherFactor + + Float @@ -28717,6 +32603,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> FilterName + + String @@ -28729,6 +32617,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Force + + Switch @@ -28741,6 +32631,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> Gamma + + Float @@ -28753,6 +32645,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> NoResponse + + Switch @@ -28765,6 +32659,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> PassThru + + Switch @@ -28777,6 +32673,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> PixelSize + + Float @@ -28789,6 +32687,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> ShaderText + + String @@ -28801,6 +32701,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> SourceName + + String @@ -28813,6 +32715,8 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> UseShaderTime + + Switch @@ -28848,9 +32752,7 @@ Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float> OBSGlassShader Get - -Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float>] [[-XSize] <int>] [[-YSize] <int>] [[-ReflectionOffset] <int>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-GlassColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float>] [[-XSize] <int>] [[-YSize] <int>] [[-ReflectionOffset] <int>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-GlassColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -28862,6 +32764,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> AlphaPercent + + Float @@ -28874,6 +32778,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> OffsetAmount + + Float @@ -28886,6 +32792,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> XSize + + Int @@ -28898,6 +32806,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> YSize + + Int @@ -28910,6 +32820,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> ReflectionOffset + + Int @@ -28922,6 +32834,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> HorizontalBorder + + Switch @@ -28934,6 +32848,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> BorderOffset + + Float @@ -28946,6 +32862,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> BorderColor + + String @@ -28958,6 +32876,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> GlassColor + + String @@ -28970,6 +32890,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> Notes + + String @@ -28982,6 +32904,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> SourceName + + String @@ -28994,6 +32918,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> FilterName + + String @@ -29006,6 +32932,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> ShaderText + + String @@ -29018,6 +32946,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> Force + + Switch @@ -29030,6 +32960,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> PassThru + + Switch @@ -29042,6 +32974,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> NoResponse + + Switch @@ -29054,6 +32988,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> UseShaderTime + + Switch @@ -29069,6 +33005,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> AlphaPercent + + Float @@ -29081,6 +33019,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> BorderColor + + String @@ -29093,6 +33033,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> BorderOffset + + Float @@ -29105,6 +33047,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> FilterName + + String @@ -29117,6 +33061,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> Force + + Switch @@ -29129,6 +33075,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> GlassColor + + String @@ -29141,6 +33089,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> HorizontalBorder + + Switch @@ -29153,6 +33103,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> NoResponse + + Switch @@ -29165,6 +33117,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> Notes + + String @@ -29177,6 +33131,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> OffsetAmount + + Float @@ -29189,6 +33145,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> PassThru + + Switch @@ -29201,6 +33159,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> ReflectionOffset + + Int @@ -29213,6 +33173,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> ShaderText + + String @@ -29225,6 +33187,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> SourceName + + String @@ -29237,6 +33201,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> UseShaderTime + + Switch @@ -29249,6 +33215,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> XSize + + Int @@ -29261,6 +33229,8 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> YSize + + Int @@ -29296,9 +33266,7 @@ Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float> OBSGlitchAnalogShader Get - -Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanLineJitterThresholdPercent] <int>] [[-VerticalJumpAmount] <float>] [[-VerticalSpeed] <float>] [[-HorizontalShake] <float>] [[-ColorDriftAmount] <float>] [[-ColorDriftSpeed] <float>] [[-PulseSpeedPercent] <int>] [[-AlphaPercent] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanLineJitterThresholdPercent] <int>] [[-VerticalJumpAmount] <float>] [[-VerticalSpeed] <float>] [[-HorizontalShake] <float>] [[-ColorDriftAmount] <float>] [[-ColorDriftSpeed] <float>] [[-PulseSpeedPercent] <int>] [[-AlphaPercent] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -29310,6 +33278,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ScanLineJitterDisplacement + + Float @@ -29322,6 +33292,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ScanLineJitterThresholdPercent + + Int @@ -29334,6 +33306,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL VerticalJumpAmount + + Float @@ -29346,6 +33320,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL VerticalSpeed + + Float @@ -29358,6 +33334,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL HorizontalShake + + Float @@ -29370,6 +33348,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ColorDriftAmount + + Float @@ -29382,6 +33362,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ColorDriftSpeed + + Float @@ -29394,6 +33376,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL PulseSpeedPercent + + Int @@ -29406,6 +33390,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL AlphaPercent + + Int @@ -29418,6 +33404,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL RotateColors + + Switch @@ -29430,6 +33418,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ApplyToAlphaLayer + + Switch @@ -29442,6 +33432,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ReplaceImageColor + + Switch @@ -29454,6 +33446,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ApplyToSpecificColor + + Switch @@ -29466,6 +33460,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ColorToReplace + + String @@ -29478,6 +33474,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL Notes + + String @@ -29490,6 +33488,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL SourceName + + String @@ -29502,6 +33502,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL FilterName + + String @@ -29514,6 +33516,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ShaderText + + String @@ -29526,6 +33530,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL Force + + Switch @@ -29538,6 +33544,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL PassThru + + Switch @@ -29550,6 +33558,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL NoResponse + + Switch @@ -29562,6 +33572,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL UseShaderTime + + Switch @@ -29577,6 +33589,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL AlphaPercent + + Int @@ -29589,6 +33603,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ApplyToAlphaLayer + + Switch @@ -29601,6 +33617,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ApplyToSpecificColor + + Switch @@ -29613,6 +33631,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ColorDriftAmount + + Float @@ -29625,6 +33645,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ColorDriftSpeed + + Float @@ -29637,6 +33659,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ColorToReplace + + String @@ -29649,6 +33673,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL FilterName + + String @@ -29661,6 +33687,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL Force + + Switch @@ -29673,6 +33701,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL HorizontalShake + + Float @@ -29685,6 +33715,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL NoResponse + + Switch @@ -29697,6 +33729,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL Notes + + String @@ -29709,6 +33743,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL PassThru + + Switch @@ -29721,6 +33757,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL PulseSpeedPercent + + Int @@ -29733,6 +33771,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ReplaceImageColor + + Switch @@ -29745,6 +33785,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL RotateColors + + Switch @@ -29757,6 +33799,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ScanLineJitterDisplacement + + Float @@ -29769,6 +33813,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ScanLineJitterThresholdPercent + + Int @@ -29781,6 +33827,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL ShaderText + + String @@ -29793,6 +33841,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL SourceName + + String @@ -29805,6 +33855,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL UseShaderTime + + Switch @@ -29817,6 +33869,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL VerticalJumpAmount + + Float @@ -29829,6 +33883,8 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL VerticalSpeed + + Float @@ -29864,9 +33920,7 @@ Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanL OBSGlitchShader Get - -Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -29878,6 +33932,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam AMT + + Float @@ -29890,6 +33946,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam SPEED + + Float @@ -29902,6 +33960,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam SourceName + + String @@ -29914,6 +33974,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam FilterName + + String @@ -29926,6 +33988,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam ShaderText + + String @@ -29938,6 +34002,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam Force + + Switch @@ -29950,6 +34016,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam PassThru + + Switch @@ -29962,6 +34030,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam NoResponse + + Switch @@ -29974,6 +34044,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam UseShaderTime + + Switch @@ -29989,6 +34061,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam AMT + + Float @@ -30001,6 +34075,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam FilterName + + String @@ -30013,6 +34089,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam Force + + Switch @@ -30025,6 +34103,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam NoResponse + + Switch @@ -30037,6 +34117,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam PassThru + + Switch @@ -30049,6 +34131,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam ShaderText + + String @@ -30061,6 +34145,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam SourceName + + String @@ -30073,6 +34159,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam SPEED + + Float @@ -30085,6 +34173,8 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam UseShaderTime + + Switch @@ -30120,9 +34210,7 @@ Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceNam OBSGlowShader Get - -Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeed] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeed] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -30134,6 +34222,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh GlowPercent + + Int @@ -30146,6 +34236,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Blur + + Int @@ -30158,6 +34250,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh MinBrightness + + Int @@ -30170,6 +34264,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh MaxBrightness + + Int @@ -30182,6 +34278,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh PulseSpeed + + Int @@ -30194,6 +34292,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Ease + + Switch @@ -30206,6 +34306,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Notes + + String @@ -30218,6 +34320,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh SourceName + + String @@ -30230,6 +34334,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh FilterName + + String @@ -30242,6 +34348,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh ShaderText + + String @@ -30254,6 +34362,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Force + + Switch @@ -30266,6 +34376,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh PassThru + + Switch @@ -30278,6 +34390,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh NoResponse + + Switch @@ -30290,6 +34404,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh UseShaderTime + + Switch @@ -30305,6 +34421,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Blur + + Int @@ -30317,6 +34435,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Ease + + Switch @@ -30329,6 +34449,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh FilterName + + String @@ -30341,6 +34463,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Force + + Switch @@ -30353,6 +34477,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh GlowPercent + + Int @@ -30365,6 +34491,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh MaxBrightness + + Int @@ -30377,6 +34505,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh MinBrightness + + Int @@ -30389,6 +34519,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh NoResponse + + Switch @@ -30401,6 +34533,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh Notes + + String @@ -30413,6 +34547,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh PassThru + + Switch @@ -30425,6 +34561,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh PulseSpeed + + Int @@ -30437,6 +34575,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh ShaderText + + String @@ -30449,6 +34589,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh SourceName + + String @@ -30461,6 +34603,8 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh UseShaderTime + + Switch @@ -30496,9 +34640,7 @@ Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrigh OBSGradientShader Get - -Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float>] [[-MiddleColor] <string>] [[-MiddleStep] <float>] [[-EndColor] <string>] [[-EndStep] <float>] [[-AlphaPercent] <int>] [[-PulseSpeed] <int>] [[-ColorToReplace] <string>] [[-GradientCenterWidthPercentage] <int>] [[-GradientCenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float>] [[-MiddleColor] <string>] [[-MiddleStep] <float>] [[-EndColor] <string>] [[-EndStep] <float>] [[-AlphaPercent] <int>] [[-PulseSpeed] <int>] [[-ColorToReplace] <string>] [[-GradientCenterWidthPercentage] <int>] [[-GradientCenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -30510,6 +34652,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> StartColor + + String @@ -30522,6 +34666,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> StartStep + + Float @@ -30534,6 +34680,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> MiddleColor + + String @@ -30546,6 +34694,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> MiddleStep + + Float @@ -30558,6 +34708,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> EndColor + + String @@ -30570,6 +34722,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> EndStep + + Float @@ -30582,6 +34736,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> AlphaPercent + + Int @@ -30594,6 +34750,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> PulseSpeed + + Int @@ -30606,6 +34764,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Ease + + Switch @@ -30618,6 +34778,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> RotateColors + + Switch @@ -30630,6 +34792,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ApplyToAlphaLayer + + Switch @@ -30642,6 +34806,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ApplyToSpecificColor + + Switch @@ -30654,6 +34820,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ColorToReplace + + String @@ -30666,6 +34834,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Horizontal + + Switch @@ -30678,6 +34848,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Vertical + + Switch @@ -30690,6 +34862,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> GradientCenterWidthPercentage + + Int @@ -30702,6 +34876,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> GradientCenterHeightPercentage + + Int @@ -30714,6 +34890,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Notes + + String @@ -30726,6 +34904,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> SourceName + + String @@ -30738,6 +34918,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> FilterName + + String @@ -30750,6 +34932,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ShaderText + + String @@ -30762,6 +34946,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Force + + Switch @@ -30774,6 +34960,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> PassThru + + Switch @@ -30786,6 +34974,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> NoResponse + + Switch @@ -30798,6 +34988,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> UseShaderTime + + Switch @@ -30813,6 +35005,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> AlphaPercent + + Int @@ -30825,6 +35019,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ApplyToAlphaLayer + + Switch @@ -30837,6 +35033,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ApplyToSpecificColor + + Switch @@ -30849,6 +35047,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ColorToReplace + + String @@ -30861,6 +35061,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Ease + + Switch @@ -30873,6 +35075,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> EndColor + + String @@ -30885,6 +35089,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> EndStep + + Float @@ -30897,6 +35103,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> FilterName + + String @@ -30909,6 +35117,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Force + + Switch @@ -30921,6 +35131,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> GradientCenterHeightPercentage + + Int @@ -30933,6 +35145,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> GradientCenterWidthPercentage + + Int @@ -30945,6 +35159,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Horizontal + + Switch @@ -30957,6 +35173,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> MiddleColor + + String @@ -30969,6 +35187,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> MiddleStep + + Float @@ -30981,6 +35201,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> NoResponse + + Switch @@ -30993,6 +35215,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Notes + + String @@ -31005,6 +35229,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> PassThru + + Switch @@ -31017,6 +35243,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> PulseSpeed + + Int @@ -31029,6 +35257,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> RotateColors + + Switch @@ -31041,6 +35271,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> ShaderText + + String @@ -31053,6 +35285,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> SourceName + + String @@ -31065,6 +35299,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> StartColor + + String @@ -31077,6 +35313,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> StartStep + + Float @@ -31089,6 +35327,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> UseShaderTime + + Switch @@ -31101,6 +35341,8 @@ Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float> Vertical + + Switch @@ -31368,9 +35610,7 @@ This can increase performance, and also silently ignore critical errorsOBSHalftoneShader Get - -Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -31382,6 +35622,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> Threshold + + Float @@ -31394,6 +35636,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> SourceName + + String @@ -31406,6 +35650,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> FilterName + + String @@ -31418,6 +35664,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> ShaderText + + String @@ -31430,6 +35678,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> Force + + Switch @@ -31442,6 +35692,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> PassThru + + Switch @@ -31454,6 +35706,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> NoResponse + + Switch @@ -31466,6 +35720,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> UseShaderTime + + Switch @@ -31481,6 +35737,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> FilterName + + String @@ -31493,6 +35751,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> Force + + Switch @@ -31505,6 +35765,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> NoResponse + + Switch @@ -31517,6 +35779,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> PassThru + + Switch @@ -31529,6 +35793,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> ShaderText + + String @@ -31541,6 +35807,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> SourceName + + String @@ -31553,6 +35821,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> Threshold + + Float @@ -31565,6 +35835,8 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> UseShaderTime + + Switch @@ -31600,9 +35872,7 @@ Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string> OBSHeatWaveSimpleShader Get - -Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] [[-Distortion] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] [[-Distortion] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -31614,6 +35884,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Rate + + Float @@ -31626,6 +35898,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Strength + + Float @@ -31638,6 +35912,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Distortion + + Float @@ -31650,6 +35926,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Opacity + + Float @@ -31662,6 +35940,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] SourceName + + String @@ -31674,6 +35954,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] FilterName + + String @@ -31686,6 +35968,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] ShaderText + + String @@ -31698,6 +35982,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Force + + Switch @@ -31710,6 +35996,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] PassThru + + Switch @@ -31722,6 +36010,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] NoResponse + + Switch @@ -31734,6 +36024,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] UseShaderTime + + Switch @@ -31749,6 +36041,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Distortion + + Float @@ -31761,6 +36055,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] FilterName + + String @@ -31773,6 +36069,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Force + + Switch @@ -31785,6 +36083,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] NoResponse + + Switch @@ -31797,6 +36097,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Opacity + + Float @@ -31809,6 +36111,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] PassThru + + Switch @@ -31821,6 +36125,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Rate + + Float @@ -31833,6 +36139,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] ShaderText + + String @@ -31845,6 +36153,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] SourceName + + String @@ -31857,6 +36167,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] Strength + + Float @@ -31869,6 +36181,8 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] UseShaderTime + + Switch @@ -31904,9 +36218,7 @@ Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] OBSHexagonShader Get - -Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] [[-Quantity] <float>] [[-BorderWidth] <int>] [[-SpeedPercent] <int>] [[-DistortX] <float>] [[-DistortY] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] [[-Quantity] <float>] [[-BorderWidth] <int>] [[-SpeedPercent] <int>] [[-DistortX] <float>] [[-DistortY] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -31918,6 +36230,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] HexColor + + String @@ -31930,6 +36244,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] AlphaPercent + + Int @@ -31942,6 +36258,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Quantity + + Float @@ -31954,6 +36272,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] BorderWidth + + Int @@ -31966,6 +36286,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Blend + + Switch @@ -31978,6 +36300,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Equilateral + + Switch @@ -31990,6 +36314,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] ZoomAnimate + + Switch @@ -32002,6 +36328,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] SpeedPercent + + Int @@ -32014,6 +36342,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Glitch + + Switch @@ -32026,6 +36356,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] DistortX + + Float @@ -32038,6 +36370,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] DistortY + + Float @@ -32050,6 +36384,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] OffsetX + + Float @@ -32062,6 +36398,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] OffsetY + + Float @@ -32074,6 +36412,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Notes + + String @@ -32086,6 +36426,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] SourceName + + String @@ -32098,6 +36440,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] FilterName + + String @@ -32110,6 +36454,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] ShaderText + + String @@ -32122,6 +36468,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Force + + Switch @@ -32134,6 +36482,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] PassThru + + Switch @@ -32146,6 +36496,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] NoResponse + + Switch @@ -32158,6 +36510,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] UseShaderTime + + Switch @@ -32173,6 +36527,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] AlphaPercent + + Int @@ -32185,6 +36541,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Blend + + Switch @@ -32197,6 +36555,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] BorderWidth + + Int @@ -32209,6 +36569,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] DistortX + + Float @@ -32221,6 +36583,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] DistortY + + Float @@ -32233,6 +36597,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Equilateral + + Switch @@ -32245,6 +36611,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] FilterName + + String @@ -32257,6 +36625,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Force + + Switch @@ -32269,6 +36639,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Glitch + + Switch @@ -32281,6 +36653,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] HexColor + + String @@ -32293,6 +36667,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] NoResponse + + Switch @@ -32305,6 +36681,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Notes + + String @@ -32317,6 +36695,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] OffsetX + + Float @@ -32329,6 +36709,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] OffsetY + + Float @@ -32341,6 +36723,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] PassThru + + Switch @@ -32353,6 +36737,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] Quantity + + Float @@ -32365,6 +36751,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] ShaderText + + String @@ -32377,6 +36765,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] SourceName + + String @@ -32389,6 +36779,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] SpeedPercent + + Int @@ -32401,6 +36793,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] UseShaderTime + + Switch @@ -32413,6 +36807,8 @@ Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] ZoomAnimate + + Switch @@ -32543,9 +36939,7 @@ This can increase performance, and also silently ignore critical errorsOBSHslHsvSaturationShader Get - -Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma] <float>] [[-HsvSaturationFactor] <float>] [[-HsvGamma] <float>] [[-AdjustmentOrder] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma] <float>] [[-HsvSaturationFactor] <float>] [[-HsvGamma] <float>] [[-AdjustmentOrder] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -32557,6 +36951,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HslSaturationFactor + + Float @@ -32569,6 +36965,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HslGamma + + Float @@ -32581,6 +36979,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HsvSaturationFactor + + Float @@ -32593,6 +36993,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HsvGamma + + Float @@ -32605,6 +37007,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma AdjustmentOrder + + Int @@ -32617,6 +37021,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma SourceName + + String @@ -32629,6 +37035,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma FilterName + + String @@ -32641,6 +37049,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma ShaderText + + String @@ -32653,6 +37063,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma Force + + Switch @@ -32665,6 +37077,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma PassThru + + Switch @@ -32677,6 +37091,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma NoResponse + + Switch @@ -32689,6 +37105,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma UseShaderTime + + Switch @@ -32704,6 +37122,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma AdjustmentOrder + + Int @@ -32716,6 +37136,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma FilterName + + String @@ -32728,6 +37150,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma Force + + Switch @@ -32740,6 +37164,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HslGamma + + Float @@ -32752,6 +37178,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HslSaturationFactor + + Float @@ -32764,6 +37192,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HsvGamma + + Float @@ -32776,6 +37206,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma HsvSaturationFactor + + Float @@ -32788,6 +37220,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma NoResponse + + Switch @@ -32800,6 +37234,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma PassThru + + Switch @@ -32812,6 +37248,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma ShaderText + + String @@ -32824,6 +37262,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma SourceName + + String @@ -32836,6 +37276,8 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma UseShaderTime + + Switch @@ -32871,9 +37313,7 @@ Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma OBSHueRotatonShader Get - -Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -32885,6 +37325,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] Speed + + Float @@ -32897,6 +37339,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] HueOverride + + Switch @@ -32909,6 +37353,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] SourceName + + String @@ -32921,6 +37367,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] FilterName + + String @@ -32933,6 +37381,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] ShaderText + + String @@ -32945,6 +37395,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] Force + + Switch @@ -32957,6 +37409,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] PassThru + + Switch @@ -32969,6 +37423,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] NoResponse + + Switch @@ -32981,6 +37437,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] UseShaderTime + + Switch @@ -32996,6 +37454,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] FilterName + + String @@ -33008,6 +37468,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] Force + + Switch @@ -33020,6 +37482,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] HueOverride + + Switch @@ -33032,6 +37496,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] NoResponse + + Switch @@ -33044,6 +37510,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] PassThru + + Switch @@ -33056,6 +37524,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] ShaderText + + String @@ -33068,6 +37538,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] SourceName + + String @@ -33080,6 +37552,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] Speed + + Float @@ -33092,6 +37566,8 @@ Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] UseShaderTime + + Switch @@ -34567,9 +39043,7 @@ This can increase performance, and also silently ignore critical errorsOBSIntensityScopeShader Get - -Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -34581,6 +39055,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- Gain + + Float @@ -34593,6 +39069,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- Blend + + Float @@ -34605,6 +39083,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- SourceName + + String @@ -34617,6 +39097,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- FilterName + + String @@ -34629,6 +39111,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- ShaderText + + String @@ -34641,6 +39125,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- Force + + Switch @@ -34653,6 +39139,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- PassThru + + Switch @@ -34665,6 +39153,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- NoResponse + + Switch @@ -34677,6 +39167,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- UseShaderTime + + Switch @@ -34692,6 +39184,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- Blend + + Float @@ -34704,6 +39198,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- FilterName + + String @@ -34716,6 +39212,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- Force + + Switch @@ -34728,6 +39226,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- Gain + + Float @@ -34740,6 +39240,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- NoResponse + + Switch @@ -34752,6 +39254,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- PassThru + + Switch @@ -34764,6 +39268,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- ShaderText + + String @@ -34776,6 +39282,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- SourceName + + String @@ -34788,6 +39296,8 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- UseShaderTime + + Switch @@ -34823,9 +39333,7 @@ Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[- OBSInvertLumaShader Get - -Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -34837,6 +39345,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string InvertColor + + Switch @@ -34849,6 +39359,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string InvertLuma + + Switch @@ -34861,6 +39373,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string GammaCorrection + + Switch @@ -34873,6 +39387,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string TestRamp + + Switch @@ -34885,6 +39401,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string SourceName + + String @@ -34897,6 +39415,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string FilterName + + String @@ -34909,6 +39429,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string ShaderText + + String @@ -34921,6 +39443,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string Force + + Switch @@ -34933,6 +39457,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string PassThru + + Switch @@ -34945,6 +39471,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string NoResponse + + Switch @@ -34957,6 +39485,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string UseShaderTime + + Switch @@ -34972,6 +39502,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string FilterName + + String @@ -34984,6 +39516,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string Force + + Switch @@ -34996,6 +39530,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string GammaCorrection + + Switch @@ -35008,6 +39544,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string InvertColor + + Switch @@ -35020,6 +39558,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string InvertLuma + + Switch @@ -35032,6 +39572,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string NoResponse + + Switch @@ -35044,6 +39586,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string PassThru + + Switch @@ -35056,6 +39600,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string ShaderText + + String @@ -35068,6 +39614,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string SourceName + + String @@ -35080,6 +39628,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string TestRamp + + Switch @@ -35092,6 +39642,8 @@ Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string UseShaderTime + + Switch @@ -35221,9 +39773,7 @@ This can increase performance, and also silently ignore critical errorsOBSLuminance2Shader Get - -Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[-LumaMin] <float>] [[-LumaMaxSmooth] <float>] [[-LumaMinSmooth] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[-LumaMin] <float>] [[-LumaMaxSmooth] <float>] [[-LumaMinSmooth] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -35235,6 +39785,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- Color + + String @@ -35247,6 +39799,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMax + + Float @@ -35259,6 +39813,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMin + + Float @@ -35271,6 +39827,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMaxSmooth + + Float @@ -35283,6 +39841,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMinSmooth + + Float @@ -35295,6 +39855,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- InvertImageColor + + Switch @@ -35307,6 +39869,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- InvertAlphaChannel + + Switch @@ -35319,6 +39883,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- Notes + + String @@ -35331,6 +39897,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- SourceName + + String @@ -35343,6 +39911,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- FilterName + + String @@ -35355,6 +39925,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- ShaderText + + String @@ -35367,6 +39939,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- Force + + Switch @@ -35379,6 +39953,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- PassThru + + Switch @@ -35391,6 +39967,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- NoResponse + + Switch @@ -35403,6 +39981,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- UseShaderTime + + Switch @@ -35418,6 +39998,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- Color + + String @@ -35430,6 +40012,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- FilterName + + String @@ -35442,6 +40026,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- Force + + Switch @@ -35454,6 +40040,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- InvertAlphaChannel + + Switch @@ -35466,6 +40054,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- InvertImageColor + + Switch @@ -35478,6 +40068,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMax + + Float @@ -35490,6 +40082,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMaxSmooth + + Float @@ -35502,6 +40096,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMin + + Float @@ -35514,6 +40110,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- LumaMinSmooth + + Float @@ -35526,6 +40124,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- NoResponse + + Switch @@ -35538,6 +40138,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- Notes + + String @@ -35550,6 +40152,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- PassThru + + Switch @@ -35562,6 +40166,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- ShaderText + + String @@ -35574,6 +40180,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- SourceName + + String @@ -35586,6 +40194,8 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- UseShaderTime + + Switch @@ -35621,9 +40231,7 @@ Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[- OBSLuminanceAlphaShader Get - -Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ColorMatrix] <float[][]>] [[-Color] <string>] [[-MulVal] <float>] [[-AddVal] <float>] [[-Level] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ColorMatrix] <float[][]>] [[-Color] <string>] [[-MulVal] <float>] [[-AddVal] <float>] [[-Level] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -35635,6 +40243,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ViewProj + + System.Single[][] @@ -35647,6 +40257,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Image + + String @@ -35659,6 +40271,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ElapsedTime + + Float @@ -35671,6 +40285,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvOffset + + System.Single[] @@ -35683,6 +40299,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvScale + + System.Single[] @@ -35695,6 +40313,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvPixelInterval + + System.Single[] @@ -35707,6 +40327,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string RandF + + Float @@ -35719,6 +40341,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvSize + + System.Single[] @@ -35731,6 +40355,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ColorMatrix + + System.Single[][] @@ -35743,6 +40369,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Color + + String @@ -35755,6 +40383,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string MulVal + + Float @@ -35767,6 +40397,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string AddVal + + Float @@ -35779,6 +40411,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Level + + Float @@ -35791,6 +40425,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string InvertAlphaChannel + + Switch @@ -35803,6 +40439,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string SourceName + + String @@ -35815,6 +40453,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string FilterName + + String @@ -35827,6 +40467,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ShaderText + + String @@ -35839,6 +40481,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Force + + Switch @@ -35851,6 +40495,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string PassThru + + Switch @@ -35863,6 +40509,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string NoResponse + + Switch @@ -35875,6 +40523,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UseShaderTime + + Switch @@ -35890,6 +40540,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string AddVal + + Float @@ -35902,6 +40554,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Color + + String @@ -35914,6 +40568,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ColorMatrix + + System.Single[][] @@ -35926,6 +40582,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ElapsedTime + + Float @@ -35938,6 +40596,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string FilterName + + String @@ -35950,6 +40610,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Force + + Switch @@ -35962,6 +40624,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Image + + String @@ -35974,6 +40638,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string InvertAlphaChannel + + Switch @@ -35986,6 +40652,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string Level + + Float @@ -35998,6 +40666,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string MulVal + + Float @@ -36010,6 +40680,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string NoResponse + + Switch @@ -36022,6 +40694,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string PassThru + + Switch @@ -36034,6 +40708,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string RandF + + Float @@ -36046,6 +40722,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ShaderText + + String @@ -36058,6 +40736,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string SourceName + + String @@ -36070,6 +40750,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UseShaderTime + + Switch @@ -36082,6 +40764,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvOffset + + System.Single[] @@ -36094,6 +40778,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvPixelInterval + + System.Single[] @@ -36106,6 +40792,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvScale + + System.Single[] @@ -36118,6 +40806,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string UvSize + + System.Single[] @@ -36130,6 +40820,8 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string ViewProj + + System.Single[][] @@ -36165,9 +40857,7 @@ Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string OBSLuminanceShader Get - -Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -36179,6 +40869,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Color + + String @@ -36191,6 +40883,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Level + + Float @@ -36203,6 +40897,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not InvertImageColor + + Switch @@ -36215,6 +40911,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not InvertAlphaChannel + + Switch @@ -36227,6 +40925,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Notes + + String @@ -36239,6 +40939,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not SourceName + + String @@ -36251,6 +40953,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not FilterName + + String @@ -36263,6 +40967,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not ShaderText + + String @@ -36275,6 +40981,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Force + + Switch @@ -36287,6 +40995,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not PassThru + + Switch @@ -36299,6 +41009,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not NoResponse + + Switch @@ -36311,6 +41023,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not UseShaderTime + + Switch @@ -36326,6 +41040,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Color + + String @@ -36338,6 +41054,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not FilterName + + String @@ -36350,6 +41068,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Force + + Switch @@ -36362,6 +41082,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not InvertAlphaChannel + + Switch @@ -36374,6 +41096,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not InvertImageColor + + Switch @@ -36386,6 +41110,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Level + + Float @@ -36398,6 +41124,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not NoResponse + + Switch @@ -36410,6 +41138,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not Notes + + String @@ -36422,6 +41152,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not PassThru + + Switch @@ -36434,6 +41166,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not ShaderText + + String @@ -36446,6 +41180,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not SourceName + + String @@ -36458,6 +41194,8 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not UseShaderTime + + Switch @@ -36493,9 +41231,7 @@ Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Not OBSMatrixShader Get - -Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Mouse] <float[]>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-Ratio] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Mouse] <float[]>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-Ratio] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -36507,6 +41243,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ViewProj + + System.Single[][] @@ -36519,6 +41257,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Image + + String @@ -36531,6 +41271,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ElapsedTime + + Float @@ -36543,6 +41285,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvOffset + + System.Single[] @@ -36555,6 +41299,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvScale + + System.Single[] @@ -36567,6 +41313,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvSize + + System.Single[] @@ -36579,6 +41327,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvPixelInterval + + System.Single[] @@ -36591,6 +41341,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandF + + Float @@ -36603,6 +41355,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandInstanceF + + Float @@ -36615,6 +41369,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandActivationF + + Float @@ -36627,6 +41383,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Loops + + Int @@ -36639,6 +41397,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LocalTime + + Float @@ -36651,6 +41411,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Mouse + + System.Single[] @@ -36663,6 +41425,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ InvertDirection + + Switch @@ -36675,6 +41439,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMin + + Float @@ -36687,6 +41453,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMinSmooth + + Float @@ -36699,6 +41467,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Ratio + + Float @@ -36711,6 +41481,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ AlphaPercentage + + Float @@ -36723,6 +41495,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ApplyToAlphaLayer + + Switch @@ -36735,6 +41509,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SourceName + + String @@ -36747,6 +41523,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ FilterName + + String @@ -36759,6 +41537,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ShaderText + + String @@ -36771,6 +41551,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Force + + Switch @@ -36783,6 +41565,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ PassThru + + Switch @@ -36795,6 +41579,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ NoResponse + + Switch @@ -36807,6 +41593,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UseShaderTime + + Switch @@ -36822,6 +41610,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ AlphaPercentage + + Float @@ -36834,6 +41624,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ApplyToAlphaLayer + + Switch @@ -36846,6 +41638,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ElapsedTime + + Float @@ -36858,6 +41652,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ FilterName + + String @@ -36870,6 +41666,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Force + + Switch @@ -36882,6 +41680,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Image + + String @@ -36894,6 +41694,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ InvertDirection + + Switch @@ -36906,6 +41708,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LocalTime + + Float @@ -36918,6 +41722,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Loops + + Int @@ -36930,6 +41736,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMin + + Float @@ -36942,6 +41750,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ LumaMinSmooth + + Float @@ -36954,6 +41764,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Mouse + + System.Single[] @@ -36966,6 +41778,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ NoResponse + + Switch @@ -36978,6 +41792,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ PassThru + + Switch @@ -36990,6 +41806,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandActivationF + + Float @@ -37002,6 +41820,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandF + + Float @@ -37014,6 +41834,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ RandInstanceF + + Float @@ -37026,6 +41848,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ Ratio + + Float @@ -37038,6 +41862,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ShaderText + + String @@ -37050,6 +41876,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ SourceName + + String @@ -37062,6 +41890,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UseShaderTime + + Switch @@ -37074,6 +41904,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvOffset + + System.Single[] @@ -37086,6 +41918,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvPixelInterval + + System.Single[] @@ -37098,6 +41932,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvScale + + System.Single[] @@ -37110,6 +41946,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ UvSize + + System.Single[] @@ -37122,6 +41960,8 @@ Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[ ViewProj + + System.Single[][] @@ -37395,9 +42235,7 @@ This can increase performance, and also silently ignore critical errorsOBSMultiplyShader Get - -Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -37409,6 +42247,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g OtherImage + + String @@ -37421,6 +42261,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g SourceName + + String @@ -37433,6 +42275,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g FilterName + + String @@ -37445,6 +42289,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g ShaderText + + String @@ -37457,6 +42303,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g Force + + Switch @@ -37469,6 +42317,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g PassThru + + Switch @@ -37481,6 +42331,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g NoResponse + + Switch @@ -37493,6 +42345,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g UseShaderTime + + Switch @@ -37508,6 +42362,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g FilterName + + String @@ -37520,6 +42376,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g Force + + Switch @@ -37532,6 +42390,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g NoResponse + + Switch @@ -37544,6 +42404,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g OtherImage + + String @@ -37556,6 +42418,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g PassThru + + Switch @@ -37568,6 +42432,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g ShaderText + + String @@ -37580,6 +42446,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g SourceName + + String @@ -37592,6 +42460,8 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g UseShaderTime + + Switch @@ -37627,9 +42497,7 @@ Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string&g OBSNightSkyShader Get - -Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-AlphaPercentage] <float>] [[-NumberStars] <int>] [[-SKYCOLOR] <string>] [[-STARCOLOR] <string>] [[-LIGHTSKY] <string>] [[-SKYLIGHTNESS] <float>] [[-MOONCOLOR] <string>] [[-MoonSize] <float>] [[-MoonBumpSize] <float>] [[-MoonPositionX] <float>] [[-MoonPositionY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-AlphaPercentage] <float>] [[-NumberStars] <int>] [[-SKYCOLOR] <string>] [[-STARCOLOR] <string>] [[-LIGHTSKY] <string>] [[-SKYLIGHTNESS] <float>] [[-MOONCOLOR] <string>] [[-MoonSize] <float>] [[-MoonBumpSize] <float>] [[-MoonPositionX] <float>] [[-MoonPositionY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -37641,6 +42509,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int Speed + + Float @@ -37653,6 +42523,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int IncludeClouds + + Switch @@ -37665,6 +42537,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int IncludeMoon + + Switch @@ -37677,6 +42551,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int CenterWidthPercentage + + Int @@ -37689,6 +42565,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int CenterHeightPercentage + + Int @@ -37701,6 +42579,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int AlphaPercentage + + Float @@ -37713,6 +42593,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int ApplyToImage + + Switch @@ -37725,6 +42607,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int ReplaceImageColor + + Switch @@ -37737,6 +42621,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int NumberStars + + Int @@ -37749,6 +42635,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int SKYCOLOR + + String @@ -37761,6 +42649,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int STARCOLOR + + String @@ -37773,6 +42663,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int LIGHTSKY + + String @@ -37785,6 +42677,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int SKYLIGHTNESS + + Float @@ -37797,6 +42691,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MOONCOLOR + + String @@ -37809,6 +42705,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonSize + + Float @@ -37821,6 +42719,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonBumpSize + + Float @@ -37833,6 +42733,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonPositionX + + Float @@ -37845,6 +42747,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonPositionY + + Float @@ -37857,6 +42761,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int SourceName + + String @@ -37869,6 +42775,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int FilterName + + String @@ -37881,6 +42789,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int ShaderText + + String @@ -37893,6 +42803,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int Force + + Switch @@ -37905,6 +42817,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int PassThru + + Switch @@ -37917,6 +42831,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int NoResponse + + Switch @@ -37929,6 +42845,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int UseShaderTime + + Switch @@ -37944,6 +42862,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int AlphaPercentage + + Float @@ -37956,6 +42876,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int ApplyToImage + + Switch @@ -37968,6 +42890,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int CenterHeightPercentage + + Int @@ -37980,6 +42904,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int CenterWidthPercentage + + Int @@ -37992,6 +42918,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int FilterName + + String @@ -38004,6 +42932,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int Force + + Switch @@ -38016,6 +42946,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int IncludeClouds + + Switch @@ -38028,6 +42960,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int IncludeMoon + + Switch @@ -38040,6 +42974,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int LIGHTSKY + + String @@ -38052,6 +42988,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonBumpSize + + Float @@ -38064,6 +43002,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MOONCOLOR + + String @@ -38076,6 +43016,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonPositionX + + Float @@ -38088,6 +43030,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonPositionY + + Float @@ -38100,6 +43044,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int MoonSize + + Float @@ -38112,6 +43058,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int NoResponse + + Switch @@ -38124,6 +43072,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int NumberStars + + Int @@ -38136,6 +43086,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int PassThru + + Switch @@ -38148,6 +43100,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int ReplaceImageColor + + Switch @@ -38160,6 +43114,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int ShaderText + + String @@ -38172,6 +43128,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int SKYCOLOR + + String @@ -38184,6 +43142,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int SKYLIGHTNESS + + Float @@ -38196,6 +43156,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int SourceName + + String @@ -38208,6 +43170,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int Speed + + Float @@ -38220,6 +43184,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int STARCOLOR + + String @@ -38232,6 +43198,8 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int UseShaderTime + + Switch @@ -38267,9 +43235,7 @@ Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int OBSOpacityShader Get - -Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -38281,6 +43247,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ Opacity + + Float @@ -38293,6 +43261,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ SourceName + + String @@ -38305,6 +43275,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ FilterName + + String @@ -38317,6 +43289,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ ShaderText + + String @@ -38329,6 +43303,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ Force + + Switch @@ -38341,6 +43317,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ PassThru + + Switch @@ -38353,6 +43331,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ NoResponse + + Switch @@ -38365,6 +43345,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ UseShaderTime + + Switch @@ -38380,6 +43362,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ FilterName + + String @@ -38392,6 +43376,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ Force + + Switch @@ -38404,6 +43390,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ NoResponse + + Switch @@ -38416,6 +43404,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ Opacity + + Float @@ -38428,6 +43418,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ PassThru + + Switch @@ -38440,6 +43432,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ ShaderText + + String @@ -38452,6 +43446,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ SourceName + + String @@ -38464,6 +43460,8 @@ Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [ UseShaderTime + + Switch @@ -38811,9 +43809,7 @@ This can increase performance, and also silently ignore critical errorsOBSPagePeelShader Get - -Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -38825,6 +43821,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So Speed + + Float @@ -38837,6 +43835,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So Position + + Float @@ -38849,6 +43849,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So SourceName + + String @@ -38861,6 +43863,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So FilterName + + String @@ -38873,6 +43877,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So ShaderText + + String @@ -38885,6 +43891,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So Force + + Switch @@ -38897,6 +43905,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So PassThru + + Switch @@ -38909,6 +43919,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So NoResponse + + Switch @@ -38921,6 +43933,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So UseShaderTime + + Switch @@ -38936,6 +43950,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So FilterName + + String @@ -38948,6 +43964,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So Force + + Switch @@ -38960,6 +43978,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So NoResponse + + Switch @@ -38972,6 +43992,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So PassThru + + Switch @@ -38984,6 +44006,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So Position + + Float @@ -38996,6 +44020,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So ShaderText + + String @@ -39008,6 +44034,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So SourceName + + String @@ -39020,6 +44048,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So Speed + + Float @@ -39032,6 +44062,8 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So UseShaderTime + + Switch @@ -39067,9 +44099,7 @@ Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-So OBSPagePeelTransitionShader Get - -Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-PageColor] <string>] [[-PageTransparency] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-PageColor] <string>] [[-PageTransparency] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -39081,6 +44111,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ImageA + + String @@ -39093,6 +44125,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ImageB + + String @@ -39105,6 +44139,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string TransitionTime + + Float @@ -39117,6 +44153,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ConvertLinear + + Switch @@ -39129,6 +44167,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string PageColor + + String @@ -39141,6 +44181,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string PageTransparency + + Float @@ -39153,6 +44195,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string SourceName + + String @@ -39165,6 +44209,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string FilterName + + String @@ -39177,6 +44223,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ShaderText + + String @@ -39189,6 +44237,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string Force + + Switch @@ -39201,6 +44251,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string PassThru + + Switch @@ -39213,6 +44265,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string NoResponse + + Switch @@ -39225,6 +44279,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string UseShaderTime + + Switch @@ -39240,6 +44296,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ConvertLinear + + Switch @@ -39252,6 +44310,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string FilterName + + String @@ -39264,6 +44324,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string Force + + Switch @@ -39276,6 +44338,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ImageA + + String @@ -39288,6 +44352,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ImageB + + String @@ -39300,6 +44366,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string NoResponse + + Switch @@ -39312,6 +44380,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string PageColor + + String @@ -39324,6 +44394,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string PageTransparency + + Float @@ -39336,6 +44408,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string PassThru + + Switch @@ -39348,6 +44422,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string ShaderText + + String @@ -39360,6 +44436,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string SourceName + + String @@ -39372,6 +44450,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string TransitionTime + + Float @@ -39384,6 +44464,8 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string UseShaderTime + + Switch @@ -39419,9 +44501,7 @@ Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string OBSPerlinNoiseShader Get - -Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float>] [[-SpeedVertical] <float>] [[-Iterations] <int>] [[-WhiteNoise] <float>] [[-BlackNoise] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float>] [[-SpeedVertical] <float>] [[-Iterations] <int>] [[-WhiteNoise] <float>] [[-BlackNoise] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -39433,6 +44513,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Speed + + Float @@ -39445,6 +44527,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Animated + + Switch @@ -39457,6 +44541,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g ApplyToChannel + + Switch @@ -39469,6 +44555,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Inverted + + Switch @@ -39481,6 +44569,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Multiply + + Switch @@ -39493,6 +44583,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g SpeedHorizonal + + Float @@ -39505,6 +44597,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g SpeedVertical + + Float @@ -39517,6 +44611,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Iterations + + Int @@ -39529,6 +44625,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g WhiteNoise + + Float @@ -39541,6 +44639,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g BlackNoise + + Float @@ -39553,6 +44653,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Notes + + String @@ -39565,6 +44667,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g SourceName + + String @@ -39577,6 +44681,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g FilterName + + String @@ -39589,6 +44695,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g ShaderText + + String @@ -39601,6 +44709,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Force + + Switch @@ -39613,6 +44723,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g PassThru + + Switch @@ -39625,6 +44737,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g NoResponse + + Switch @@ -39637,6 +44751,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g UseShaderTime + + Switch @@ -39652,6 +44768,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Animated + + Switch @@ -39664,6 +44782,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g ApplyToChannel + + Switch @@ -39676,6 +44796,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g BlackNoise + + Float @@ -39688,6 +44810,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g FilterName + + String @@ -39700,6 +44824,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Force + + Switch @@ -39712,6 +44838,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Inverted + + Switch @@ -39724,6 +44852,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Iterations + + Int @@ -39736,6 +44866,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Multiply + + Switch @@ -39748,6 +44880,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g NoResponse + + Switch @@ -39760,6 +44894,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Notes + + String @@ -39772,6 +44908,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g PassThru + + Switch @@ -39784,6 +44922,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g ShaderText + + String @@ -39796,6 +44936,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g SourceName + + String @@ -39808,6 +44950,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g Speed + + Float @@ -39820,6 +44964,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g SpeedHorizonal + + Float @@ -39832,6 +44978,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g SpeedVertical + + Float @@ -39844,6 +44992,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g UseShaderTime + + Switch @@ -39856,6 +45006,8 @@ Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float&g WhiteNoise + + Float @@ -40026,9 +45178,7 @@ This can increase performance, and also silently ignore critical errorsOBSPieChartShader Get - -Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-StartAngle] <float>] [[-Total] <int>] [[-Part1] <int>] [[-Color1] <string>] [[-Part2] <int>] [[-Color2] <string>] [[-Part3] <int>] [[-Color3] <string>] [[-Part4] <int>] [[-Color4] <string>] [[-Part5] <int>] [[-Color5] <string>] [[-Part6] <int>] [[-Color6] <string>] [[-Part7] <int>] [[-Color7] <string>] [[-Part8] <int>] [[-Color8] <string>] [[-Part9] <int>] [[-Color9] <string>] [[-Part10] <int>] [[-Color10] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-StartAngle] <float>] [[-Total] <int>] [[-Part1] <int>] [[-Color1] <string>] [[-Part2] <int>] [[-Color2] <string>] [[-Part3] <int>] [[-Color3] <string>] [[-Part4] <int>] [[-Color4] <string>] [[-Part5] <int>] [[-Color5] <string>] [[-Part6] <int>] [[-Color6] <string>] [[-Part7] <int>] [[-Color7] <string>] [[-Part8] <int>] [[-Color8] <string>] [[-Part9] <int>] [[-Color9] <string>] [[-Part10] <int>] [[-Color10] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -40040,6 +45190,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g InnerRadius + + Float @@ -40052,6 +45204,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g OuterRadius + + Float @@ -40064,6 +45218,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g StartAngle + + Float @@ -40076,6 +45232,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Total + + Int @@ -40088,6 +45246,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part1 + + Int @@ -40100,6 +45260,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color1 + + String @@ -40112,6 +45274,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part2 + + Int @@ -40124,6 +45288,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color2 + + String @@ -40136,6 +45302,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part3 + + Int @@ -40148,6 +45316,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color3 + + String @@ -40160,6 +45330,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part4 + + Int @@ -40172,6 +45344,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color4 + + String @@ -40184,6 +45358,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part5 + + Int @@ -40196,6 +45372,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color5 + + String @@ -40208,6 +45386,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part6 + + Int @@ -40220,6 +45400,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color6 + + String @@ -40232,6 +45414,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part7 + + Int @@ -40244,6 +45428,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color7 + + String @@ -40256,6 +45442,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part8 + + Int @@ -40268,6 +45456,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color8 + + String @@ -40280,6 +45470,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part9 + + Int @@ -40292,6 +45484,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color9 + + String @@ -40304,6 +45498,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part10 + + Int @@ -40316,6 +45512,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color10 + + String @@ -40328,6 +45526,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g SourceName + + String @@ -40340,6 +45540,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g FilterName + + String @@ -40352,6 +45554,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g ShaderText + + String @@ -40364,6 +45568,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Force + + Switch @@ -40376,6 +45582,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g PassThru + + Switch @@ -40388,6 +45596,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g NoResponse + + Switch @@ -40400,6 +45610,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g UseShaderTime + + Switch @@ -40415,6 +45627,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color1 + + String @@ -40427,6 +45641,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color10 + + String @@ -40439,6 +45655,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color2 + + String @@ -40451,6 +45669,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color3 + + String @@ -40463,6 +45683,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color4 + + String @@ -40475,6 +45697,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color5 + + String @@ -40487,6 +45711,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color6 + + String @@ -40499,6 +45725,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color7 + + String @@ -40511,6 +45739,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color8 + + String @@ -40523,6 +45753,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Color9 + + String @@ -40535,6 +45767,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g FilterName + + String @@ -40547,6 +45781,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Force + + Switch @@ -40559,6 +45795,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g InnerRadius + + Float @@ -40571,6 +45809,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g NoResponse + + Switch @@ -40583,6 +45823,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g OuterRadius + + Float @@ -40595,6 +45837,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part1 + + Int @@ -40607,6 +45851,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part10 + + Int @@ -40619,6 +45865,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part2 + + Int @@ -40631,6 +45879,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part3 + + Int @@ -40643,6 +45893,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part4 + + Int @@ -40655,6 +45907,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part5 + + Int @@ -40667,6 +45921,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part6 + + Int @@ -40679,6 +45935,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part7 + + Int @@ -40691,6 +45949,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part8 + + Int @@ -40703,6 +45963,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Part9 + + Int @@ -40715,6 +45977,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g PassThru + + Switch @@ -40727,6 +45991,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g ShaderText + + String @@ -40739,6 +46005,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g SourceName + + String @@ -40751,6 +46019,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g StartAngle + + Float @@ -40763,6 +46033,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g Total + + Int @@ -40775,6 +46047,8 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g UseShaderTime + + Switch @@ -40810,9 +46084,7 @@ Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float&g OBSPixelationShader Get - -Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -40824,6 +46096,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa TargetWidth + + Float @@ -40836,6 +46110,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa TargetHeight + + Float @@ -40848,6 +46124,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa Notes + + String @@ -40860,6 +46138,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa SourceName + + String @@ -40872,6 +46152,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa FilterName + + String @@ -40884,6 +46166,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa ShaderText + + String @@ -40896,6 +46180,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa Force + + Switch @@ -40908,6 +46194,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa PassThru + + Switch @@ -40920,6 +46208,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa NoResponse + + Switch @@ -40932,6 +46222,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa UseShaderTime + + Switch @@ -40947,6 +46239,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa FilterName + + String @@ -40959,6 +46253,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa Force + + Switch @@ -40971,6 +46267,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa NoResponse + + Switch @@ -40983,6 +46281,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa Notes + + String @@ -40995,6 +46295,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa PassThru + + Switch @@ -41007,6 +46309,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa ShaderText + + String @@ -41019,6 +46323,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa SourceName + + String @@ -41031,6 +46337,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa TargetHeight + + Float @@ -41043,6 +46351,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa TargetWidth + + Float @@ -41055,6 +46365,8 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa UseShaderTime + + Switch @@ -41090,9 +46402,7 @@ Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <floa OBSPixelationTransitionShader Get - -Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -41104,6 +46414,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l TransitionTime + + Float @@ -41116,6 +46428,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l ConvertLinear + + Switch @@ -41128,6 +46442,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l Power + + Float @@ -41140,6 +46456,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l CenterX + + Float @@ -41152,6 +46470,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l CenterY + + Float @@ -41164,6 +46484,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l SourceName + + String @@ -41176,6 +46498,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l FilterName + + String @@ -41188,6 +46512,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l ShaderText + + String @@ -41200,6 +46526,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l Force + + Switch @@ -41212,6 +46540,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l PassThru + + Switch @@ -41224,6 +46554,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l NoResponse + + Switch @@ -41236,6 +46568,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l UseShaderTime + + Switch @@ -41251,6 +46585,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l CenterX + + Float @@ -41263,6 +46599,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l CenterY + + Float @@ -41275,6 +46613,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l ConvertLinear + + Switch @@ -41287,6 +46627,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l FilterName + + String @@ -41299,6 +46641,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l Force + + Switch @@ -41311,6 +46655,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l NoResponse + + Switch @@ -41323,6 +46669,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l PassThru + + Switch @@ -41335,6 +46683,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l Power + + Float @@ -41347,6 +46697,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l ShaderText + + String @@ -41359,6 +46711,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l SourceName + + String @@ -41371,6 +46725,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l TransitionTime + + Float @@ -41383,6 +46739,8 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l UseShaderTime + + Switch @@ -41418,9 +46776,7 @@ Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] &l OBSPolarShader Get - -Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-PointY] <float>] [[-Rotate] <float>] [[-Repeat] <float>] [[-Scale] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-PointY] <float>] [[-Rotate] <float>] [[-Repeat] <float>] [[-Scale] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -41432,6 +46788,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin CenterX + + Float @@ -41444,6 +46802,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin CenterY + + Float @@ -41456,6 +46816,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin PointY + + Float @@ -41468,6 +46830,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Flip + + Switch @@ -41480,6 +46844,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Rotate + + Float @@ -41492,6 +46858,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Repeat + + Float @@ -41504,6 +46872,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Scale + + Float @@ -41516,6 +46886,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin SourceName + + String @@ -41528,6 +46900,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin FilterName + + String @@ -41540,6 +46914,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin ShaderText + + String @@ -41552,6 +46928,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Force + + Switch @@ -41564,6 +46942,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin PassThru + + Switch @@ -41576,6 +46956,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin NoResponse + + Switch @@ -41588,6 +46970,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin UseShaderTime + + Switch @@ -41603,6 +46987,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin CenterX + + Float @@ -41615,6 +47001,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin CenterY + + Float @@ -41627,6 +47015,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin FilterName + + String @@ -41639,6 +47029,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Flip + + Switch @@ -41651,6 +47043,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Force + + Switch @@ -41663,6 +47057,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin NoResponse + + Switch @@ -41675,6 +47071,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin PassThru + + Switch @@ -41687,6 +47085,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin PointY + + Float @@ -41699,6 +47099,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Repeat + + Float @@ -41711,6 +47113,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Rotate + + Float @@ -41723,6 +47127,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin Scale + + Float @@ -41735,6 +47141,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin ShaderText + + String @@ -41747,6 +47155,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin SourceName + + String @@ -41759,6 +47169,8 @@ Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-Poin UseShaderTime + + Switch @@ -42023,9 +47435,7 @@ This can increase performance, and also silently ignore critical errorsOBSPulseShader Get - -Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -42037,6 +47447,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ViewProj + + System.Single[][] @@ -42049,6 +47461,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Image + + String @@ -42061,6 +47475,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ElapsedTime + + Float @@ -42073,6 +47489,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvOffset + + System.Single[] @@ -42085,6 +47503,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvScale + + System.Single[] @@ -42097,6 +47517,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvPixelInterval + + System.Single[] @@ -42109,6 +47531,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandF + + Float @@ -42121,6 +47545,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvSize + + System.Single[] @@ -42133,6 +47559,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Speed + + Float @@ -42145,6 +47573,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MinGrowthPixels + + Float @@ -42157,6 +47587,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MaxGrowthPixels + + Float @@ -42169,6 +47601,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SourceName + + String @@ -42181,6 +47615,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FilterName + + String @@ -42193,6 +47629,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ShaderText + + String @@ -42205,6 +47643,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Force + + Switch @@ -42217,6 +47657,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- PassThru + + Switch @@ -42229,6 +47671,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- NoResponse + + Switch @@ -42241,6 +47685,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UseShaderTime + + Switch @@ -42256,6 +47702,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ElapsedTime + + Float @@ -42268,6 +47716,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FilterName + + String @@ -42280,6 +47730,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Force + + Switch @@ -42292,6 +47744,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Image + + String @@ -42304,6 +47758,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MaxGrowthPixels + + Float @@ -42316,6 +47772,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MinGrowthPixels + + Float @@ -42328,6 +47786,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- NoResponse + + Switch @@ -42340,6 +47800,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- PassThru + + Switch @@ -42352,6 +47814,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandF + + Float @@ -42364,6 +47828,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ShaderText + + String @@ -42376,6 +47842,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SourceName + + String @@ -42388,6 +47856,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Speed + + Float @@ -42400,6 +47870,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UseShaderTime + + Switch @@ -42412,6 +47884,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvOffset + + System.Single[] @@ -42424,6 +47898,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvPixelInterval + + System.Single[] @@ -42436,6 +47912,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvScale + + System.Single[] @@ -42448,6 +47926,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvSize + + System.Single[] @@ -42460,6 +47940,8 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ViewProj + + System.Single[][] @@ -42495,9 +47977,7 @@ Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- OBSRainbowShader Get - -Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-AlphaPercentage] <float>] [[-RotationOffset] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-AlphaPercentage] <float>] [[-RotationOffset] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -42509,6 +47989,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Saturation + + Float @@ -42521,6 +48003,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Luminosity + + Float @@ -42533,6 +48017,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Spread + + Float @@ -42545,6 +48031,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Speed + + Float @@ -42557,6 +48045,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] AlphaPercentage + + Float @@ -42569,6 +48059,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Vertical + + Switch @@ -42581,6 +48073,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Rotational + + Switch @@ -42593,6 +48087,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] RotationOffset + + Float @@ -42605,6 +48101,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ApplyToImage + + Switch @@ -42617,6 +48115,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ReplaceImageColor + + Switch @@ -42629,6 +48129,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ApplyToSpecificColor + + Switch @@ -42641,6 +48143,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ColorToReplace + + String @@ -42653,6 +48157,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Notes + + String @@ -42665,6 +48171,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] SourceName + + String @@ -42677,6 +48185,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] FilterName + + String @@ -42689,6 +48199,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ShaderText + + String @@ -42701,6 +48213,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Force + + Switch @@ -42713,6 +48227,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] PassThru + + Switch @@ -42725,6 +48241,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] NoResponse + + Switch @@ -42737,6 +48255,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] UseShaderTime + + Switch @@ -42752,6 +48272,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] AlphaPercentage + + Float @@ -42764,6 +48286,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ApplyToImage + + Switch @@ -42776,6 +48300,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ApplyToSpecificColor + + Switch @@ -42788,6 +48314,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ColorToReplace + + String @@ -42800,6 +48328,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] FilterName + + String @@ -42812,6 +48342,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Force + + Switch @@ -42824,6 +48356,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Luminosity + + Float @@ -42836,6 +48370,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] NoResponse + + Switch @@ -42848,6 +48384,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Notes + + String @@ -42860,6 +48398,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] PassThru + + Switch @@ -42872,6 +48412,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ReplaceImageColor + + Switch @@ -42884,6 +48426,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Rotational + + Switch @@ -42896,6 +48440,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] RotationOffset + + Float @@ -42908,6 +48454,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Saturation + + Float @@ -42920,6 +48468,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] ShaderText + + String @@ -42932,6 +48482,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] SourceName + + String @@ -42944,6 +48496,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Speed + + Float @@ -42956,6 +48510,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Spread + + Float @@ -42968,6 +48524,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] UseShaderTime + + Switch @@ -42980,6 +48538,8 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] Vertical + + Switch @@ -43015,9 +48575,7 @@ Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] OBSRainWindowShader Get - -Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-TrailStrength] <float>] [[-TrailColor] <float>] [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-TrailStrength] <float>] [[-TrailColor] <float>] [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -43029,6 +48587,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T Size + + Float @@ -43041,6 +48601,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T BlurSize + + Float @@ -43053,6 +48615,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T TrailStrength + + Float @@ -43065,6 +48629,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T TrailColor + + Float @@ -43077,6 +48643,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T Speed + + Float @@ -43089,6 +48657,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T DebugShader + + Switch @@ -43101,6 +48671,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T SourceName + + String @@ -43113,6 +48685,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T FilterName + + String @@ -43125,6 +48699,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T ShaderText + + String @@ -43137,6 +48713,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T Force + + Switch @@ -43149,6 +48727,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T PassThru + + Switch @@ -43161,6 +48741,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T NoResponse + + Switch @@ -43173,6 +48755,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T UseShaderTime + + Switch @@ -43188,6 +48772,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T BlurSize + + Float @@ -43200,6 +48786,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T DebugShader + + Switch @@ -43212,6 +48800,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T FilterName + + String @@ -43224,6 +48814,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T Force + + Switch @@ -43236,6 +48828,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T NoResponse + + Switch @@ -43248,6 +48842,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T PassThru + + Switch @@ -43260,6 +48856,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T ShaderText + + String @@ -43272,6 +48870,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T Size + + Float @@ -43284,6 +48884,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T SourceName + + String @@ -43296,6 +48898,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T Speed + + Float @@ -43308,6 +48912,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T TrailColor + + Float @@ -43320,6 +48926,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T TrailStrength + + Float @@ -43332,6 +48940,8 @@ Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-T UseShaderTime + + Switch @@ -43555,9 +49165,7 @@ This can increase performance, and also silently ignore critical errorsOBSRectangularDropShadowShader Get - -Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -43569,6 +49177,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowOffsetX + + Int @@ -43581,6 +49191,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowOffsetY + + Int @@ -43593,6 +49205,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowBlurSize + + Int @@ -43605,6 +49219,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowColor + + String @@ -43617,6 +49233,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse SourceName + + String @@ -43629,6 +49247,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse FilterName + + String @@ -43641,6 +49261,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShaderText + + String @@ -43653,6 +49275,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse Force + + Switch @@ -43665,6 +49289,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse PassThru + + Switch @@ -43677,6 +49303,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse NoResponse + + Switch @@ -43689,6 +49317,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse UseShaderTime + + Switch @@ -43704,6 +49334,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse FilterName + + String @@ -43716,6 +49348,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse Force + + Switch @@ -43728,6 +49362,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse NoResponse + + Switch @@ -43740,6 +49376,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse PassThru + + Switch @@ -43752,6 +49390,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShaderText + + String @@ -43764,6 +49404,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowBlurSize + + Int @@ -43776,6 +49418,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowColor + + String @@ -43788,6 +49432,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowOffsetX + + Int @@ -43800,6 +49446,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse ShadowOffsetY + + Int @@ -43812,6 +49460,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse SourceName + + String @@ -43824,6 +49474,8 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse UseShaderTime + + Switch @@ -43859,9 +49511,7 @@ Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffse OBSReflectShader Get - -Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -43873,6 +49523,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& Horizontal + + Switch @@ -43885,6 +49537,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& Vertical + + Switch @@ -43897,6 +49551,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& CenterXPercent + + Int @@ -43909,6 +49565,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& CenterYPercent + + Int @@ -43921,6 +49579,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& SourceName + + String @@ -43933,6 +49593,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& FilterName + + String @@ -43945,6 +49607,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& ShaderText + + String @@ -43957,6 +49621,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& Force + + Switch @@ -43969,6 +49635,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& PassThru + + Switch @@ -43981,6 +49649,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& NoResponse + + Switch @@ -43993,6 +49663,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& UseShaderTime + + Switch @@ -44008,6 +49680,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& CenterXPercent + + Int @@ -44020,6 +49694,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& CenterYPercent + + Int @@ -44032,6 +49708,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& FilterName + + String @@ -44044,6 +49722,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& Force + + Switch @@ -44056,6 +49736,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& Horizontal + + Switch @@ -44068,6 +49750,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& NoResponse + + Switch @@ -44080,6 +49764,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& PassThru + + Switch @@ -44092,6 +49778,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& ShaderText + + String @@ -44104,6 +49792,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& SourceName + + String @@ -44116,6 +49806,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& UseShaderTime + + Switch @@ -44128,6 +49820,8 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& Vertical + + Switch @@ -44163,9 +49857,7 @@ Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int& OBSRemovePartialPixelsShader Get - -Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -44177,6 +49869,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] MinimumAlphaPercent + + Int @@ -44189,6 +49883,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] Notes + + String @@ -44201,6 +49897,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] SourceName + + String @@ -44213,6 +49911,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] FilterName + + String @@ -44225,6 +49925,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] ShaderText + + String @@ -44237,6 +49939,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] Force + + Switch @@ -44249,6 +49953,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] PassThru + + Switch @@ -44261,6 +49967,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] NoResponse + + Switch @@ -44273,6 +49981,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] UseShaderTime + + Switch @@ -44288,6 +49998,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] FilterName + + String @@ -44300,6 +50012,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] Force + + Switch @@ -44312,6 +50026,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] MinimumAlphaPercent + + Int @@ -44324,6 +50040,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] NoResponse + + Switch @@ -44336,6 +50054,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] Notes + + String @@ -44348,6 +50068,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] PassThru + + Switch @@ -44360,6 +50082,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] ShaderText + + String @@ -44372,6 +50096,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] SourceName + + String @@ -44384,6 +50110,8 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] UseShaderTime + + Switch @@ -44419,9 +50147,7 @@ Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] OBSRepeatShader Get - -Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Alpha] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Alpha] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -44433,6 +50159,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ViewProj + + System.Single[][] @@ -44445,6 +50173,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ColorMatrix + + System.Single[][] @@ -44457,6 +50187,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ColorRangeMin + + System.Single[] @@ -44469,6 +50201,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ColorRangeMax + + System.Single[] @@ -44481,6 +50215,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Image + + String @@ -44493,6 +50229,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ElapsedTime + + Float @@ -44505,6 +50243,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvOffset + + System.Single[] @@ -44517,6 +50257,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvScale + + System.Single[] @@ -44529,6 +50271,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvPixelInterval + + System.Single[] @@ -44541,6 +50285,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvSize + + System.Single[] @@ -44553,6 +50299,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ RandF + + Float @@ -44565,6 +50313,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Alpha + + Float @@ -44577,6 +50327,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Copies + + Float @@ -44589,6 +50341,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Notes + + String @@ -44601,6 +50355,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ SourceName + + String @@ -44613,6 +50369,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ FilterName + + String @@ -44625,6 +50383,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ShaderText + + String @@ -44637,6 +50397,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Force + + Switch @@ -44649,6 +50411,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ PassThru + + Switch @@ -44661,6 +50425,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ NoResponse + + Switch @@ -44673,6 +50439,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UseShaderTime + + Switch @@ -44688,6 +50456,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Alpha + + Float @@ -44700,6 +50470,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ColorMatrix + + System.Single[][] @@ -44712,6 +50484,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ColorRangeMax + + System.Single[] @@ -44724,6 +50498,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ColorRangeMin + + System.Single[] @@ -44736,6 +50512,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Copies + + Float @@ -44748,6 +50526,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ElapsedTime + + Float @@ -44760,6 +50540,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ FilterName + + String @@ -44772,6 +50554,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Force + + Switch @@ -44784,6 +50568,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Image + + String @@ -44796,6 +50582,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ NoResponse + + Switch @@ -44808,6 +50596,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ Notes + + String @@ -44820,6 +50610,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ PassThru + + Switch @@ -44832,6 +50624,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ RandF + + Float @@ -44844,6 +50638,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ShaderText + + String @@ -44856,6 +50652,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ SourceName + + String @@ -44868,6 +50666,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UseShaderTime + + Switch @@ -44880,6 +50680,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvOffset + + System.Single[] @@ -44892,6 +50694,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvPixelInterval + + System.Single[] @@ -44904,6 +50708,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvScale + + System.Single[] @@ -44916,6 +50722,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ UvSize + + System.Single[] @@ -44928,6 +50736,8 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ ViewProj + + System.Single[][] @@ -44963,9 +50773,7 @@ Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][ OBSRepeatTextureShader Get - -Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-TexImage] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Blend] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-TexImage] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Blend] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -44977,6 +50785,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ViewProj + + System.Single[][] @@ -44989,6 +50799,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ColorMatrix + + System.Single[][] @@ -45001,6 +50813,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ColorRangeMin + + System.Single[] @@ -45013,6 +50827,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ColorRangeMax + + System.Single[] @@ -45025,6 +50841,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Image + + String @@ -45037,6 +50855,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f TexImage + + String @@ -45049,6 +50869,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ElapsedTime + + Float @@ -45061,6 +50883,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvOffset + + System.Single[] @@ -45073,6 +50897,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvScale + + System.Single[] @@ -45085,6 +50911,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvPixelInterval + + System.Single[] @@ -45097,6 +50925,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvSize + + System.Single[] @@ -45109,6 +50939,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f RandF + + Float @@ -45121,6 +50953,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Blend + + Float @@ -45133,6 +50967,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Copies + + Float @@ -45145,6 +50981,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Notes + + String @@ -45157,6 +50995,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f AlphaPercentage + + Float @@ -45169,6 +51009,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f SourceName + + String @@ -45181,6 +51023,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f FilterName + + String @@ -45193,6 +51037,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ShaderText + + String @@ -45205,6 +51051,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Force + + Switch @@ -45217,6 +51065,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f PassThru + + Switch @@ -45229,6 +51079,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f NoResponse + + Switch @@ -45241,6 +51093,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UseShaderTime + + Switch @@ -45256,6 +51110,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f AlphaPercentage + + Float @@ -45268,6 +51124,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Blend + + Float @@ -45280,6 +51138,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ColorMatrix + + System.Single[][] @@ -45292,6 +51152,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ColorRangeMax + + System.Single[] @@ -45304,6 +51166,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ColorRangeMin + + System.Single[] @@ -45316,6 +51180,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Copies + + Float @@ -45328,6 +51194,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ElapsedTime + + Float @@ -45340,6 +51208,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f FilterName + + String @@ -45352,6 +51222,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Force + + Switch @@ -45364,6 +51236,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Image + + String @@ -45376,6 +51250,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f NoResponse + + Switch @@ -45388,6 +51264,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f Notes + + String @@ -45400,6 +51278,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f PassThru + + Switch @@ -45412,6 +51292,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f RandF + + Float @@ -45424,6 +51306,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ShaderText + + String @@ -45436,6 +51320,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f SourceName + + String @@ -45448,6 +51334,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f TexImage + + String @@ -45460,6 +51348,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UseShaderTime + + Switch @@ -45472,6 +51362,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvOffset + + System.Single[] @@ -45484,6 +51376,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvPixelInterval + + System.Single[] @@ -45496,6 +51390,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvScale + + System.Single[] @@ -45508,6 +51404,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f UvSize + + System.Single[] @@ -45520,6 +51418,8 @@ Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <f ViewProj + + System.Single[][] @@ -45649,9 +51549,7 @@ This can increase performance, and also silently ignore critical errorsOBSRGBAPercentShader Get - -Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <float>] [[-BluePercent] <float>] [[-AlphaPercent] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <float>] [[-BluePercent] <float>] [[-AlphaPercent] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -45663,6 +51561,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa RedPercent + + Float @@ -45675,6 +51575,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa GreenPercent + + Float @@ -45687,6 +51589,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa BluePercent + + Float @@ -45699,6 +51603,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa AlphaPercent + + Float @@ -45711,6 +51617,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa SourceName + + String @@ -45723,6 +51631,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa FilterName + + String @@ -45735,6 +51645,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa ShaderText + + String @@ -45747,6 +51659,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa Force + + Switch @@ -45759,6 +51673,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa PassThru + + Switch @@ -45771,6 +51687,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa NoResponse + + Switch @@ -45783,6 +51701,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa UseShaderTime + + Switch @@ -45798,6 +51718,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa AlphaPercent + + Float @@ -45810,6 +51732,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa BluePercent + + Float @@ -45822,6 +51746,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa FilterName + + String @@ -45834,6 +51760,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa Force + + Switch @@ -45846,6 +51774,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa GreenPercent + + Float @@ -45858,6 +51788,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa NoResponse + + Switch @@ -45870,6 +51802,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa PassThru + + Switch @@ -45882,6 +51816,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa RedPercent + + Float @@ -45894,6 +51830,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa ShaderText + + String @@ -45906,6 +51844,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa SourceName + + String @@ -45918,6 +51858,8 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa UseShaderTime + + Switch @@ -45953,9 +51895,7 @@ Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <floa OBSRgbColorWheelShader Get - -Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float>] [[-ColorToReplace] <string>] [[-AlphaPercentage] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float>] [[-ColorToReplace] <string>] [[-AlphaPercentage] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -45967,6 +51907,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> Speed + + Float @@ -45979,6 +51921,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ColorDepth + + Float @@ -45991,6 +51935,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ApplyToImage + + Switch @@ -46003,6 +51949,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ReplaceImageColor + + Switch @@ -46015,6 +51963,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ApplyToSpecificColor + + Switch @@ -46027,6 +51977,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ColorToReplace + + String @@ -46039,6 +51991,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> AlphaPercentage + + Float @@ -46051,6 +52005,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> CenterWidthPercentage + + Int @@ -46063,6 +52019,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> CenterHeightPercentage + + Int @@ -46075,6 +52033,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> SourceName + + String @@ -46087,6 +52047,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> FilterName + + String @@ -46099,6 +52061,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ShaderText + + String @@ -46111,6 +52075,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> Force + + Switch @@ -46123,6 +52089,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> PassThru + + Switch @@ -46135,6 +52103,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> NoResponse + + Switch @@ -46147,6 +52117,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> UseShaderTime + + Switch @@ -46162,6 +52134,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> AlphaPercentage + + Float @@ -46174,6 +52148,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ApplyToImage + + Switch @@ -46186,6 +52162,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ApplyToSpecificColor + + Switch @@ -46198,6 +52176,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> CenterHeightPercentage + + Int @@ -46210,6 +52190,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> CenterWidthPercentage + + Int @@ -46222,6 +52204,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ColorDepth + + Float @@ -46234,6 +52218,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ColorToReplace + + String @@ -46246,6 +52232,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> FilterName + + String @@ -46258,6 +52246,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> Force + + Switch @@ -46270,6 +52260,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> NoResponse + + Switch @@ -46282,6 +52274,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> PassThru + + Switch @@ -46294,6 +52288,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ReplaceImageColor + + Switch @@ -46306,6 +52302,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> ShaderText + + String @@ -46318,6 +52316,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> SourceName + + String @@ -46330,6 +52330,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> Speed + + Float @@ -46342,6 +52344,8 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> UseShaderTime + + Switch @@ -46377,9 +52381,7 @@ Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float> OBSRgbSplitShader Get - -Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] <float>] [[-Greeny] <float>] [[-Bluex] <float>] [[-Bluey] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] <float>] [[-Greeny] <float>] [[-Bluex] <float>] [[-Bluey] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -46391,6 +52393,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Redx + + Float @@ -46403,6 +52407,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Redy + + Float @@ -46415,6 +52421,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Greenx + + Float @@ -46427,6 +52435,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Greeny + + Float @@ -46439,6 +52449,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Bluex + + Float @@ -46451,6 +52463,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Bluey + + Float @@ -46463,6 +52477,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] SourceName + + String @@ -46475,6 +52491,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] FilterName + + String @@ -46487,6 +52505,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] ShaderText + + String @@ -46499,6 +52519,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Force + + Switch @@ -46511,6 +52533,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] PassThru + + Switch @@ -46523,6 +52547,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] NoResponse + + Switch @@ -46535,6 +52561,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] UseShaderTime + + Switch @@ -46550,6 +52578,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Bluex + + Float @@ -46562,6 +52592,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Bluey + + Float @@ -46574,6 +52606,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] FilterName + + String @@ -46586,6 +52620,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Force + + Switch @@ -46598,6 +52634,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Greenx + + Float @@ -46610,6 +52648,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Greeny + + Float @@ -46622,6 +52662,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] NoResponse + + Switch @@ -46634,6 +52676,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] PassThru + + Switch @@ -46646,6 +52690,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Redx + + Float @@ -46658,6 +52704,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] Redy + + Float @@ -46670,6 +52718,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] ShaderText + + String @@ -46682,6 +52732,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] SourceName + + String @@ -46694,6 +52746,8 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] UseShaderTime + + Switch @@ -46729,9 +52783,7 @@ Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] OBSRgbvisibilityShader Get - -Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-RedVisibility] <float>] [[-GreenVisibility] <float>] [[-BlueVisibility] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-RedVisibility] <float>] [[-GreenVisibility] <float>] [[-BlueVisibility] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -46743,6 +52795,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Red + + Float @@ -46755,6 +52809,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Green + + Float @@ -46767,6 +52823,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Blue + + Float @@ -46779,6 +52837,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl RedVisibility + + Float @@ -46791,6 +52851,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl GreenVisibility + + Float @@ -46803,6 +52865,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl BlueVisibility + + Float @@ -46815,6 +52879,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Notes + + String @@ -46827,6 +52893,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl SourceName + + String @@ -46839,6 +52907,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl FilterName + + String @@ -46851,6 +52921,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl ShaderText + + String @@ -46863,6 +52935,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Force + + Switch @@ -46875,6 +52949,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl PassThru + + Switch @@ -46887,6 +52963,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl NoResponse + + Switch @@ -46899,6 +52977,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl UseShaderTime + + Switch @@ -46914,6 +52994,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Blue + + Float @@ -46926,6 +53008,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl BlueVisibility + + Float @@ -46938,6 +53022,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl FilterName + + String @@ -46950,6 +53036,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Force + + Switch @@ -46962,6 +53050,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Green + + Float @@ -46974,6 +53064,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl GreenVisibility + + Float @@ -46986,6 +53078,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl NoResponse + + Switch @@ -46998,6 +53092,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Notes + + String @@ -47010,6 +53106,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl PassThru + + Switch @@ -47022,6 +53120,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl Red + + Float @@ -47034,6 +53134,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl RedVisibility + + Float @@ -47046,6 +53148,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl ShaderText + + String @@ -47058,6 +53162,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl SourceName + + String @@ -47070,6 +53176,8 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl UseShaderTime + + Switch @@ -47105,9 +53213,7 @@ Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Bl OBSRGSSAAShader Get - -Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -47119,6 +53225,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> ColorSigma + + Float @@ -47131,6 +53239,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> SpatialSigma + + Float @@ -47143,6 +53253,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> Notes + + String @@ -47155,6 +53267,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> SourceName + + String @@ -47167,6 +53281,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> FilterName + + String @@ -47179,6 +53295,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> ShaderText + + String @@ -47191,6 +53309,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> Force + + Switch @@ -47203,6 +53323,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> PassThru + + Switch @@ -47215,6 +53337,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> NoResponse + + Switch @@ -47227,6 +53351,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> UseShaderTime + + Switch @@ -47242,6 +53368,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> ColorSigma + + Float @@ -47254,6 +53382,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> FilterName + + String @@ -47266,6 +53396,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> Force + + Switch @@ -47278,6 +53410,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> NoResponse + + Switch @@ -47290,6 +53424,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> Notes + + String @@ -47302,6 +53438,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> PassThru + + Switch @@ -47314,6 +53452,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> ShaderText + + String @@ -47326,6 +53466,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> SourceName + + String @@ -47338,6 +53480,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> SpatialSigma + + Float @@ -47350,6 +53494,8 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> UseShaderTime + + Switch @@ -47385,9 +53531,7 @@ Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float> OBSRippleShader Get - -Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float>] [[-PowerFactor] <float>] [[-CenterPosX] <float>] [[-CenterPosY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float>] [[-PowerFactor] <float>] [[-CenterPosX] <float>] [[-CenterPosY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -47399,6 +53543,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g DistanceFactor + + Float @@ -47411,6 +53557,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g TimeFactor + + Float @@ -47423,6 +53571,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g PowerFactor + + Float @@ -47435,6 +53585,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g CenterPosX + + Float @@ -47447,6 +53599,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g CenterPosY + + Float @@ -47459,6 +53613,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g SourceName + + String @@ -47471,6 +53627,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g FilterName + + String @@ -47483,6 +53641,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g ShaderText + + String @@ -47495,6 +53655,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g Force + + Switch @@ -47507,6 +53669,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g PassThru + + Switch @@ -47519,6 +53683,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g NoResponse + + Switch @@ -47531,6 +53697,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g UseShaderTime + + Switch @@ -47546,6 +53714,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g CenterPosX + + Float @@ -47558,6 +53728,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g CenterPosY + + Float @@ -47570,6 +53742,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g DistanceFactor + + Float @@ -47582,6 +53756,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g FilterName + + String @@ -47594,6 +53770,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g Force + + Switch @@ -47606,6 +53784,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g NoResponse + + Switch @@ -47618,6 +53798,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g PassThru + + Switch @@ -47630,6 +53812,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g PowerFactor + + Float @@ -47642,6 +53826,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g ShaderText + + String @@ -47654,6 +53840,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g SourceName + + String @@ -47666,6 +53854,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g TimeFactor + + Float @@ -47678,6 +53868,8 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g UseShaderTime + + Switch @@ -47713,9 +53905,7 @@ Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float&g OBSRotatingSourceShader Get - -Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float>] [[-Zoomin] <float>] [[-XCenter] <float>] [[-YCenter] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float>] [[-Zoomin] <float>] [[-XCenter] <float>] [[-YCenter] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -47727,6 +53917,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& SpinSpeed + + Float @@ -47739,6 +53931,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& Rotation + + Float @@ -47751,6 +53945,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& Zoomin + + Float @@ -47763,6 +53959,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& KeepAspectratio + + Switch @@ -47775,6 +53973,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& XCenter + + Float @@ -47787,6 +53987,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& YCenter + + Float @@ -47799,6 +54001,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& SourceName + + String @@ -47811,6 +54015,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& FilterName + + String @@ -47823,6 +54029,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& ShaderText + + String @@ -47835,6 +54043,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& Force + + Switch @@ -47847,6 +54057,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& PassThru + + Switch @@ -47859,6 +54071,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& NoResponse + + Switch @@ -47871,6 +54085,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& UseShaderTime + + Switch @@ -47886,6 +54102,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& FilterName + + String @@ -47898,6 +54116,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& Force + + Switch @@ -47910,6 +54130,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& KeepAspectratio + + Switch @@ -47922,6 +54144,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& NoResponse + + Switch @@ -47934,6 +54158,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& PassThru + + Switch @@ -47946,6 +54172,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& Rotation + + Float @@ -47958,6 +54186,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& ShaderText + + String @@ -47970,6 +54200,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& SourceName + + String @@ -47982,6 +54214,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& SpinSpeed + + Float @@ -47994,6 +54228,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& UseShaderTime + + Switch @@ -48006,6 +54242,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& XCenter + + Float @@ -48018,6 +54256,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& YCenter + + Float @@ -48030,6 +54270,8 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& Zoomin + + Float @@ -48065,9 +54307,7 @@ Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float& OBSRotatoeShader Get - -Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-SpeedPercent] <int>] [[-AxisX] <float>] [[-AxisY] <float>] [[-AxisZ] <float>] [[-AngleDegrees] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-SpeedPercent] <int>] [[-AxisX] <float>] [[-AxisY] <float>] [[-AxisZ] <float>] [[-AngleDegrees] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -48079,6 +54319,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ViewProj + + System.Single[][] @@ -48091,6 +54333,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Image + + String @@ -48103,6 +54347,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ElapsedTime + + Float @@ -48115,6 +54361,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvOffset + + System.Single[] @@ -48127,6 +54375,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvScale + + System.Single[] @@ -48139,6 +54389,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvPixelInterval + + System.Single[] @@ -48151,6 +54403,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RandF + + Float @@ -48163,6 +54417,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvSize + + System.Single[] @@ -48175,6 +54431,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ SpeedPercent + + Int @@ -48187,6 +54445,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AxisX + + Float @@ -48199,6 +54459,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AxisY + + Float @@ -48211,6 +54473,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AxisZ + + Float @@ -48223,6 +54487,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AngleDegrees + + Float @@ -48235,6 +54501,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RotateTransform + + Switch @@ -48247,6 +54515,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RotatePixels + + Switch @@ -48259,6 +54529,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RotateColors + + Switch @@ -48271,6 +54543,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ CenterWidthPercentage + + Int @@ -48283,6 +54557,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ CenterHeightPercentage + + Int @@ -48295,6 +54571,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Notes + + String @@ -48307,6 +54585,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ SourceName + + String @@ -48319,6 +54599,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ FilterName + + String @@ -48331,6 +54613,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ShaderText + + String @@ -48343,6 +54627,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Force + + Switch @@ -48355,6 +54641,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ PassThru + + Switch @@ -48367,6 +54655,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ NoResponse + + Switch @@ -48379,6 +54669,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UseShaderTime + + Switch @@ -48394,6 +54686,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AngleDegrees + + Float @@ -48406,6 +54700,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AxisX + + Float @@ -48418,6 +54714,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AxisY + + Float @@ -48430,6 +54728,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ AxisZ + + Float @@ -48442,6 +54742,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ CenterHeightPercentage + + Int @@ -48454,6 +54756,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ CenterWidthPercentage + + Int @@ -48466,6 +54770,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ElapsedTime + + Float @@ -48478,6 +54784,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ FilterName + + String @@ -48490,6 +54798,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Force + + Switch @@ -48502,6 +54812,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Image + + String @@ -48514,6 +54826,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ NoResponse + + Switch @@ -48526,6 +54840,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ Notes + + String @@ -48538,6 +54854,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ PassThru + + Switch @@ -48550,6 +54868,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RandF + + Float @@ -48562,6 +54882,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RotateColors + + Switch @@ -48574,6 +54896,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RotatePixels + + Switch @@ -48586,6 +54910,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ RotateTransform + + Switch @@ -48598,6 +54924,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ShaderText + + String @@ -48610,6 +54938,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ SourceName + + String @@ -48622,6 +54952,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ SpeedPercent + + Int @@ -48634,6 +54966,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UseShaderTime + + Switch @@ -48646,6 +54980,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvOffset + + System.Single[] @@ -48658,6 +54994,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvPixelInterval + + System.Single[] @@ -48670,6 +55008,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvScale + + System.Single[] @@ -48682,6 +55022,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ UvSize + + System.Single[] @@ -48694,6 +55036,8 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ ViewProj + + System.Single[][] @@ -48729,9 +55073,7 @@ Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [ OBSRoundedRect2Shader Get - -Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -48743,6 +55085,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < CornerRadius + + Int @@ -48755,6 +55099,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderThickness + + Int @@ -48767,6 +55113,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderColor + + String @@ -48779,6 +55127,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderAlphaStart + + Float @@ -48791,6 +55141,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderAlphaEnd + + Float @@ -48803,6 +55155,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < AlphaCutOff + + Float @@ -48815,6 +55169,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < FasterScan + + Switch @@ -48827,6 +55183,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < SourceName + + String @@ -48839,6 +55197,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < FilterName + + String @@ -48851,6 +55211,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < ShaderText + + String @@ -48863,6 +55225,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < Force + + Switch @@ -48875,6 +55239,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < PassThru + + Switch @@ -48887,6 +55253,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < NoResponse + + Switch @@ -48899,6 +55267,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < UseShaderTime + + Switch @@ -48914,6 +55284,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < AlphaCutOff + + Float @@ -48926,6 +55298,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderAlphaEnd + + Float @@ -48938,6 +55312,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderAlphaStart + + Float @@ -48950,6 +55326,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderColor + + String @@ -48962,6 +55340,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < BorderThickness + + Int @@ -48974,6 +55354,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < CornerRadius + + Int @@ -48986,6 +55368,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < FasterScan + + Switch @@ -48998,6 +55382,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < FilterName + + String @@ -49010,6 +55396,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < Force + + Switch @@ -49022,6 +55410,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < NoResponse + + Switch @@ -49034,6 +55424,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < PassThru + + Switch @@ -49046,6 +55438,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < ShaderText + + String @@ -49058,6 +55452,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < SourceName + + String @@ -49070,6 +55466,8 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < UseShaderTime + + Switch @@ -49105,9 +55503,7 @@ Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] < OBSRoundedRectPerCornerShader Get - -Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiusTr] <int>] [[-CornerRadiusBr] <int>] [[-CornerRadiusBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiusTr] <int>] [[-CornerRadiusBr] <int>] [[-CornerRadiusBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -49119,6 +55515,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusTl + + Int @@ -49131,6 +55529,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusTr + + Int @@ -49143,6 +55543,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusBr + + Int @@ -49155,6 +55557,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusBl + + Int @@ -49167,6 +55571,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderThickness + + Int @@ -49179,6 +55585,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderColor + + String @@ -49191,6 +55599,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderAlphaStart + + Float @@ -49203,6 +55613,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderAlphaEnd + + Float @@ -49215,6 +55627,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu AlphaCutOff + + Float @@ -49227,6 +55641,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu SourceName + + String @@ -49239,6 +55655,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu FilterName + + String @@ -49251,6 +55669,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu ShaderText + + String @@ -49263,6 +55683,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu Force + + Switch @@ -49275,6 +55697,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu PassThru + + Switch @@ -49287,6 +55711,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu NoResponse + + Switch @@ -49299,6 +55725,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu UseShaderTime + + Switch @@ -49314,6 +55742,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu AlphaCutOff + + Float @@ -49326,6 +55756,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderAlphaEnd + + Float @@ -49338,6 +55770,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderAlphaStart + + Float @@ -49350,6 +55784,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderColor + + String @@ -49362,6 +55798,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu BorderThickness + + Int @@ -49374,6 +55812,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusBl + + Int @@ -49386,6 +55826,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusBr + + Int @@ -49398,6 +55840,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusTl + + Int @@ -49410,6 +55854,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu CornerRadiusTr + + Int @@ -49422,6 +55868,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu FilterName + + String @@ -49434,6 +55882,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu Force + + Switch @@ -49446,6 +55896,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu NoResponse + + Switch @@ -49458,6 +55910,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu PassThru + + Switch @@ -49470,6 +55924,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu ShaderText + + String @@ -49482,6 +55938,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu SourceName + + String @@ -49494,6 +55952,8 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu UseShaderTime + + Switch @@ -49529,9 +55989,7 @@ Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiu OBSRoundedRectPerSideShader Get - -Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRadiusLeft] <int>] [[-CornerRadiusTop] <int>] [[-CornerRadiusRight] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRadiusLeft] <int>] [[-CornerRadiusTop] <int>] [[-CornerRadiusRight] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -49543,6 +56001,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusBottom + + Int @@ -49555,6 +56015,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusLeft + + Int @@ -49567,6 +56029,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusTop + + Int @@ -49579,6 +56043,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusRight + + Int @@ -49591,6 +56057,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderThickness + + Int @@ -49603,6 +56071,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderColor + + String @@ -49615,6 +56085,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderAlphaStart + + Float @@ -49627,6 +56099,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderAlphaEnd + + Float @@ -49639,6 +56113,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad AlphaCutOff + + Float @@ -49651,6 +56127,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad SourceName + + String @@ -49663,6 +56141,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad FilterName + + String @@ -49675,6 +56155,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad ShaderText + + String @@ -49687,6 +56169,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad Force + + Switch @@ -49699,6 +56183,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad PassThru + + Switch @@ -49711,6 +56197,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad NoResponse + + Switch @@ -49723,6 +56211,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad UseShaderTime + + Switch @@ -49738,6 +56228,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad AlphaCutOff + + Float @@ -49750,6 +56242,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderAlphaEnd + + Float @@ -49762,6 +56256,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderAlphaStart + + Float @@ -49774,6 +56270,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderColor + + String @@ -49786,6 +56284,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad BorderThickness + + Int @@ -49798,6 +56298,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusBottom + + Int @@ -49810,6 +56312,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusLeft + + Int @@ -49822,6 +56326,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusRight + + Int @@ -49834,6 +56340,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad CornerRadiusTop + + Int @@ -49846,6 +56354,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad FilterName + + String @@ -49858,6 +56368,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad Force + + Switch @@ -49870,6 +56382,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad NoResponse + + Switch @@ -49882,6 +56396,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad PassThru + + Switch @@ -49894,6 +56410,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad ShaderText + + String @@ -49906,6 +56424,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad SourceName + + String @@ -49918,6 +56438,8 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad UseShaderTime + + Switch @@ -49953,9 +56475,7 @@ Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRad OBSRoundedRectShader Get - -Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -49967,6 +56487,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i CornerRadius + + Int @@ -49979,6 +56501,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i BorderThickness + + Int @@ -49991,6 +56515,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i BorderColor + + String @@ -50003,6 +56529,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i SourceName + + String @@ -50015,6 +56543,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i FilterName + + String @@ -50027,6 +56557,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i ShaderText + + String @@ -50039,6 +56571,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i Force + + Switch @@ -50051,6 +56585,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i PassThru + + Switch @@ -50063,6 +56599,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i NoResponse + + Switch @@ -50075,6 +56613,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i UseShaderTime + + Switch @@ -50090,6 +56630,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i BorderColor + + String @@ -50102,6 +56644,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i BorderThickness + + Int @@ -50114,6 +56658,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i CornerRadius + + Int @@ -50126,6 +56672,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i FilterName + + String @@ -50138,6 +56686,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i Force + + Switch @@ -50150,6 +56700,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i NoResponse + + Switch @@ -50162,6 +56714,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i PassThru + + Switch @@ -50174,6 +56728,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i ShaderText + + String @@ -50186,6 +56742,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i SourceName + + String @@ -50198,6 +56756,8 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i UseShaderTime + + Switch @@ -50233,9 +56793,7 @@ Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <i OBSRoundedStrokeGradientShader Get - -Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-RotationSpeed] <int>] [[-BorderColorL] <string>] [[-BorderColorR] <string>] [[-CenterWidth] <int>] [[-CenterHeight] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-RotationSpeed] <int>] [[-BorderColorL] <string>] [[-BorderColorR] <string>] [[-CenterWidth] <int>] [[-CenterHeight] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -50247,6 +56805,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn CornerRadius + + Int @@ -50259,6 +56819,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn BorderThickness + + Int @@ -50271,6 +56833,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn MinimumAlphaPercent + + Int @@ -50283,6 +56847,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn RotationSpeed + + Int @@ -50295,6 +56861,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn BorderColorL + + String @@ -50307,6 +56875,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn BorderColorR + + String @@ -50319,6 +56889,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn CenterWidth + + Int @@ -50331,6 +56903,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn CenterHeight + + Int @@ -50343,6 +56917,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn Notes + + String @@ -50355,6 +56931,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn SourceName + + String @@ -50367,6 +56945,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn FilterName + + String @@ -50379,6 +56959,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn ShaderText + + String @@ -50391,6 +56973,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn Force + + Switch @@ -50403,6 +56987,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn PassThru + + Switch @@ -50415,6 +57001,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn NoResponse + + Switch @@ -50427,6 +57015,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn UseShaderTime + + Switch @@ -50442,6 +57032,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn BorderColorL + + String @@ -50454,6 +57046,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn BorderColorR + + String @@ -50466,6 +57060,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn BorderThickness + + Int @@ -50478,6 +57074,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn CenterHeight + + Int @@ -50490,6 +57088,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn CenterWidth + + Int @@ -50502,6 +57102,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn CornerRadius + + Int @@ -50514,6 +57116,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn FilterName + + String @@ -50526,6 +57130,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn Force + + Switch @@ -50538,6 +57144,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn MinimumAlphaPercent + + Int @@ -50550,6 +57158,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn NoResponse + + Switch @@ -50562,6 +57172,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn Notes + + String @@ -50574,6 +57186,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn PassThru + + Switch @@ -50586,6 +57200,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn RotationSpeed + + Int @@ -50598,6 +57214,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn ShaderText + + String @@ -50610,6 +57228,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn SourceName + + String @@ -50622,6 +57242,8 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn UseShaderTime + + Switch @@ -50657,9 +57279,7 @@ Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickn OBSRoundedStrokeShader Get - -Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -50671,6 +57291,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < CornerRadius + + Int @@ -50683,6 +57305,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < BorderThickness + + Int @@ -50695,6 +57319,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < MinimumAlphaPercent + + Int @@ -50707,6 +57333,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < BorderColor + + String @@ -50719,6 +57347,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < Notes + + String @@ -50731,6 +57361,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < SourceName + + String @@ -50743,6 +57375,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < FilterName + + String @@ -50755,6 +57389,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < ShaderText + + String @@ -50767,6 +57403,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < Force + + Switch @@ -50779,6 +57417,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < PassThru + + Switch @@ -50791,6 +57431,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < NoResponse + + Switch @@ -50803,6 +57445,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < UseShaderTime + + Switch @@ -50818,6 +57462,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < BorderColor + + String @@ -50830,6 +57476,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < BorderThickness + + Int @@ -50842,6 +57490,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < CornerRadius + + Int @@ -50854,6 +57504,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < FilterName + + String @@ -50866,6 +57518,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < Force + + Switch @@ -50878,6 +57532,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < MinimumAlphaPercent + + Int @@ -50890,6 +57546,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < NoResponse + + Switch @@ -50902,6 +57560,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < Notes + + String @@ -50914,6 +57574,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < PassThru + + Switch @@ -50926,6 +57588,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < ShaderText + + String @@ -50938,6 +57602,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < SourceName + + String @@ -50950,6 +57616,8 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < UseShaderTime + + Switch @@ -50985,9 +57653,7 @@ Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] < OBSScanLineShader Get - -Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor] <float>] [[-Period] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor] <float>] [[-Period] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -50999,6 +57665,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Lengthwise + + Switch @@ -51011,6 +57679,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Animate + + Switch @@ -51023,6 +57693,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Speed + + Float @@ -51035,6 +57707,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Angle + + Float @@ -51047,6 +57721,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Shift + + Switch @@ -51059,6 +57735,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Boost + + Switch @@ -51071,6 +57749,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Floor + + Float @@ -51083,6 +57763,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Period + + Float @@ -51095,6 +57777,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Notes + + String @@ -51107,6 +57791,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor SourceName + + String @@ -51119,6 +57805,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor FilterName + + String @@ -51131,6 +57819,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor ShaderText + + String @@ -51143,6 +57833,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Force + + Switch @@ -51155,6 +57847,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor PassThru + + Switch @@ -51167,6 +57861,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor NoResponse + + Switch @@ -51179,6 +57875,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor UseShaderTime + + Switch @@ -51194,6 +57892,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Angle + + Float @@ -51206,6 +57906,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Animate + + Switch @@ -51218,6 +57920,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Boost + + Switch @@ -51230,6 +57934,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor FilterName + + String @@ -51242,6 +57948,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Floor + + Float @@ -51254,6 +57962,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Force + + Switch @@ -51266,6 +57976,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Lengthwise + + Switch @@ -51278,6 +57990,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor NoResponse + + Switch @@ -51290,6 +58004,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Notes + + String @@ -51302,6 +58018,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor PassThru + + Switch @@ -51314,6 +58032,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Period + + Float @@ -51326,6 +58046,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor ShaderText + + String @@ -51338,6 +58060,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Shift + + Switch @@ -51350,6 +58074,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor SourceName + + String @@ -51362,6 +58088,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor Speed + + Float @@ -51374,6 +58102,8 @@ Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor UseShaderTime + + Switch @@ -53131,9 +59861,7 @@ This can increase performance, and also silently ignore critical errorsOBSSeascapeShader Get - -Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] [[-SEASPEED] <float>] [[-SEAFREQ] <float>] [[-SEABASE] <string>] [[-SEAWATERCOLOR] <string>] [[-CAMERASPEED] <float>] [[-CAMERATURNSPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] [[-SEASPEED] <float>] [[-SEAFREQ] <float>] [[-SEABASE] <string>] [[-SEAWATERCOLOR] <string>] [[-CAMERASPEED] <float>] [[-CAMERATURNSPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -53145,6 +59873,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] AA + + Switch @@ -53157,6 +59887,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEAHEIGHT + + Float @@ -53169,6 +59901,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEACHOPPY + + Float @@ -53181,6 +59915,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEASPEED + + Float @@ -53193,6 +59929,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEAFREQ + + Float @@ -53205,6 +59943,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEABASE + + String @@ -53217,6 +59957,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEAWATERCOLOR + + String @@ -53229,6 +59971,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] CAMERASPEED + + Float @@ -53241,6 +59985,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] CAMERATURNSPEED + + Float @@ -53253,6 +59999,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SourceName + + String @@ -53265,6 +60013,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] FilterName + + String @@ -53277,6 +60027,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] ShaderText + + String @@ -53289,6 +60041,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] Force + + Switch @@ -53301,6 +60055,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] PassThru + + Switch @@ -53313,6 +60069,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] NoResponse + + Switch @@ -53325,6 +60083,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] UseShaderTime + + Switch @@ -53340,6 +60100,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] AA + + Switch @@ -53352,6 +60114,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] CAMERASPEED + + Float @@ -53364,6 +60128,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] CAMERATURNSPEED + + Float @@ -53376,6 +60142,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] FilterName + + String @@ -53388,6 +60156,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] Force + + Switch @@ -53400,6 +60170,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] NoResponse + + Switch @@ -53412,6 +60184,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] PassThru + + Switch @@ -53424,6 +60198,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEABASE + + String @@ -53436,6 +60212,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEACHOPPY + + Float @@ -53448,6 +60226,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEAFREQ + + Float @@ -53460,6 +60240,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEAHEIGHT + + Float @@ -53472,6 +60254,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEASPEED + + Float @@ -53484,6 +60268,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SEAWATERCOLOR + + String @@ -53496,6 +60282,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] ShaderText + + String @@ -53508,6 +60296,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] SourceName + + String @@ -53520,6 +60310,8 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] UseShaderTime + + Switch @@ -53555,9 +60347,7 @@ Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] OBSSeasickShader Get - -Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-Speed] <float>] [[-Frequency] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-Speed] <float>] [[-Frequency] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -53569,6 +60359,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Notes + + String @@ -53581,6 +60373,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Amplitude + + Float @@ -53593,6 +60387,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Speed + + Float @@ -53605,6 +60401,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Frequency + + Float @@ -53617,6 +60415,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Opacity + + Float @@ -53629,6 +60429,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S SourceName + + String @@ -53641,6 +60443,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S FilterName + + String @@ -53653,6 +60457,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S ShaderText + + String @@ -53665,6 +60471,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Force + + Switch @@ -53677,6 +60485,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S PassThru + + Switch @@ -53689,6 +60499,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S NoResponse + + Switch @@ -53701,6 +60513,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S UseShaderTime + + Switch @@ -53716,6 +60530,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Amplitude + + Float @@ -53728,6 +60544,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S FilterName + + String @@ -53740,6 +60558,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Force + + Switch @@ -53752,6 +60572,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Frequency + + Float @@ -53764,6 +60586,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S NoResponse + + Switch @@ -53776,6 +60600,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Notes + + String @@ -53788,6 +60614,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Opacity + + Float @@ -53800,6 +60628,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S PassThru + + Switch @@ -53812,6 +60642,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S ShaderText + + String @@ -53824,6 +60656,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S SourceName + + String @@ -53836,6 +60670,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S Speed + + Float @@ -53848,6 +60684,8 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S UseShaderTime + + Switch @@ -53883,9 +60721,7 @@ Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-S OBSSelectiveColorShader Get - -Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <float>] [[-CutoffBlue] <float>] [[-CutoffYellow] <float>] [[-AcceptanceAmplifier] <float>] [[-Notes] <string>] [[-BackgroundType] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <float>] [[-CutoffBlue] <float>] [[-CutoffYellow] <float>] [[-AcceptanceAmplifier] <float>] [[-Notes] <string>] [[-BackgroundType] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -53897,6 +60733,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffRed + + Float @@ -53909,6 +60747,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffGreen + + Float @@ -53921,6 +60761,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffBlue + + Float @@ -53933,6 +60775,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffYellow + + Float @@ -53945,6 +60789,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo AcceptanceAmplifier + + Float @@ -53957,6 +60803,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowRed + + Switch @@ -53969,6 +60817,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowGreen + + Switch @@ -53981,6 +60831,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowBlue + + Switch @@ -53993,6 +60845,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowYellow + + Switch @@ -54005,6 +60859,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo Notes + + String @@ -54017,6 +60873,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo BackgroundType + + Int @@ -54029,6 +60887,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo SourceName + + String @@ -54041,6 +60901,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo FilterName + + String @@ -54053,6 +60915,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShaderText + + String @@ -54065,6 +60929,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo Force + + Switch @@ -54077,6 +60943,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo PassThru + + Switch @@ -54089,6 +60957,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo NoResponse + + Switch @@ -54101,6 +60971,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo UseShaderTime + + Switch @@ -54116,6 +60988,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo AcceptanceAmplifier + + Float @@ -54128,6 +61002,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo BackgroundType + + Int @@ -54140,6 +61016,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffBlue + + Float @@ -54152,6 +61030,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffGreen + + Float @@ -54164,6 +61044,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffRed + + Float @@ -54176,6 +61058,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo CutoffYellow + + Float @@ -54188,6 +61072,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo FilterName + + String @@ -54200,6 +61086,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo Force + + Switch @@ -54212,6 +61100,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo NoResponse + + Switch @@ -54224,6 +61114,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo Notes + + String @@ -54236,6 +61128,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo PassThru + + Switch @@ -54248,6 +61142,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShaderText + + String @@ -54260,6 +61156,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowBlue + + Switch @@ -54272,6 +61170,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowGreen + + Switch @@ -54284,6 +61184,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowRed + + Switch @@ -54296,6 +61198,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo ShowYellow + + Switch @@ -54308,6 +61212,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo SourceName + + String @@ -54320,6 +61226,8 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo UseShaderTime + + Switch @@ -54355,9 +61263,7 @@ Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <flo OBSShakeShader Get - -Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-LocalTime] <float>] [[-RandomScale] <float>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-LocalTime] <float>] [[-RandomScale] <float>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -54369,6 +61275,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ViewProj + + System.Single[][] @@ -54381,6 +61289,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Image + + String @@ -54393,6 +61303,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ElapsedTime + + Float @@ -54405,6 +61317,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvOffset + + System.Single[] @@ -54417,6 +61331,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvScale + + System.Single[] @@ -54429,6 +61345,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvPixelInterval + + System.Single[] @@ -54441,6 +61359,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandF + + Float @@ -54453,6 +61373,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvSize + + System.Single[] @@ -54465,6 +61387,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LocalTime + + Float @@ -54477,6 +61401,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandomScale + + Float @@ -54489,6 +61415,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Worble + + Switch @@ -54501,6 +61429,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Speed + + Float @@ -54513,6 +61443,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MinGrowthPixels + + Float @@ -54525,6 +61457,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MaxGrowthPixels + + Float @@ -54537,6 +61471,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandomizeMovement + + Switch @@ -54549,6 +61485,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Notes + + String @@ -54561,6 +61499,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SourceName + + String @@ -54573,6 +61513,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FilterName + + String @@ -54585,6 +61527,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ShaderText + + String @@ -54597,6 +61541,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Force + + Switch @@ -54609,6 +61555,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- PassThru + + Switch @@ -54621,6 +61569,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- NoResponse + + Switch @@ -54633,6 +61583,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UseShaderTime + + Switch @@ -54648,6 +61600,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ElapsedTime + + Float @@ -54660,6 +61614,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- FilterName + + String @@ -54672,6 +61628,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Force + + Switch @@ -54684,6 +61642,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Image + + String @@ -54696,6 +61656,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- LocalTime + + Float @@ -54708,6 +61670,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MaxGrowthPixels + + Float @@ -54720,6 +61684,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- MinGrowthPixels + + Float @@ -54732,6 +61698,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- NoResponse + + Switch @@ -54744,6 +61712,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Notes + + String @@ -54756,6 +61726,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- PassThru + + Switch @@ -54768,6 +61740,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandF + + Float @@ -54780,6 +61754,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandomizeMovement + + Switch @@ -54792,6 +61768,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- RandomScale + + Float @@ -54804,6 +61782,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ShaderText + + String @@ -54816,6 +61796,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- SourceName + + String @@ -54828,6 +61810,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Speed + + Float @@ -54840,6 +61824,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UseShaderTime + + Switch @@ -54852,6 +61838,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvOffset + + System.Single[] @@ -54864,6 +61852,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvPixelInterval + + System.Single[] @@ -54876,6 +61866,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvScale + + System.Single[] @@ -54888,6 +61880,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- UvSize + + System.Single[] @@ -54900,6 +61894,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- ViewProj + + System.Single[][] @@ -54912,6 +61908,8 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- Worble + + Switch @@ -54947,9 +61945,7 @@ Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[- OBSShineShader Get - -Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-SpeedPercent] <int>] [[-GradientPercent] <int>] [[-DelayPercent] <int>] [[-Notes] <string>] [[-StartAdjust] <float>] [[-StopAdjust] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-SpeedPercent] <int>] [[-GradientPercent] <int>] [[-DelayPercent] <int>] [[-Notes] <string>] [[-StartAdjust] <float>] [[-StopAdjust] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -54961,6 +61957,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp LTex + + String @@ -54973,6 +61971,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp ShineColor + + String @@ -54985,6 +61985,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp SpeedPercent + + Int @@ -54997,6 +61999,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp GradientPercent + + Int @@ -55009,6 +62013,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp DelayPercent + + Int @@ -55021,6 +62027,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp ApplyToAlphaLayer + + Switch @@ -55033,6 +62041,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Ease + + Switch @@ -55045,6 +62055,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Hide + + Switch @@ -55057,6 +62069,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Reverse + + Switch @@ -55069,6 +62083,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp OneDirection + + Switch @@ -55081,6 +62097,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Glitch + + Switch @@ -55093,6 +62111,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Notes + + String @@ -55105,6 +62125,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp StartAdjust + + Float @@ -55117,6 +62139,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp StopAdjust + + Float @@ -55129,6 +62153,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp SourceName + + String @@ -55141,6 +62167,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp FilterName + + String @@ -55153,6 +62181,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp ShaderText + + String @@ -55165,6 +62195,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Force + + Switch @@ -55177,6 +62209,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp PassThru + + Switch @@ -55189,6 +62223,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp NoResponse + + Switch @@ -55201,6 +62237,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp UseShaderTime + + Switch @@ -55216,6 +62254,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp ApplyToAlphaLayer + + Switch @@ -55228,6 +62268,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp DelayPercent + + Int @@ -55240,6 +62282,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Ease + + Switch @@ -55252,6 +62296,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp FilterName + + String @@ -55264,6 +62310,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Force + + Switch @@ -55276,6 +62324,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Glitch + + Switch @@ -55288,6 +62338,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp GradientPercent + + Int @@ -55300,6 +62352,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Hide + + Switch @@ -55312,6 +62366,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp LTex + + String @@ -55324,6 +62380,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp NoResponse + + Switch @@ -55336,6 +62394,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Notes + + String @@ -55348,6 +62408,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp OneDirection + + Switch @@ -55360,6 +62422,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp PassThru + + Switch @@ -55372,6 +62436,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp Reverse + + Switch @@ -55384,6 +62450,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp ShaderText + + String @@ -55396,6 +62464,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp ShineColor + + String @@ -55408,6 +62478,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp SourceName + + String @@ -55420,6 +62492,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp SpeedPercent + + Int @@ -55432,6 +62506,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp StartAdjust + + Float @@ -55444,6 +62520,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp StopAdjust + + Float @@ -55456,6 +62534,8 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp UseShaderTime + + Switch @@ -55491,9 +62571,7 @@ Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-Sp OBSSimpleGradientShader Get - -Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -55505,6 +62583,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] SpeedPercentage + + Int @@ -55517,6 +62597,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] AlphaPercentage + + Int @@ -55529,6 +62611,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] LensFlair + + Switch @@ -55541,6 +62625,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] AnimateLensFlair + + Switch @@ -55553,6 +62639,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ApplyToAlphaLayer + + Switch @@ -55565,6 +62653,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ApplyToSpecificColor + + Switch @@ -55577,6 +62667,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ColorToReplace + + String @@ -55589,6 +62681,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] Notes + + String @@ -55601,6 +62695,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] SourceName + + String @@ -55613,6 +62709,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] FilterName + + String @@ -55625,6 +62723,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ShaderText + + String @@ -55637,6 +62737,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] Force + + Switch @@ -55649,6 +62751,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] PassThru + + Switch @@ -55661,6 +62765,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] NoResponse + + Switch @@ -55673,6 +62779,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] UseShaderTime + + Switch @@ -55688,6 +62796,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] AlphaPercentage + + Int @@ -55700,6 +62810,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] AnimateLensFlair + + Switch @@ -55712,6 +62824,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ApplyToAlphaLayer + + Switch @@ -55724,6 +62838,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ApplyToSpecificColor + + Switch @@ -55736,6 +62852,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ColorToReplace + + String @@ -55748,6 +62866,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] FilterName + + String @@ -55760,6 +62880,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] Force + + Switch @@ -55772,6 +62894,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] LensFlair + + Switch @@ -55784,6 +62908,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] NoResponse + + Switch @@ -55796,6 +62922,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] Notes + + String @@ -55808,6 +62936,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] PassThru + + Switch @@ -55820,6 +62950,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] ShaderText + + String @@ -55832,6 +62964,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] SourceName + + String @@ -55844,6 +62978,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] SpeedPercentage + + Int @@ -55856,6 +62992,8 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] UseShaderTime + + Switch @@ -55891,9 +63029,7 @@ Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] OBSSimplexNoiseShader Get - -Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <float>] [[-Resolution] <float>] [[-ForeColor] <string>] [[-BackColor] <string>] [[-AlphaPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <float>] [[-Resolution] <float>] [[-ForeColor] <string>] [[-BackColor] <string>] [[-AlphaPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -55905,6 +63041,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl SnapPercent + + Float @@ -55917,6 +63055,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl SpeedPercent + + Float @@ -55929,6 +63069,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Resolution + + Float @@ -55941,6 +63083,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Fractal + + Switch @@ -55953,6 +63097,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl UseAlphaLayer + + Switch @@ -55965,6 +63111,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl ForeColor + + String @@ -55977,6 +63125,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl BackColor + + String @@ -55989,6 +63139,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl AlphaPercent + + Float @@ -56001,6 +63153,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Notes + + String @@ -56013,6 +63167,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl SourceName + + String @@ -56025,6 +63181,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl FilterName + + String @@ -56037,6 +63195,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl ShaderText + + String @@ -56049,6 +63209,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Force + + Switch @@ -56061,6 +63223,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl PassThru + + Switch @@ -56073,6 +63237,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl NoResponse + + Switch @@ -56085,6 +63251,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl UseShaderTime + + Switch @@ -56100,6 +63268,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl AlphaPercent + + Float @@ -56112,6 +63282,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl BackColor + + String @@ -56124,6 +63296,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl FilterName + + String @@ -56136,6 +63310,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Force + + Switch @@ -56148,6 +63324,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl ForeColor + + String @@ -56160,6 +63338,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Fractal + + Switch @@ -56172,6 +63352,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl NoResponse + + Switch @@ -56184,6 +63366,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Notes + + String @@ -56196,6 +63380,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl PassThru + + Switch @@ -56208,6 +63394,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl Resolution + + Float @@ -56220,6 +63408,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl ShaderText + + String @@ -56232,6 +63422,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl SnapPercent + + Float @@ -56244,6 +63436,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl SourceName + + String @@ -56256,6 +63450,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl SpeedPercent + + Float @@ -56268,6 +63464,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl UseAlphaLayer + + Switch @@ -56280,6 +63478,8 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl UseShaderTime + + Switch @@ -56315,9 +63515,7 @@ Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <fl OBSSmartDenoiseShader Get - -Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [[-UThreshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [[-UThreshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -56329,6 +63527,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ USigma + + Float @@ -56341,6 +63541,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ UKSigma + + Float @@ -56353,6 +63555,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ UThreshold + + Float @@ -56365,6 +63569,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ SourceName + + String @@ -56377,6 +63583,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ FilterName + + String @@ -56389,6 +63597,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ ShaderText + + String @@ -56401,6 +63611,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ Force + + Switch @@ -56413,6 +63625,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ PassThru + + Switch @@ -56425,6 +63639,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ NoResponse + + Switch @@ -56437,6 +63653,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ UseShaderTime + + Switch @@ -56452,6 +63670,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ FilterName + + String @@ -56464,6 +63684,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ Force + + Switch @@ -56476,6 +63698,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ NoResponse + + Switch @@ -56488,6 +63712,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ PassThru + + Switch @@ -56500,6 +63726,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ ShaderText + + String @@ -56512,6 +63740,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ SourceName + + String @@ -56524,6 +63754,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ UKSigma + + Float @@ -56536,6 +63768,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ UseShaderTime + + Switch @@ -56548,6 +63782,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ USigma + + Float @@ -56560,6 +63796,8 @@ Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [ UThreshold + + Float @@ -57567,9 +64805,7 @@ This can increase performance, and also silently ignore critical errorsOBSSpecularShineShader Get - -Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] [[-LightStrength] <float>] [[-LightPositionX] <float>] [[-LightPositionY] <float>] [[-FlattenNormal] <float>] [[-StretchNormalX] <float>] [[-StretchNormalY] <float>] [[-LightColor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] [[-LightStrength] <float>] [[-LightPositionX] <float>] [[-LightPositionY] <float>] [[-FlattenNormal] <float>] [[-StretchNormalX] <float>] [[-StretchNormalY] <float>] [[-LightColor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -57581,6 +64817,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] Hint + + String @@ -57593,6 +64831,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] Roughness + + Float @@ -57605,6 +64845,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightStrength + + Float @@ -57617,6 +64859,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightPositionX + + Float @@ -57629,6 +64873,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightPositionY + + Float @@ -57641,6 +64887,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] FlattenNormal + + Float @@ -57653,6 +64901,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] StretchNormalX + + Float @@ -57665,6 +64915,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] StretchNormalY + + Float @@ -57677,6 +64929,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightColor + + System.Single[] @@ -57689,6 +64943,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] SourceName + + String @@ -57701,6 +64957,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] FilterName + + String @@ -57713,6 +64971,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] ShaderText + + String @@ -57725,6 +64985,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] Force + + Switch @@ -57737,6 +64999,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] PassThru + + Switch @@ -57749,6 +65013,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] NoResponse + + Switch @@ -57761,6 +65027,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] UseShaderTime + + Switch @@ -57776,6 +65044,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] FilterName + + String @@ -57788,6 +65058,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] FlattenNormal + + Float @@ -57800,6 +65072,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] Force + + Switch @@ -57812,6 +65086,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] Hint + + String @@ -57824,6 +65100,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightColor + + System.Single[] @@ -57836,6 +65114,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightPositionX + + Float @@ -57848,6 +65128,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightPositionY + + Float @@ -57860,6 +65142,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] LightStrength + + Float @@ -57872,6 +65156,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] NoResponse + + Switch @@ -57884,6 +65170,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] PassThru + + Switch @@ -57896,6 +65184,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] Roughness + + Float @@ -57908,6 +65198,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] ShaderText + + String @@ -57920,6 +65212,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] SourceName + + String @@ -57932,6 +65226,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] StretchNormalX + + Float @@ -57944,6 +65240,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] StretchNormalY + + Float @@ -57956,6 +65254,8 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] UseShaderTime + + Switch @@ -57991,9 +65291,7 @@ Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] OBSSpotlightShader Get - -Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <float>] [[-SpotlightColor] <string>] [[-HorizontalOffset] <float>] [[-VerticalOffset] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <float>] [[-SpotlightColor] <string>] [[-HorizontalOffset] <float>] [[-VerticalOffset] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -58005,6 +65303,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa SpeedPercent + + Float @@ -58017,6 +65317,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa FocusPercent + + Float @@ -58029,6 +65331,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa Glitch + + Switch @@ -58041,6 +65345,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa SpotlightColor + + String @@ -58053,6 +65359,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa HorizontalOffset + + Float @@ -58065,6 +65373,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa VerticalOffset + + Float @@ -58077,6 +65387,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa Notes + + String @@ -58089,6 +65401,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa SourceName + + String @@ -58101,6 +65415,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa FilterName + + String @@ -58113,6 +65429,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa ShaderText + + String @@ -58125,6 +65443,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa Force + + Switch @@ -58137,6 +65457,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa PassThru + + Switch @@ -58149,6 +65471,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa NoResponse + + Switch @@ -58161,6 +65485,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa UseShaderTime + + Switch @@ -58176,6 +65502,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa FilterName + + String @@ -58188,6 +65516,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa FocusPercent + + Float @@ -58200,6 +65530,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa Force + + Switch @@ -58212,6 +65544,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa Glitch + + Switch @@ -58224,6 +65558,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa HorizontalOffset + + Float @@ -58236,6 +65572,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa NoResponse + + Switch @@ -58248,6 +65586,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa Notes + + String @@ -58260,6 +65600,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa PassThru + + Switch @@ -58272,6 +65614,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa ShaderText + + String @@ -58284,6 +65628,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa SourceName + + String @@ -58296,6 +65642,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa SpeedPercent + + Float @@ -58308,6 +65656,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa SpotlightColor + + String @@ -58320,6 +65670,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa UseShaderTime + + Switch @@ -58332,6 +65684,8 @@ Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <floa VerticalOffset + + Float @@ -58743,9 +66097,7 @@ This can increase performance, and also silently ignore critical errorsOBSSwirlShader Get - -Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -58757,6 +66109,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Radius + + Float @@ -58769,6 +66123,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Angle + + Float @@ -58781,6 +66137,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX CenterX + + Float @@ -58793,6 +66151,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX CenterY + + Float @@ -58805,6 +66165,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Animate + + Switch @@ -58817,6 +66179,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Inverse + + Switch @@ -58829,6 +66193,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Notes + + String @@ -58841,6 +66207,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX SourceName + + String @@ -58853,6 +66221,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX FilterName + + String @@ -58865,6 +66235,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX ShaderText + + String @@ -58877,6 +66249,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Force + + Switch @@ -58889,6 +66263,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX PassThru + + Switch @@ -58901,6 +66277,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX NoResponse + + Switch @@ -58913,6 +66291,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX UseShaderTime + + Switch @@ -58928,6 +66308,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Angle + + Float @@ -58940,6 +66322,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Animate + + Switch @@ -58952,6 +66336,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX CenterX + + Float @@ -58964,6 +66350,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX CenterY + + Float @@ -58976,6 +66364,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX FilterName + + String @@ -58988,6 +66378,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Force + + Switch @@ -59000,6 +66392,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Inverse + + Switch @@ -59012,6 +66406,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX NoResponse + + Switch @@ -59024,6 +66420,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Notes + + String @@ -59036,6 +66434,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX PassThru + + Switch @@ -59048,6 +66448,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX Radius + + Float @@ -59060,6 +66462,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX ShaderText + + String @@ -59072,6 +66476,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX SourceName + + String @@ -59084,6 +66490,8 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX UseShaderTime + + Switch @@ -59119,9 +66527,7 @@ Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX OBSTetraShader Get - -Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] <float>] [[-YelR] <float>] [[-YelG] <float>] [[-YelB] <float>] [[-GrnR] <float>] [[-GrnG] <float>] [[-GrnB] <float>] [[-CynR] <float>] [[-CynG] <float>] [[-CynB] <float>] [[-BluR] <float>] [[-BluG] <float>] [[-BluB] <float>] [[-MagR] <float>] [[-MagG] <float>] [[-MagB] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] <float>] [[-YelR] <float>] [[-YelG] <float>] [[-YelB] <float>] [[-GrnR] <float>] [[-GrnG] <float>] [[-GrnB] <float>] [[-CynR] <float>] [[-CynG] <float>] [[-CynB] <float>] [[-BluR] <float>] [[-BluG] <float>] [[-BluB] <float>] [[-MagR] <float>] [[-MagG] <float>] [[-MagB] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -59133,6 +66539,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < RedR + + Float @@ -59145,6 +66553,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < RedG + + Float @@ -59157,6 +66567,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < RedB + + Float @@ -59169,6 +66581,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < YelR + + Float @@ -59181,6 +66595,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < YelG + + Float @@ -59193,6 +66609,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < YelB + + Float @@ -59205,6 +66623,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < GrnR + + Float @@ -59217,6 +66637,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < GrnG + + Float @@ -59229,6 +66651,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < GrnB + + Float @@ -59241,6 +66665,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < CynR + + Float @@ -59253,6 +66679,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < CynG + + Float @@ -59265,6 +66693,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < CynB + + Float @@ -59277,6 +66707,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < BluR + + Float @@ -59289,6 +66721,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < BluG + + Float @@ -59301,6 +66735,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < BluB + + Float @@ -59313,6 +66749,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < MagR + + Float @@ -59325,6 +66763,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < MagG + + Float @@ -59337,6 +66777,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < MagB + + Float @@ -59349,6 +66791,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < SourceName + + String @@ -59361,6 +66805,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < FilterName + + String @@ -59373,6 +66819,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < ShaderText + + String @@ -59385,6 +66833,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < Force + + Switch @@ -59397,6 +66847,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < PassThru + + Switch @@ -59409,6 +66861,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < NoResponse + + Switch @@ -59421,6 +66875,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < UseShaderTime + + Switch @@ -59436,6 +66892,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < BluB + + Float @@ -59448,6 +66906,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < BluG + + Float @@ -59460,6 +66920,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < BluR + + Float @@ -59472,6 +66934,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < CynB + + Float @@ -59484,6 +66948,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < CynG + + Float @@ -59496,6 +66962,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < CynR + + Float @@ -59508,6 +66976,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < FilterName + + String @@ -59520,6 +66990,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < Force + + Switch @@ -59532,6 +67004,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < GrnB + + Float @@ -59544,6 +67018,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < GrnG + + Float @@ -59556,6 +67032,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < GrnR + + Float @@ -59568,6 +67046,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < MagB + + Float @@ -59580,6 +67060,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < MagG + + Float @@ -59592,6 +67074,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < MagR + + Float @@ -59604,6 +67088,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < NoResponse + + Switch @@ -59616,6 +67102,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < PassThru + + Switch @@ -59628,6 +67116,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < RedB + + Float @@ -59640,6 +67130,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < RedG + + Float @@ -59652,6 +67144,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < RedR + + Float @@ -59664,6 +67158,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < ShaderText + + String @@ -59676,6 +67172,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < SourceName + + String @@ -59688,6 +67186,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < UseShaderTime + + Switch @@ -59700,6 +67200,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < YelB + + Float @@ -59712,6 +67214,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < YelG + + Float @@ -59724,6 +67228,8 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < YelR + + Float @@ -59759,9 +67265,7 @@ Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] < OBSThermalShader Get - -Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -59773,6 +67277,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] Strength + + Float @@ -59785,6 +67291,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] SourceName + + String @@ -59797,6 +67305,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] FilterName + + String @@ -59809,6 +67319,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] ShaderText + + String @@ -59821,6 +67333,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] Force + + Switch @@ -59833,6 +67347,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] PassThru + + Switch @@ -59845,6 +67361,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] NoResponse + + Switch @@ -59857,6 +67375,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] UseShaderTime + + Switch @@ -59872,6 +67392,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] FilterName + + String @@ -59884,6 +67406,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] Force + + Switch @@ -59896,6 +67420,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] NoResponse + + Switch @@ -59908,6 +67434,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] PassThru + + Switch @@ -59920,6 +67448,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] ShaderText + + String @@ -59932,6 +67462,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] SourceName + + String @@ -59944,6 +67476,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] Strength + + Float @@ -59956,6 +67490,8 @@ Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] UseShaderTime + + Switch @@ -60086,9 +67622,7 @@ This can increase performance, and also silently ignore critical errorsOBSTvCrtSubpixelShader Get - -Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <int>] [[-HGap] <int>] [[-VGap] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <int>] [[-HGap] <int>] [[-VGap] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -60100,6 +67634,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i ChannelWidth + + Int @@ -60112,6 +67648,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i ChannelHeight + + Int @@ -60124,6 +67662,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i HGap + + Int @@ -60136,6 +67676,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i VGap + + Int @@ -60148,6 +67690,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i SourceName + + String @@ -60160,6 +67704,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i FilterName + + String @@ -60172,6 +67718,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i ShaderText + + String @@ -60184,6 +67732,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i Force + + Switch @@ -60196,6 +67746,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i PassThru + + Switch @@ -60208,6 +67760,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i NoResponse + + Switch @@ -60220,6 +67774,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i UseShaderTime + + Switch @@ -60235,6 +67791,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i ChannelHeight + + Int @@ -60247,6 +67805,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i ChannelWidth + + Int @@ -60259,6 +67819,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i FilterName + + String @@ -60271,6 +67833,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i Force + + Switch @@ -60283,6 +67847,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i HGap + + Int @@ -60295,6 +67861,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i NoResponse + + Switch @@ -60307,6 +67875,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i PassThru + + Switch @@ -60319,6 +67889,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i ShaderText + + String @@ -60331,6 +67903,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i SourceName + + String @@ -60343,6 +67917,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i UseShaderTime + + Switch @@ -60355,6 +67931,8 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i VGap + + Int @@ -60390,9 +67968,7 @@ Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <i OBSTwistShader Get - -Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-Rotation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-Rotation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -60404,6 +67980,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterXPercent + + Int @@ -60416,6 +67994,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterYPercent + + Int @@ -60428,6 +68008,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Power + + Float @@ -60440,6 +68022,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Rotation + + Float @@ -60452,6 +68036,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> SourceName + + String @@ -60464,6 +68050,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> FilterName + + String @@ -60476,6 +68064,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> ShaderText + + String @@ -60488,6 +68078,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Force + + Switch @@ -60500,6 +68092,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> PassThru + + Switch @@ -60512,6 +68106,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> NoResponse + + Switch @@ -60524,6 +68120,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> UseShaderTime + + Switch @@ -60539,6 +68137,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterXPercent + + Int @@ -60551,6 +68151,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterYPercent + + Int @@ -60563,6 +68165,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> FilterName + + String @@ -60575,6 +68179,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Force + + Switch @@ -60587,6 +68193,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> NoResponse + + Switch @@ -60599,6 +68207,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> PassThru + + Switch @@ -60611,6 +68221,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Power + + Float @@ -60623,6 +68235,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Rotation + + Float @@ -60635,6 +68249,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> ShaderText + + String @@ -60647,6 +68263,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> SourceName + + String @@ -60659,6 +68277,8 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> UseShaderTime + + Switch @@ -60694,9 +68314,7 @@ Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> OBSTwoPassDropShadowShader Get - -Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -60708,6 +68326,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ViewProj + + System.Single[][] @@ -60720,6 +68340,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str Image + + String @@ -60732,6 +68354,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ElapsedTime + + Float @@ -60744,6 +68368,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvOffset + + System.Single[] @@ -60756,6 +68382,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvScale + + System.Single[] @@ -60768,6 +68396,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvPixelInterval + + System.Single[] @@ -60780,6 +68410,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str RandF + + Float @@ -60792,6 +68424,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvSize + + System.Single[] @@ -60804,6 +68438,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowOffsetX + + Int @@ -60816,6 +68452,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowOffsetY + + Int @@ -60828,6 +68466,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowBlurSize + + Int @@ -60840,6 +68480,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowColor + + String @@ -60852,6 +68494,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str IsAlphaPremultiplied + + Switch @@ -60864,6 +68508,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str SourceName + + String @@ -60876,6 +68522,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str FilterName + + String @@ -60888,6 +68536,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShaderText + + String @@ -60900,6 +68550,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str Force + + Switch @@ -60912,6 +68564,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str PassThru + + Switch @@ -60924,6 +68578,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str NoResponse + + Switch @@ -60936,6 +68592,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UseShaderTime + + Switch @@ -60951,6 +68609,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ElapsedTime + + Float @@ -60963,6 +68623,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str FilterName + + String @@ -60975,6 +68637,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str Force + + Switch @@ -60987,6 +68651,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str Image + + String @@ -60999,6 +68665,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str IsAlphaPremultiplied + + Switch @@ -61011,6 +68679,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str NoResponse + + Switch @@ -61023,6 +68693,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str PassThru + + Switch @@ -61035,6 +68707,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str RandF + + Float @@ -61047,6 +68721,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShaderText + + String @@ -61059,6 +68735,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowBlurSize + + Int @@ -61071,6 +68749,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowColor + + String @@ -61083,6 +68763,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowOffsetX + + Int @@ -61095,6 +68777,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ShadowOffsetY + + Int @@ -61107,6 +68791,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str SourceName + + String @@ -61119,6 +68805,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UseShaderTime + + Switch @@ -61131,6 +68819,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvOffset + + System.Single[] @@ -61143,6 +68833,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvPixelInterval + + System.Single[] @@ -61155,6 +68847,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvScale + + System.Single[] @@ -61167,6 +68861,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str UvSize + + System.Single[] @@ -61179,6 +68875,8 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str ViewProj + + System.Single[][] @@ -61214,9 +68912,7 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <str OBSVCRShader Get - -Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[-Vignet] <float>] [[-Stripe] <float>] [[-VerticalFactor] <float>] [[-VerticalHeight] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[-Vignet] <float>] [[-Stripe] <float>] [[-VerticalFactor] <float>] [[-VerticalHeight] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -61228,6 +68924,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- VerticalShift + + Float @@ -61240,6 +68938,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Distort + + Float @@ -61252,6 +68952,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Vignet + + Float @@ -61264,6 +68966,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Stripe + + Float @@ -61276,6 +68980,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- VerticalFactor + + Float @@ -61288,6 +68994,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- VerticalHeight + + Float @@ -61300,6 +69008,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- SourceName + + String @@ -61312,6 +69022,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- FilterName + + String @@ -61324,6 +69036,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- ShaderText + + String @@ -61336,6 +69050,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Force + + Switch @@ -61348,6 +69064,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- PassThru + + Switch @@ -61360,6 +69078,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- NoResponse + + Switch @@ -61372,6 +69092,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- UseShaderTime + + Switch @@ -61387,6 +69109,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Distort + + Float @@ -61399,6 +69123,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- FilterName + + String @@ -61411,6 +69137,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Force + + Switch @@ -61423,6 +69151,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- NoResponse + + Switch @@ -61435,6 +69165,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- PassThru + + Switch @@ -61447,6 +69179,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- ShaderText + + String @@ -61459,6 +69193,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- SourceName + + String @@ -61471,6 +69207,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Stripe + + Float @@ -61483,6 +69221,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- UseShaderTime + + Switch @@ -61495,6 +69235,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- VerticalFactor + + Float @@ -61507,6 +69249,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- VerticalHeight + + Float @@ -61519,6 +69263,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- VerticalShift + + Float @@ -61531,6 +69277,8 @@ Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[- Vignet + + Float @@ -61660,9 +69408,7 @@ This can increase performance, and also silently ignore critical errorsOBSVHSShader Get - -Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[-NoiseQuality] <float>] [[-NoiseIntensity] <float>] [[-ColorOffsetIntensity] <float>] [[-AlphaPercentage] <float>] [[-ColorToReplace] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[-NoiseQuality] <float>] [[-NoiseIntensity] <float>] [[-ColorOffsetIntensity] <float>] [[-AlphaPercentage] <float>] [[-ColorToReplace] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -61674,6 +69420,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- Range + + Float @@ -61686,6 +69434,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- OffsetIntensity + + Float @@ -61698,6 +69448,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- NoiseQuality + + Float @@ -61710,6 +69462,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- NoiseIntensity + + Float @@ -61722,6 +69476,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ColorOffsetIntensity + + Float @@ -61734,6 +69490,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- AlphaPercentage + + Float @@ -61746,6 +69504,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ApplyToImage + + Switch @@ -61758,6 +69518,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ReplaceImageColor + + Switch @@ -61770,6 +69532,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ColorToReplace + + String @@ -61782,6 +69546,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ApplyToSpecificColor + + Switch @@ -61794,6 +69560,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- SourceName + + String @@ -61806,6 +69574,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- FilterName + + String @@ -61818,6 +69588,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ShaderText + + String @@ -61830,6 +69602,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- Force + + Switch @@ -61842,6 +69616,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- PassThru + + Switch @@ -61854,6 +69630,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- NoResponse + + Switch @@ -61866,6 +69644,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- UseShaderTime + + Switch @@ -61881,6 +69661,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- AlphaPercentage + + Float @@ -61893,6 +69675,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ApplyToImage + + Switch @@ -61905,6 +69689,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ApplyToSpecificColor + + Switch @@ -61917,6 +69703,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ColorOffsetIntensity + + Float @@ -61929,6 +69717,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ColorToReplace + + String @@ -61941,6 +69731,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- FilterName + + String @@ -61953,6 +69745,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- Force + + Switch @@ -61965,6 +69759,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- NoiseIntensity + + Float @@ -61977,6 +69773,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- NoiseQuality + + Float @@ -61989,6 +69787,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- NoResponse + + Switch @@ -62001,6 +69801,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- OffsetIntensity + + Float @@ -62013,6 +69815,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- PassThru + + Switch @@ -62025,6 +69829,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- Range + + Float @@ -62037,6 +69843,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ReplaceImageColor + + Switch @@ -62049,6 +69857,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- ShaderText + + String @@ -62061,6 +69871,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- SourceName + + String @@ -62073,6 +69885,8 @@ Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[- UseShaderTime + + Switch @@ -62203,9 +70017,7 @@ This can increase performance, and also silently ignore critical errorsOBSVignettingShader Get - -Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-Opacity] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-Opacity] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -62217,6 +70029,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float InnerRadius + + Float @@ -62229,6 +70043,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float OuterRadius + + Float @@ -62241,6 +70057,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float Opacity + + Float @@ -62253,6 +70071,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float Notes + + String @@ -62265,6 +70085,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float SourceName + + String @@ -62277,6 +70099,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float FilterName + + String @@ -62289,6 +70113,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float ShaderText + + String @@ -62301,6 +70127,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float Force + + Switch @@ -62313,6 +70141,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float PassThru + + Switch @@ -62325,6 +70155,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float NoResponse + + Switch @@ -62337,6 +70169,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float UseShaderTime + + Switch @@ -62352,6 +70186,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float FilterName + + String @@ -62364,6 +70200,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float Force + + Switch @@ -62376,6 +70214,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float InnerRadius + + Float @@ -62388,6 +70228,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float NoResponse + + Switch @@ -62400,6 +70242,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float Notes + + String @@ -62412,6 +70256,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float Opacity + + Float @@ -62424,6 +70270,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float OuterRadius + + Float @@ -62436,6 +70284,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float PassThru + + Switch @@ -62448,6 +70298,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float ShaderText + + String @@ -62460,6 +70312,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float SourceName + + String @@ -62472,6 +70326,8 @@ Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float UseShaderTime + + Switch @@ -62601,9 +70457,7 @@ This can increase performance, and also silently ignore critical errorsOBSVoronoiPixelationShader Get - -Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -62615,6 +70469,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string PixH + + Float @@ -62627,6 +70483,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string Alternative + + Switch @@ -62639,6 +70497,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string SourceName + + String @@ -62651,6 +70511,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string FilterName + + String @@ -62663,6 +70525,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string ShaderText + + String @@ -62675,6 +70539,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string Force + + Switch @@ -62687,6 +70553,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string PassThru + + Switch @@ -62699,6 +70567,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string NoResponse + + Switch @@ -62711,6 +70581,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string UseShaderTime + + Switch @@ -62726,6 +70598,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string Alternative + + Switch @@ -62738,6 +70612,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string FilterName + + String @@ -62750,6 +70626,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string Force + + Switch @@ -62762,6 +70640,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string NoResponse + + Switch @@ -62774,6 +70654,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string PassThru + + Switch @@ -62786,6 +70668,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string PixH + + Float @@ -62798,6 +70682,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string ShaderText + + String @@ -62810,6 +70696,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string SourceName + + String @@ -62822,6 +70710,8 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string UseShaderTime + + Switch @@ -62857,9 +70747,7 @@ Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string OBSZigZagShader Get - -Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period] <float>] [[-Amplitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Phase] <float>] [[-Animate] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period] <float>] [[-Amplitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Phase] <float>] [[-Animate] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -62871,6 +70759,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Radius + + Float @@ -62883,6 +70773,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Angle + + Float @@ -62895,6 +70787,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Period + + Float @@ -62907,6 +70801,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Amplitude + + Float @@ -62919,6 +70815,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period CenterX + + Float @@ -62931,6 +70829,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period CenterY + + Float @@ -62943,6 +70843,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Phase + + Float @@ -62955,6 +70857,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Animate + + Int @@ -62967,6 +70871,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Notes + + String @@ -62979,6 +70885,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period SourceName + + String @@ -62991,6 +70899,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period FilterName + + String @@ -63003,6 +70913,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period ShaderText + + String @@ -63015,6 +70927,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Force + + Switch @@ -63027,6 +70941,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period PassThru + + Switch @@ -63039,6 +70955,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period NoResponse + + Switch @@ -63051,6 +70969,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period UseShaderTime + + Switch @@ -63066,6 +70986,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Amplitude + + Float @@ -63078,6 +71000,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Angle + + Float @@ -63090,6 +71014,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Animate + + Int @@ -63102,6 +71028,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period CenterX + + Float @@ -63114,6 +71042,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period CenterY + + Float @@ -63126,6 +71056,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period FilterName + + String @@ -63138,6 +71070,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Force + + Switch @@ -63150,6 +71084,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period NoResponse + + Switch @@ -63162,6 +71098,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Notes + + String @@ -63174,6 +71112,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period PassThru + + Switch @@ -63186,6 +71126,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Period + + Float @@ -63198,6 +71140,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Phase + + Float @@ -63210,6 +71154,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period Radius + + Float @@ -63222,6 +71168,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period ShaderText + + String @@ -63234,6 +71182,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period SourceName + + String @@ -63246,6 +71196,8 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period UseShaderTime + + Switch @@ -63281,9 +71233,7 @@ Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period OBSZoomBlurShader Get - -Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-SpeedPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-SpeedPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -63295,6 +71245,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Samples + + Int @@ -63307,6 +71259,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Magnitude + + Float @@ -63319,6 +71273,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S SpeedPercent + + Int @@ -63331,6 +71287,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Ease + + Switch @@ -63343,6 +71301,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Glitch + + Switch @@ -63355,6 +71315,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Notes + + String @@ -63367,6 +71329,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S SourceName + + String @@ -63379,6 +71343,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S FilterName + + String @@ -63391,6 +71357,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S ShaderText + + String @@ -63403,6 +71371,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Force + + Switch @@ -63415,6 +71385,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S PassThru + + Switch @@ -63427,6 +71399,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S NoResponse + + Switch @@ -63439,6 +71413,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S UseShaderTime + + Switch @@ -63454,6 +71430,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Ease + + Switch @@ -63466,6 +71444,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S FilterName + + String @@ -63478,6 +71458,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Force + + Switch @@ -63490,6 +71472,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Glitch + + Switch @@ -63502,6 +71486,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Magnitude + + Float @@ -63514,6 +71500,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S NoResponse + + Switch @@ -63526,6 +71514,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Notes + + String @@ -63538,6 +71528,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S PassThru + + Switch @@ -63550,6 +71542,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S Samples + + Int @@ -63562,6 +71556,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S ShaderText + + String @@ -63574,6 +71570,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S SourceName + + String @@ -63586,6 +71584,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S SpeedPercent + + Int @@ -63598,6 +71598,8 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S UseShaderTime + + Switch @@ -63633,9 +71635,7 @@ Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-S OBSZoomShader Get - -Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -63647,6 +71647,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterXPercent + + Int @@ -63659,6 +71661,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterYPercent + + Int @@ -63671,6 +71675,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Power + + Float @@ -63683,6 +71689,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> SourceName + + String @@ -63695,6 +71703,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> FilterName + + String @@ -63707,6 +71717,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> ShaderText + + String @@ -63719,6 +71731,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Force + + Switch @@ -63731,6 +71745,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> PassThru + + Switch @@ -63743,6 +71759,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> NoResponse + + Switch @@ -63755,6 +71773,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> UseShaderTime + + Switch @@ -63770,6 +71790,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterXPercent + + Int @@ -63782,6 +71804,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> CenterYPercent + + Int @@ -63794,6 +71818,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> FilterName + + String @@ -63806,6 +71832,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Force + + Switch @@ -63818,6 +71846,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> NoResponse + + Switch @@ -63830,6 +71860,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> PassThru + + Switch @@ -63842,6 +71874,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> Power + + Float @@ -63854,6 +71888,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> ShaderText + + String @@ -63866,6 +71902,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> SourceName + + String @@ -63878,6 +71916,8 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> UseShaderTime + + Switch @@ -63913,9 +71953,7 @@ Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int> OBSZoomXYShader Get - -Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-XPower] <float>] [[-YPower] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - + Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-XPower] <float>] [[-YPower] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] 0.1.9 @@ -63927,6 +71965,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g CenterXPercent + + Int @@ -63939,6 +71979,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g CenterYPercent + + Int @@ -63951,6 +71993,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g XPower + + Float @@ -63963,6 +72007,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g YPower + + Float @@ -63975,6 +72021,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g SourceName + + String @@ -63987,6 +72035,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g FilterName + + String @@ -63999,6 +72049,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g ShaderText + + String @@ -64011,6 +72063,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g Force + + Switch @@ -64023,6 +72077,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g PassThru + + Switch @@ -64035,6 +72091,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g NoResponse + + Switch @@ -64047,6 +72105,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g UseShaderTime + + Switch @@ -64062,6 +72122,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g CenterXPercent + + Int @@ -64074,6 +72136,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g CenterYPercent + + Int @@ -64086,6 +72150,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g FilterName + + String @@ -64098,6 +72164,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g Force + + Switch @@ -64110,6 +72178,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g NoResponse + + Switch @@ -64122,6 +72192,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g PassThru + + Switch @@ -64134,6 +72206,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g ShaderText + + String @@ -64146,6 +72220,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g SourceName + + String @@ -64158,6 +72234,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g UseShaderTime + + Switch @@ -64170,6 +72248,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g XPower + + Float @@ -64182,6 +72262,8 @@ Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int&g YPower + + Float From 8d7705a7378cc16082ce07a5704b0bbfe9371f9f Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Thu, 20 Mar 2025 17:33:16 -0700 Subject: [PATCH 4763/4768] release: obs-powershell 0.2 Updating Manifest and CHANGELOG.md --- CHANGELOG.md | 67 +++++++++++++ obs-powershell.ps.psd1 | 210 +++++++++++++---------------------------- 2 files changed, 133 insertions(+), 144 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67f0e453b..9afa9b2b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,70 @@ +> Like It? [Star It](https://github.com/StartAutomating/obs-powershell) +> Love It? [Support It](https://github.com/sponsors/StartAutomating) + +## obs-powershell 0.2: + +* So Many Shaders! +* @exeldro makes some excellent obs plugins + * Every PixelShader from [obs-shaderfilter](https://github.com/exeldro/obs-shaderfilter) has an auto-generated function: + * As of this build, there are 142 Shader functions! + * Flip Shader ( #200 ) + * Zoom XY Shader ( #199 ) + * RGBA Percent Shader ( #198 ) + * Reflect Shader ( #197 ) + * Shader Commands now support -Force +* Drastically improved start time on Windows (#214) +* OBS Sources: + * New Sources: + * OBSSoundCloudSource ( #179 ) + * OBSSwitchSource (#142) + * OBSMarkdownSource (#143) + * OBSWaveformSource (#141) + * All existing sources are now implemented in a `Get`, and aliased to `Set`,`Add` + * Making Set also Get-OBSWindowSource (#152) + * Making Set also Get-OBSVLCSource (#151) + * Making Set also Get-OBSMediaSource (#150) + * Making Set also Get-OBSColorSource (#148) + * Making Set also Get-OBSBrowserSource (#147) + * Making Set also Get-OBSAudioOutputSource (#146) +* New Effects: + * Zoom In / Out Effect ( #164 ) + * Start-OBSEffect - Adding -Reverse (Fixes #121) +* Exporting `$obs` (#157, #158, #159) and drastically expanding pseudo types +* Pseudo Types + * GetCurrentProgramScene.ToString() ( Fixes #202, Fixes #166 ) + * OBS.Beat ( #195 ) + * OBS.Beat.Timer + * OBS.Beat.TapBPM ( #191) + * Stopping OBS.Beat.Timer on Unload + * OBS.Beat.get_Sine ( #192 ) + * OBS.Beat.get_Cosine ( #193 ) + * OBS.Beat.Angle ( #194 ) + * OBS.Beat.Duration ( #189 ) + * OBS.Beat.BeatCount ( #190 ) + * OBS.Beat.BeatStart ( #188 ) + * OBS.Beat.BPM ( #187 ) + * $obs.Beat ( #186 ) + * OBS.Input + * OBS.Input.Disable/EnableAllFilter(s) ( #183 ) + * OBS.SceneItem.Animate Permissiveness ( #182 ) + * OBS.Filter.Disable PassThru support ( #181 ) + * OBS.Statistics ( #178 ) + * OBS.Input ( #174 ) + * OBS.Filter ( #175 ) + * OBS.SceneItem ( #173 ) + * OBS.GetSceneItemList.Response.Stretch() ( #172 ) + * OBS.GetSceneItemList.Response.Center() ( #171 ) + * OBS.GetInputList .SourceName alias ( #170 ) + * Adding .SceneItem to OBS.Inputs (Fixes #154) +* Minor Fixes: + * Watch-OBS -BufferSize: Defaulting to 64kb ( Fixes #212, Fixes #213 ) + * Fixing -Scene parameter defaults ( Fixes #210 ) + * Updating Build Conditions + * obs-powershell now mounts itself ( #180 ) + * obs-powershell supporting module profiles (#155) + +--- + ## obs-powershell 0.1.9: * New Filters! diff --git a/obs-powershell.ps.psd1 b/obs-powershell.ps.psd1 index fb587be49..b8a65d8c8 100644 --- a/obs-powershell.ps.psd1 +++ b/obs-powershell.ps.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '0.1.9' + ModuleVersion = '0.2' RootModule = 'obs-powershell.psm1' Description = 'Script your streams' Guid = '1417123e-a932-439f-9b68-a7313cf1e170' @@ -15,152 +15,74 @@ ProjectURI = 'https://github.com/StartAutomating/obs-powershell' LicenseURI = 'https://github.com/StartAutomating/obs-powershell/blob/main/LICENSE' ReleaseNotes = @' -## obs-powershell 0.1.9: - -* New Filters! - * @exeldro makes some excellent obs plugins - * obs-powershell now supports a couple of them: - * Set-OBS3DFilter (#137) - Transform an object in 3D! - * Set-OBSShaderFilter (#134) - Apply _any_ PixelShader! -* New Effects! - * LeftToRight (#125) / RightToLeft (#126) - * TopToBottom (#127) / BottomToTop (#128) - * ZoomIn (#129) / ZoomOut (#130) -* Effect Fixes - * Start-OBSEffect - Adding -LoopCount (#133) - * FadeIn/FadeOut no longer conflict (#119) (thanks @I-Am-Jakoby)! - ---- - -## obs-powershell 0.1.8: - -* Added Sponsorship, Please support obs-powershell (#78) -* Added OBS-PowerShell Effects (#109) - * Effect Commands - * Get-OBSEffect - * Import-OBSEffect - * Start-OBSEffect - * Stop-OBSEffect - * Remove-OBSEffect - * ColorLoop (#113) - * FadeIn (#112) - * FadeOut (#114) (thanks @I-Am-Jakoby !) -* Adding Commands for Filtering - * Set/Add-OBSGainFilter (#94) - * Set/Add-OBSColorFilter (#92) - * Set/Add-OBSScrollFilter (#93) - * Set/Add-OBSSharpnessFilter (#95) - * Set/Add-OBSRenderDelayFilter (#96) - * Set/Add-OBSEqualizerFilter (#97) -* New Easy Sources - * Set/Add-OBSAudioOutputSource (#110) - * Set/Add-OBSWindowSource (#104) - * Set/Add-OBSVLCSource (#102) -* Scene Items Can Now Do A Lot More - * Animate allows for multiple steps and is more careful (#75 and #73) - * Move, Scale, Rotate are written using animate (#80, #81, #89) -* Extending Inputs (#99) -* Autogenerating help for extended types, thanks to a new version of [HelpOut](https://github.com/StartAutomating/HelpOut) -* Improving Performance and Stability of Send/Receive/Watch-OBS (#77, #90, #86, #106, #107) - - -* Also, new logo (#76) +> Like It? [Star It](https://github.com/StartAutomating/obs-powershell) +> Love It? [Support It](https://github.com/sponsors/StartAutomating) + +## obs-powershell 0.2: + +* So Many Shaders! +* @exeldro makes some excellent obs plugins + * Every PixelShader from [obs-shaderfilter](https://github.com/exeldro/obs-shaderfilter) has an auto-generated function: + * As of this build, there are 142 Shader functions! + * Flip Shader ( #200 ) + * Zoom XY Shader ( #199 ) + * RGBA Percent Shader ( #198 ) + * Reflect Shader ( #197 ) + * Shader Commands now support -Force +* Drastically improved start time on Windows (#214) +* OBS Sources: + * New Sources: + * OBSSoundCloudSource ( #179 ) + * OBSSwitchSource (#142) + * OBSMarkdownSource (#143) + * OBSWaveformSource (#141) + * All existing sources are now implemented in a `Get`, and aliased to `Set`,`Add` + * Making Set also Get-OBSWindowSource (#152) + * Making Set also Get-OBSVLCSource (#151) + * Making Set also Get-OBSMediaSource (#150) + * Making Set also Get-OBSColorSource (#148) + * Making Set also Get-OBSBrowserSource (#147) + * Making Set also Get-OBSAudioOutputSource (#146) +* New Effects: + * Zoom In / Out Effect ( #164 ) + * Start-OBSEffect - Adding -Reverse (Fixes #121) +* Exporting `$obs` (#157, #158, #159) and drastically expanding pseudo types +* Pseudo Types + * GetCurrentProgramScene.ToString() ( Fixes #202, Fixes #166 ) + * OBS.Beat ( #195 ) + * OBS.Beat.Timer + * OBS.Beat.TapBPM ( #191) + * Stopping OBS.Beat.Timer on Unload + * OBS.Beat.get_Sine ( #192 ) + * OBS.Beat.get_Cosine ( #193 ) + * OBS.Beat.Angle ( #194 ) + * OBS.Beat.Duration ( #189 ) + * OBS.Beat.BeatCount ( #190 ) + * OBS.Beat.BeatStart ( #188 ) + * OBS.Beat.BPM ( #187 ) + * $obs.Beat ( #186 ) + * OBS.Input + * OBS.Input.Disable/EnableAllFilter(s) ( #183 ) + * OBS.SceneItem.Animate Permissiveness ( #182 ) + * OBS.Filter.Disable PassThru support ( #181 ) + * OBS.Statistics ( #178 ) + * OBS.Input ( #174 ) + * OBS.Filter ( #175 ) + * OBS.SceneItem ( #173 ) + * OBS.GetSceneItemList.Response.Stretch() ( #172 ) + * OBS.GetSceneItemList.Response.Center() ( #171 ) + * OBS.GetInputList .SourceName alias ( #170 ) + * Adding .SceneItem to OBS.Inputs (Fixes #154) +* Minor Fixes: + * Watch-OBS -BufferSize: Defaulting to 64kb ( Fixes #212, Fixes #213 ) + * Fixing -Scene parameter defaults ( Fixes #210 ) + * Updating Build Conditions + * obs-powershell now mounts itself ( #180 ) + * obs-powershell supporting module profiles (#155) --- -## obs-powershell 0.1.7: - -* New Commands: - * Show-OBS (Fixes #66) - * Hide-OBS (Fixes #67) - * Remove-OBS (Fixes #68) - -* Adding -Force to Add-OBS*Source commands (Fixes #69) -* Add-OBS*Source Commands: Supporting -SceneItemEnabled (Fixes #70) -* Add-OBSMediaSource, adding -FitToScreen (Fixes #71) - ---- - -## obs-powershell 0.1.6: - -* Adding OBS.SceneItem .Scale (Fixes #64) -* OBS.SceneItem .FitToScreen, adjusting .Scale (Fixes #63) -* Add-OBSMediaSource: Fixing -InputSettings / -SceneItemEnabled (Fixes #62) - ---- - -## obs-powershell 0.1.5: - -* Adding OBS.SceneItem .Animate (Fixes #59) - - ---- - -## obs-powershell 0.1.4: - -* Adding Add-OBSColorSource (Fixes #51) -* Save-OBSSourceScreenShot: - * Attaching .InputName, .SourceName, .ImageWidth, .ImageHeight to output (Fixes #50) - * Now returns a file (Fixes #49) -* -Path parameters now attempt to resolve to an absolute path (Fixes #48) -* All scene items can now: - * Blend() / get .BlendMode (Fixes #53) - * FitToScreen() (Fixes #46) - * Crop() (Fixes #57) - * Rotate() (Fixes #35) -* Color Sources can now .SetColor (Fixes #55) - ---- - -## obs-powershell 0.1.3: - -* Requiring ThreadJob Module (Thanks @nyanhp!) (Fixes #36) -* Fixing Add-OBSBrowserSource (Fixes #34) -* Improving Batch Processing Capabilities (Fixes #38) -* Requiring PowerShell Version 7 - ---- - -## obs-powershell 0.1.2: - -* New Commands - * Add-OBSBrowserSource (Fixes #24) - * Add-OBSDisplaySource (Fixes #25) - * Add-OBSMediaSource (Fixes #28) - * Clear-OBSScene (Fixes #27) -* New Methods - * OBS.GetSceneListResponse: - * .Remove()/.Delete() (Fixes #26) - * .Lock()/.Unlock() (Fixes #32) -* General Improvements - * Standardizing Parameter Naming (Fixes #30) - * Using GUIDs for RequestIDs (Fixes #29) - * Updated logo (Fixes #23) - ---- - -## obs-powershell 0.1.1: - -* Connect-OBS now caches connections (Fixes #18) -* Adding new core commands: - * Watch-OBS (Fixes #19) - * Receive-OBS (Fixes #20) - * Send-OBS (Fixes #21) -* All commands now support -PassThru (Fixes #16) -* All commands now increment requests correctly (Fixes #15) -* Improved formatting: - * Get-OBSScene (Fixes #14) - * Get-OBSSceneItem (Fixes #17) - ---- - -## obs-powershell 0.1: - -Initial Release of obs-powershell - -* Connect-OBS/Disconnect-OBS let you connect and disconnect. -* Commands exist for every request in the websocket. -* OBS Events are broadcast to the the runspace. +Previous release notes available in the [CHANGELOG](https://github.com/StartAutomating/obs-powershell/blob/main/CHANGELOG.md) '@ } } From e30a3d4ee733a6822e0e38511b17d5ad9e44ccc5 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:36:00 +0000 Subject: [PATCH 4764/4768] release: obs-powershell 0.2 Updating Manifest and CHANGELOG.md --- en-us/obs-powershell-commands.help.txt | 354 ++++++++++++------------- 1 file changed, 177 insertions(+), 177 deletions(-) diff --git a/en-us/obs-powershell-commands.help.txt b/en-us/obs-powershell-commands.help.txt index da1a78afc..45ae5b978 100644 --- a/en-us/obs-powershell-commands.help.txt +++ b/en-us/obs-powershell-commands.help.txt @@ -12,19 +12,19 @@ Functions ========= -|Name |Synopsis | -|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------| -|[Add-OBSInput](docs/Add-OBSInput.md) |Add-OBSInput : CreateInput | -|[Add-OBSProfile](docs/Add-OBSProfile.md) |Add-OBSProfile : CreateProfile | -|[Add-OBSScene](docs/Add-OBSScene.md) |Add-OBSScene : CreateScene | -|[Add-OBSSceneCollection](docs/Add-OBSSceneCollection.md) |Add-OBSSceneCollection : CreateSceneCollection | -|[Add-OBSSceneItem](docs/Add-OBSSceneItem.md) |Add-OBSSceneItem : CreateSceneItem | -|[Add-OBSSourceFilter](docs/Add-OBSSourceFilter.md) |Add-OBSSourceFilter : CreateSourceFilter | -|[Clear-OBSScene](docs/Clear-OBSScene.md) |Clears a Scene in OBS | -|[Connect-OBS](docs/Connect-OBS.md) |Connects to Open Broadcast Studio | -|[Copy-OBSSceneItem](docs/Copy-OBSSceneItem.md) |Copy-OBSSceneItem : DuplicateSceneItem | -|[Disconnect-OBS](docs/Disconnect-OBS.md) |Disconnects OBS | -|[Get-OBS](docs/Get-OBS.md) |Gets OBS | +|Name |Synopsis| +|------------------------------------------------------------------------------------------|--------| +|[Add-OBSInput](docs/Add-OBSInput.md) | +|[Add-OBSProfile](docs/Add-OBSProfile.md) | +|[Add-OBSScene](docs/Add-OBSScene.md) | +|[Add-OBSSceneCollection](docs/Add-OBSSceneCollection.md) | +|[Add-OBSSceneItem](docs/Add-OBSSceneItem.md) | +|[Add-OBSSourceFilter](docs/Add-OBSSourceFilter.md) | +|[Clear-OBSScene](docs/Clear-OBSScene.md) | +|[Connect-OBS](docs/Connect-OBS.md) | +|[Copy-OBSSceneItem](docs/Copy-OBSSceneItem.md) | +|[Disconnect-OBS](docs/Disconnect-OBS.md) | +|[Get-OBS](docs/Get-OBS.md) | |[Get-OBS3dSwapTransitionShader](docs/Get-OBS3dSwapTransitionShader.md) | |[Get-OBSAddShader](docs/Get-OBSAddShader.md) | |[Get-OBSAlphaBorderShader](docs/Get-OBSAlphaBorderShader.md) | @@ -53,10 +53,10 @@ Functions |[Get-OBSColorGradeFilterShader](docs/Get-OBSColorGradeFilterShader.md) | |[Get-OBSCornerPinShader](docs/Get-OBSCornerPinShader.md) | |[Get-OBSCrtCurvatureShader](docs/Get-OBSCrtCurvatureShader.md) | -|[Get-OBSCurrentPreviewScene](docs/Get-OBSCurrentPreviewScene.md) |Get-OBSCurrentPreviewScene : GetCurrentPreviewScene | -|[Get-OBSCurrentProgramScene](docs/Get-OBSCurrentProgramScene.md) |Get-OBSCurrentProgramScene : GetCurrentProgramScene | -|[Get-OBSCurrentSceneTransition](docs/Get-OBSCurrentSceneTransition.md) |Get-OBSCurrentSceneTransition : GetCurrentSceneTransition | -|[Get-OBSCurrentSceneTransitionCursor](docs/Get-OBSCurrentSceneTransitionCursor.md) |Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor | +|[Get-OBSCurrentPreviewScene](docs/Get-OBSCurrentPreviewScene.md) | +|[Get-OBSCurrentProgramScene](docs/Get-OBSCurrentProgramScene.md) | +|[Get-OBSCurrentSceneTransition](docs/Get-OBSCurrentSceneTransition.md) | +|[Get-OBSCurrentSceneTransitionCursor](docs/Get-OBSCurrentSceneTransitionCursor.md) | |[Get-OBSCurveShader](docs/Get-OBSCurveShader.md) | |[Get-OBSCutRectPerCornerShader](docs/Get-OBSCutRectPerCornerShader.md) | |[Get-OBSCylinderShader](docs/Get-OBSCylinderShader.md) | @@ -72,7 +72,7 @@ Functions |[Get-OBSDrunkShader](docs/Get-OBSDrunkShader.md) | |[Get-OBSDynamicMaskShader](docs/Get-OBSDynamicMaskShader.md) | |[Get-OBSEdgeDetectionShader](docs/Get-OBSEdgeDetectionShader.md) | -|[Get-OBSEffect](docs/Get-OBSEffect.md) |Gets OBS Effects | +|[Get-OBSEffect](docs/Get-OBSEffect.md) | |[Get-OBSEmbersShader](docs/Get-OBSEmbersShader.md) | |[Get-OBSEmbossColorShader](docs/Get-OBSEmbossColorShader.md) | |[Get-OBSEmbossShader](docs/Get-OBSEmbossShader.md) | @@ -103,61 +103,61 @@ Functions |[Get-OBSGlitchShader](docs/Get-OBSGlitchShader.md) | |[Get-OBSGlowShader](docs/Get-OBSGlowShader.md) | |[Get-OBSGradientShader](docs/Get-OBSGradientShader.md) | -|[Get-OBSGroup](docs/Get-OBSGroup.md) |Get-OBSGroup : GetGroupList | -|[Get-OBSGroupSceneItem](docs/Get-OBSGroupSceneItem.md) |Get-OBSGroupSceneItem : GetGroupSceneItemList | +|[Get-OBSGroup](docs/Get-OBSGroup.md) | +|[Get-OBSGroupSceneItem](docs/Get-OBSGroupSceneItem.md) | |[Get-OBSHalftoneShader](docs/Get-OBSHalftoneShader.md) | |[Get-OBSHeatWaveSimpleShader](docs/Get-OBSHeatWaveSimpleShader.md) | |[Get-OBSHexagonShader](docs/Get-OBSHexagonShader.md) | -|[Get-OBSHotkey](docs/Get-OBSHotkey.md) |Get-OBSHotkey : GetHotkeyList | +|[Get-OBSHotkey](docs/Get-OBSHotkey.md) | |[Get-OBSHslHsvSaturationShader](docs/Get-OBSHslHsvSaturationShader.md) | |[Get-OBSHueRotatonShader](docs/Get-OBSHueRotatonShader.md) | -|[Get-OBSInput](docs/Get-OBSInput.md) |Get-OBSInput : GetInputList | -|[Get-OBSInputAudioBalance](docs/Get-OBSInputAudioBalance.md) |Get-OBSInputAudioBalance : GetInputAudioBalance | -|[Get-OBSInputAudioMonitorType](docs/Get-OBSInputAudioMonitorType.md) |Get-OBSInputAudioMonitorType : GetInputAudioMonitorType | -|[Get-OBSInputAudioSyncOffset](docs/Get-OBSInputAudioSyncOffset.md) |Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset | -|[Get-OBSInputAudioTracks](docs/Get-OBSInputAudioTracks.md) |Get-OBSInputAudioTracks : GetInputAudioTracks | -|[Get-OBSInputDefaultSettings](docs/Get-OBSInputDefaultSettings.md) |Get-OBSInputDefaultSettings : GetInputDefaultSettings | -|[Get-OBSInputKind](docs/Get-OBSInputKind.md) |Get-OBSInputKind : GetInputKindList | -|[Get-OBSInputMute](docs/Get-OBSInputMute.md) |Get-OBSInputMute : GetInputMute | -|[Get-OBSInputPropertiesListPropertyItems](docs/Get-OBSInputPropertiesListPropertyItems.md)|Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems| -|[Get-OBSInputSettings](docs/Get-OBSInputSettings.md) |Get-OBSInputSettings : GetInputSettings | -|[Get-OBSInputVolume](docs/Get-OBSInputVolume.md) |Get-OBSInputVolume : GetInputVolume | +|[Get-OBSInput](docs/Get-OBSInput.md) | +|[Get-OBSInputAudioBalance](docs/Get-OBSInputAudioBalance.md) | +|[Get-OBSInputAudioMonitorType](docs/Get-OBSInputAudioMonitorType.md) | +|[Get-OBSInputAudioSyncOffset](docs/Get-OBSInputAudioSyncOffset.md) | +|[Get-OBSInputAudioTracks](docs/Get-OBSInputAudioTracks.md) | +|[Get-OBSInputDefaultSettings](docs/Get-OBSInputDefaultSettings.md) | +|[Get-OBSInputKind](docs/Get-OBSInputKind.md) | +|[Get-OBSInputMute](docs/Get-OBSInputMute.md) | +|[Get-OBSInputPropertiesListPropertyItems](docs/Get-OBSInputPropertiesListPropertyItems.md)| +|[Get-OBSInputSettings](docs/Get-OBSInputSettings.md) | +|[Get-OBSInputVolume](docs/Get-OBSInputVolume.md) | |[Get-OBSIntensityScopeShader](docs/Get-OBSIntensityScopeShader.md) | |[Get-OBSInvertLumaShader](docs/Get-OBSInvertLumaShader.md) | -|[Get-OBSLastReplayBufferReplay](docs/Get-OBSLastReplayBufferReplay.md) |Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay | +|[Get-OBSLastReplayBufferReplay](docs/Get-OBSLastReplayBufferReplay.md) | |[Get-OBSLuminance2Shader](docs/Get-OBSLuminance2Shader.md) | |[Get-OBSLuminanceAlphaShader](docs/Get-OBSLuminanceAlphaShader.md) | |[Get-OBSLuminanceShader](docs/Get-OBSLuminanceShader.md) | |[Get-OBSMatrixShader](docs/Get-OBSMatrixShader.md) | -|[Get-OBSMediaInputStatus](docs/Get-OBSMediaInputStatus.md) |Get-OBSMediaInputStatus : GetMediaInputStatus | -|[Get-OBSMonitor](docs/Get-OBSMonitor.md) |Get-OBSMonitor : GetMonitorList | +|[Get-OBSMediaInputStatus](docs/Get-OBSMediaInputStatus.md) | +|[Get-OBSMonitor](docs/Get-OBSMonitor.md) | |[Get-OBSMultiplyShader](docs/Get-OBSMultiplyShader.md) | |[Get-OBSNightSkyShader](docs/Get-OBSNightSkyShader.md) | |[Get-OBSOpacityShader](docs/Get-OBSOpacityShader.md) | -|[Get-OBSOutput](docs/Get-OBSOutput.md) |Get-OBSOutput : GetOutputList | -|[Get-OBSOutputSettings](docs/Get-OBSOutputSettings.md) |Get-OBSOutputSettings : GetOutputSettings | -|[Get-OBSOutputStatus](docs/Get-OBSOutputStatus.md) |Get-OBSOutputStatus : GetOutputStatus | +|[Get-OBSOutput](docs/Get-OBSOutput.md) | +|[Get-OBSOutputSettings](docs/Get-OBSOutputSettings.md) | +|[Get-OBSOutputStatus](docs/Get-OBSOutputStatus.md) | |[Get-OBSPagePeelShader](docs/Get-OBSPagePeelShader.md) | |[Get-OBSPagePeelTransitionShader](docs/Get-OBSPagePeelTransitionShader.md) | |[Get-OBSPerlinNoiseShader](docs/Get-OBSPerlinNoiseShader.md) | -|[Get-OBSPersistentData](docs/Get-OBSPersistentData.md) |Get-OBSPersistentData : GetPersistentData | +|[Get-OBSPersistentData](docs/Get-OBSPersistentData.md) | |[Get-OBSPieChartShader](docs/Get-OBSPieChartShader.md) | |[Get-OBSPixelationShader](docs/Get-OBSPixelationShader.md) | |[Get-OBSPixelationTransitionShader](docs/Get-OBSPixelationTransitionShader.md) | |[Get-OBSPolarShader](docs/Get-OBSPolarShader.md) | -|[Get-OBSProfile](docs/Get-OBSProfile.md) |Get-OBSProfile : GetProfileList | -|[Get-OBSProfileParameter](docs/Get-OBSProfileParameter.md) |Get-OBSProfileParameter : GetProfileParameter | +|[Get-OBSProfile](docs/Get-OBSProfile.md) | +|[Get-OBSProfileParameter](docs/Get-OBSProfileParameter.md) | |[Get-OBSPulseShader](docs/Get-OBSPulseShader.md) | |[Get-OBSRainbowShader](docs/Get-OBSRainbowShader.md) | |[Get-OBSRainWindowShader](docs/Get-OBSRainWindowShader.md) | -|[Get-OBSRecordDirectory](docs/Get-OBSRecordDirectory.md) |Get-OBSRecordDirectory : GetRecordDirectory | -|[Get-OBSRecordStatus](docs/Get-OBSRecordStatus.md) |Get-OBSRecordStatus : GetRecordStatus | +|[Get-OBSRecordDirectory](docs/Get-OBSRecordDirectory.md) | +|[Get-OBSRecordStatus](docs/Get-OBSRecordStatus.md) | |[Get-OBSRectangularDropShadowShader](docs/Get-OBSRectangularDropShadowShader.md) | |[Get-OBSReflectShader](docs/Get-OBSReflectShader.md) | |[Get-OBSRemovePartialPixelsShader](docs/Get-OBSRemovePartialPixelsShader.md) | |[Get-OBSRepeatShader](docs/Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](docs/Get-OBSRepeatTextureShader.md) | -|[Get-OBSReplayBufferStatus](docs/Get-OBSReplayBufferStatus.md) |Get-OBSReplayBufferStatus : GetReplayBufferStatus | +|[Get-OBSReplayBufferStatus](docs/Get-OBSReplayBufferStatus.md) | |[Get-OBSRGBAPercentShader](docs/Get-OBSRGBAPercentShader.md) | |[Get-OBSRgbColorWheelShader](docs/Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](docs/Get-OBSRgbSplitShader.md) | @@ -173,18 +173,18 @@ Functions |[Get-OBSRoundedStrokeGradientShader](docs/Get-OBSRoundedStrokeGradientShader.md) | |[Get-OBSRoundedStrokeShader](docs/Get-OBSRoundedStrokeShader.md) | |[Get-OBSScanLineShader](docs/Get-OBSScanLineShader.md) | -|[Get-OBSScene](docs/Get-OBSScene.md) |Get-OBSScene : GetSceneList | -|[Get-OBSSceneCollection](docs/Get-OBSSceneCollection.md) |Get-OBSSceneCollection : GetSceneCollectionList | -|[Get-OBSSceneItem](docs/Get-OBSSceneItem.md) |Get-OBSSceneItem : GetSceneItemList | -|[Get-OBSSceneItemBlendMode](docs/Get-OBSSceneItemBlendMode.md) |Get-OBSSceneItemBlendMode : GetSceneItemBlendMode | -|[Get-OBSSceneItemEnabled](docs/Get-OBSSceneItemEnabled.md) |Get-OBSSceneItemEnabled : GetSceneItemEnabled | -|[Get-OBSSceneItemId](docs/Get-OBSSceneItemId.md) |Get-OBSSceneItemId : GetSceneItemId | -|[Get-OBSSceneItemIndex](docs/Get-OBSSceneItemIndex.md) |Get-OBSSceneItemIndex : GetSceneItemIndex | -|[Get-OBSSceneItemLocked](docs/Get-OBSSceneItemLocked.md) |Get-OBSSceneItemLocked : GetSceneItemLocked | -|[Get-OBSSceneItemSource](docs/Get-OBSSceneItemSource.md) |Get-OBSSceneItemSource : GetSceneItemSource | -|[Get-OBSSceneItemTransform](docs/Get-OBSSceneItemTransform.md) |Get-OBSSceneItemTransform : GetSceneItemTransform | -|[Get-OBSSceneSceneTransitionOverride](docs/Get-OBSSceneSceneTransitionOverride.md) |Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride | -|[Get-OBSSceneTransition](docs/Get-OBSSceneTransition.md) |Get-OBSSceneTransition : GetSceneTransitionList | +|[Get-OBSScene](docs/Get-OBSScene.md) | +|[Get-OBSSceneCollection](docs/Get-OBSSceneCollection.md) | +|[Get-OBSSceneItem](docs/Get-OBSSceneItem.md) | +|[Get-OBSSceneItemBlendMode](docs/Get-OBSSceneItemBlendMode.md) | +|[Get-OBSSceneItemEnabled](docs/Get-OBSSceneItemEnabled.md) | +|[Get-OBSSceneItemId](docs/Get-OBSSceneItemId.md) | +|[Get-OBSSceneItemIndex](docs/Get-OBSSceneItemIndex.md) | +|[Get-OBSSceneItemLocked](docs/Get-OBSSceneItemLocked.md) | +|[Get-OBSSceneItemSource](docs/Get-OBSSceneItemSource.md) | +|[Get-OBSSceneItemTransform](docs/Get-OBSSceneItemTransform.md) | +|[Get-OBSSceneSceneTransitionOverride](docs/Get-OBSSceneSceneTransitionOverride.md) | +|[Get-OBSSceneTransition](docs/Get-OBSSceneTransition.md) | |[Get-OBSSeascapeShader](docs/Get-OBSSeascapeShader.md) | |[Get-OBSSeasickShader](docs/Get-OBSSeasickShader.md) | |[Get-OBSSelectiveColorShader](docs/Get-OBSSelectiveColorShader.md) | @@ -193,143 +193,143 @@ Functions |[Get-OBSSimpleGradientShader](docs/Get-OBSSimpleGradientShader.md) | |[Get-OBSSimplexNoiseShader](docs/Get-OBSSimplexNoiseShader.md) | |[Get-OBSSmartDenoiseShader](docs/Get-OBSSmartDenoiseShader.md) | -|[Get-OBSSourceActive](docs/Get-OBSSourceActive.md) |Get-OBSSourceActive : GetSourceActive | -|[Get-OBSSourceFilter](docs/Get-OBSSourceFilter.md) |Get-OBSSourceFilter : GetSourceFilter | -|[Get-OBSSourceFilterDefaultSettings](docs/Get-OBSSourceFilterDefaultSettings.md) |Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings | -|[Get-OBSSourceFilterKind](docs/Get-OBSSourceFilterKind.md) |Get-OBSSourceFilterKind : GetSourceFilterKindList | -|[Get-OBSSourceFilterList](docs/Get-OBSSourceFilterList.md) |Get-OBSSourceFilterList : GetSourceFilterList | -|[Get-OBSSourceScreenshot](docs/Get-OBSSourceScreenshot.md) |Get-OBSSourceScreenshot : GetSourceScreenshot | -|[Get-OBSSpecialInputs](docs/Get-OBSSpecialInputs.md) |Get-OBSSpecialInputs : GetSpecialInputs | +|[Get-OBSSourceActive](docs/Get-OBSSourceActive.md) | +|[Get-OBSSourceFilter](docs/Get-OBSSourceFilter.md) | +|[Get-OBSSourceFilterDefaultSettings](docs/Get-OBSSourceFilterDefaultSettings.md) | +|[Get-OBSSourceFilterKind](docs/Get-OBSSourceFilterKind.md) | +|[Get-OBSSourceFilterList](docs/Get-OBSSourceFilterList.md) | +|[Get-OBSSourceScreenshot](docs/Get-OBSSourceScreenshot.md) | +|[Get-OBSSpecialInputs](docs/Get-OBSSpecialInputs.md) | |[Get-OBSSpecularShineShader](docs/Get-OBSSpecularShineShader.md) | |[Get-OBSSpotlightShader](docs/Get-OBSSpotlightShader.md) | -|[Get-OBSStats](docs/Get-OBSStats.md) |Get-OBSStats : GetStats | -|[Get-OBSStreamServiceSettings](docs/Get-OBSStreamServiceSettings.md) |Get-OBSStreamServiceSettings : GetStreamServiceSettings | -|[Get-OBSStreamStatus](docs/Get-OBSStreamStatus.md) |Get-OBSStreamStatus : GetStreamStatus | -|[Get-OBSStudioModeEnabled](docs/Get-OBSStudioModeEnabled.md) |Get-OBSStudioModeEnabled : GetStudioModeEnabled | +|[Get-OBSStats](docs/Get-OBSStats.md) | +|[Get-OBSStreamServiceSettings](docs/Get-OBSStreamServiceSettings.md) | +|[Get-OBSStreamStatus](docs/Get-OBSStreamStatus.md) | +|[Get-OBSStudioModeEnabled](docs/Get-OBSStudioModeEnabled.md) | |[Get-OBSSwirlShader](docs/Get-OBSSwirlShader.md) | |[Get-OBSTetraShader](docs/Get-OBSTetraShader.md) | |[Get-OBSThermalShader](docs/Get-OBSThermalShader.md) | -|[Get-OBSTransitionKind](docs/Get-OBSTransitionKind.md) |Get-OBSTransitionKind : GetTransitionKindList | +|[Get-OBSTransitionKind](docs/Get-OBSTransitionKind.md) | |[Get-OBSTvCrtSubpixelShader](docs/Get-OBSTvCrtSubpixelShader.md) | |[Get-OBSTwistShader](docs/Get-OBSTwistShader.md) | |[Get-OBSTwoPassDropShadowShader](docs/Get-OBSTwoPassDropShadowShader.md) | |[Get-OBSVCRShader](docs/Get-OBSVCRShader.md) | -|[Get-OBSVersion](docs/Get-OBSVersion.md) |Get-OBSVersion : GetVersion | +|[Get-OBSVersion](docs/Get-OBSVersion.md) | |[Get-OBSVHSShader](docs/Get-OBSVHSShader.md) | -|[Get-OBSVideoSettings](docs/Get-OBSVideoSettings.md) |Get-OBSVideoSettings : GetVideoSettings | +|[Get-OBSVideoSettings](docs/Get-OBSVideoSettings.md) | |[Get-OBSVignettingShader](docs/Get-OBSVignettingShader.md) | -|[Get-OBSVirtualCamStatus](docs/Get-OBSVirtualCamStatus.md) |Get-OBSVirtualCamStatus : GetVirtualCamStatus | +|[Get-OBSVirtualCamStatus](docs/Get-OBSVirtualCamStatus.md) | |[Get-OBSVoronoiPixelationShader](docs/Get-OBSVoronoiPixelationShader.md) | |[Get-OBSZigZagShader](docs/Get-OBSZigZagShader.md) | |[Get-OBSZoomBlurShader](docs/Get-OBSZoomBlurShader.md) | |[Get-OBSZoomShader](docs/Get-OBSZoomShader.md) | |[Get-OBSZoomXYShader](docs/Get-OBSZoomXYShader.md) | -|[Hide-OBS](docs/Hide-OBS.md) |Hide OBS | -|[Import-OBSEffect](docs/Import-OBSEffect.md) |Imports Effects | -|[Open-OBSInputFiltersDialog](docs/Open-OBSInputFiltersDialog.md) |Open-OBSInputFiltersDialog : OpenInputFiltersDialog | -|[Open-OBSInputInteractDialog](docs/Open-OBSInputInteractDialog.md) |Open-OBSInputInteractDialog : OpenInputInteractDialog | -|[Open-OBSInputPropertiesDialog](docs/Open-OBSInputPropertiesDialog.md) |Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog | -|[Open-OBSSourceProjector](docs/Open-OBSSourceProjector.md) |Open-OBSSourceProjector : OpenSourceProjector | -|[Open-OBSVideoMixProjector](docs/Open-OBSVideoMixProjector.md) |Open-OBSVideoMixProjector : OpenVideoMixProjector | -|[Receive-OBS](docs/Receive-OBS.md) |Receives data from OBS | -|[Remove-OBS](docs/Remove-OBS.md) |Remove OBS | -|[Remove-OBSEffect](docs/Remove-OBSEffect.md) |Removes OBS Effects | -|[Remove-OBSInput](docs/Remove-OBSInput.md) |Remove-OBSInput : RemoveInput | -|[Remove-OBSProfile](docs/Remove-OBSProfile.md) |Remove-OBSProfile : RemoveProfile | -|[Remove-OBSScene](docs/Remove-OBSScene.md) |Remove-OBSScene : RemoveScene | -|[Remove-OBSSceneItem](docs/Remove-OBSSceneItem.md) |Remove-OBSSceneItem : RemoveSceneItem | -|[Remove-OBSSourceFilter](docs/Remove-OBSSourceFilter.md) |Remove-OBSSourceFilter : RemoveSourceFilter | -|[Resume-OBSRecord](docs/Resume-OBSRecord.md) |Resume-OBSRecord : ResumeRecord | -|[Save-OBSReplayBuffer](docs/Save-OBSReplayBuffer.md) |Save-OBSReplayBuffer : SaveReplayBuffer | -|[Save-OBSSourceScreenshot](docs/Save-OBSSourceScreenshot.md) |Save-OBSSourceScreenshot : SaveSourceScreenshot | -|[Send-OBS](docs/Send-OBS.md) |Sends messages to the OBS websocket. | -|[Send-OBSCallVendorRequest](docs/Send-OBSCallVendorRequest.md) |Send-OBSCallVendorRequest : CallVendorRequest | -|[Send-OBSCustomEvent](docs/Send-OBSCustomEvent.md) |Send-OBSCustomEvent : BroadcastCustomEvent | -|[Send-OBSOffsetMediaInputCursor](docs/Send-OBSOffsetMediaInputCursor.md) |Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor | -|[Send-OBSPauseRecord](docs/Send-OBSPauseRecord.md) |Send-OBSPauseRecord : PauseRecord | -|[Send-OBSPressInputPropertiesButton](docs/Send-OBSPressInputPropertiesButton.md) |Send-OBSPressInputPropertiesButton : PressInputPropertiesButton | -|[Send-OBSSleep](docs/Send-OBSSleep.md) |Send-OBSSleep : Sleep | -|[Send-OBSStreamCaption](docs/Send-OBSStreamCaption.md) |Send-OBSStreamCaption : SendStreamCaption | -|[Send-OBSTriggerHotkeyByKeySequence](docs/Send-OBSTriggerHotkeyByKeySequence.md) |Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence | -|[Send-OBSTriggerHotkeyByName](docs/Send-OBSTriggerHotkeyByName.md) |Send-OBSTriggerHotkeyByName : TriggerHotkeyByName | -|[Send-OBSTriggerMediaInputAction](docs/Send-OBSTriggerMediaInputAction.md) |Send-OBSTriggerMediaInputAction : TriggerMediaInputAction | -|[Send-OBSTriggerStudioModeTransition](docs/Send-OBSTriggerStudioModeTransition.md) |Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition | -|[Set-OBS3DFilter](docs/Set-OBS3DFilter.md) |Sets an OBS 3D Filter. | -|[Set-OBSAudioOutputSource](docs/Set-OBSAudioOutputSource.md) |Adds or sets an audio output source | -|[Set-OBSBrowserSource](docs/Set-OBSBrowserSource.md) |Sets a browser source | -|[Set-OBSColorFilter](docs/Set-OBSColorFilter.md) |Sets a color filter | -|[Set-OBSColorSource](docs/Set-OBSColorSource.md) |Adds a color source | -|[Set-OBSCurrentPreviewScene](docs/Set-OBSCurrentPreviewScene.md) |Set-OBSCurrentPreviewScene : SetCurrentPreviewScene | -|[Set-OBSCurrentProfile](docs/Set-OBSCurrentProfile.md) |Set-OBSCurrentProfile : SetCurrentProfile | -|[Set-OBSCurrentProgramScene](docs/Set-OBSCurrentProgramScene.md) |Set-OBSCurrentProgramScene : SetCurrentProgramScene | -|[Set-OBSCurrentSceneCollection](docs/Set-OBSCurrentSceneCollection.md) |Set-OBSCurrentSceneCollection : SetCurrentSceneCollection | -|[Set-OBSCurrentSceneTransition](docs/Set-OBSCurrentSceneTransition.md) |Set-OBSCurrentSceneTransition : SetCurrentSceneTransition | -|[Set-OBSCurrentSceneTransitionDuration](docs/Set-OBSCurrentSceneTransitionDuration.md) |Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration | -|[Set-OBSCurrentSceneTransitionSettings](docs/Set-OBSCurrentSceneTransitionSettings.md) |Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings | -|[Set-OBSDisplaySource](docs/Set-OBSDisplaySource.md) |Adds a display source | -|[Set-OBSEqualizerFilter](docs/Set-OBSEqualizerFilter.md) |Sets a Equalizer filter. | -|[Set-OBSGainFilter](docs/Set-OBSGainFilter.md) |Sets a Gain filter. | -|[Set-OBSInputAudioBalance](docs/Set-OBSInputAudioBalance.md) |Set-OBSInputAudioBalance : SetInputAudioBalance | -|[Set-OBSInputAudioMonitorType](docs/Set-OBSInputAudioMonitorType.md) |Set-OBSInputAudioMonitorType : SetInputAudioMonitorType | -|[Set-OBSInputAudioSyncOffset](docs/Set-OBSInputAudioSyncOffset.md) |Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset | -|[Set-OBSInputAudioTracks](docs/Set-OBSInputAudioTracks.md) |Set-OBSInputAudioTracks : SetInputAudioTracks | -|[Set-OBSInputMute](docs/Set-OBSInputMute.md) |Set-OBSInputMute : SetInputMute | -|[Set-OBSInputName](docs/Set-OBSInputName.md) |Set-OBSInputName : SetInputName | -|[Set-OBSInputSettings](docs/Set-OBSInputSettings.md) |Set-OBSInputSettings : SetInputSettings | -|[Set-OBSInputVolume](docs/Set-OBSInputVolume.md) |Set-OBSInputVolume : SetInputVolume | -|[Set-OBSMarkdownSource](docs/Set-OBSMarkdownSource.md) |Sets a markdown source | -|[Set-OBSMediaInputCursor](docs/Set-OBSMediaInputCursor.md) |Set-OBSMediaInputCursor : SetMediaInputCursor | -|[Set-OBSMediaSource](docs/Set-OBSMediaSource.md) |Adds a media source | -|[Set-OBSOutputSettings](docs/Set-OBSOutputSettings.md) |Set-OBSOutputSettings : SetOutputSettings | -|[Set-OBSPersistentData](docs/Set-OBSPersistentData.md) |Set-OBSPersistentData : SetPersistentData | -|[Set-OBSProfileParameter](docs/Set-OBSProfileParameter.md) |Set-OBSProfileParameter : SetProfileParameter | -|[Set-OBSRecordDirectory](docs/Set-OBSRecordDirectory.md) |Set-OBSRecordDirectory : SetRecordDirectory | -|[Set-OBSRenderDelayFilter](docs/Set-OBSRenderDelayFilter.md) |Sets a RenderDelay filter. | -|[Set-OBSScaleFilter](docs/Set-OBSScaleFilter.md) |Sets a Scale filter. | -|[Set-OBSSceneItemBlendMode](docs/Set-OBSSceneItemBlendMode.md) |Set-OBSSceneItemBlendMode : SetSceneItemBlendMode | -|[Set-OBSSceneItemEnabled](docs/Set-OBSSceneItemEnabled.md) |Set-OBSSceneItemEnabled : SetSceneItemEnabled | -|[Set-OBSSceneItemIndex](docs/Set-OBSSceneItemIndex.md) |Set-OBSSceneItemIndex : SetSceneItemIndex | -|[Set-OBSSceneItemLocked](docs/Set-OBSSceneItemLocked.md) |Set-OBSSceneItemLocked : SetSceneItemLocked | -|[Set-OBSSceneItemTransform](docs/Set-OBSSceneItemTransform.md) |Set-OBSSceneItemTransform : SetSceneItemTransform | -|[Set-OBSSceneName](docs/Set-OBSSceneName.md) |Set-OBSSceneName : SetSceneName | -|[Set-OBSSceneSceneTransitionOverride](docs/Set-OBSSceneSceneTransitionOverride.md) |Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride | -|[Set-OBSScrollFilter](docs/Set-OBSScrollFilter.md) |Sets a scroll filter. | -|[Set-OBSShaderFilter](docs/Set-OBSShaderFilter.md) |Sets a Shader filter. | -|[Set-OBSSharpnessFilter](docs/Set-OBSSharpnessFilter.md) |Sets a Sharpness filter. | -|[Set-OBSSoundCloudSource](docs/Set-OBSSoundCloudSource.md) |Sets a Sound Cloud Source | -|[Set-OBSSourceFilterEnabled](docs/Set-OBSSourceFilterEnabled.md) |Set-OBSSourceFilterEnabled : SetSourceFilterEnabled | -|[Set-OBSSourceFilterIndex](docs/Set-OBSSourceFilterIndex.md) |Set-OBSSourceFilterIndex : SetSourceFilterIndex | -|[Set-OBSSourceFilterName](docs/Set-OBSSourceFilterName.md) |Set-OBSSourceFilterName : SetSourceFilterName | -|[Set-OBSSourceFilterSettings](docs/Set-OBSSourceFilterSettings.md) |Set-OBSSourceFilterSettings : SetSourceFilterSettings | -|[Set-OBSStreamServiceSettings](docs/Set-OBSStreamServiceSettings.md) |Set-OBSStreamServiceSettings : SetStreamServiceSettings | -|[Set-OBSStudioModeEnabled](docs/Set-OBSStudioModeEnabled.md) |Set-OBSStudioModeEnabled : SetStudioModeEnabled | -|[Set-OBSSwitchSource](docs/Set-OBSSwitchSource.md) |Adds a VLC playlist source | -|[Set-OBSTBarPosition](docs/Set-OBSTBarPosition.md) |Set-OBSTBarPosition : SetTBarPosition | -|[Set-OBSVideoSettings](docs/Set-OBSVideoSettings.md) |Set-OBSVideoSettings : SetVideoSettings | -|[Set-OBSVLCSource](docs/Set-OBSVLCSource.md) |Adds a VLC playlist source | -|[Set-OBSWaveformSource](docs/Set-OBSWaveformSource.md) |OBS Waveform Source | -|[Set-OBSWindowSource](docs/Set-OBSWindowSource.md) |Adds or sets a window capture source | -|[Show-OBS](docs/Show-OBS.md) |Shows content in OBS | -|[Start-OBSEffect](docs/Start-OBSEffect.md) |Starts obs-powershell effects. | -|[Start-OBSOutput](docs/Start-OBSOutput.md) |Start-OBSOutput : StartOutput | -|[Start-OBSRecord](docs/Start-OBSRecord.md) |Start-OBSRecord : StartRecord | -|[Start-OBSReplayBuffer](docs/Start-OBSReplayBuffer.md) |Start-OBSReplayBuffer : StartReplayBuffer | -|[Start-OBSStream](docs/Start-OBSStream.md) |Start-OBSStream : StartStream | -|[Start-OBSVirtualCam](docs/Start-OBSVirtualCam.md) |Start-OBSVirtualCam : StartVirtualCam | -|[Stop-OBSEffect](docs/Stop-OBSEffect.md) |Stops obs-powershell effects. | -|[Stop-OBSOutput](docs/Stop-OBSOutput.md) |Stop-OBSOutput : StopOutput | -|[Stop-OBSRecord](docs/Stop-OBSRecord.md) |Stop-OBSRecord : StopRecord | -|[Stop-OBSReplayBuffer](docs/Stop-OBSReplayBuffer.md) |Stop-OBSReplayBuffer : StopReplayBuffer | -|[Stop-OBSStream](docs/Stop-OBSStream.md) |Stop-OBSStream : StopStream | -|[Stop-OBSVirtualCam](docs/Stop-OBSVirtualCam.md) |Stop-OBSVirtualCam : StopVirtualCam | -|[Switch-OBSInputMute](docs/Switch-OBSInputMute.md) |Switch-OBSInputMute : ToggleInputMute | -|[Switch-OBSOutput](docs/Switch-OBSOutput.md) |Switch-OBSOutput : ToggleOutput | -|[Switch-OBSRecord](docs/Switch-OBSRecord.md) |Switch-OBSRecord : ToggleRecord | -|[Switch-OBSRecordPause](docs/Switch-OBSRecordPause.md) |Switch-OBSRecordPause : ToggleRecordPause | -|[Switch-OBSReplayBuffer](docs/Switch-OBSReplayBuffer.md) |Switch-OBSReplayBuffer : ToggleReplayBuffer | -|[Switch-OBSStream](docs/Switch-OBSStream.md) |Switch-OBSStream : ToggleStream | -|[Switch-OBSVirtualCam](docs/Switch-OBSVirtualCam.md) |Switch-OBSVirtualCam : ToggleVirtualCam | -|[Watch-OBS](docs/Watch-OBS.md) |Watches OBS | +|[Hide-OBS](docs/Hide-OBS.md) | +|[Import-OBSEffect](docs/Import-OBSEffect.md) | +|[Open-OBSInputFiltersDialog](docs/Open-OBSInputFiltersDialog.md) | +|[Open-OBSInputInteractDialog](docs/Open-OBSInputInteractDialog.md) | +|[Open-OBSInputPropertiesDialog](docs/Open-OBSInputPropertiesDialog.md) | +|[Open-OBSSourceProjector](docs/Open-OBSSourceProjector.md) | +|[Open-OBSVideoMixProjector](docs/Open-OBSVideoMixProjector.md) | +|[Receive-OBS](docs/Receive-OBS.md) | +|[Remove-OBS](docs/Remove-OBS.md) | +|[Remove-OBSEffect](docs/Remove-OBSEffect.md) | +|[Remove-OBSInput](docs/Remove-OBSInput.md) | +|[Remove-OBSProfile](docs/Remove-OBSProfile.md) | +|[Remove-OBSScene](docs/Remove-OBSScene.md) | +|[Remove-OBSSceneItem](docs/Remove-OBSSceneItem.md) | +|[Remove-OBSSourceFilter](docs/Remove-OBSSourceFilter.md) | +|[Resume-OBSRecord](docs/Resume-OBSRecord.md) | +|[Save-OBSReplayBuffer](docs/Save-OBSReplayBuffer.md) | +|[Save-OBSSourceScreenshot](docs/Save-OBSSourceScreenshot.md) | +|[Send-OBS](docs/Send-OBS.md) | +|[Send-OBSCallVendorRequest](docs/Send-OBSCallVendorRequest.md) | +|[Send-OBSCustomEvent](docs/Send-OBSCustomEvent.md) | +|[Send-OBSOffsetMediaInputCursor](docs/Send-OBSOffsetMediaInputCursor.md) | +|[Send-OBSPauseRecord](docs/Send-OBSPauseRecord.md) | +|[Send-OBSPressInputPropertiesButton](docs/Send-OBSPressInputPropertiesButton.md) | +|[Send-OBSSleep](docs/Send-OBSSleep.md) | +|[Send-OBSStreamCaption](docs/Send-OBSStreamCaption.md) | +|[Send-OBSTriggerHotkeyByKeySequence](docs/Send-OBSTriggerHotkeyByKeySequence.md) | +|[Send-OBSTriggerHotkeyByName](docs/Send-OBSTriggerHotkeyByName.md) | +|[Send-OBSTriggerMediaInputAction](docs/Send-OBSTriggerMediaInputAction.md) | +|[Send-OBSTriggerStudioModeTransition](docs/Send-OBSTriggerStudioModeTransition.md) | +|[Set-OBS3DFilter](docs/Set-OBS3DFilter.md) | +|[Set-OBSAudioOutputSource](docs/Set-OBSAudioOutputSource.md) | +|[Set-OBSBrowserSource](docs/Set-OBSBrowserSource.md) | +|[Set-OBSColorFilter](docs/Set-OBSColorFilter.md) | +|[Set-OBSColorSource](docs/Set-OBSColorSource.md) | +|[Set-OBSCurrentPreviewScene](docs/Set-OBSCurrentPreviewScene.md) | +|[Set-OBSCurrentProfile](docs/Set-OBSCurrentProfile.md) | +|[Set-OBSCurrentProgramScene](docs/Set-OBSCurrentProgramScene.md) | +|[Set-OBSCurrentSceneCollection](docs/Set-OBSCurrentSceneCollection.md) | +|[Set-OBSCurrentSceneTransition](docs/Set-OBSCurrentSceneTransition.md) | +|[Set-OBSCurrentSceneTransitionDuration](docs/Set-OBSCurrentSceneTransitionDuration.md) | +|[Set-OBSCurrentSceneTransitionSettings](docs/Set-OBSCurrentSceneTransitionSettings.md) | +|[Set-OBSDisplaySource](docs/Set-OBSDisplaySource.md) | +|[Set-OBSEqualizerFilter](docs/Set-OBSEqualizerFilter.md) | +|[Set-OBSGainFilter](docs/Set-OBSGainFilter.md) | +|[Set-OBSInputAudioBalance](docs/Set-OBSInputAudioBalance.md) | +|[Set-OBSInputAudioMonitorType](docs/Set-OBSInputAudioMonitorType.md) | +|[Set-OBSInputAudioSyncOffset](docs/Set-OBSInputAudioSyncOffset.md) | +|[Set-OBSInputAudioTracks](docs/Set-OBSInputAudioTracks.md) | +|[Set-OBSInputMute](docs/Set-OBSInputMute.md) | +|[Set-OBSInputName](docs/Set-OBSInputName.md) | +|[Set-OBSInputSettings](docs/Set-OBSInputSettings.md) | +|[Set-OBSInputVolume](docs/Set-OBSInputVolume.md) | +|[Set-OBSMarkdownSource](docs/Set-OBSMarkdownSource.md) | +|[Set-OBSMediaInputCursor](docs/Set-OBSMediaInputCursor.md) | +|[Set-OBSMediaSource](docs/Set-OBSMediaSource.md) | +|[Set-OBSOutputSettings](docs/Set-OBSOutputSettings.md) | +|[Set-OBSPersistentData](docs/Set-OBSPersistentData.md) | +|[Set-OBSProfileParameter](docs/Set-OBSProfileParameter.md) | +|[Set-OBSRecordDirectory](docs/Set-OBSRecordDirectory.md) | +|[Set-OBSRenderDelayFilter](docs/Set-OBSRenderDelayFilter.md) | +|[Set-OBSScaleFilter](docs/Set-OBSScaleFilter.md) | +|[Set-OBSSceneItemBlendMode](docs/Set-OBSSceneItemBlendMode.md) | +|[Set-OBSSceneItemEnabled](docs/Set-OBSSceneItemEnabled.md) | +|[Set-OBSSceneItemIndex](docs/Set-OBSSceneItemIndex.md) | +|[Set-OBSSceneItemLocked](docs/Set-OBSSceneItemLocked.md) | +|[Set-OBSSceneItemTransform](docs/Set-OBSSceneItemTransform.md) | +|[Set-OBSSceneName](docs/Set-OBSSceneName.md) | +|[Set-OBSSceneSceneTransitionOverride](docs/Set-OBSSceneSceneTransitionOverride.md) | +|[Set-OBSScrollFilter](docs/Set-OBSScrollFilter.md) | +|[Set-OBSShaderFilter](docs/Set-OBSShaderFilter.md) | +|[Set-OBSSharpnessFilter](docs/Set-OBSSharpnessFilter.md) | +|[Set-OBSSoundCloudSource](docs/Set-OBSSoundCloudSource.md) | +|[Set-OBSSourceFilterEnabled](docs/Set-OBSSourceFilterEnabled.md) | +|[Set-OBSSourceFilterIndex](docs/Set-OBSSourceFilterIndex.md) | +|[Set-OBSSourceFilterName](docs/Set-OBSSourceFilterName.md) | +|[Set-OBSSourceFilterSettings](docs/Set-OBSSourceFilterSettings.md) | +|[Set-OBSStreamServiceSettings](docs/Set-OBSStreamServiceSettings.md) | +|[Set-OBSStudioModeEnabled](docs/Set-OBSStudioModeEnabled.md) | +|[Set-OBSSwitchSource](docs/Set-OBSSwitchSource.md) | +|[Set-OBSTBarPosition](docs/Set-OBSTBarPosition.md) | +|[Set-OBSVideoSettings](docs/Set-OBSVideoSettings.md) | +|[Set-OBSVLCSource](docs/Set-OBSVLCSource.md) | +|[Set-OBSWaveformSource](docs/Set-OBSWaveformSource.md) | +|[Set-OBSWindowSource](docs/Set-OBSWindowSource.md) | +|[Show-OBS](docs/Show-OBS.md) | +|[Start-OBSEffect](docs/Start-OBSEffect.md) | +|[Start-OBSOutput](docs/Start-OBSOutput.md) | +|[Start-OBSRecord](docs/Start-OBSRecord.md) | +|[Start-OBSReplayBuffer](docs/Start-OBSReplayBuffer.md) | +|[Start-OBSStream](docs/Start-OBSStream.md) | +|[Start-OBSVirtualCam](docs/Start-OBSVirtualCam.md) | +|[Stop-OBSEffect](docs/Stop-OBSEffect.md) | +|[Stop-OBSOutput](docs/Stop-OBSOutput.md) | +|[Stop-OBSRecord](docs/Stop-OBSRecord.md) | +|[Stop-OBSReplayBuffer](docs/Stop-OBSReplayBuffer.md) | +|[Stop-OBSStream](docs/Stop-OBSStream.md) | +|[Stop-OBSVirtualCam](docs/Stop-OBSVirtualCam.md) | +|[Switch-OBSInputMute](docs/Switch-OBSInputMute.md) | +|[Switch-OBSOutput](docs/Switch-OBSOutput.md) | +|[Switch-OBSRecord](docs/Switch-OBSRecord.md) | +|[Switch-OBSRecordPause](docs/Switch-OBSRecordPause.md) | +|[Switch-OBSReplayBuffer](docs/Switch-OBSReplayBuffer.md) | +|[Switch-OBSStream](docs/Switch-OBSStream.md) | +|[Switch-OBSVirtualCam](docs/Switch-OBSVirtualCam.md) | +|[Watch-OBS](docs/Watch-OBS.md) | From 42fe50957cfdea95fdbcdb52c4aa41d8aaa7259f Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:36:00 +0000 Subject: [PATCH 4765/4768] release: obs-powershell 0.2 Updating Manifest and CHANGELOG.md --- obs-powershell.psd1 | 210 ++++++++++++++------------------------------ 1 file changed, 66 insertions(+), 144 deletions(-) diff --git a/obs-powershell.psd1 b/obs-powershell.psd1 index 312786827..27d5c2b00 100644 --- a/obs-powershell.psd1 +++ b/obs-powershell.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '0.1.9' + ModuleVersion = '0.2' RootModule = 'obs-powershell.psm1' Description = 'Script your streams' Guid = '1417123e-a932-439f-9b68-a7313cf1e170' @@ -15,152 +15,74 @@ ProjectURI = 'https://github.com/StartAutomating/obs-powershell' LicenseURI = 'https://github.com/StartAutomating/obs-powershell/blob/main/LICENSE' ReleaseNotes = @' -## obs-powershell 0.1.9: - -* New Filters! - * @exeldro makes some excellent obs plugins - * obs-powershell now supports a couple of them: - * Set-OBS3DFilter (#137) - Transform an object in 3D! - * Set-OBSShaderFilter (#134) - Apply _any_ PixelShader! -* New Effects! - * LeftToRight (#125) / RightToLeft (#126) - * TopToBottom (#127) / BottomToTop (#128) - * ZoomIn (#129) / ZoomOut (#130) -* Effect Fixes - * Start-OBSEffect - Adding -LoopCount (#133) - * FadeIn/FadeOut no longer conflict (#119) (thanks @I-Am-Jakoby)! - ---- - -## obs-powershell 0.1.8: - -* Added Sponsorship, Please support obs-powershell (#78) -* Added OBS-PowerShell Effects (#109) - * Effect Commands - * Get-OBSEffect - * Import-OBSEffect - * Start-OBSEffect - * Stop-OBSEffect - * Remove-OBSEffect - * ColorLoop (#113) - * FadeIn (#112) - * FadeOut (#114) (thanks @I-Am-Jakoby !) -* Adding Commands for Filtering - * Set/Add-OBSGainFilter (#94) - * Set/Add-OBSColorFilter (#92) - * Set/Add-OBSScrollFilter (#93) - * Set/Add-OBSSharpnessFilter (#95) - * Set/Add-OBSRenderDelayFilter (#96) - * Set/Add-OBSEqualizerFilter (#97) -* New Easy Sources - * Set/Add-OBSAudioOutputSource (#110) - * Set/Add-OBSWindowSource (#104) - * Set/Add-OBSVLCSource (#102) -* Scene Items Can Now Do A Lot More - * Animate allows for multiple steps and is more careful (#75 and #73) - * Move, Scale, Rotate are written using animate (#80, #81, #89) -* Extending Inputs (#99) -* Autogenerating help for extended types, thanks to a new version of [HelpOut](https://github.com/StartAutomating/HelpOut) -* Improving Performance and Stability of Send/Receive/Watch-OBS (#77, #90, #86, #106, #107) - - -* Also, new logo (#76) +> Like It? [Star It](https://github.com/StartAutomating/obs-powershell) +> Love It? [Support It](https://github.com/sponsors/StartAutomating) + +## obs-powershell 0.2: + +* So Many Shaders! +* @exeldro makes some excellent obs plugins + * Every PixelShader from [obs-shaderfilter](https://github.com/exeldro/obs-shaderfilter) has an auto-generated function: + * As of this build, there are 142 Shader functions! + * Flip Shader ( #200 ) + * Zoom XY Shader ( #199 ) + * RGBA Percent Shader ( #198 ) + * Reflect Shader ( #197 ) + * Shader Commands now support -Force +* Drastically improved start time on Windows (#214) +* OBS Sources: + * New Sources: + * OBSSoundCloudSource ( #179 ) + * OBSSwitchSource (#142) + * OBSMarkdownSource (#143) + * OBSWaveformSource (#141) + * All existing sources are now implemented in a `Get`, and aliased to `Set`,`Add` + * Making Set also Get-OBSWindowSource (#152) + * Making Set also Get-OBSVLCSource (#151) + * Making Set also Get-OBSMediaSource (#150) + * Making Set also Get-OBSColorSource (#148) + * Making Set also Get-OBSBrowserSource (#147) + * Making Set also Get-OBSAudioOutputSource (#146) +* New Effects: + * Zoom In / Out Effect ( #164 ) + * Start-OBSEffect - Adding -Reverse (Fixes #121) +* Exporting `$obs` (#157, #158, #159) and drastically expanding pseudo types +* Pseudo Types + * GetCurrentProgramScene.ToString() ( Fixes #202, Fixes #166 ) + * OBS.Beat ( #195 ) + * OBS.Beat.Timer + * OBS.Beat.TapBPM ( #191) + * Stopping OBS.Beat.Timer on Unload + * OBS.Beat.get_Sine ( #192 ) + * OBS.Beat.get_Cosine ( #193 ) + * OBS.Beat.Angle ( #194 ) + * OBS.Beat.Duration ( #189 ) + * OBS.Beat.BeatCount ( #190 ) + * OBS.Beat.BeatStart ( #188 ) + * OBS.Beat.BPM ( #187 ) + * $obs.Beat ( #186 ) + * OBS.Input + * OBS.Input.Disable/EnableAllFilter(s) ( #183 ) + * OBS.SceneItem.Animate Permissiveness ( #182 ) + * OBS.Filter.Disable PassThru support ( #181 ) + * OBS.Statistics ( #178 ) + * OBS.Input ( #174 ) + * OBS.Filter ( #175 ) + * OBS.SceneItem ( #173 ) + * OBS.GetSceneItemList.Response.Stretch() ( #172 ) + * OBS.GetSceneItemList.Response.Center() ( #171 ) + * OBS.GetInputList .SourceName alias ( #170 ) + * Adding .SceneItem to OBS.Inputs (Fixes #154) +* Minor Fixes: + * Watch-OBS -BufferSize: Defaulting to 64kb ( Fixes #212, Fixes #213 ) + * Fixing -Scene parameter defaults ( Fixes #210 ) + * Updating Build Conditions + * obs-powershell now mounts itself ( #180 ) + * obs-powershell supporting module profiles (#155) --- -## obs-powershell 0.1.7: - -* New Commands: - * Show-OBS (Fixes #66) - * Hide-OBS (Fixes #67) - * Remove-OBS (Fixes #68) - -* Adding -Force to Add-OBS*Source commands (Fixes #69) -* Add-OBS*Source Commands: Supporting -SceneItemEnabled (Fixes #70) -* Add-OBSMediaSource, adding -FitToScreen (Fixes #71) - ---- - -## obs-powershell 0.1.6: - -* Adding OBS.SceneItem .Scale (Fixes #64) -* OBS.SceneItem .FitToScreen, adjusting .Scale (Fixes #63) -* Add-OBSMediaSource: Fixing -InputSettings / -SceneItemEnabled (Fixes #62) - ---- - -## obs-powershell 0.1.5: - -* Adding OBS.SceneItem .Animate (Fixes #59) - - ---- - -## obs-powershell 0.1.4: - -* Adding Add-OBSColorSource (Fixes #51) -* Save-OBSSourceScreenShot: - * Attaching .InputName, .SourceName, .ImageWidth, .ImageHeight to output (Fixes #50) - * Now returns a file (Fixes #49) -* -Path parameters now attempt to resolve to an absolute path (Fixes #48) -* All scene items can now: - * Blend() / get .BlendMode (Fixes #53) - * FitToScreen() (Fixes #46) - * Crop() (Fixes #57) - * Rotate() (Fixes #35) -* Color Sources can now .SetColor (Fixes #55) - ---- - -## obs-powershell 0.1.3: - -* Requiring ThreadJob Module (Thanks @nyanhp!) (Fixes #36) -* Fixing Add-OBSBrowserSource (Fixes #34) -* Improving Batch Processing Capabilities (Fixes #38) -* Requiring PowerShell Version 7 - ---- - -## obs-powershell 0.1.2: - -* New Commands - * Add-OBSBrowserSource (Fixes #24) - * Add-OBSDisplaySource (Fixes #25) - * Add-OBSMediaSource (Fixes #28) - * Clear-OBSScene (Fixes #27) -* New Methods - * OBS.GetSceneListResponse: - * .Remove()/.Delete() (Fixes #26) - * .Lock()/.Unlock() (Fixes #32) -* General Improvements - * Standardizing Parameter Naming (Fixes #30) - * Using GUIDs for RequestIDs (Fixes #29) - * Updated logo (Fixes #23) - ---- - -## obs-powershell 0.1.1: - -* Connect-OBS now caches connections (Fixes #18) -* Adding new core commands: - * Watch-OBS (Fixes #19) - * Receive-OBS (Fixes #20) - * Send-OBS (Fixes #21) -* All commands now support -PassThru (Fixes #16) -* All commands now increment requests correctly (Fixes #15) -* Improved formatting: - * Get-OBSScene (Fixes #14) - * Get-OBSSceneItem (Fixes #17) - ---- - -## obs-powershell 0.1: - -Initial Release of obs-powershell - -* Connect-OBS/Disconnect-OBS let you connect and disconnect. -* Commands exist for every request in the websocket. -* OBS Events are broadcast to the the runspace. +Previous release notes available in the [CHANGELOG](https://github.com/StartAutomating/obs-powershell/blob/main/CHANGELOG.md) '@ } } From 4de441254be1fafebb910185d8a56e1f11a2cd48 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:37:50 +0000 Subject: [PATCH 4766/4768] release: obs-powershell 0.2 Updating Manifest and CHANGELOG.md --- docs/obs-powershell-commands.md | 354 ++++++++++++++++---------------- 1 file changed, 177 insertions(+), 177 deletions(-) diff --git a/docs/obs-powershell-commands.md b/docs/obs-powershell-commands.md index 131c7af38..552443d8d 100644 --- a/docs/obs-powershell-commands.md +++ b/docs/obs-powershell-commands.md @@ -12,19 +12,19 @@ Functions ========= -|Name |Synopsis | -|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------| -|[Add-OBSInput](Add-OBSInput.md) |Add-OBSInput : CreateInput | -|[Add-OBSProfile](Add-OBSProfile.md) |Add-OBSProfile : CreateProfile | -|[Add-OBSScene](Add-OBSScene.md) |Add-OBSScene : CreateScene | -|[Add-OBSSceneCollection](Add-OBSSceneCollection.md) |Add-OBSSceneCollection : CreateSceneCollection | -|[Add-OBSSceneItem](Add-OBSSceneItem.md) |Add-OBSSceneItem : CreateSceneItem | -|[Add-OBSSourceFilter](Add-OBSSourceFilter.md) |Add-OBSSourceFilter : CreateSourceFilter | -|[Clear-OBSScene](Clear-OBSScene.md) |Clears a Scene in OBS | -|[Connect-OBS](Connect-OBS.md) |Connects to Open Broadcast Studio | -|[Copy-OBSSceneItem](Copy-OBSSceneItem.md) |Copy-OBSSceneItem : DuplicateSceneItem | -|[Disconnect-OBS](Disconnect-OBS.md) |Disconnects OBS | -|[Get-OBS](Get-OBS.md) |Gets OBS | +|Name |Synopsis| +|------------------------------------------------------------------------------------------|--------| +|[Add-OBSInput](Add-OBSInput.md) | +|[Add-OBSProfile](Add-OBSProfile.md) | +|[Add-OBSScene](Add-OBSScene.md) | +|[Add-OBSSceneCollection](Add-OBSSceneCollection.md) | +|[Add-OBSSceneItem](Add-OBSSceneItem.md) | +|[Add-OBSSourceFilter](Add-OBSSourceFilter.md) | +|[Clear-OBSScene](Clear-OBSScene.md) | +|[Connect-OBS](Connect-OBS.md) | +|[Copy-OBSSceneItem](Copy-OBSSceneItem.md) | +|[Disconnect-OBS](Disconnect-OBS.md) | +|[Get-OBS](Get-OBS.md) | |[Get-OBS3dSwapTransitionShader](Get-OBS3dSwapTransitionShader.md) | |[Get-OBSAddShader](Get-OBSAddShader.md) | |[Get-OBSAlphaBorderShader](Get-OBSAlphaBorderShader.md) | @@ -53,10 +53,10 @@ Functions |[Get-OBSColorGradeFilterShader](Get-OBSColorGradeFilterShader.md) | |[Get-OBSCornerPinShader](Get-OBSCornerPinShader.md) | |[Get-OBSCrtCurvatureShader](Get-OBSCrtCurvatureShader.md) | -|[Get-OBSCurrentPreviewScene](Get-OBSCurrentPreviewScene.md) |Get-OBSCurrentPreviewScene : GetCurrentPreviewScene | -|[Get-OBSCurrentProgramScene](Get-OBSCurrentProgramScene.md) |Get-OBSCurrentProgramScene : GetCurrentProgramScene | -|[Get-OBSCurrentSceneTransition](Get-OBSCurrentSceneTransition.md) |Get-OBSCurrentSceneTransition : GetCurrentSceneTransition | -|[Get-OBSCurrentSceneTransitionCursor](Get-OBSCurrentSceneTransitionCursor.md) |Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor | +|[Get-OBSCurrentPreviewScene](Get-OBSCurrentPreviewScene.md) | +|[Get-OBSCurrentProgramScene](Get-OBSCurrentProgramScene.md) | +|[Get-OBSCurrentSceneTransition](Get-OBSCurrentSceneTransition.md) | +|[Get-OBSCurrentSceneTransitionCursor](Get-OBSCurrentSceneTransitionCursor.md) | |[Get-OBSCurveShader](Get-OBSCurveShader.md) | |[Get-OBSCutRectPerCornerShader](Get-OBSCutRectPerCornerShader.md) | |[Get-OBSCylinderShader](Get-OBSCylinderShader.md) | @@ -72,7 +72,7 @@ Functions |[Get-OBSDrunkShader](Get-OBSDrunkShader.md) | |[Get-OBSDynamicMaskShader](Get-OBSDynamicMaskShader.md) | |[Get-OBSEdgeDetectionShader](Get-OBSEdgeDetectionShader.md) | -|[Get-OBSEffect](Get-OBSEffect.md) |Gets OBS Effects | +|[Get-OBSEffect](Get-OBSEffect.md) | |[Get-OBSEmbersShader](Get-OBSEmbersShader.md) | |[Get-OBSEmbossColorShader](Get-OBSEmbossColorShader.md) | |[Get-OBSEmbossShader](Get-OBSEmbossShader.md) | @@ -103,61 +103,61 @@ Functions |[Get-OBSGlitchShader](Get-OBSGlitchShader.md) | |[Get-OBSGlowShader](Get-OBSGlowShader.md) | |[Get-OBSGradientShader](Get-OBSGradientShader.md) | -|[Get-OBSGroup](Get-OBSGroup.md) |Get-OBSGroup : GetGroupList | -|[Get-OBSGroupSceneItem](Get-OBSGroupSceneItem.md) |Get-OBSGroupSceneItem : GetGroupSceneItemList | +|[Get-OBSGroup](Get-OBSGroup.md) | +|[Get-OBSGroupSceneItem](Get-OBSGroupSceneItem.md) | |[Get-OBSHalftoneShader](Get-OBSHalftoneShader.md) | |[Get-OBSHeatWaveSimpleShader](Get-OBSHeatWaveSimpleShader.md) | |[Get-OBSHexagonShader](Get-OBSHexagonShader.md) | -|[Get-OBSHotkey](Get-OBSHotkey.md) |Get-OBSHotkey : GetHotkeyList | +|[Get-OBSHotkey](Get-OBSHotkey.md) | |[Get-OBSHslHsvSaturationShader](Get-OBSHslHsvSaturationShader.md) | |[Get-OBSHueRotatonShader](Get-OBSHueRotatonShader.md) | -|[Get-OBSInput](Get-OBSInput.md) |Get-OBSInput : GetInputList | -|[Get-OBSInputAudioBalance](Get-OBSInputAudioBalance.md) |Get-OBSInputAudioBalance : GetInputAudioBalance | -|[Get-OBSInputAudioMonitorType](Get-OBSInputAudioMonitorType.md) |Get-OBSInputAudioMonitorType : GetInputAudioMonitorType | -|[Get-OBSInputAudioSyncOffset](Get-OBSInputAudioSyncOffset.md) |Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset | -|[Get-OBSInputAudioTracks](Get-OBSInputAudioTracks.md) |Get-OBSInputAudioTracks : GetInputAudioTracks | -|[Get-OBSInputDefaultSettings](Get-OBSInputDefaultSettings.md) |Get-OBSInputDefaultSettings : GetInputDefaultSettings | -|[Get-OBSInputKind](Get-OBSInputKind.md) |Get-OBSInputKind : GetInputKindList | -|[Get-OBSInputMute](Get-OBSInputMute.md) |Get-OBSInputMute : GetInputMute | -|[Get-OBSInputPropertiesListPropertyItems](Get-OBSInputPropertiesListPropertyItems.md)|Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems| -|[Get-OBSInputSettings](Get-OBSInputSettings.md) |Get-OBSInputSettings : GetInputSettings | -|[Get-OBSInputVolume](Get-OBSInputVolume.md) |Get-OBSInputVolume : GetInputVolume | +|[Get-OBSInput](Get-OBSInput.md) | +|[Get-OBSInputAudioBalance](Get-OBSInputAudioBalance.md) | +|[Get-OBSInputAudioMonitorType](Get-OBSInputAudioMonitorType.md) | +|[Get-OBSInputAudioSyncOffset](Get-OBSInputAudioSyncOffset.md) | +|[Get-OBSInputAudioTracks](Get-OBSInputAudioTracks.md) | +|[Get-OBSInputDefaultSettings](Get-OBSInputDefaultSettings.md) | +|[Get-OBSInputKind](Get-OBSInputKind.md) | +|[Get-OBSInputMute](Get-OBSInputMute.md) | +|[Get-OBSInputPropertiesListPropertyItems](Get-OBSInputPropertiesListPropertyItems.md)| +|[Get-OBSInputSettings](Get-OBSInputSettings.md) | +|[Get-OBSInputVolume](Get-OBSInputVolume.md) | |[Get-OBSIntensityScopeShader](Get-OBSIntensityScopeShader.md) | |[Get-OBSInvertLumaShader](Get-OBSInvertLumaShader.md) | -|[Get-OBSLastReplayBufferReplay](Get-OBSLastReplayBufferReplay.md) |Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay | +|[Get-OBSLastReplayBufferReplay](Get-OBSLastReplayBufferReplay.md) | |[Get-OBSLuminance2Shader](Get-OBSLuminance2Shader.md) | |[Get-OBSLuminanceAlphaShader](Get-OBSLuminanceAlphaShader.md) | |[Get-OBSLuminanceShader](Get-OBSLuminanceShader.md) | |[Get-OBSMatrixShader](Get-OBSMatrixShader.md) | -|[Get-OBSMediaInputStatus](Get-OBSMediaInputStatus.md) |Get-OBSMediaInputStatus : GetMediaInputStatus | -|[Get-OBSMonitor](Get-OBSMonitor.md) |Get-OBSMonitor : GetMonitorList | +|[Get-OBSMediaInputStatus](Get-OBSMediaInputStatus.md) | +|[Get-OBSMonitor](Get-OBSMonitor.md) | |[Get-OBSMultiplyShader](Get-OBSMultiplyShader.md) | |[Get-OBSNightSkyShader](Get-OBSNightSkyShader.md) | |[Get-OBSOpacityShader](Get-OBSOpacityShader.md) | -|[Get-OBSOutput](Get-OBSOutput.md) |Get-OBSOutput : GetOutputList | -|[Get-OBSOutputSettings](Get-OBSOutputSettings.md) |Get-OBSOutputSettings : GetOutputSettings | -|[Get-OBSOutputStatus](Get-OBSOutputStatus.md) |Get-OBSOutputStatus : GetOutputStatus | +|[Get-OBSOutput](Get-OBSOutput.md) | +|[Get-OBSOutputSettings](Get-OBSOutputSettings.md) | +|[Get-OBSOutputStatus](Get-OBSOutputStatus.md) | |[Get-OBSPagePeelShader](Get-OBSPagePeelShader.md) | |[Get-OBSPagePeelTransitionShader](Get-OBSPagePeelTransitionShader.md) | |[Get-OBSPerlinNoiseShader](Get-OBSPerlinNoiseShader.md) | -|[Get-OBSPersistentData](Get-OBSPersistentData.md) |Get-OBSPersistentData : GetPersistentData | +|[Get-OBSPersistentData](Get-OBSPersistentData.md) | |[Get-OBSPieChartShader](Get-OBSPieChartShader.md) | |[Get-OBSPixelationShader](Get-OBSPixelationShader.md) | |[Get-OBSPixelationTransitionShader](Get-OBSPixelationTransitionShader.md) | |[Get-OBSPolarShader](Get-OBSPolarShader.md) | -|[Get-OBSProfile](Get-OBSProfile.md) |Get-OBSProfile : GetProfileList | -|[Get-OBSProfileParameter](Get-OBSProfileParameter.md) |Get-OBSProfileParameter : GetProfileParameter | +|[Get-OBSProfile](Get-OBSProfile.md) | +|[Get-OBSProfileParameter](Get-OBSProfileParameter.md) | |[Get-OBSPulseShader](Get-OBSPulseShader.md) | |[Get-OBSRainbowShader](Get-OBSRainbowShader.md) | |[Get-OBSRainWindowShader](Get-OBSRainWindowShader.md) | -|[Get-OBSRecordDirectory](Get-OBSRecordDirectory.md) |Get-OBSRecordDirectory : GetRecordDirectory | -|[Get-OBSRecordStatus](Get-OBSRecordStatus.md) |Get-OBSRecordStatus : GetRecordStatus | +|[Get-OBSRecordDirectory](Get-OBSRecordDirectory.md) | +|[Get-OBSRecordStatus](Get-OBSRecordStatus.md) | |[Get-OBSRectangularDropShadowShader](Get-OBSRectangularDropShadowShader.md) | |[Get-OBSReflectShader](Get-OBSReflectShader.md) | |[Get-OBSRemovePartialPixelsShader](Get-OBSRemovePartialPixelsShader.md) | |[Get-OBSRepeatShader](Get-OBSRepeatShader.md) | |[Get-OBSRepeatTextureShader](Get-OBSRepeatTextureShader.md) | -|[Get-OBSReplayBufferStatus](Get-OBSReplayBufferStatus.md) |Get-OBSReplayBufferStatus : GetReplayBufferStatus | +|[Get-OBSReplayBufferStatus](Get-OBSReplayBufferStatus.md) | |[Get-OBSRGBAPercentShader](Get-OBSRGBAPercentShader.md) | |[Get-OBSRgbColorWheelShader](Get-OBSRgbColorWheelShader.md) | |[Get-OBSRgbSplitShader](Get-OBSRgbSplitShader.md) | @@ -173,18 +173,18 @@ Functions |[Get-OBSRoundedStrokeGradientShader](Get-OBSRoundedStrokeGradientShader.md) | |[Get-OBSRoundedStrokeShader](Get-OBSRoundedStrokeShader.md) | |[Get-OBSScanLineShader](Get-OBSScanLineShader.md) | -|[Get-OBSScene](Get-OBSScene.md) |Get-OBSScene : GetSceneList | -|[Get-OBSSceneCollection](Get-OBSSceneCollection.md) |Get-OBSSceneCollection : GetSceneCollectionList | -|[Get-OBSSceneItem](Get-OBSSceneItem.md) |Get-OBSSceneItem : GetSceneItemList | -|[Get-OBSSceneItemBlendMode](Get-OBSSceneItemBlendMode.md) |Get-OBSSceneItemBlendMode : GetSceneItemBlendMode | -|[Get-OBSSceneItemEnabled](Get-OBSSceneItemEnabled.md) |Get-OBSSceneItemEnabled : GetSceneItemEnabled | -|[Get-OBSSceneItemId](Get-OBSSceneItemId.md) |Get-OBSSceneItemId : GetSceneItemId | -|[Get-OBSSceneItemIndex](Get-OBSSceneItemIndex.md) |Get-OBSSceneItemIndex : GetSceneItemIndex | -|[Get-OBSSceneItemLocked](Get-OBSSceneItemLocked.md) |Get-OBSSceneItemLocked : GetSceneItemLocked | -|[Get-OBSSceneItemSource](Get-OBSSceneItemSource.md) |Get-OBSSceneItemSource : GetSceneItemSource | -|[Get-OBSSceneItemTransform](Get-OBSSceneItemTransform.md) |Get-OBSSceneItemTransform : GetSceneItemTransform | -|[Get-OBSSceneSceneTransitionOverride](Get-OBSSceneSceneTransitionOverride.md) |Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride | -|[Get-OBSSceneTransition](Get-OBSSceneTransition.md) |Get-OBSSceneTransition : GetSceneTransitionList | +|[Get-OBSScene](Get-OBSScene.md) | +|[Get-OBSSceneCollection](Get-OBSSceneCollection.md) | +|[Get-OBSSceneItem](Get-OBSSceneItem.md) | +|[Get-OBSSceneItemBlendMode](Get-OBSSceneItemBlendMode.md) | +|[Get-OBSSceneItemEnabled](Get-OBSSceneItemEnabled.md) | +|[Get-OBSSceneItemId](Get-OBSSceneItemId.md) | +|[Get-OBSSceneItemIndex](Get-OBSSceneItemIndex.md) | +|[Get-OBSSceneItemLocked](Get-OBSSceneItemLocked.md) | +|[Get-OBSSceneItemSource](Get-OBSSceneItemSource.md) | +|[Get-OBSSceneItemTransform](Get-OBSSceneItemTransform.md) | +|[Get-OBSSceneSceneTransitionOverride](Get-OBSSceneSceneTransitionOverride.md) | +|[Get-OBSSceneTransition](Get-OBSSceneTransition.md) | |[Get-OBSSeascapeShader](Get-OBSSeascapeShader.md) | |[Get-OBSSeasickShader](Get-OBSSeasickShader.md) | |[Get-OBSSelectiveColorShader](Get-OBSSelectiveColorShader.md) | @@ -193,143 +193,143 @@ Functions |[Get-OBSSimpleGradientShader](Get-OBSSimpleGradientShader.md) | |[Get-OBSSimplexNoiseShader](Get-OBSSimplexNoiseShader.md) | |[Get-OBSSmartDenoiseShader](Get-OBSSmartDenoiseShader.md) | -|[Get-OBSSourceActive](Get-OBSSourceActive.md) |Get-OBSSourceActive : GetSourceActive | -|[Get-OBSSourceFilter](Get-OBSSourceFilter.md) |Get-OBSSourceFilter : GetSourceFilter | -|[Get-OBSSourceFilterDefaultSettings](Get-OBSSourceFilterDefaultSettings.md) |Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings | -|[Get-OBSSourceFilterKind](Get-OBSSourceFilterKind.md) |Get-OBSSourceFilterKind : GetSourceFilterKindList | -|[Get-OBSSourceFilterList](Get-OBSSourceFilterList.md) |Get-OBSSourceFilterList : GetSourceFilterList | -|[Get-OBSSourceScreenshot](Get-OBSSourceScreenshot.md) |Get-OBSSourceScreenshot : GetSourceScreenshot | -|[Get-OBSSpecialInputs](Get-OBSSpecialInputs.md) |Get-OBSSpecialInputs : GetSpecialInputs | +|[Get-OBSSourceActive](Get-OBSSourceActive.md) | +|[Get-OBSSourceFilter](Get-OBSSourceFilter.md) | +|[Get-OBSSourceFilterDefaultSettings](Get-OBSSourceFilterDefaultSettings.md) | +|[Get-OBSSourceFilterKind](Get-OBSSourceFilterKind.md) | +|[Get-OBSSourceFilterList](Get-OBSSourceFilterList.md) | +|[Get-OBSSourceScreenshot](Get-OBSSourceScreenshot.md) | +|[Get-OBSSpecialInputs](Get-OBSSpecialInputs.md) | |[Get-OBSSpecularShineShader](Get-OBSSpecularShineShader.md) | |[Get-OBSSpotlightShader](Get-OBSSpotlightShader.md) | -|[Get-OBSStats](Get-OBSStats.md) |Get-OBSStats : GetStats | -|[Get-OBSStreamServiceSettings](Get-OBSStreamServiceSettings.md) |Get-OBSStreamServiceSettings : GetStreamServiceSettings | -|[Get-OBSStreamStatus](Get-OBSStreamStatus.md) |Get-OBSStreamStatus : GetStreamStatus | -|[Get-OBSStudioModeEnabled](Get-OBSStudioModeEnabled.md) |Get-OBSStudioModeEnabled : GetStudioModeEnabled | +|[Get-OBSStats](Get-OBSStats.md) | +|[Get-OBSStreamServiceSettings](Get-OBSStreamServiceSettings.md) | +|[Get-OBSStreamStatus](Get-OBSStreamStatus.md) | +|[Get-OBSStudioModeEnabled](Get-OBSStudioModeEnabled.md) | |[Get-OBSSwirlShader](Get-OBSSwirlShader.md) | |[Get-OBSTetraShader](Get-OBSTetraShader.md) | |[Get-OBSThermalShader](Get-OBSThermalShader.md) | -|[Get-OBSTransitionKind](Get-OBSTransitionKind.md) |Get-OBSTransitionKind : GetTransitionKindList | +|[Get-OBSTransitionKind](Get-OBSTransitionKind.md) | |[Get-OBSTvCrtSubpixelShader](Get-OBSTvCrtSubpixelShader.md) | |[Get-OBSTwistShader](Get-OBSTwistShader.md) | |[Get-OBSTwoPassDropShadowShader](Get-OBSTwoPassDropShadowShader.md) | |[Get-OBSVCRShader](Get-OBSVCRShader.md) | -|[Get-OBSVersion](Get-OBSVersion.md) |Get-OBSVersion : GetVersion | +|[Get-OBSVersion](Get-OBSVersion.md) | |[Get-OBSVHSShader](Get-OBSVHSShader.md) | -|[Get-OBSVideoSettings](Get-OBSVideoSettings.md) |Get-OBSVideoSettings : GetVideoSettings | +|[Get-OBSVideoSettings](Get-OBSVideoSettings.md) | |[Get-OBSVignettingShader](Get-OBSVignettingShader.md) | -|[Get-OBSVirtualCamStatus](Get-OBSVirtualCamStatus.md) |Get-OBSVirtualCamStatus : GetVirtualCamStatus | +|[Get-OBSVirtualCamStatus](Get-OBSVirtualCamStatus.md) | |[Get-OBSVoronoiPixelationShader](Get-OBSVoronoiPixelationShader.md) | |[Get-OBSZigZagShader](Get-OBSZigZagShader.md) | |[Get-OBSZoomBlurShader](Get-OBSZoomBlurShader.md) | |[Get-OBSZoomShader](Get-OBSZoomShader.md) | |[Get-OBSZoomXYShader](Get-OBSZoomXYShader.md) | -|[Hide-OBS](Hide-OBS.md) |Hide OBS | -|[Import-OBSEffect](Import-OBSEffect.md) |Imports Effects | -|[Open-OBSInputFiltersDialog](Open-OBSInputFiltersDialog.md) |Open-OBSInputFiltersDialog : OpenInputFiltersDialog | -|[Open-OBSInputInteractDialog](Open-OBSInputInteractDialog.md) |Open-OBSInputInteractDialog : OpenInputInteractDialog | -|[Open-OBSInputPropertiesDialog](Open-OBSInputPropertiesDialog.md) |Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog | -|[Open-OBSSourceProjector](Open-OBSSourceProjector.md) |Open-OBSSourceProjector : OpenSourceProjector | -|[Open-OBSVideoMixProjector](Open-OBSVideoMixProjector.md) |Open-OBSVideoMixProjector : OpenVideoMixProjector | -|[Receive-OBS](Receive-OBS.md) |Receives data from OBS | -|[Remove-OBS](Remove-OBS.md) |Remove OBS | -|[Remove-OBSEffect](Remove-OBSEffect.md) |Removes OBS Effects | -|[Remove-OBSInput](Remove-OBSInput.md) |Remove-OBSInput : RemoveInput | -|[Remove-OBSProfile](Remove-OBSProfile.md) |Remove-OBSProfile : RemoveProfile | -|[Remove-OBSScene](Remove-OBSScene.md) |Remove-OBSScene : RemoveScene | -|[Remove-OBSSceneItem](Remove-OBSSceneItem.md) |Remove-OBSSceneItem : RemoveSceneItem | -|[Remove-OBSSourceFilter](Remove-OBSSourceFilter.md) |Remove-OBSSourceFilter : RemoveSourceFilter | -|[Resume-OBSRecord](Resume-OBSRecord.md) |Resume-OBSRecord : ResumeRecord | -|[Save-OBSReplayBuffer](Save-OBSReplayBuffer.md) |Save-OBSReplayBuffer : SaveReplayBuffer | -|[Save-OBSSourceScreenshot](Save-OBSSourceScreenshot.md) |Save-OBSSourceScreenshot : SaveSourceScreenshot | -|[Send-OBS](Send-OBS.md) |Sends messages to the OBS websocket. | -|[Send-OBSCallVendorRequest](Send-OBSCallVendorRequest.md) |Send-OBSCallVendorRequest : CallVendorRequest | -|[Send-OBSCustomEvent](Send-OBSCustomEvent.md) |Send-OBSCustomEvent : BroadcastCustomEvent | -|[Send-OBSOffsetMediaInputCursor](Send-OBSOffsetMediaInputCursor.md) |Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor | -|[Send-OBSPauseRecord](Send-OBSPauseRecord.md) |Send-OBSPauseRecord : PauseRecord | -|[Send-OBSPressInputPropertiesButton](Send-OBSPressInputPropertiesButton.md) |Send-OBSPressInputPropertiesButton : PressInputPropertiesButton | -|[Send-OBSSleep](Send-OBSSleep.md) |Send-OBSSleep : Sleep | -|[Send-OBSStreamCaption](Send-OBSStreamCaption.md) |Send-OBSStreamCaption : SendStreamCaption | -|[Send-OBSTriggerHotkeyByKeySequence](Send-OBSTriggerHotkeyByKeySequence.md) |Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence | -|[Send-OBSTriggerHotkeyByName](Send-OBSTriggerHotkeyByName.md) |Send-OBSTriggerHotkeyByName : TriggerHotkeyByName | -|[Send-OBSTriggerMediaInputAction](Send-OBSTriggerMediaInputAction.md) |Send-OBSTriggerMediaInputAction : TriggerMediaInputAction | -|[Send-OBSTriggerStudioModeTransition](Send-OBSTriggerStudioModeTransition.md) |Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition | -|[Set-OBS3DFilter](Set-OBS3DFilter.md) |Sets an OBS 3D Filter. | -|[Set-OBSAudioOutputSource](Set-OBSAudioOutputSource.md) |Adds or sets an audio output source | -|[Set-OBSBrowserSource](Set-OBSBrowserSource.md) |Sets a browser source | -|[Set-OBSColorFilter](Set-OBSColorFilter.md) |Sets a color filter | -|[Set-OBSColorSource](Set-OBSColorSource.md) |Adds a color source | -|[Set-OBSCurrentPreviewScene](Set-OBSCurrentPreviewScene.md) |Set-OBSCurrentPreviewScene : SetCurrentPreviewScene | -|[Set-OBSCurrentProfile](Set-OBSCurrentProfile.md) |Set-OBSCurrentProfile : SetCurrentProfile | -|[Set-OBSCurrentProgramScene](Set-OBSCurrentProgramScene.md) |Set-OBSCurrentProgramScene : SetCurrentProgramScene | -|[Set-OBSCurrentSceneCollection](Set-OBSCurrentSceneCollection.md) |Set-OBSCurrentSceneCollection : SetCurrentSceneCollection | -|[Set-OBSCurrentSceneTransition](Set-OBSCurrentSceneTransition.md) |Set-OBSCurrentSceneTransition : SetCurrentSceneTransition | -|[Set-OBSCurrentSceneTransitionDuration](Set-OBSCurrentSceneTransitionDuration.md) |Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration | -|[Set-OBSCurrentSceneTransitionSettings](Set-OBSCurrentSceneTransitionSettings.md) |Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings | -|[Set-OBSDisplaySource](Set-OBSDisplaySource.md) |Adds a display source | -|[Set-OBSEqualizerFilter](Set-OBSEqualizerFilter.md) |Sets a Equalizer filter. | -|[Set-OBSGainFilter](Set-OBSGainFilter.md) |Sets a Gain filter. | -|[Set-OBSInputAudioBalance](Set-OBSInputAudioBalance.md) |Set-OBSInputAudioBalance : SetInputAudioBalance | -|[Set-OBSInputAudioMonitorType](Set-OBSInputAudioMonitorType.md) |Set-OBSInputAudioMonitorType : SetInputAudioMonitorType | -|[Set-OBSInputAudioSyncOffset](Set-OBSInputAudioSyncOffset.md) |Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset | -|[Set-OBSInputAudioTracks](Set-OBSInputAudioTracks.md) |Set-OBSInputAudioTracks : SetInputAudioTracks | -|[Set-OBSInputMute](Set-OBSInputMute.md) |Set-OBSInputMute : SetInputMute | -|[Set-OBSInputName](Set-OBSInputName.md) |Set-OBSInputName : SetInputName | -|[Set-OBSInputSettings](Set-OBSInputSettings.md) |Set-OBSInputSettings : SetInputSettings | -|[Set-OBSInputVolume](Set-OBSInputVolume.md) |Set-OBSInputVolume : SetInputVolume | -|[Set-OBSMarkdownSource](Set-OBSMarkdownSource.md) |Sets a markdown source | -|[Set-OBSMediaInputCursor](Set-OBSMediaInputCursor.md) |Set-OBSMediaInputCursor : SetMediaInputCursor | -|[Set-OBSMediaSource](Set-OBSMediaSource.md) |Adds a media source | -|[Set-OBSOutputSettings](Set-OBSOutputSettings.md) |Set-OBSOutputSettings : SetOutputSettings | -|[Set-OBSPersistentData](Set-OBSPersistentData.md) |Set-OBSPersistentData : SetPersistentData | -|[Set-OBSProfileParameter](Set-OBSProfileParameter.md) |Set-OBSProfileParameter : SetProfileParameter | -|[Set-OBSRecordDirectory](Set-OBSRecordDirectory.md) |Set-OBSRecordDirectory : SetRecordDirectory | -|[Set-OBSRenderDelayFilter](Set-OBSRenderDelayFilter.md) |Sets a RenderDelay filter. | -|[Set-OBSScaleFilter](Set-OBSScaleFilter.md) |Sets a Scale filter. | -|[Set-OBSSceneItemBlendMode](Set-OBSSceneItemBlendMode.md) |Set-OBSSceneItemBlendMode : SetSceneItemBlendMode | -|[Set-OBSSceneItemEnabled](Set-OBSSceneItemEnabled.md) |Set-OBSSceneItemEnabled : SetSceneItemEnabled | -|[Set-OBSSceneItemIndex](Set-OBSSceneItemIndex.md) |Set-OBSSceneItemIndex : SetSceneItemIndex | -|[Set-OBSSceneItemLocked](Set-OBSSceneItemLocked.md) |Set-OBSSceneItemLocked : SetSceneItemLocked | -|[Set-OBSSceneItemTransform](Set-OBSSceneItemTransform.md) |Set-OBSSceneItemTransform : SetSceneItemTransform | -|[Set-OBSSceneName](Set-OBSSceneName.md) |Set-OBSSceneName : SetSceneName | -|[Set-OBSSceneSceneTransitionOverride](Set-OBSSceneSceneTransitionOverride.md) |Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride | -|[Set-OBSScrollFilter](Set-OBSScrollFilter.md) |Sets a scroll filter. | -|[Set-OBSShaderFilter](Set-OBSShaderFilter.md) |Sets a Shader filter. | -|[Set-OBSSharpnessFilter](Set-OBSSharpnessFilter.md) |Sets a Sharpness filter. | -|[Set-OBSSoundCloudSource](Set-OBSSoundCloudSource.md) |Sets a Sound Cloud Source | -|[Set-OBSSourceFilterEnabled](Set-OBSSourceFilterEnabled.md) |Set-OBSSourceFilterEnabled : SetSourceFilterEnabled | -|[Set-OBSSourceFilterIndex](Set-OBSSourceFilterIndex.md) |Set-OBSSourceFilterIndex : SetSourceFilterIndex | -|[Set-OBSSourceFilterName](Set-OBSSourceFilterName.md) |Set-OBSSourceFilterName : SetSourceFilterName | -|[Set-OBSSourceFilterSettings](Set-OBSSourceFilterSettings.md) |Set-OBSSourceFilterSettings : SetSourceFilterSettings | -|[Set-OBSStreamServiceSettings](Set-OBSStreamServiceSettings.md) |Set-OBSStreamServiceSettings : SetStreamServiceSettings | -|[Set-OBSStudioModeEnabled](Set-OBSStudioModeEnabled.md) |Set-OBSStudioModeEnabled : SetStudioModeEnabled | -|[Set-OBSSwitchSource](Set-OBSSwitchSource.md) |Adds a VLC playlist source | -|[Set-OBSTBarPosition](Set-OBSTBarPosition.md) |Set-OBSTBarPosition : SetTBarPosition | -|[Set-OBSVideoSettings](Set-OBSVideoSettings.md) |Set-OBSVideoSettings : SetVideoSettings | -|[Set-OBSVLCSource](Set-OBSVLCSource.md) |Adds a VLC playlist source | -|[Set-OBSWaveformSource](Set-OBSWaveformSource.md) |OBS Waveform Source | -|[Set-OBSWindowSource](Set-OBSWindowSource.md) |Adds or sets a window capture source | -|[Show-OBS](Show-OBS.md) |Shows content in OBS | -|[Start-OBSEffect](Start-OBSEffect.md) |Starts obs-powershell effects. | -|[Start-OBSOutput](Start-OBSOutput.md) |Start-OBSOutput : StartOutput | -|[Start-OBSRecord](Start-OBSRecord.md) |Start-OBSRecord : StartRecord | -|[Start-OBSReplayBuffer](Start-OBSReplayBuffer.md) |Start-OBSReplayBuffer : StartReplayBuffer | -|[Start-OBSStream](Start-OBSStream.md) |Start-OBSStream : StartStream | -|[Start-OBSVirtualCam](Start-OBSVirtualCam.md) |Start-OBSVirtualCam : StartVirtualCam | -|[Stop-OBSEffect](Stop-OBSEffect.md) |Stops obs-powershell effects. | -|[Stop-OBSOutput](Stop-OBSOutput.md) |Stop-OBSOutput : StopOutput | -|[Stop-OBSRecord](Stop-OBSRecord.md) |Stop-OBSRecord : StopRecord | -|[Stop-OBSReplayBuffer](Stop-OBSReplayBuffer.md) |Stop-OBSReplayBuffer : StopReplayBuffer | -|[Stop-OBSStream](Stop-OBSStream.md) |Stop-OBSStream : StopStream | -|[Stop-OBSVirtualCam](Stop-OBSVirtualCam.md) |Stop-OBSVirtualCam : StopVirtualCam | -|[Switch-OBSInputMute](Switch-OBSInputMute.md) |Switch-OBSInputMute : ToggleInputMute | -|[Switch-OBSOutput](Switch-OBSOutput.md) |Switch-OBSOutput : ToggleOutput | -|[Switch-OBSRecord](Switch-OBSRecord.md) |Switch-OBSRecord : ToggleRecord | -|[Switch-OBSRecordPause](Switch-OBSRecordPause.md) |Switch-OBSRecordPause : ToggleRecordPause | -|[Switch-OBSReplayBuffer](Switch-OBSReplayBuffer.md) |Switch-OBSReplayBuffer : ToggleReplayBuffer | -|[Switch-OBSStream](Switch-OBSStream.md) |Switch-OBSStream : ToggleStream | -|[Switch-OBSVirtualCam](Switch-OBSVirtualCam.md) |Switch-OBSVirtualCam : ToggleVirtualCam | -|[Watch-OBS](Watch-OBS.md) |Watches OBS | +|[Hide-OBS](Hide-OBS.md) | +|[Import-OBSEffect](Import-OBSEffect.md) | +|[Open-OBSInputFiltersDialog](Open-OBSInputFiltersDialog.md) | +|[Open-OBSInputInteractDialog](Open-OBSInputInteractDialog.md) | +|[Open-OBSInputPropertiesDialog](Open-OBSInputPropertiesDialog.md) | +|[Open-OBSSourceProjector](Open-OBSSourceProjector.md) | +|[Open-OBSVideoMixProjector](Open-OBSVideoMixProjector.md) | +|[Receive-OBS](Receive-OBS.md) | +|[Remove-OBS](Remove-OBS.md) | +|[Remove-OBSEffect](Remove-OBSEffect.md) | +|[Remove-OBSInput](Remove-OBSInput.md) | +|[Remove-OBSProfile](Remove-OBSProfile.md) | +|[Remove-OBSScene](Remove-OBSScene.md) | +|[Remove-OBSSceneItem](Remove-OBSSceneItem.md) | +|[Remove-OBSSourceFilter](Remove-OBSSourceFilter.md) | +|[Resume-OBSRecord](Resume-OBSRecord.md) | +|[Save-OBSReplayBuffer](Save-OBSReplayBuffer.md) | +|[Save-OBSSourceScreenshot](Save-OBSSourceScreenshot.md) | +|[Send-OBS](Send-OBS.md) | +|[Send-OBSCallVendorRequest](Send-OBSCallVendorRequest.md) | +|[Send-OBSCustomEvent](Send-OBSCustomEvent.md) | +|[Send-OBSOffsetMediaInputCursor](Send-OBSOffsetMediaInputCursor.md) | +|[Send-OBSPauseRecord](Send-OBSPauseRecord.md) | +|[Send-OBSPressInputPropertiesButton](Send-OBSPressInputPropertiesButton.md) | +|[Send-OBSSleep](Send-OBSSleep.md) | +|[Send-OBSStreamCaption](Send-OBSStreamCaption.md) | +|[Send-OBSTriggerHotkeyByKeySequence](Send-OBSTriggerHotkeyByKeySequence.md) | +|[Send-OBSTriggerHotkeyByName](Send-OBSTriggerHotkeyByName.md) | +|[Send-OBSTriggerMediaInputAction](Send-OBSTriggerMediaInputAction.md) | +|[Send-OBSTriggerStudioModeTransition](Send-OBSTriggerStudioModeTransition.md) | +|[Set-OBS3DFilter](Set-OBS3DFilter.md) | +|[Set-OBSAudioOutputSource](Set-OBSAudioOutputSource.md) | +|[Set-OBSBrowserSource](Set-OBSBrowserSource.md) | +|[Set-OBSColorFilter](Set-OBSColorFilter.md) | +|[Set-OBSColorSource](Set-OBSColorSource.md) | +|[Set-OBSCurrentPreviewScene](Set-OBSCurrentPreviewScene.md) | +|[Set-OBSCurrentProfile](Set-OBSCurrentProfile.md) | +|[Set-OBSCurrentProgramScene](Set-OBSCurrentProgramScene.md) | +|[Set-OBSCurrentSceneCollection](Set-OBSCurrentSceneCollection.md) | +|[Set-OBSCurrentSceneTransition](Set-OBSCurrentSceneTransition.md) | +|[Set-OBSCurrentSceneTransitionDuration](Set-OBSCurrentSceneTransitionDuration.md) | +|[Set-OBSCurrentSceneTransitionSettings](Set-OBSCurrentSceneTransitionSettings.md) | +|[Set-OBSDisplaySource](Set-OBSDisplaySource.md) | +|[Set-OBSEqualizerFilter](Set-OBSEqualizerFilter.md) | +|[Set-OBSGainFilter](Set-OBSGainFilter.md) | +|[Set-OBSInputAudioBalance](Set-OBSInputAudioBalance.md) | +|[Set-OBSInputAudioMonitorType](Set-OBSInputAudioMonitorType.md) | +|[Set-OBSInputAudioSyncOffset](Set-OBSInputAudioSyncOffset.md) | +|[Set-OBSInputAudioTracks](Set-OBSInputAudioTracks.md) | +|[Set-OBSInputMute](Set-OBSInputMute.md) | +|[Set-OBSInputName](Set-OBSInputName.md) | +|[Set-OBSInputSettings](Set-OBSInputSettings.md) | +|[Set-OBSInputVolume](Set-OBSInputVolume.md) | +|[Set-OBSMarkdownSource](Set-OBSMarkdownSource.md) | +|[Set-OBSMediaInputCursor](Set-OBSMediaInputCursor.md) | +|[Set-OBSMediaSource](Set-OBSMediaSource.md) | +|[Set-OBSOutputSettings](Set-OBSOutputSettings.md) | +|[Set-OBSPersistentData](Set-OBSPersistentData.md) | +|[Set-OBSProfileParameter](Set-OBSProfileParameter.md) | +|[Set-OBSRecordDirectory](Set-OBSRecordDirectory.md) | +|[Set-OBSRenderDelayFilter](Set-OBSRenderDelayFilter.md) | +|[Set-OBSScaleFilter](Set-OBSScaleFilter.md) | +|[Set-OBSSceneItemBlendMode](Set-OBSSceneItemBlendMode.md) | +|[Set-OBSSceneItemEnabled](Set-OBSSceneItemEnabled.md) | +|[Set-OBSSceneItemIndex](Set-OBSSceneItemIndex.md) | +|[Set-OBSSceneItemLocked](Set-OBSSceneItemLocked.md) | +|[Set-OBSSceneItemTransform](Set-OBSSceneItemTransform.md) | +|[Set-OBSSceneName](Set-OBSSceneName.md) | +|[Set-OBSSceneSceneTransitionOverride](Set-OBSSceneSceneTransitionOverride.md) | +|[Set-OBSScrollFilter](Set-OBSScrollFilter.md) | +|[Set-OBSShaderFilter](Set-OBSShaderFilter.md) | +|[Set-OBSSharpnessFilter](Set-OBSSharpnessFilter.md) | +|[Set-OBSSoundCloudSource](Set-OBSSoundCloudSource.md) | +|[Set-OBSSourceFilterEnabled](Set-OBSSourceFilterEnabled.md) | +|[Set-OBSSourceFilterIndex](Set-OBSSourceFilterIndex.md) | +|[Set-OBSSourceFilterName](Set-OBSSourceFilterName.md) | +|[Set-OBSSourceFilterSettings](Set-OBSSourceFilterSettings.md) | +|[Set-OBSStreamServiceSettings](Set-OBSStreamServiceSettings.md) | +|[Set-OBSStudioModeEnabled](Set-OBSStudioModeEnabled.md) | +|[Set-OBSSwitchSource](Set-OBSSwitchSource.md) | +|[Set-OBSTBarPosition](Set-OBSTBarPosition.md) | +|[Set-OBSVideoSettings](Set-OBSVideoSettings.md) | +|[Set-OBSVLCSource](Set-OBSVLCSource.md) | +|[Set-OBSWaveformSource](Set-OBSWaveformSource.md) | +|[Set-OBSWindowSource](Set-OBSWindowSource.md) | +|[Show-OBS](Show-OBS.md) | +|[Start-OBSEffect](Start-OBSEffect.md) | +|[Start-OBSOutput](Start-OBSOutput.md) | +|[Start-OBSRecord](Start-OBSRecord.md) | +|[Start-OBSReplayBuffer](Start-OBSReplayBuffer.md) | +|[Start-OBSStream](Start-OBSStream.md) | +|[Start-OBSVirtualCam](Start-OBSVirtualCam.md) | +|[Stop-OBSEffect](Stop-OBSEffect.md) | +|[Stop-OBSOutput](Stop-OBSOutput.md) | +|[Stop-OBSRecord](Stop-OBSRecord.md) | +|[Stop-OBSReplayBuffer](Stop-OBSReplayBuffer.md) | +|[Stop-OBSStream](Stop-OBSStream.md) | +|[Stop-OBSVirtualCam](Stop-OBSVirtualCam.md) | +|[Switch-OBSInputMute](Switch-OBSInputMute.md) | +|[Switch-OBSOutput](Switch-OBSOutput.md) | +|[Switch-OBSRecord](Switch-OBSRecord.md) | +|[Switch-OBSRecordPause](Switch-OBSRecordPause.md) | +|[Switch-OBSReplayBuffer](Switch-OBSReplayBuffer.md) | +|[Switch-OBSStream](Switch-OBSStream.md) | +|[Switch-OBSVirtualCam](Switch-OBSVirtualCam.md) | +|[Watch-OBS](Watch-OBS.md) | From 511f8323da00f2dc10d779fa884323cb9ce118b6 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:37:50 +0000 Subject: [PATCH 4767/4768] release: obs-powershell 0.2 Updating Manifest and CHANGELOG.md --- docs/CHANGELOG.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 67f0e453b..9afa9b2b0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,70 @@ +> Like It? [Star It](https://github.com/StartAutomating/obs-powershell) +> Love It? [Support It](https://github.com/sponsors/StartAutomating) + +## obs-powershell 0.2: + +* So Many Shaders! +* @exeldro makes some excellent obs plugins + * Every PixelShader from [obs-shaderfilter](https://github.com/exeldro/obs-shaderfilter) has an auto-generated function: + * As of this build, there are 142 Shader functions! + * Flip Shader ( #200 ) + * Zoom XY Shader ( #199 ) + * RGBA Percent Shader ( #198 ) + * Reflect Shader ( #197 ) + * Shader Commands now support -Force +* Drastically improved start time on Windows (#214) +* OBS Sources: + * New Sources: + * OBSSoundCloudSource ( #179 ) + * OBSSwitchSource (#142) + * OBSMarkdownSource (#143) + * OBSWaveformSource (#141) + * All existing sources are now implemented in a `Get`, and aliased to `Set`,`Add` + * Making Set also Get-OBSWindowSource (#152) + * Making Set also Get-OBSVLCSource (#151) + * Making Set also Get-OBSMediaSource (#150) + * Making Set also Get-OBSColorSource (#148) + * Making Set also Get-OBSBrowserSource (#147) + * Making Set also Get-OBSAudioOutputSource (#146) +* New Effects: + * Zoom In / Out Effect ( #164 ) + * Start-OBSEffect - Adding -Reverse (Fixes #121) +* Exporting `$obs` (#157, #158, #159) and drastically expanding pseudo types +* Pseudo Types + * GetCurrentProgramScene.ToString() ( Fixes #202, Fixes #166 ) + * OBS.Beat ( #195 ) + * OBS.Beat.Timer + * OBS.Beat.TapBPM ( #191) + * Stopping OBS.Beat.Timer on Unload + * OBS.Beat.get_Sine ( #192 ) + * OBS.Beat.get_Cosine ( #193 ) + * OBS.Beat.Angle ( #194 ) + * OBS.Beat.Duration ( #189 ) + * OBS.Beat.BeatCount ( #190 ) + * OBS.Beat.BeatStart ( #188 ) + * OBS.Beat.BPM ( #187 ) + * $obs.Beat ( #186 ) + * OBS.Input + * OBS.Input.Disable/EnableAllFilter(s) ( #183 ) + * OBS.SceneItem.Animate Permissiveness ( #182 ) + * OBS.Filter.Disable PassThru support ( #181 ) + * OBS.Statistics ( #178 ) + * OBS.Input ( #174 ) + * OBS.Filter ( #175 ) + * OBS.SceneItem ( #173 ) + * OBS.GetSceneItemList.Response.Stretch() ( #172 ) + * OBS.GetSceneItemList.Response.Center() ( #171 ) + * OBS.GetInputList .SourceName alias ( #170 ) + * Adding .SceneItem to OBS.Inputs (Fixes #154) +* Minor Fixes: + * Watch-OBS -BufferSize: Defaulting to 64kb ( Fixes #212, Fixes #213 ) + * Fixing -Scene parameter defaults ( Fixes #210 ) + * Updating Build Conditions + * obs-powershell now mounts itself ( #180 ) + * obs-powershell supporting module profiles (#155) + +--- + ## obs-powershell 0.1.9: * New Filters! From e51fd3c9dd5bc3180251670c62351eee1220a3c8 Mon Sep 17 00:00:00 2001 From: StartAutomating Date: Fri, 21 Mar 2025 00:38:00 +0000 Subject: [PATCH 4768/4768] release: obs-powershell 0.2 Updating Manifest and CHANGELOG.md --- obs-powershell-Help.xml | 632 ++++++++++++++++++++-------------------- 1 file changed, 316 insertions(+), 316 deletions(-) diff --git a/obs-powershell-Help.xml b/obs-powershell-Help.xml index 491a4549b..4cfe0a356 100644 --- a/obs-powershell-Help.xml +++ b/obs-powershell-Help.xml @@ -8,7 +8,7 @@ Add-OBSInput : CreateInput - 0.1.9 + 0.2 Creates a new input, adding it as a scene item to the specified scene. @@ -247,7 +247,7 @@ This can increase performance, and also silently ignore critical errors Add-OBSProfile : CreateProfile - 0.1.9 + 0.2 Creates a new profile, switching to it in the process @@ -356,7 +356,7 @@ This can increase performance, and also silently ignore critical errors Add-OBSScene : CreateScene - 0.1.9 + 0.2 Creates a new scene in OBS. @@ -465,7 +465,7 @@ This can increase performance, and also silently ignore critical errors Add-OBSSceneCollection : CreateSceneCollection - 0.1.9 + 0.2 Creates a new scene collection, switching to it in the process. @@ -575,7 +575,7 @@ This can increase performance, and also silently ignore critical errors Add-OBSSceneItem : CreateSceneItem - 0.1.9 + 0.2 Creates a new scene item using a source. @@ -789,7 +789,7 @@ This can increase performance, and also silently ignore critical errors Add-OBSSourceFilter : CreateSourceFilter - 0.1.9 + 0.2 Creates a new filter, adding it to the specified source. @@ -1002,7 +1002,7 @@ This can increase performance, and also silently ignore critical errors Clears a Scene in OBS - 0.1.9 + 0.2 Clears a Scene in OBS. @@ -1062,7 +1062,7 @@ This can increase performance, and also silently ignore critical errors Connects to Open Broadcast Studio - 0.1.9 + 0.2 Connects to the obs-websocket. @@ -1159,7 +1159,7 @@ You can see the websocket password in Tools -> obs-websocket settings -> s Copy-OBSSceneItem : DuplicateSceneItem - 0.1.9 + 0.2 Duplicates a scene item, copying all transform and crop info. @@ -1373,7 +1373,7 @@ This can increase performance, and also silently ignore critical errors Disconnects OBS - 0.1.9 + 0.2 Disconnects Websockets from OBS. @@ -1413,7 +1413,7 @@ This can increase performance, and also silently ignore critical errors Gets OBS - 0.1.9 + 0.2 Outputs OBS connection information and state. @@ -1445,7 +1445,7 @@ This can increase performance, and also silently ignore critical errors Get-OBS3dSwapTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-Reflection] <float>] [[-Perspective] <float>] [[-Depth] <float>] [[-BackgroundColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -1903,7 +1903,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAddShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -2165,7 +2165,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAlphaBorderShader [[-BorderColor] <string>] [[-BorderThickness] <int>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -2483,7 +2483,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAlphaGamingBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -2997,7 +2997,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAnimatedPathShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-SpeedPercent] <int>] [[-PathMap] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -3511,7 +3511,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAnimatedTextureShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-AnimationImage] <string>] [[-ColorizationImage] <string>] [[-PolarAngle] <float>] [[-PolarHeight] <float>] [[-SpeedHorizontalPercent] <float>] [[-SpeedVerticalPercent] <float>] [[-TintSpeedHorizontalPercent] <float>] [[-TintSpeedVerticalPercent] <float>] [[-Alpha] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Reverse] [-Bounce] [-CenterAnimation] [-PolarAnimation] [-UseAnimationImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -4389,7 +4389,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAsciiShader [[-Scale] <int>] [[-BaseColor] <string>] [[-CharacterSet] <int>] [[-Note] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Monochrome] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -4763,7 +4763,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSAspectRatioShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -5277,7 +5277,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBackgroundRemovalShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-Target] <string>] [[-Color] <string>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-Convert709to601] [-Convert601to709] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -5931,7 +5931,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBlendOpacityShader [[-RotationOffset] <float>] [[-OpacityStartPercent] <float>] [[-OpacityEndPercent] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -6417,7 +6417,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBlinkShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -6679,7 +6679,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBloomShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -7025,7 +7025,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBorderShader [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -7287,7 +7287,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBoxBlurShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -7661,7 +7661,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBulgePinchShader [[-Radius] <float>] [[-Magnitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -8063,7 +8063,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSBurnShader [[-BurnGradient] <string>] [[-Speed] <float>] [[-GradientAdjust] <float>] [[-DissolveValue] <float>] [[-SmokeHorizonalSpeed] <float>] [[-SmokeVerticalSpeed] <float>] [[-Iterations] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-ApplySmoke] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -8605,7 +8605,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCartoonShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Notes] <string>] [[-HueSteps] <int>] [[-ValueSteps] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -9175,7 +9175,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCellShadedShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -9521,7 +9521,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSChromaticAberrationShader [[-Power] <float>] [[-Gamma] <float>] [[-NumIter] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DistortRadial] [-DistortBarrel] [-OffsetSpectrumYcgco] [-OffsetSpectrumYuv] [-UseRandom] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -9979,7 +9979,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSChromaUVDistortionShader [[-Distortion] <float>] [[-Amplitude] <float>] [[-Chroma] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -10297,7 +10297,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCircleMaskFilterShader [[-Radius] <float>] [[-CircleOffsetX] <int>] [[-CircleOffsetY] <int>] [[-SourceOffsetX] <int>] [[-SourceOffsetY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Antialiasing] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -10699,7 +10699,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSClockAnalogShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-HourHandleColor] <float[]>] [[-MinuteHandleColor] <float[]>] [[-SecondHandleColor] <float[]>] [[-OutlineColor] <float[]>] [[-TopLineColor] <float[]>] [[-BackgroundColor] <float[]>] [[-TimeOffsetHours] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -11241,7 +11241,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-LedColor] <string>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -11755,7 +11755,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSClockDigitalNixieShader [[-CurrentTimeMs] <int>] [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-Corecolor] <float[]>] [[-Halocolor] <float[]>] [[-Flarecolor] <float[]>] [[-Anodecolor] <float[]>] [[-Anodehighlightscolor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -12325,7 +12325,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSColorDepthShader [[-ColorDepth] <float>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -12615,7 +12615,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSColorGradeFilterShader [[-Notes] <string>] [[-Lut] <string>] [[-LutAmountPercent] <int>] [[-LutScalePercent] <int>] [[-LutOffsetPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -12989,7 +12989,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCornerPinShader [[-TopLeftX] <float>] [[-TopLeftY] <float>] [[-TopRightX] <float>] [[-TopRightY] <float>] [[-BottomLeftX] <float>] [[-BottomLeftY] <float>] [[-BottomRightX] <float>] [[-BottomRightY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AntialiasEdges] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -13475,7 +13475,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCrtCurvatureShader [[-Strength] <float>] [[-Border] <string>] [[-Feathering] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -13793,7 +13793,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCurrentPreviewScene : GetCurrentPreviewScene - 0.1.9 + 0.2 Gets the current preview scene. @@ -13889,7 +13889,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCurrentProgramScene : GetCurrentProgramScene - 0.1.9 + 0.2 Gets the current program scene. @@ -13984,7 +13984,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCurrentSceneTransition : GetCurrentSceneTransition - 0.1.9 + 0.2 Gets information about the current scene transition. @@ -14078,7 +14078,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCurrentSceneTransitionCursor : GetCurrentSceneTransitionCursor - 0.1.9 + 0.2 Gets the cursor position of the current scene transition. @@ -14173,7 +14173,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCurveShader [[-Strength] <float>] [[-Scale] <float>] [[-CurveColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -14491,7 +14491,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCutRectPerCornerShader [[-CornerTl] <int>] [[-CornerTr] <int>] [[-CornerBr] <int>] [[-CornerBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -14977,7 +14977,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSCylinderShader [[-CylinderFactor] <float>] [[-BackgroundCut] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -15267,7 +15267,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDarkenShader [[-OpacityPercentage] <float>] [[-FillPercentage] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -15585,7 +15585,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDeadPixelFixerShader [[-DeadPixelX] <int>] [[-DeadPixelY] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -15875,7 +15875,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDensitySatHueShader [[-Notes] <string>] [[-DensityR] <float>] [[-SaturationR] <float>] [[-HueShiftR] <float>] [[-DensityY] <float>] [[-SaturationY] <float>] [[-HueShiftY] <float>] [[-DensityG] <float>] [[-SaturationG] <float>] [[-HueShiftG] <float>] [[-DensityC] <float>] [[-SaturationC] <float>] [[-HueShiftC] <float>] [[-DensityB] <float>] [[-SaturationB] <float>] [[-HueShiftB] <float>] [[-DensityM] <float>] [[-SaturationM] <float>] [[-HueShiftM] <float>] [[-GlobalDensity] <float>] [[-GlobalSaturation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -16697,7 +16697,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDiffuseTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-NumSamples] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -17071,7 +17071,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDigitalRainShader [[-Font] <string>] [[-Noise] <string>] [[-BaseColor] <string>] [[-RainSpeed] <float>] [[-CharSpeed] <float>] [[-GlowContrast] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -17473,7 +17473,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDivideRotateShader [[-IChannel0] <string>] [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -17847,7 +17847,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDoodleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-DoodleScalePercent] <float>] [[-SnapPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -18389,7 +18389,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDrawingsShader [[-AngleNum] <int>] [[-SampNum] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -18679,7 +18679,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-Notes] <string>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -19081,7 +19081,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDrunkShader [[-ColorMatrix] <float[][]>] [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeedPercent] <int>] [[-GlowColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -19623,7 +19623,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSDynamicMaskShader [[-InputSource] <string>] [[-RedBaseValue] <float>] [[-RedRedInputValue] <float>] [[-RedGreenInputValue] <float>] [[-RedBlueInputValue] <float>] [[-RedAlphaInputValue] <float>] [[-RedMultiplier] <float>] [[-GreenBaseValue] <float>] [[-GreenRedInputValue] <float>] [[-GreenGreenInputValue] <float>] [[-GreenBlueInputValue] <float>] [[-GreenAlphaInputValue] <float>] [[-GreenMultiplier] <float>] [[-BlueBaseValue] <float>] [[-BlueRedInputValue] <float>] [[-BlueGreenInputValue] <float>] [[-BlueBlueInputValue] <float>] [[-BlueAlphaInputValue] <float>] [[-BlueMultiplier] <float>] [[-AlphaBaseValue] <float>] [[-AlphaRedInputValue] <float>] [[-AlphaGreenInputValue] <float>] [[-AlphaBlueInputValue] <float>] [[-AlphaAlphaInputValue] <float>] [[-AlphaMultiplier] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -20557,7 +20557,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSEdgeDetectionShader [[-Sensitivity] <float>] [[-EdgeColor] <string>] [[-NonEdgeColor] <string>] [[-AlphaLevel] <float>] [[-RandF] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertEdge] [-EdgeMultiply] [-NonEdgeMultiply] [-AlphaChannel] [-AlphaInvert] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -21099,7 +21099,7 @@ This can increase performance, and also silently ignore critical errors Gets OBS Effects - 0.1.9 + 0.2 Gets effects currently loaded into OBS-PowerShell. @@ -21164,7 +21164,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSEmbersShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-AnimationSpeed] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-MovementSpeedPercent] <int>] [[-LayersCount] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -22014,7 +22014,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSEmbossColorShader [[-AngleSteps] <int>] [[-RadiusSteps] <int>] [[-AmpFactor] <float>] [[-UpDownPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -22416,7 +22416,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSEmbossShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-UseColor] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -22706,7 +22706,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSExeldroBentCameraShader [[-LeftSideWidth] <float>] [[-LeftSideSize] <float>] [[-LeftSideShadow] <float>] [[-LeftFlipWidth] <float>] [[-LeftFlipShadow] <float>] [[-RightSideWidth] <float>] [[-RightSideSize] <float>] [[-RightSideShadow] <float>] [[-RightFlipWidth] <float>] [[-RightFlipShadow] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -23220,7 +23220,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFadeTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -23566,7 +23566,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFillColorGradientShader [[-Fill] <float>] [[-GradientWidth] <float>] [[-GradientOffset] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -23940,7 +23940,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFillColorLinearShader [[-Fill] <float>] [[-FillDirection] <int>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -24258,7 +24258,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFillColorRadialDegreesShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -24660,7 +24660,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFillColorRadialPercentageShader [[-FillDirection] <int>] [[-Fill] <float>] [[-StartAngle] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-FillColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -25062,7 +25062,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFilterTemplateShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -25660,7 +25660,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFire3Shader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-MovementDirectionHorizontal] <float>] [[-MovementDirectionVertical] <float>] [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-FlameSize] <float>] [[-SparkGridHeight] <float>] [[-FlameModifier] <float>] [[-FlameTongueSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-FullWidth] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -26678,7 +26678,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFireShader [[-AlphaPercentage] <int>] [[-Speed] <int>] [[-FlameSize] <int>] [[-FireType] <int>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Invert] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -27248,7 +27248,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFireworks2Shader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -27510,7 +27510,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFireworksShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowFlash] [-ShowStars] [-UseTransparancy] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -27828,7 +27828,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFisheyeShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -28146,7 +28146,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFisheyeXyShader [[-CenterXPercent] <float>] [[-CenterYPercent] <float>] [[-PowerX] <float>] [[-PowerY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -28492,7 +28492,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFlipShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -28782,7 +28782,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSFrostedGlassShader [[-AlphaPercent] <float>] [[-Amount] <float>] [[-Scale] <float>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -29240,7 +29240,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGammaCorrectionShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -29586,7 +29586,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGaussianBlurAdvancedShader [[-Directions] <float>] [[-Quality] <float>] [[-Size] <float>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -30016,7 +30016,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGaussianBlurShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ImageSize] <float[]>] [[-ImageTexel] <float[]>] [[-URadius] <int>] [[-UDiameter] <int>] [[-UTexelDelta] <float[]>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-Kernel] <string>] [[-KernelTexel] <float[]>] [[-PixelSize] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -30642,7 +30642,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGaussianBlurSimpleShader [[-Strength] <int>] [[-MaskLeft] <float>] [[-MaskRight] <float>] [[-MaskTop] <float>] [[-MaskBottom] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -31016,7 +31016,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGaussianExampleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-InitialImage] <string>] [[-BeforeImage] <string>] [[-AfterImage] <string>] [[-TextColor] <string>] [[-MaxDistance] <float>] [[-Exp] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -31614,7 +31614,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGaussianSimpleShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Samples] <int>] [[-LOD] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -32240,7 +32240,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGbCameraShader [[-PixelSize] <float>] [[-DitherFactor] <float>] [[-Brightness] <float>] [[-Contrast] <float>] [[-Gamma] <float>] [[-Color1] <string>] [[-Color2] <string>] [[-Color3] <string>] [[-Color4] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AlternativeBayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -32754,7 +32754,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGlassShader [[-AlphaPercent] <float>] [[-OffsetAmount] <float>] [[-XSize] <int>] [[-YSize] <int>] [[-ReflectionOffset] <int>] [[-BorderOffset] <float>] [[-BorderColor] <string>] [[-GlassColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HorizontalBorder] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -33268,7 +33268,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGlitchAnalogShader [[-ScanLineJitterDisplacement] <float>] [[-ScanLineJitterThresholdPercent] <int>] [[-VerticalJumpAmount] <float>] [[-VerticalSpeed] <float>] [[-HorizontalShake] <float>] [[-ColorDriftAmount] <float>] [[-ColorDriftSpeed] <float>] [[-PulseSpeedPercent] <int>] [[-AlphaPercent] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateColors] [-ApplyToAlphaLayer] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -33922,7 +33922,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGlitchShader [[-AMT] <float>] [[-SPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -34212,7 +34212,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGlowShader [[-GlowPercent] <int>] [[-Blur] <int>] [[-MinBrightness] <int>] [[-MaxBrightness] <int>] [[-PulseSpeed] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -34642,7 +34642,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGradientShader [[-StartColor] <string>] [[-StartStep] <float>] [[-MiddleColor] <string>] [[-MiddleStep] <float>] [[-EndColor] <string>] [[-EndStep] <float>] [[-AlphaPercent] <int>] [[-PulseSpeed] <int>] [[-ColorToReplace] <string>] [[-GradientCenterWidthPercentage] <int>] [[-GradientCenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-RotateColors] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -35380,7 +35380,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGroup : GetGroupList - 0.1.9 + 0.2 Gets an array of all groups in OBS. @@ -35475,7 +35475,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSGroupSceneItem : GetGroupSceneItemList - 0.1.9 + 0.2 Basically GetSceneItemList, but for groups. @@ -35612,7 +35612,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSHalftoneShader [[-Threshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -35874,7 +35874,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSHeatWaveSimpleShader [[-Rate] <float>] [[-Strength] <float>] [[-Distortion] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -36220,7 +36220,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSHexagonShader [[-HexColor] <string>] [[-AlphaPercent] <int>] [[-Quantity] <float>] [[-BorderWidth] <int>] [[-SpeedPercent] <int>] [[-DistortX] <float>] [[-DistortY] <float>] [[-OffsetX] <float>] [[-OffsetY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Blend] [-Equilateral] [-ZoomAnimate] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -36846,7 +36846,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSHotkey : GetHotkeyList - 0.1.9 + 0.2 Gets an array of all hotkey names in OBS. @@ -36941,7 +36941,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSHslHsvSaturationShader [[-HslSaturationFactor] <float>] [[-HslGamma] <float>] [[-HsvSaturationFactor] <float>] [[-HsvGamma] <float>] [[-AdjustmentOrder] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -37315,7 +37315,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSHueRotatonShader [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-HueOverride] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -37605,7 +37605,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInput : GetInputList - 0.1.9 + 0.2 Gets an array of all inputs in OBS. @@ -37714,7 +37714,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputAudioBalance : GetInputAudioBalance - 0.1.9 + 0.2 Gets the audio balance of an input. @@ -37849,7 +37849,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputAudioMonitorType : GetInputAudioMonitorType - 0.1.9 + 0.2 Gets the audio monitor type of an input. @@ -37988,7 +37988,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputAudioSyncOffset : GetInputAudioSyncOffset - 0.1.9 + 0.2 Gets the audio sync offset of an input. @@ -38124,7 +38124,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputAudioTracks : GetInputAudioTracks - 0.1.9 + 0.2 Gets the enable state of all audio tracks of an input. @@ -38259,7 +38259,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputDefaultSettings : GetInputDefaultSettings - 0.1.9 + 0.2 Gets the default settings for an input kind. @@ -38368,7 +38368,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputKind : GetInputKindList - 0.1.9 + 0.2 Gets an array of all available input kinds in OBS. @@ -38477,7 +38477,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputMute : GetInputMute - 0.1.9 + 0.2 Gets the audio mute state of an input. @@ -38612,7 +38612,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputPropertiesListPropertyItems : GetInputPropertiesListPropertyItems - 0.1.9 + 0.2 Gets the items of a list property from an input's properties. @@ -38774,7 +38774,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputSettings : GetInputSettings - 0.1.9 + 0.2 Gets the settings of an input. @@ -38910,7 +38910,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInputVolume : GetInputVolume - 0.1.9 + 0.2 Gets the current volume setting of an input. @@ -39045,7 +39045,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSIntensityScopeShader [[-Gain] <float>] [[-Blend] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -39335,7 +39335,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSInvertLumaShader [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertColor] [-InvertLuma] [-GammaCorrection] [-TestRamp] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -39681,7 +39681,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSLastReplayBufferReplay : GetLastReplayBufferReplay - 0.1.9 + 0.2 Gets the filename of the last replay buffer save file. @@ -39775,7 +39775,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSLuminance2Shader [[-Color] <string>] [[-LumaMax] <float>] [[-LumaMin] <float>] [[-LumaMaxSmooth] <float>] [[-LumaMinSmooth] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -40233,7 +40233,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSLuminanceAlphaShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ColorMatrix] <float[][]>] [[-Color] <string>] [[-MulVal] <float>] [[-AddVal] <float>] [[-Level] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -40859,7 +40859,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSLuminanceShader [[-Color] <string>] [[-Level] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertImageColor] [-InvertAlphaChannel] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -41233,7 +41233,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSMatrixShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvSize] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-RandInstanceF] <float>] [[-RandActivationF] <float>] [[-Loops] <int>] [[-LocalTime] <float>] [[-Mouse] <float[]>] [[-LumaMin] <float>] [[-LumaMinSmooth] <float>] [[-Ratio] <float>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-InvertDirection] [-ApplyToAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -41999,7 +41999,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSMediaInputStatus : GetMediaInputStatus - 0.1.9 + 0.2 Gets the status of a media input. @@ -42143,7 +42143,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSMonitor : GetMonitorList - 0.1.9 + 0.2 Gets a list of connected monitors and information about them. @@ -42237,7 +42237,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSMultiplyShader [[-OtherImage] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -42499,7 +42499,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSNightSkyShader [[-Speed] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-AlphaPercentage] <float>] [[-NumberStars] <int>] [[-SKYCOLOR] <string>] [[-STARCOLOR] <string>] [[-LIGHTSKY] <string>] [[-SKYLIGHTNESS] <float>] [[-MOONCOLOR] <string>] [[-MoonSize] <float>] [[-MoonBumpSize] <float>] [[-MoonPositionX] <float>] [[-MoonPositionY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IncludeClouds] [-IncludeMoon] [-ApplyToImage] [-ReplaceImageColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -43237,7 +43237,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSOpacityShader [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -43499,7 +43499,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSOutput : GetOutputList - 0.1.9 + 0.2 Gets the list of available outputs. @@ -43593,7 +43593,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSOutputSettings : GetOutputSettings - 0.1.9 + 0.2 Gets the settings of an output. @@ -43702,7 +43702,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSOutputStatus : GetOutputStatus - 0.1.9 + 0.2 Gets the status of an output. @@ -43811,7 +43811,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPagePeelShader [[-Speed] <float>] [[-Position] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -44101,7 +44101,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPagePeelTransitionShader [[-ImageA] <string>] [[-ImageB] <string>] [[-TransitionTime] <float>] [[-PageColor] <string>] [[-PageTransparency] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -44503,7 +44503,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPerlinNoiseShader [[-Speed] <float>] [[-SpeedHorizonal] <float>] [[-SpeedVertical] <float>] [[-Iterations] <int>] [[-WhiteNoise] <float>] [[-BlackNoise] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animated] [-ApplyToChannel] [-Inverted] [-Multiply] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -45045,7 +45045,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPersistentData : GetPersistentData - 0.1.9 + 0.2 Gets the value of a "slot" from the selected persistent data realm. @@ -45180,7 +45180,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPieChartShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-StartAngle] <float>] [[-Total] <int>] [[-Part1] <int>] [[-Color1] <string>] [[-Part2] <int>] [[-Color2] <string>] [[-Part3] <int>] [[-Color3] <string>] [[-Part4] <int>] [[-Color4] <string>] [[-Part5] <int>] [[-Color5] <string>] [[-Part6] <int>] [[-Color6] <string>] [[-Part7] <int>] [[-Color7] <string>] [[-Part8] <int>] [[-Color8] <string>] [[-Part9] <int>] [[-Color9] <string>] [[-Part10] <int>] [[-Color10] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -46086,7 +46086,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPixelationShader [[-TargetWidth] <float>] [[-TargetHeight] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -46404,7 +46404,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPixelationTransitionShader [[-TransitionTime] <float>] [[-Power] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ConvertLinear] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -46778,7 +46778,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPolarShader [[-CenterX] <float>] [[-CenterY] <float>] [[-PointY] <float>] [[-Rotate] <float>] [[-Repeat] <float>] [[-Scale] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Flip] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -47208,7 +47208,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSProfile : GetProfileList - 0.1.9 + 0.2 Gets an array of all profiles @@ -47302,7 +47302,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSProfileParameter : GetProfileParameter - 0.1.9 + 0.2 Gets a parameter from the current profile's configuration. @@ -47437,7 +47437,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSPulseShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -47979,7 +47979,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRainbowShader [[-Saturation] <float>] [[-Luminosity] <float>] [[-Spread] <float>] [[-Speed] <float>] [[-AlphaPercentage] <float>] [[-RotationOffset] <float>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Vertical] [-Rotational] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -48577,7 +48577,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRainWindowShader [[-Size] <float>] [[-BlurSize] <float>] [[-TrailStrength] <float>] [[-TrailColor] <float>] [[-Speed] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-DebugShader] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -48979,7 +48979,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRecordDirectory : GetRecordDirectory - 0.1.9 + 0.2 Gets the current directory that the record output is set to. @@ -49073,7 +49073,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRecordStatus : GetRecordStatus - 0.1.9 + 0.2 Gets the status of the record output. @@ -49167,7 +49167,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRectangularDropShadowShader [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -49513,7 +49513,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSReflectShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Horizontal] [-Vertical] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -49859,7 +49859,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRemovePartialPixelsShader [[-MinimumAlphaPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -50149,7 +50149,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRepeatShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Alpha] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -50775,7 +50775,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRepeatTextureShader [[-ViewProj] <float[][]>] [[-ColorMatrix] <float[][]>] [[-ColorRangeMin] <float[]>] [[-ColorRangeMax] <float[]>] [[-Image] <string>] [[-TexImage] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-UvSize] <float[]>] [[-RandF] <float>] [[-Blend] <float>] [[-Copies] <float>] [[-Notes] <string>] [[-AlphaPercentage] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -51457,7 +51457,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSReplayBufferStatus : GetReplayBufferStatus - 0.1.9 + 0.2 Gets the status of the replay buffer output. @@ -51551,7 +51551,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRGBAPercentShader [[-RedPercent] <float>] [[-GreenPercent] <float>] [[-BluePercent] <float>] [[-AlphaPercent] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -51897,7 +51897,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRgbColorWheelShader [[-Speed] <float>] [[-ColorDepth] <float>] [[-ColorToReplace] <string>] [[-AlphaPercentage] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -52383,7 +52383,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRgbSplitShader [[-Redx] <float>] [[-Redy] <float>] [[-Greenx] <float>] [[-Greeny] <float>] [[-Bluex] <float>] [[-Bluey] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -52785,7 +52785,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRgbvisibilityShader [[-Red] <float>] [[-Green] <float>] [[-Blue] <float>] [[-RedVisibility] <float>] [[-GreenVisibility] <float>] [[-BlueVisibility] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -53215,7 +53215,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRGSSAAShader [[-ColorSigma] <float>] [[-SpatialSigma] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -53533,7 +53533,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRippleShader [[-DistanceFactor] <float>] [[-TimeFactor] <float>] [[-PowerFactor] <float>] [[-CenterPosX] <float>] [[-CenterPosY] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -53907,7 +53907,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRotatingSourceShader [[-SpinSpeed] <float>] [[-Rotation] <float>] [[-Zoomin] <float>] [[-XCenter] <float>] [[-YCenter] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-KeepAspectratio] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -54309,7 +54309,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRotatoeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-SpeedPercent] <int>] [[-AxisX] <float>] [[-AxisY] <float>] [[-AxisZ] <float>] [[-AngleDegrees] <float>] [[-CenterWidthPercentage] <int>] [[-CenterHeightPercentage] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-RotateTransform] [-RotatePixels] [-RotateColors] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -55075,7 +55075,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRoundedRect2Shader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-FasterScan] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -55505,7 +55505,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRoundedRectPerCornerShader [[-CornerRadiusTl] <int>] [[-CornerRadiusTr] <int>] [[-CornerRadiusBr] <int>] [[-CornerRadiusBl] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -55991,7 +55991,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRoundedRectPerSideShader [[-CornerRadiusBottom] <int>] [[-CornerRadiusLeft] <int>] [[-CornerRadiusTop] <int>] [[-CornerRadiusRight] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-BorderAlphaStart] <float>] [[-BorderAlphaEnd] <float>] [[-AlphaCutOff] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -56477,7 +56477,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRoundedRectShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-BorderColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -56795,7 +56795,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRoundedStrokeGradientShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-RotationSpeed] <int>] [[-BorderColorL] <string>] [[-BorderColorR] <string>] [[-CenterWidth] <int>] [[-CenterHeight] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -57281,7 +57281,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSRoundedStrokeShader [[-CornerRadius] <int>] [[-BorderThickness] <int>] [[-MinimumAlphaPercent] <int>] [[-BorderColor] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -57655,7 +57655,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSScanLineShader [[-Speed] <float>] [[-Angle] <float>] [[-Floor] <float>] [[-Period] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Lengthwise] [-Animate] [-Shift] [-Boost] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -58141,7 +58141,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSScene : GetSceneList - 0.1.9 + 0.2 Gets an array of all scenes in OBS. @@ -58235,7 +58235,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneCollection : GetSceneCollectionList - 0.1.9 + 0.2 Gets an array of all scene collections @@ -58329,7 +58329,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItem : GetSceneItemList - 0.1.9 + 0.2 Gets a list of all scene items in a scene. @@ -58465,7 +58465,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemBlendMode : GetSceneItemBlendMode - 0.1.9 + 0.2 Gets the blend mode of a scene item. @@ -58635,7 +58635,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemEnabled : GetSceneItemEnabled - 0.1.9 + 0.2 Gets the enable state of a scene item. @@ -58797,7 +58797,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemId : GetSceneItemId - 0.1.9 + 0.2 Searches a scene for a source, and returns its id. @@ -58985,7 +58985,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemIndex : GetSceneItemIndex - 0.1.9 + 0.2 Gets the index position of a scene item in a scene. @@ -59148,7 +59148,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemLocked : GetSceneItemLocked - 0.1.9 + 0.2 Gets the lock state of a scene item. @@ -59310,7 +59310,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemSource : GetSceneItemSource - 0.1.9 + 0.2 Gets the source associated with a scene item. @@ -59471,7 +59471,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneItemTransform : GetSceneItemTransform - 0.1.9 + 0.2 Gets the transform and crop info of a scene item. @@ -59633,7 +59633,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneSceneTransitionOverride : GetSceneSceneTransitionOverride - 0.1.9 + 0.2 Gets the scene transition overridden for a scene. @@ -59769,7 +59769,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSceneTransition : GetSceneTransitionList - 0.1.9 + 0.2 Gets an array of all scene transitions in OBS. @@ -59863,7 +59863,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSeascapeShader [[-SEAHEIGHT] <float>] [[-SEACHOPPY] <float>] [[-SEASPEED] <float>] [[-SEAFREQ] <float>] [[-SEABASE] <string>] [[-SEAWATERCOLOR] <string>] [[-CAMERASPEED] <float>] [[-CAMERATURNSPEED] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-AA] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -60349,7 +60349,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSeasickShader [[-Notes] <string>] [[-Amplitude] <float>] [[-Speed] <float>] [[-Frequency] <float>] [[-Opacity] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -60723,7 +60723,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSelectiveColorShader [[-CutoffRed] <float>] [[-CutoffGreen] <float>] [[-CutoffBlue] <float>] [[-CutoffYellow] <float>] [[-AcceptanceAmplifier] <float>] [[-Notes] <string>] [[-BackgroundType] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowRed] [-ShowGreen] [-ShowBlue] [-ShowYellow] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -61265,7 +61265,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSShakeShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-LocalTime] <float>] [[-RandomScale] <float>] [[-Speed] <float>] [[-MinGrowthPixels] <float>] [[-MaxGrowthPixels] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Worble] [-RandomizeMovement] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -61947,7 +61947,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSShineShader [[-LTex] <string>] [[-ShineColor] <string>] [[-SpeedPercent] <int>] [[-GradientPercent] <int>] [[-DelayPercent] <int>] [[-Notes] <string>] [[-StartAdjust] <float>] [[-StopAdjust] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToAlphaLayer] [-Ease] [-Hide] [-Reverse] [-OneDirection] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -62573,7 +62573,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSimpleGradientShader [[-SpeedPercentage] <int>] [[-AlphaPercentage] <int>] [[-ColorToReplace] <string>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-LensFlair] [-AnimateLensFlair] [-ApplyToAlphaLayer] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -63031,7 +63031,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSimplexNoiseShader [[-SnapPercent] <float>] [[-SpeedPercent] <float>] [[-Resolution] <float>] [[-ForeColor] <string>] [[-BackColor] <string>] [[-AlphaPercent] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Fractal] [-UseAlphaLayer] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -63517,7 +63517,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSmartDenoiseShader [[-USigma] <float>] [[-UKSigma] <float>] [[-UThreshold] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -63835,7 +63835,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSourceActive : GetSourceActive - 0.1.9 + 0.2 Gets the active and show state of a source. @@ -63971,7 +63971,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSourceFilter : GetSourceFilter - 0.1.9 + 0.2 Gets the info for a specific source filter. @@ -64132,7 +64132,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSourceFilterDefaultSettings : GetSourceFilterDefaultSettings - 0.1.9 + 0.2 Gets the default settings for a filter kind. @@ -64241,7 +64241,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSourceFilterKind : GetSourceFilterKindList - 0.1.9 + 0.2 Gets an array of all available source filter kinds. @@ -64336,7 +64336,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSourceFilterList : GetSourceFilterList - 0.1.9 + 0.2 Gets an array of all of a source's filters. @@ -64471,7 +64471,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSourceScreenshot : GetSourceScreenshot - 0.1.9 + 0.2 Gets a Base64-encoded screenshot of a source. @@ -64713,7 +64713,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSpecialInputs : GetSpecialInputs - 0.1.9 + 0.2 Gets the names of all special inputs. @@ -64807,7 +64807,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSpecularShineShader [[-Hint] <string>] [[-Roughness] <float>] [[-LightStrength] <float>] [[-LightPositionX] <float>] [[-LightPositionY] <float>] [[-FlattenNormal] <float>] [[-StretchNormalX] <float>] [[-StretchNormalY] <float>] [[-LightColor] <float[]>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -65293,7 +65293,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSpotlightShader [[-SpeedPercent] <float>] [[-FocusPercent] <float>] [[-SpotlightColor] <string>] [[-HorizontalOffset] <float>] [[-VerticalOffset] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -65723,7 +65723,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSStats : GetStats - 0.1.9 + 0.2 Gets statistics about OBS, obs-websocket, and the current session. @@ -65817,7 +65817,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSStreamServiceSettings : GetStreamServiceSettings - 0.1.9 + 0.2 Gets the current stream service settings (stream destination). @@ -65911,7 +65911,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSStreamStatus : GetStreamStatus - 0.1.9 + 0.2 Gets the status of the stream output. @@ -66005,7 +66005,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSStudioModeEnabled : GetStudioModeEnabled - 0.1.9 + 0.2 Gets whether studio is enabled. @@ -66099,7 +66099,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSSwirlShader [[-Radius] <float>] [[-Angle] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Animate] [-Inverse] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -66529,7 +66529,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSTetraShader [[-RedR] <float>] [[-RedG] <float>] [[-RedB] <float>] [[-YelR] <float>] [[-YelG] <float>] [[-YelB] <float>] [[-GrnR] <float>] [[-GrnG] <float>] [[-GrnB] <float>] [[-CynR] <float>] [[-CynG] <float>] [[-CynB] <float>] [[-BluR] <float>] [[-BluG] <float>] [[-BluB] <float>] [[-MagR] <float>] [[-MagG] <float>] [[-MagB] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -67267,7 +67267,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSThermalShader [[-Strength] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -67529,7 +67529,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSTransitionKind : GetTransitionKindList - 0.1.9 + 0.2 Gets an array of all available transition kinds. @@ -67624,7 +67624,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSTvCrtSubpixelShader [[-ChannelWidth] <int>] [[-ChannelHeight] <int>] [[-HGap] <int>] [[-VGap] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -67970,7 +67970,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSTwistShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-Rotation] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -68316,7 +68316,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -68914,7 +68914,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVCRShader [[-VerticalShift] <float>] [[-Distort] <float>] [[-Vignet] <float>] [[-Stripe] <float>] [[-VerticalFactor] <float>] [[-VerticalHeight] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -69316,7 +69316,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVersion : GetVersion - 0.1.9 + 0.2 Gets data about the current plugin and RPC version. @@ -69410,7 +69410,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVHSShader [[-Range] <float>] [[-OffsetIntensity] <float>] [[-NoiseQuality] <float>] [[-NoiseIntensity] <float>] [[-ColorOffsetIntensity] <float>] [[-AlphaPercentage] <float>] [[-ColorToReplace] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ApplyToImage] [-ReplaceImageColor] [-ApplyToSpecificColor] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -69924,7 +69924,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVideoSettings : GetVideoSettings - 0.1.9 + 0.2 Gets the current video settings. @@ -70019,7 +70019,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVignettingShader [[-InnerRadius] <float>] [[-OuterRadius] <float>] [[-Opacity] <float>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -70365,7 +70365,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVirtualCamStatus : GetVirtualCamStatus - 0.1.9 + 0.2 Gets the status of the virtualcam output. @@ -70459,7 +70459,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSVoronoiPixelationShader [[-PixH] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Alternative] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -70749,7 +70749,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSZigZagShader [[-Radius] <float>] [[-Angle] <float>] [[-Period] <float>] [[-Amplitude] <float>] [[-CenterX] <float>] [[-CenterY] <float>] [[-Phase] <float>] [[-Animate] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -71235,7 +71235,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSZoomBlurShader [[-Samples] <int>] [[-Magnitude] <float>] [[-SpeedPercent] <int>] [[-Notes] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Ease] [-Glitch] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -71637,7 +71637,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSZoomShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-Power] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -71955,7 +71955,7 @@ This can increase performance, and also silently ignore critical errors Get-OBSZoomXYShader [[-CenterXPercent] <int>] [[-CenterYPercent] <int>] [[-XPower] <float>] [[-YPower] <float>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>] - 0.1.9 + 0.2 @@ -72301,7 +72301,7 @@ This can increase performance, and also silently ignore critical errors Hide OBS - 0.1.9 + 0.2 Hides items in OBS @@ -72392,7 +72392,7 @@ This can increase performance, and also silently ignore critical errors Imports Effects - 0.1.9 + 0.2 Imports obs-powershell effects @@ -72459,7 +72459,7 @@ This can be a string, file, directory, command, or module. Open-OBSInputFiltersDialog : OpenInputFiltersDialog - 0.1.9 + 0.2 Opens the filters dialog of an input. @@ -72594,7 +72594,7 @@ This can increase performance, and also silently ignore critical errors Open-OBSInputInteractDialog : OpenInputInteractDialog - 0.1.9 + 0.2 Opens the interact dialog of an input. @@ -72729,7 +72729,7 @@ This can increase performance, and also silently ignore critical errors Open-OBSInputPropertiesDialog : OpenInputPropertiesDialog - 0.1.9 + 0.2 Opens the properties dialog of an input. @@ -72864,7 +72864,7 @@ This can increase performance, and also silently ignore critical errors Open-OBSSourceProjector : OpenSourceProjector - 0.1.9 + 0.2 Opens a projector for a source. @@ -73052,7 +73052,7 @@ This can increase performance, and also silently ignore critical errors Open-OBSVideoMixProjector : OpenVideoMixProjector - 0.1.9 + 0.2 Opens a projector for a specific output video mix. @@ -73218,7 +73218,7 @@ This can increase performance, and also silently ignore critical errors Receives data from OBS - 0.1.9 + 0.2 Receives responses from the OBS WebSocket @@ -73387,7 +73387,7 @@ You can see the websocket password in Tools -> obs-websocket settings -> s Remove OBS - 0.1.9 + 0.2 Removes items from OBS @@ -73466,7 +73466,7 @@ You can see the websocket password in Tools -> obs-websocket settings -> s Removes OBS Effects - 0.1.9 + 0.2 Removes effects currently loaded into OBS-PowerShell. @@ -73527,7 +73527,7 @@ You can see the websocket password in Tools -> obs-websocket settings -> s Remove-OBSInput : RemoveInput - 0.1.9 + 0.2 Removes an existing input. @@ -73663,7 +73663,7 @@ This can increase performance, and also silently ignore critical errors Remove-OBSProfile : RemoveProfile - 0.1.9 + 0.2 Removes a profile. If the current profile is chosen, it will change to a different profile first. @@ -73772,7 +73772,7 @@ This can increase performance, and also silently ignore critical errors Remove-OBSScene : RemoveScene - 0.1.9 + 0.2 Removes a scene from OBS. @@ -73907,7 +73907,7 @@ This can increase performance, and also silently ignore critical errors Remove-OBSSceneItem : RemoveSceneItem - 0.1.9 + 0.2 Removes a scene item from a scene. @@ -74069,7 +74069,7 @@ This can increase performance, and also silently ignore critical errors Remove-OBSSourceFilter : RemoveSourceFilter - 0.1.9 + 0.2 Removes a filter from a source. @@ -74230,7 +74230,7 @@ This can increase performance, and also silently ignore critical errors Resume-OBSRecord : ResumeRecord - 0.1.9 + 0.2 Resumes the record output. @@ -74324,7 +74324,7 @@ This can increase performance, and also silently ignore critical errors Save-OBSReplayBuffer : SaveReplayBuffer - 0.1.9 + 0.2 Saves the contents of the replay buffer output. @@ -74418,7 +74418,7 @@ This can increase performance, and also silently ignore critical errors Save-OBSSourceScreenshot : SaveSourceScreenshot - 0.1.9 + 0.2 Saves a screenshot of a source to the filesystem. @@ -74686,7 +74686,7 @@ This can increase performance, and also silently ignore critical errors Sends messages to the OBS websocket. - 0.1.9 + 0.2 Sends one or more messages to the OBS websocket. @@ -74879,7 +74879,7 @@ If -SerialFrame was provied, -StepTime will be the number of frames to wait. Send-OBSCallVendorRequest : CallVendorRequest - 0.1.9 + 0.2 Call a request registered to a vendor. @@ -75042,7 +75042,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSCustomEvent : BroadcastCustomEvent - 0.1.9 + 0.2 Broadcasts a `CustomEvent` to all WebSocket clients. Receivers are clients which are identified and subscribed. @@ -75151,7 +75151,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSOffsetMediaInputCursor : OffsetMediaInputCursor - 0.1.9 + 0.2 Offsets the current cursor position of a media input by the specified value. @@ -75313,7 +75313,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSPauseRecord : PauseRecord - 0.1.9 + 0.2 Pauses the record output. @@ -75407,7 +75407,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSPressInputPropertiesButton : PressInputPropertiesButton - 0.1.9 + 0.2 Presses a button in the properties of an input. @@ -75571,7 +75571,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSSleep : Sleep - 0.1.9 + 0.2 Sleeps for a time duration or number of frames. Only available in request batches with types `SERIAL_REALTIME` or `SERIAL_FRAME`. @@ -75706,7 +75706,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSStreamCaption : SendStreamCaption - 0.1.9 + 0.2 Sends CEA-608 caption text over the stream output. @@ -75815,7 +75815,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSTriggerHotkeyByKeySequence : TriggerHotkeyByKeySequence - 0.1.9 + 0.2 Triggers a hotkey using a sequence of keys. @@ -76055,7 +76055,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSTriggerHotkeyByName : TriggerHotkeyByName - 0.1.9 + 0.2 Triggers a hotkey using its name. See `GetHotkeyList`. @@ -76191,7 +76191,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSTriggerMediaInputAction : TriggerMediaInputAction - 0.1.9 + 0.2 Triggers an action on a media input. @@ -76352,7 +76352,7 @@ This can increase performance, and also silently ignore critical errors Send-OBSTriggerStudioModeTransition : TriggerStudioModeTransition - 0.1.9 + 0.2 Triggers the current scene transition. Same functionality as the `Transition` button in studio mode. @@ -76446,7 +76446,7 @@ This can increase performance, and also silently ignore critical errors Sets an OBS 3D Filter. - 0.1.9 + 0.2 Adds or Changes a 3D Filter on an OBS Input. @@ -76730,7 +76730,7 @@ If this is not provided and the filter already exists, the settings of the filte Adds or sets an audio output source - 0.1.9 + 0.2 Adds or sets an audio output source in OBS. This captures the audio that is being sent to an output device. @@ -76891,7 +76891,7 @@ To add support for other operating systems, file an issue or open a pull request Sets a browser source - 0.1.9 + 0.2 Adds or changes a browser source in OBS. @@ -77221,7 +77221,7 @@ If none is provided, this will be the output width of the video settings. Sets a color filter - 0.1.9 + 0.2 Adds or Changes a Color Correction Filter on an OBS Input. @@ -77499,7 +77499,7 @@ If this is not provided and the filter already exists, the settings of the filte Adds a color source - 0.1.9 + 0.2 Adds a color source to OBS. This displays a single 32-bit color (RGBA). @@ -77640,7 +77640,7 @@ If no scene name is provided, the current program scene will be used. Set-OBSCurrentPreviewScene : SetCurrentPreviewScene - 0.1.9 + 0.2 Sets the current preview scene. @@ -77776,7 +77776,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSCurrentProfile : SetCurrentProfile - 0.1.9 + 0.2 Switches to a profile. @@ -77885,7 +77885,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSCurrentProgramScene : SetCurrentProgramScene - 0.1.9 + 0.2 Sets the current program scene. @@ -78020,7 +78020,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSCurrentSceneCollection : SetCurrentSceneCollection - 0.1.9 + 0.2 Switches to a scene collection. @@ -78130,7 +78130,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSCurrentSceneTransition : SetCurrentSceneTransition - 0.1.9 + 0.2 Sets the current scene transition. @@ -78240,7 +78240,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSCurrentSceneTransitionDuration : SetCurrentSceneTransitionDuration - 0.1.9 + 0.2 Sets the duration of the current scene transition, if it is not fixed. @@ -78349,7 +78349,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSCurrentSceneTransitionSettings : SetCurrentSceneTransitionSettings - 0.1.9 + 0.2 Sets the settings of the current scene transition. @@ -78484,7 +78484,7 @@ This can increase performance, and also silently ignore critical errors Adds a display source - 0.1.9 + 0.2 Adds a display source to OBS. This captures the contents of the display. @@ -78667,7 +78667,7 @@ If no scene name is provided, the current program scene will be used. Sets a Equalizer filter. - 0.1.9 + 0.2 Adds or Changes a 3-band Equalizer Filter on an OBS Input. @@ -78794,7 +78794,7 @@ If this is not provided and the filter already exists, the settings of the filte Sets a Gain filter. - 0.1.9 + 0.2 Adds or Changes a Gain Filter on an OBS Input. @@ -78882,7 +78882,7 @@ If this is not provided and the filter already exists, the settings of the filte Set-OBSInputAudioBalance : SetInputAudioBalance - 0.1.9 + 0.2 Sets the audio balance of an input. @@ -79043,7 +79043,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputAudioMonitorType : SetInputAudioMonitorType - 0.1.9 + 0.2 Sets the audio monitor type of an input. @@ -79204,7 +79204,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputAudioSyncOffset : SetInputAudioSyncOffset - 0.1.9 + 0.2 Sets the audio sync offset of an input. @@ -79365,7 +79365,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputAudioTracks : SetInputAudioTracks - 0.1.9 + 0.2 Sets the enable state of audio tracks of an input. @@ -79526,7 +79526,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputMute : SetInputMute - 0.1.9 + 0.2 Sets the audio mute state of an input. @@ -79687,7 +79687,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputName : SetInputName - 0.1.9 + 0.2 Sets the name of an input (rename). @@ -79848,7 +79848,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputSettings : SetInputSettings - 0.1.9 + 0.2 Sets the settings of an input. @@ -80035,7 +80035,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSInputVolume : SetInputVolume - 0.1.9 + 0.2 Sets the volume setting of an input. @@ -80222,7 +80222,7 @@ This can increase performance, and also silently ignore critical errors Sets a markdown source - 0.1.9 + 0.2 Adds or changes a markdown source in OBS. @@ -80435,7 +80435,7 @@ If none is provided, this will be the output width of the video settings. Set-OBSMediaInputCursor : SetMediaInputCursor - 0.1.9 + 0.2 Sets the cursor position of a media input. @@ -80597,7 +80597,7 @@ This can increase performance, and also silently ignore critical errors Adds a media source - 0.1.9 + 0.2 Adds a media source to OBS. @@ -80917,7 +80917,7 @@ If no scene name is provided, the current program scene will be used. Set-OBSOutputSettings : SetOutputSettings - 0.1.9 + 0.2 Sets the settings of an output. @@ -81052,7 +81052,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSPersistentData : SetPersistentData - 0.1.9 + 0.2 Sets the value of a "slot" from the selected persistent data realm. @@ -81213,7 +81213,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSProfileParameter : SetProfileParameter - 0.1.9 + 0.2 Sets the value of a parameter in the current profile's configuration. @@ -81374,7 +81374,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSRecordDirectory : SetRecordDirectory - 0.1.9 + 0.2 Sets the current directory that the record output writes files to. @@ -81483,7 +81483,7 @@ This can increase performance, and also silently ignore critical errors Sets a RenderDelay filter. - 0.1.9 + 0.2 Adds or Changes a RenderDelay Filter on an OBS Input. @@ -81571,7 +81571,7 @@ If this is not provided and the filter already exists, the settings of the filte Sets a Scale filter. - 0.1.9 + 0.2 Adds or Changes a Scale Filter on an OBS Input. @@ -81713,7 +81713,7 @@ This is only valid if the sampling method is set to "lanczos". Set-OBSSceneItemBlendMode : SetSceneItemBlendMode - 0.1.9 + 0.2 Sets the blend mode of a scene item. @@ -81901,7 +81901,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSceneItemEnabled : SetSceneItemEnabled - 0.1.9 + 0.2 Sets the enable state of a scene item. @@ -82089,7 +82089,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSceneItemIndex : SetSceneItemIndex - 0.1.9 + 0.2 Sets the index position of a scene item in a scene. @@ -82277,7 +82277,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSceneItemLocked : SetSceneItemLocked - 0.1.9 + 0.2 Sets the lock state of a scene item. @@ -82465,7 +82465,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSceneItemTransform : SetSceneItemTransform - 0.1.9 + 0.2 Sets the transform and crop info of a scene item. @@ -82652,7 +82652,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSceneName : SetSceneName - 0.1.9 + 0.2 Sets the name of a scene (rename). @@ -82813,7 +82813,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSceneSceneTransitionOverride : SetSceneSceneTransitionOverride - 0.1.9 + 0.2 Sets the scene transition overridden for a scene. @@ -83000,7 +83000,7 @@ This can increase performance, and also silently ignore critical errors Sets a scroll filter. - 0.1.9 + 0.2 Adds or Changes a Scroll Filter on an OBS Input. @@ -83192,7 +83192,7 @@ If this is not provided and the filter already exists, the settings of the filte Sets a Shader filter. - 0.1.9 + 0.2 Adds or Changes a Shader Filter on an OBS Input. @@ -83367,7 +83367,7 @@ To see what the name of a shader setting is, change it in the user interface and Sets a Sharpness filter. - 0.1.9 + 0.2 Adds or Changes a Sharpness Filter on an OBS Input. @@ -83455,7 +83455,7 @@ If this is not provided and the filter already exists, the settings of the filte Sets a Sound Cloud Source - 0.1.9 + 0.2 Adds or changes a Sound Cloud source OBS. @@ -84018,7 +84018,7 @@ If none is provided, this will be the output width of the video settings. Set-OBSSourceFilterEnabled : SetSourceFilterEnabled - 0.1.9 + 0.2 Sets the enable state of a source filter. @@ -84205,7 +84205,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSourceFilterIndex : SetSourceFilterIndex - 0.1.9 + 0.2 Sets the index position of a filter on a source. @@ -84392,7 +84392,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSourceFilterName : SetSourceFilterName - 0.1.9 + 0.2 Sets the name of a source filter (rename). @@ -84579,7 +84579,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSSourceFilterSettings : SetSourceFilterSettings - 0.1.9 + 0.2 Sets the settings of a source filter. @@ -84792,7 +84792,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSStreamServiceSettings : SetStreamServiceSettings - 0.1.9 + 0.2 Sets the current stream service settings (stream destination). @@ -84928,7 +84928,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSStudioModeEnabled : SetStudioModeEnabled - 0.1.9 + 0.2 Enables or disables studio mode @@ -85037,7 +85037,7 @@ This can increase performance, and also silently ignore critical errors Adds a VLC playlist source - 0.1.9 + 0.2 Adds or sets VLC playlist sources to OBS. @@ -85626,7 +85626,7 @@ Notice: this current requires confirmation in the UI. Set-OBSTBarPosition : SetTBarPosition - 0.1.9 + 0.2 Sets the position of the TBar. @@ -85762,7 +85762,7 @@ This can increase performance, and also silently ignore critical errors Set-OBSVideoSettings : SetVideoSettings - 0.1.9 + 0.2 Sets the current video settings. @@ -86002,7 +86002,7 @@ This can increase performance, and also silently ignore critical errors Adds a VLC playlist source - 0.1.9 + 0.2 Adds or sets VLC playlist sources to OBS. @@ -86345,7 +86345,7 @@ If an `[IO.FileInfo]` is provided, this will be the exact file. OBS Waveform Source - 0.1.9 + 0.2 Gets, Sets, or Adds a waveform source in OBS. @@ -87224,7 +87224,7 @@ This is the mathematical function used to determine the current "window" of audi Adds or sets a window capture source - 0.1.9 + 0.2 Adds or sets a windows capture source in OBS. This captures the contents of a window. @@ -87504,7 +87504,7 @@ This the number of the monitor you would like to capture. Shows content in OBS - 0.1.9 + 0.2 Shows content in Open Broadcasting Studio @@ -87769,7 +87769,7 @@ Show-OBS -FilePath .\BlueRect.svg Starts obs-powershell effects. - 0.1.9 + 0.2 Starts an effect in OBS PowerShell. @@ -88140,7 +88140,7 @@ If not provided, each effect should use it's own duration. Start-OBSOutput : StartOutput - 0.1.9 + 0.2 Starts an output. @@ -88249,7 +88249,7 @@ This can increase performance, and also silently ignore critical errors Start-OBSRecord : StartRecord - 0.1.9 + 0.2 Starts the record output. @@ -88343,7 +88343,7 @@ This can increase performance, and also silently ignore critical errors Start-OBSReplayBuffer : StartReplayBuffer - 0.1.9 + 0.2 Starts the replay buffer output. @@ -88437,7 +88437,7 @@ This can increase performance, and also silently ignore critical errors Start-OBSStream : StartStream - 0.1.9 + 0.2 Starts the stream output. @@ -88531,7 +88531,7 @@ This can increase performance, and also silently ignore critical errors Start-OBSVirtualCam : StartVirtualCam - 0.1.9 + 0.2 Starts the virtualcam output. @@ -88625,7 +88625,7 @@ This can increase performance, and also silently ignore critical errors Stops obs-powershell effects. - 0.1.9 + 0.2 Stops an effect in OBS PowerShell. @@ -88687,7 +88687,7 @@ This can increase performance, and also silently ignore critical errors Stop-OBSOutput : StopOutput - 0.1.9 + 0.2 Stops an output. @@ -88796,7 +88796,7 @@ This can increase performance, and also silently ignore critical errors Stop-OBSRecord : StopRecord - 0.1.9 + 0.2 Stops the record output. @@ -88890,7 +88890,7 @@ This can increase performance, and also silently ignore critical errors Stop-OBSReplayBuffer : StopReplayBuffer - 0.1.9 + 0.2 Stops the replay buffer output. @@ -88984,7 +88984,7 @@ This can increase performance, and also silently ignore critical errors Stop-OBSStream : StopStream - 0.1.9 + 0.2 Stops the stream output. @@ -89078,7 +89078,7 @@ This can increase performance, and also silently ignore critical errors Stop-OBSVirtualCam : StopVirtualCam - 0.1.9 + 0.2 Stops the virtualcam output. @@ -89172,7 +89172,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSInputMute : ToggleInputMute - 0.1.9 + 0.2 Toggles the audio mute state of an input. @@ -89307,7 +89307,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSOutput : ToggleOutput - 0.1.9 + 0.2 Toggles the status of an output. @@ -89416,7 +89416,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSRecord : ToggleRecord - 0.1.9 + 0.2 Toggles the status of the record output. @@ -89510,7 +89510,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSRecordPause : ToggleRecordPause - 0.1.9 + 0.2 Toggles pause on the record output. @@ -89604,7 +89604,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSReplayBuffer : ToggleReplayBuffer - 0.1.9 + 0.2 Toggles the state of the replay buffer output. @@ -89698,7 +89698,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSStream : ToggleStream - 0.1.9 + 0.2 Toggles the status of the stream output. @@ -89792,7 +89792,7 @@ This can increase performance, and also silently ignore critical errors Switch-OBSVirtualCam : ToggleVirtualCam - 0.1.9 + 0.2 Toggles the state of the virtualcam output. @@ -89886,7 +89886,7 @@ This can increase performance, and also silently ignore critical errors Watches OBS - 0.1.9 + 0.2 Watches the OBS websocket for events.